home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / pascal / 4560 < prev    next >
Encoding:
Internet Message Format  |  1992-07-26  |  1.6 KB

  1. Xref: sparky comp.lang.pascal:4560 alt.msdos.programmer:2079
  2. Path: sparky!uunet!caen!hellgate.utah.edu!cc.usu.edu!sl8nl
  3. From: sl8nl@cc.usu.edu
  4. Newsgroups: comp.lang.pascal,alt.msdos.programmer
  5. Subject: Re: Hi-rez timer/Graphics routines.
  6. Message-ID: <1992Jul26.231959.57512@cc.usu.edu>
  7. Date: 26 Jul 92 23:19:59 MDT
  8. References: <1992Jul26.014336.9808@leela.cs.orst.edu>
  9. Organization: Utah State University
  10. Lines: 22
  11.  
  12. >   Now, for the second part of this posting. Would anyone out there have
  13. > any FAST graphics routines for drawing a line between two points and for
  14. > plotting a pixel fast? It should be written in assembly language and should
  15. > be easily incorperated into a Turbo Pascal program (either linked to the
  16. > pascal program, or included in the source code itself using the ASM 
  17. > feature of Turbo Pascal 6.0). This will be for use on a super VGA card,
  18. > but all I really need is a method for calculating the slope needed for
  19. > drawing a line very fast since I already know how to perform bank switching
  20. > on my SVGA card. Any help would be appreciated.
  21. > -- 
  22. > +---------------------------+----------------------------------------------+
  23. > | Chris Wood                |  "If you can't convince them, confuse them." |
  24. > | woodc@jacobs.cs.orst.edu  |                                   -unknown   |
  25. > +---------------------------+----------------------------------------------+
  26.  
  27. Bresenham line drawing routines are FAST!  Jim Bridges (I think Jim) has 
  28. files out in the public domain called VGAKIT?? that already do this.  Michael
  29. Abrash has covered this technique in his articles.  If you can't find code,
  30. I'll post some.
  31.  
  32.  
  33.