Article View: rec.games.programmer
Article #444Re: Game libraries...
From: Phat H Tran
Date: Thu, 06 Aug 1992 05:34
Date: Thu, 06 Aug 1992 05:34
22 lines
1801 bytes
1801 bytes
In article <1992Aug5.195205.5840@esds.mdc.com> bonney@esds.mdc.com (Greg Bonney) writes: >In article <1992Aug5.172543.3507@esds.mdc.com> bonney@esds.mdc.com (Greg Bonney) writes: >>The original post mentioned "texture mapping". What the heck is >>"perspective mapping", and what does it have to do with texture??!! >>"Texture mapping" is not another term for "3-d line drawing in perspective". >>Texture mapping is where you map a bit-mapped 2-d image (a scanned-in photo, >>for example) onto the surface of a 3-d object (usually a polygon or a group >>of polygons). I suggest you read "Survey of Texture Mapping" by Paul S. >>Heckbert (Pixar), IEEE CG&A, Nov. 1986. > >Before I get any more e-mail on this topic, I apologize for jumping the gun >before I saw the code. I haven't tried it yet, but I guess it's pretty obvious >he does know what texture mapping is. I would like somebody to explain, though, >how his code resembles a simple line drawing algorithm. I would also like to >hear some comments on the limitations of this method. Josh's program redraws the bitmap a raster at a time, using Bresenham's line algorithm to "tilt" each raster so that they all point to a vanishing point. Rotation can also be accomplished in a similar manner by drawing each raster with a tilt, but keeping them all parallel. Phat.
Technical Details
Message-ID:
<BsJrI8.A8v@watserv1.uwaterloo.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watserv1!ptranReferences:
<1992Jul29.005516.57598@cc.usu.edu> <1992Aug5.172543.3507@esds.mdc.com> <1992Aug5.195205.5840@esds.mdc.com>Show Full Headers
Complete Article Headers
Newsgroups: rec.games.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watserv1!ptran From: ptran@watserv1.uwaterloo.ca (Phat H Tran) Subject: Re: Game libraries... Message-ID: <BsJrI8.A8v@watserv1.uwaterloo.ca> Organization: University of Waterloo References: <1992Jul29.005516.57598@cc.usu.edu> <1992Aug5.172543.3507@esds.mdc.com> <1992Aug5.195205.5840@esds.mdc.com> Date: Thu, 6 Aug 1992 05:34:53 GMT Lines: 22