POV-Ray : Newsgroups : povray.advanced-users : truncated spheres : Re: truncated spheres Server Time
4 Oct 2024 19:20:56 EDT (-0400)
  Re: truncated spheres  
From: dragonmage
Date: 22 Mar 2007 17:20:01
Message: <web.4603009142d0a127add0a3280@news.povray.org>
Chambers <ben### [at] pacificwebguycom> wrote:
> Warp wrote:
> >   You are not understanding.
> >
> >   You said, and I quote: "It's a known aspect of the hardware we use
> > that you should keep your ratios smaller than this to avoid precision
> > errors."
> >   I didn't know that the ratio between double precision floating point
> > numbers must be smaller than 20 millions in order to preserve accuracy.
> > I asked where did you get that number.
>
>
> Thanks for clarifying.  It was a faulty assumption on my part.
>
> It IS true that you should keep your numbers in the same range for the
> greatest accuracy.  As I was unaware of the internal limits imposed by
> POV-Ray, I assumed this range difference was the culprit, and therefore
> I assumed that the limit had been reached.
>
> Really what I should have said was, "It's a known aspect of the hardware
> we use that you should keep your ratios within a reasonable limit to
> avoid precision errors, and I'm assuming that you have reached that limit."
>
> Of course he hadn't yet reached that limit, but instead had run into
> POV's internal limits.
>
> ...Chambers

yes, an example of hardware limits is that, due to limited z buffer
precision, the ratio between far and near clip planes needs to be kept
within certain limits (which vary depending on the accuracy you need). Some
ppl, use a rule of 1:300.
But POV renders to files so no issue with z buffer there.
However the limits of double precision still apply and you can lose accuracy
even at distances that would normally not be considered too large for double
precision, as my paper and "stress test" program show.

cheers,

chris


Post a reply to this message

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