POV-Ray : Newsgroups : povray.off-topic : Memories : Re: Memories Server Time
30 Jul 2024 08:23:51 EDT (-0400)
  Re: Memories  
From: Warp
Date: 22 Aug 2011 11:53:18
Message: <4e527b6e@news.povray.org>
Invisible <voi### [at] devnull> wrote:
> On 22/08/2011 04:09 PM, Warp wrote:
> > Invisible<voi### [at] devnull>  wrote:
> >> You realise that all of the quantities involved are rational, right? And
> >> that a rational number is just two integers?
> >
> >    In practice the integers have a maximum value they can hold, so too much
> > precision in your rational value can easily overflow either (or both) of
> > the integers.

> Yes. But if the quantities you're calculating with are pixel 
> coordinates, overflow is highly unlikely to be a problem.

  Except that we are talking about antialiasing here, which by definition
is calculating at subpixel accuracy.

-- 
                                                          - Warp


Post a reply to this message

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