POV-Ray : Newsgroups : povray.general : Possible bug with (only?) simple objects and large values : Re: Possible bug with (only?) simple objects and large values Server Time
5 Aug 2024 04:16:09 EDT (-0400)
  Re: Possible bug with (only?) simple objects and large values  
From: Micha Riser
Date: 30 Nov 2002 03:42:28
Message: <3de879f4@news.povray.org>
wrote:
> 
> If the items uniformly disappeared I would think it was a
> floating overflow or something, however only certain items
> seem to disappear, and not necessarily the furthest.
> 
> On my machine the system seems to have about 17 digits
> of precision for floats as I am only using 9 this should not be
> an issue (I determined this by doubling a float in a loop and
> printing the results and marking where the least significant
> digit started to become in error):
> 

Floating point error analysis is a bit more complicated than you seem to 
think. For intersections calculations a ray-tracer needs to do a sequence 
of calculations and the error which is produced by the limitation of 
floating point precision is propagted. As there are different calculations 
done for each primitives it is natural that the floating point error 
effects are also different for each primitive. In short: What you are 
seeing is definitely an effect of FP precision.

- Micha

-- 
objects.povworld.org - The POV-Ray Objects Collection
book.povworld.org    - The POV-Ray Book Project


Post a reply to this message

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