POV-Ray : Newsgroups : povray.animations : Animation Control (time frames I Guess) : Re: Animation Control (time frames I Guess) Server Time
28 Sep 2024 20:34:13 EDT (-0400)
  Re: Animation Control (time frames I Guess)  
From: Marc Champagne
Date: 14 Sep 2003 12:55:44
Message: <Xns93F6831E96581POVMIKA@204.213.191.226>
"Slime" <fak### [at] emailaddress> wrote in
news:3f649a7d$1@news.povray.org: 

>> #declare T = frame_number / 25 ;
> 
> If you're basing your animation off of the frame_number,
> then the usage of the clock is useless. In addition, if you
> later decide you want to render with 30fps, you have to
> change the *scene*, rather than just the command line
> parameters. 
> 
> I would suggest having the clock go from 0 to 5, and render
> 25*5 = 125 frames (0 through 124). Then, in the code, you
> can just use 
> 
> #if ( clock<2 | ( clock>5 & clock<8 ) )
> 
> This way, the clock is always measured in seconds, and if
> you ever decide that you want a different number of frames
> per second, all you do is change the number of frames.

A lot more practical this way!

Thanks for the tip

-- 
Marc Champagne
marcch.AT.videotron.DOT.ca
Montreal, CANADA


Post a reply to this message

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