POV-Ray : Newsgroups : povray.animations : Multi stage animations : Multi stage animations Server Time
28 Jul 2024 18:17:40 EDT (-0400)
  Multi stage animations  
From: Paul Blake
Date: 17 Mar 1999 19:33:48
Message: <36f049ec.0@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.