POV-Ray : Newsgroups : povray.off-topic : Memories : Re: Memories Server Time
30 Jul 2024 06:26:53 EDT (-0400)
  Re: Memories  
From: Invisible
Date: 22 Aug 2011 08:25:45
Message: <4e524ac9$1@news.povray.org>
>>> I am not sure you can do it accurately with integer math at all, given
>>> that there's a "portion of a pixel" involved in there somewhere. At best
>>> you'd be working in scaled fixed-point.
>>
>> You realise that all of the quantities involved are rational, right? And
>> that a rational number is just two integers?
>
> But in the end you want to paint a pixel a particular color, which is a
> /single/ integer. That's where the precision you might be able to keep
> with rational representation ultimately breaks down.

That's where the precision with ANY POSSIBLE REPRESENTATION will break 
down. :-P


Post a reply to this message

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