POV-Ray : Newsgroups : povray.off-topic : Memories : Re: Memories Server Time
29 Jul 2024 22:33:48 EDT (-0400)
  Re: Memories  
From: clipka
Date: 20 Aug 2011 06:30:31
Message: <4e4f8cc7$1@news.povray.org>
Am 20.08.2011 11:34, schrieb Orchid XP v8:

> 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.

... but can be accomplished by surprisingly elegant and (comparatively) 
fast code in Assembler. (What surprised me even more was to see how a 
similarly elegant and efficient algorithm could draw a circle. No 
trigonometrics, not even a radix, just plain Assembler commands you'd 
find on a Z80 processor.)


Post a reply to this message

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