POV-Ray : Newsgroups : povray.general : Subset_End_Frame and Final_Frame... : Re: Subset_End_Frame and Final_Frame... Server Time
30 Jul 2024 22:26:52 EDT (-0400)
  Re: Subset_End_Frame and Final_Frame...  
From: Nicolas Alvarez
Date: 18 Apr 2008 12:14:22
Message: <4808c8de@news.povray.org>

> Hello,
> 
> Why is it that when Subset_End_Frame and Final_Frame are used in an ini file,
> the built in variable 'final_frame' takes on the value of Subset_End_Frame
> instead of Final_Frame?

The same happens with the initial frame; which is very useful for things 
like this:

#if(frame_number = initial_frame)
   //do some one-time calculation and save it to data.inc
#else
   #include "data.inc"
#end

If initial_frame was set to the Initial_Frame setting, and you render a 
subset with a different Subset_Start_Frame, the one-time calculation 
would never be done.


Post a reply to this message

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