POV-Ray : Newsgroups : povray.general : Long time, no see.. : Re: Long time, no see.. Server Time
6 Aug 2024 21:42:28 EDT (-0400)
  Re: Long time, no see..  
From: Mikael Carneholm
Date: 24 Jan 2002 12:58:56
Message: <3C504B5E.7050505@ida.utb.hb.se>
Thorsten Froehlich wrote:

> 
> Floating-point numbers are not precise.  You should never assume they are.
> 

That's not a problem..the problem is that both Initial_Clock and the 
value it gets compared with in the include file (SceneStartClock) should 
have the same value (at the first frame), as they are both set to 
exactly 0.2 at frame 1 (actually, SceneStartClock is set to this during 
the whole animation, to be exact :) ).

Debugging both values (at frame 1) gives me this:

Clock=0.20000000298023224000000000000000 
SceneStartClock=0.20000000000000001000000000000000

How come they are not both 0.20000000298023224000000000000000? (Or 
0.20000000000000001000000000000000 for that reason, doesn't matter as 
long as they get the same value if one sets them to 0.2, each)

Seems to me that there has been a change in how the clock value is 
calculated - and also notice that +KC (cyclic animation) was not used.

But on the other hand - I may have forgot some important detail, as this 
is the first time I use POV in about a year :)

- Mikael


Post a reply to this message

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