POV-Ray : Newsgroups : povray.beta-test : Clock precision wrong? : Re: Clock precision wrong? Server Time
1 Jun 2024 20:27:15 EDT (-0400)
  Re: Clock precision wrong?  
From: ErOssel
Date: 25 Jun 2011 18:55:01
Message: <web.4e06663695481d03d091e86b0@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 26.06.2011 00:08, schrieb ErOssel:
>
> > I just do not understand the difference using the inbuilt float clock and an
> > user variable. And confused with the change between 3.6 and 3.7!
>
> (1) You're computing the user variable with a single-step computation,
> whereas POV-Ray first computes a "clock delta" and then increments the
> clock variable by that delta every frame. As a result, any rounding
> errors due to the division add up from frame to frame.
>
> (2) The clock delta was stored using double precision in 3.6; this was
> changed with the stricter separation of front- and back-end in POV-Ray:
> Being computed in the front-end but used in the back-end, the value is
> passed between the two parts in single precision. Therefore the rounding
> errors in the delta are greater than they used to be in 3.6.
Hi Clipka,

Wow, that's an answer.
It is all clear now.
Thank you very much.

Kind regards, ErO


Post a reply to this message

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