I’ve tried an animation, that illuminates an gray tubeplot with several userlights. The following command lines works fine in Release 4.0, but it doesn’t work in Release 5.0. What’s the reason for this?
> with(plots): > knot:=[ -10*cos(t) - 2*cos(5*t) + 15*sin(2*t), -15*cos(2*t) + 10*sin(t) - sin(5*t), 10*cos(3*t) ]; > ori:=[175,55];rad:=4; > setoptions3d(orientation=ori, scaling=constrained, style=patch, axes=none); > l1:=[seq([90,45,0,evalf(i/20,2),1], i=0..20)]: > l2:=[seq([90,45,0,evalf(1-i/20,2),1], i=0..20)]: > lighters:=[op(l1),op(l2)]: > L:=[seq(tubeplot( knot, t= 0..2*Pi,radius=rad,shading=zgrayscale,light=l, ambientlight=[0.1,0.5,0.1]) ,l=lighters)]: > display(L, insequence=true);
I tested this example
with release 5 / windows 3.1 : NO problem
with release 5 / windows 95 : I found the problem you did
with release 5.1/ windows 95 : I found the problem you did
I think that the problem is with the graphix interface for windows 95