POV-Ray : Newsgroups : povray.general : Subset_End_Frame and Final_Frame... Server Time
31 Jul 2024 00:30:42 EDT (-0400)
  Subset_End_Frame and Final_Frame... (Message 1 to 2 of 2)  
From: this is me
Subject: Subset_End_Frame and Final_Frame...
Date: 18 Apr 2008 04:35:00
Message: <web.48085c8cec9f9b4f66c664b30@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?


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Subset_End_Frame and Final_Frame...
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.