POV-Ray : Newsgroups : povray.advanced-users : subtle behavior of Spline_Trans() macro in transforms.inc : Re: subtle behavior of Spline_Trans() macro in transforms.inc Server Time
5 Jul 2024 13:17:31 EDT (-0400)
  Re: subtle behavior of Spline_Trans() macro in transforms.inc  
From: Warp
Date: 21 Apr 2009 04:02:11
Message: <49ed7d82@news.povray.org>
Kenneth <kdw### [at] earthlinknet> wrote:
> That's the only 'real' trouble with the macro (actually more of a mystery than a
> problem): how small to make Foresight to get 'bleeding edge' alignment accuracy,
> without going so low as to cause the equations to flip the object 90-deg.

  You have to consider that after a certain accuracy has been achieved
(by making the distance between the two sample points close enough),
increasing the accuracy even further will have such a small effect that
it will disappear in all the other calculations being made afterwards
(eg. to rotate an object or whatever). Or put in other words: If the
direction is already accurate eg. to the 15th decimal, getting the 16th
decimal correct might be useless because subsequent calculations may have
rounding errors larger than that.

  Also if you think about it in practice, if you use the direction to eg.
reorient an object, after a certain accuracy any further accuracy would
transform the object so little that it will be like a millionth of a pixel
in the final image. The extra accuracy will be lost when actually rendering
the final image (if for nothing else, because pixels use only 8 or at most
16 bits per channel, and any accuracy change beyond a certain point will
be completely lost in the final image).

-- 
                                                          - Warp


Post a reply to this message

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