home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / graphics / 8944 < prev    next >
Encoding:
Internet Message Format  |  1992-08-18  |  1.8 KB

  1. Path: sparky!uunet!mcsun!uknet!canon.co.uk!ads
  2. From: ads@canon.co.uk (Adam Billyard)
  3. Newsgroups: comp.graphics
  4. Subject: Re: wolf 3D
  5. Message-ID: <1992Aug18.152925.3600@canon.co.uk>
  6. Date: 18 Aug 92 15:29:25 GMT
  7. References: <713996198snx@nexnix.demon.co.uk>
  8. Reply-To: ads@canon.co.uk
  9. Organization: Canon Research Centre Europe Ltd
  10. Lines: 31
  11.  
  12. gary@nexnix.demon.co.uk (Gary Howland) writes:
  13.  
  14. > I used to program games back in my younger days, and knew some ridiculous
  15. > algorithms for squeezing fast graphics (3-dimensional as well as normal stuff)
  16. > out of the hardware I was using, but the speed at which wolfenstein-3D (apogee)
  17. > generates its images amazes me.  Can anyone give me a rough overview of how
  18. > wolfenstein 3D generates its images?
  19.  
  20. The trick used in Wolf3d to get fast texture-mapping seems to be to use
  21. a non-regular scaling of a pixmap.  If you look at the images generated
  22. you'll see that the texels are not perspective projected - they're
  23. simply scaled (axis-aligned) rectangles.  This gives an OK result but
  24. has the nasty side effect that you're not really texturing polygons. 
  25. You're scaling images.  This means that the larger the texels the more
  26. raggy the edge of the "polygon" is.  The people that did Wolf3D
  27. cunningly arranged for the very "fat pixels/texels" to be clipped off
  28. the edge of the viewport in most cases since they only get real big as
  29. the scaled pixmap gets "close" to the view plane.  It is a really good
  30. effect, but not much use for general 3D geometry. 
  31.  
  32. Also, keep in mind that in your "younger days" the processors were a lot
  33. slower - well thats what I tell myself when I see some of these games. :-)
  34.  
  35.     Adam.
  36.  
  37.  
  38. -------------
  39. Adam Billyard, Canon Research Centre Europe,
  40. 17/20 Frederick Sanger Rd, Surrey Research Park, Guildford, Surrey, GU25YD, UK.
  41. ads@canon.co.uk, ads@canon.uucp, ..!ukc!canon!ads
  42. Tel: +44 (0) 483 574325 Fax: +44 (0) 483 574360
  43.