|
![](/i/fill.gif) |
Jason Foster aka Guido <anc### [at] wavetech net> writes:
>
> Does anyone know of a simple or could give me a simple example of
> rotating lets say a sphere around a point using vrotate?
Here it is:
light_source { <10,10,10> color 1 }
camera { location <0,5,5> look_at <1,1,1> }
plane { y, 0 pigment { checker rgb <0,1,0>, rgb <1,1,1> }}
#declare deg =0
#while (deg<360)
sphere { <1,1,1>+vrotate(<1,0,0>,deg*y), 0.3 pigment { rgb <1,0,0> } }
#declare deg = deg +40
#end
I hope this helps.
ThW
--
Tho### [at] uni-konstanz de
http://www.informatik.uni-konstanz.de/~willhalm/
Tschieses lavs ju
Post a reply to this message
|
![](/i/fill.gif) |