POV-Ray : Newsgroups : povray.off-topic : Memories : Re: Memories Server Time
29 Jul 2024 20:24:40 EDT (-0400)
  Re: Memories  
From: Warp
Date: 20 Aug 2011 06:19:23
Message: <4e4f8a2b@news.povray.org>
Orchid XP v8 <voi### [at] devnull> wrote:
> I can still remember everybody laughing when he said that our assignment 
> was to write a program to draw a straight line. But *you* try doing that 
> with only integer arithmetic. It's surprisingly nontrivial.

  Drawing a line with integer arithmetic is quite easy. Drawing it
accurately is slightly more involved. Drawing it *fast* is non-trivial.

  And that's assuming the line has a width of 1 pixel and the drawing is
done without antialiasing.

-- 
                                                          - Warp


Post a reply to this message

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