POV-Ray : Newsgroups : povray.general : Access to animation variables : Re: Access to animation variables Server Time
2 Aug 2024 02:28:19 EDT (-0400)
  Re: Access to animation variables  
From: Mike Williams
Date: 11 Feb 2005 07:41:08
Message: <etb0kDAefKDCFwrf@econym.demon.co.uk>
Wasn't it David Curtis who wrote:
>I'm wondering if after setting my animation variables (+kfi and +kff) on the 
>command line (using POV for windows) if I can use those settings in my scene 
>file.
>I need something like this:
>    #declare fps = 24;
>    #declare seconds = clock * total_frames / fps;
>
>    where total_frames is set on the command line.

I think that the variable you want is called "final_frame".

Also available are "frame_number", "initial_frame", "initial_clock",
"final_clock", "clock_delta" and "clock_on". 

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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