home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / programm / 19752 < prev    next >
Encoding:
Internet Message Format  |  1992-12-13  |  875 b 

  1. From: bayes@hplvec.LVLD.HP.COM (Scott Bayes)
  2. Date: Fri, 11 Dec 1992 23:08:31 GMT
  3. Subject: Re: 3D Graphics
  4. Message-ID: <830021@hplvec.LVLD.HP.COM>
  5. Organization: Hewlett-Packard Co., Loveland, CO
  6. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!sdd.hp.com!hpscit.sc.hp.com!hplextra!hpfcso!hplvec!bayes
  7. Newsgroups: comp.sys.mac.programmer
  8. References: <723298789.AA00239@insane.apana.org.au>
  9. Lines: 13
  10.  
  11. > assembly a whole lot, and indeed mostly uses state-of-the-art
  12. > algorithms (except for deciding where to break a 1-pixel off diagonal
  13. > line :-) so I doubt you could do better than that, even using
  14.  
  15. This has always annoyed me.  Bresenham's algorithm, which handles this
  16. very well--optimally, one might say--has been around _forever_.  Why
  17. does Apple choose to draw lines with "hooks" on the ends?
  18.  
  19. ScottB
  20. *                **
  21.  ***        -->          ***
  22.     ***                     ***
  23.        ***                    **
  24.