POV-Ray : Newsgroups : povray.off-topic : Memories : Re: Memories Server Time
30 Jul 2024 06:21:10 EDT (-0400)
  Re: Memories  
From: Invisible
Date: 22 Aug 2011 04:13:39
Message: <4e520fb3$1@news.povray.org>
On 20/08/2011 03:43 PM, Darren New wrote:
> On 8/20/2011 4:11, Warp wrote:
>> Drawing an accurate antialiased line (of certain width) is not a trivial
>> problem. Basically for each pixel you need to calculate how much of it is
>> covered by the line. Doing this accurately with integer math only can be
>> complicated.
>
> 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?


Post a reply to this message

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