POV-Ray : Newsgroups : povray.windows : Animation question.... : Re: Animation question.... Server Time
28 Jul 2024 20:19:51 EDT (-0400)
  Re: Animation question....  
From: Aaron Plattner
Date: 1 Jan 1998 11:35:02
Message: <34abd32b.0@news.povray.org>
Ken Cecka wrote in message <346### [at] aussieorg>...
>The clock variable works just like you would expect.  Here's a sample scene
>to spin a box.  If I overlook something, I'm sorry.  I'm just typing it out
>here, not testing it.  To render the scene, you have to use command line
>parameters or an ini file to tell pov you are rendering an animation, and
>how many frames you want.  You can set command line parameters in POV for
>Windows by going to the render menu, and Edit Settings/Render.  There is a
>box near the bottom labeled Command line options.  If you want to do a 30
>frame animation of this scene, type +KFF30 in the box.  Next time you
>render, it will do 30 frames, slowly moving the clock from 0 to 1.  Since
>this acts like a percentage, multiplying the clock by 360 in the rotation
>(see code below) cause the box to go through one full rotation by the end
of
>the animation.  Play arround with it a little and you should get the hang
of
>it.  This idea would work with a text object or whatever.
>
>Ken


You should also make sure you have the parameter "Cyclic_Animation=on" in
you command line.  This tells POV-Ray to move the clock from 0 to something
slightly less than 1.  That way, if you play the animation with looping it
won't jump when it starts over.

Aaron Plattner


Post a reply to this message

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