POV-Ray : Newsgroups : povray.bugreports : Initial_Frame,Final_frame: frame_number not always correct? : Re: Initial_Frame,Final_frame: frame_number not always correct? Server Time
3 May 2024 06:54:11 EDT (-0400)
  Re: Initial_Frame,Final_frame: frame_number not always correct?  
From: Thorsten Froehlich
Date: 3 Jun 2010 04:59:36
Message: <4c076ef8$1@news.povray.org>
On 03.06.10 10:26, DH0909 wrote:
> Hi!
> if setting initial and final in the ini file both to 1, frame_number when used
> in the scene file returns 0. Setting initial to 1 always seems to result being
> the first frame_number a 0. For example initial 1, final 2, returns frame_number
> as 0 and 1.
>
> Every other combinations (initial_frame other then 1) I tried seem to work as
> expected, for example both set to 3 returns 3 in the scene file. Or initial to 3
> and final to 4 returns 3 and then 4.
>
> Is that a bug?
>
> The about-screen says this is povray 3.6

Yes and no. The frame number variable exposes some of the inner workings of 
POV-Ray's animation features that are not as logical as they are presented 
in the documentation. Basically, the frame number also sort of indicates if 
animation is on or off. The general rule should be to just not set the 
initial frame number, and then things should work as expected.

	Thorsten


Post a reply to this message

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