POV-Ray : Newsgroups : povray.general : #declare final_frame? : Re: #declare final_frame? Server Time
31 Jul 2024 00:32:34 EDT (-0400)
  Re: #declare final_frame?  
From: Alain
Date: 28 Jan 2008 10:30:00
Message: <479df4f8$1@news.povray.org>
Nekar Xenos nous apporta ses lumieres en ce 2008/01/28 09:13:
> Is the any way I can declare the amount of frames in a .pov file for 
> instance:
> 
> #if(Result=Desired_Result)
>     #declare final_frame=10
> #else
>     #declare final_frame=20
> #end
> 
> According to the docs I can't do it this way. Is there any other way of 
> doing it? I can't seem to find anything.
> Please help...
> 
> tnx
> 
> 
final_frame must be declared in an ini file or on the command line. It's 
considered as a constant.
It can't be changed once the render is started. Please note that the final_frame 
value will affect the time differential between each frame. In your case, clock 
will change by 0.1 with final_frame =10 between each frames, and by 0.05 with 
final_frame =20.

You can add a line like
//+kff 10
//+kff 20
at the start of the file. In the windows version, you can right-click one of the 
  comments and select "copy ... to the command line" BEFORE you start the 
rendering process.

-- 
Alain
-------------------------------------------------
Coming soon: Windows for Nintendo!


Post a reply to this message

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