|
|
This reply is probably too late, but check out
http://www.spiritone.com/~english/animaker/animaker.html
which is on my website and I use a variation of the #switch statement. The
thing works and hoepfully it explains it well enough. I haven't touched the
project for a while but if you are stuck, maybe it will help
Paul Blake wrote:
> Please can you offer some help on this problem, I have explored allmost all
> resouces available to me.
> here is a simple animation which will rotate a ball on first the X axis and
> then the Y axis, no problem so far.
> I want to create a multi stage animation with more than just 2 stages for
> example:
>
> Stage 1, rotate ball on the X axis
> Stage 2, rotate ball on the Y axis
> Stage 3, rotate ball on the Z axis
> Stage 4, rotate ball on combinations of the ubove
>
> once i have grasped the method of creating animations with more than two
> sequence of events i will be able to create more complex animations.
>
> Please! Please! help
>
> Thanks in advance
>
> Paul
>
> Here is a simple scene that i created with the help of the povray
> documentation.
>
> #include "colors.inc"
> camera
> { location <0.0, 0.5, -4.0>
> direction 1.5*z
> right 4/3*x
> look_at <0.0, 0.0, 0.0> }
>
> light_source
> { 0*x // light's position (translated below)
> color red 1.0 green 1.0 blue 1.0 // light's color
> translate <0, 4, -10> }
>
> sphere { 0.0, 1
> texture {pigment {radial frequency 8}}
>
> //First stage of the animation
> //Rotate X Axis 360 deg.
> #if ( clock<1 )
> rotate < clock*360, 0 ,0 >
>
> //Second stage of animation
> //Rotate y Axis 360 deg.
>
> #else
> rotate < 0, 0, (clock-1)*360 >
>
> #end
> }
Post a reply to this message
|
|