POV-Ray : Newsgroups : povray.beta-test : vnormalize : Re: vnormalize Server Time
29 Jul 2024 20:22:39 EDT (-0400)
  Re: vnormalize  
From: Thorsten Froehlich
Date: 22 Apr 2002 17:44:59
Message: <3cc4845b@news.povray.org>
In article <3CC44E3B.C2AC4E53@gmx.de> , Tim Nikias <tim### [at] gmxde>  wrote:

> For one: If objects are misplaced, that may be the case.
> But what do you make of the ghost-appearances?
> Or parts of objects being cut off? That doesn't make much
> sense

The numbers vnormalize(0) would return on Windows were occasionally just out
of range and not NaNs (not a number).  Floating-point numbers as presented
internally in computers contain several "states", not just numbers.  One other
state is "Infinite".  if one of those ends up in a calculation is propages
through it and essentually caues the whole calculation to return an invalid
result.  If this for some reason happens only to one or two components of a
vector needed in tha clalculation it may still in other calculation of the
intersection result in valid vector components.  If this happens you get a
"partial" problem, i.e. a bit may occasionally appear correct.  However, the
point is that it is "occasionally correct", not always incorrect.

See it like a puzzle (I can't think of a better example):  If you flip all not
connected pieces so the image side is up you do see the whole image, but it is
of course not "the" whole image as you expect it.  What the vnormalize(0) does
here is move the pieces around and occasionally you see something close to
what you expect...

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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