POV-Ray : Newsgroups : povray.general : Access to animation variables Server Time
30 Nov 2024 01:25:55 EST (-0500)
  Access to animation variables (Message 1 to 2 of 2)  
From: David Curtis
Subject: Access to animation variables
Date: 11 Feb 2005 06:54:47
Message: <420c9d07@news.povray.org>
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.


Post a reply to this message

From: Mike Williams
Subject: Re: Access to animation variables
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.