Article View: rec.games.programmer
Article #452Re: Game libraries...close
From: sl8nl
Date: Thu, 06 Aug 1992 16:56
Date: Thu, 06 Aug 1992 16:56
46 lines
2302 bytes
2302 bytes
> I am not new to programming, but I am fairly new to graphics. I have a
> few terminology questions.
Yeah, these terms need to be made clear in the FAQ.
> I understand what texture mapping is. What exactaly is perspective
> mapping? And how does it differ from texture mapping?
My definitions:
Texture mapping: Mapping a 2D object onto a 3D object...say, mapping
a picture of the world (flat) onto a globe. Even
this goes a bit beyond texture mapping. Map a 2D
image onto a bunch of polygons, for instance.
Perspective mapping:
Take a 2D graphics image, and map it sloping on an angle as in
old 3D games like Pool of Radiance.
|\
| \
| /
|/
Kind of like that. The original object would have been a flat rectangle, but
it was scaled to fit inside that pattern.
> Also, earlier on this thread, someone mentioned the "blindingly obvious
> fact" (not to little ole me) that wolfenstein 3d was done with "scaled
> pixel collumns" or something like that. Will someone please elucidate?
No, it's not blindingly obvious. The best I can come up with on this one (I
think is was Dave who wrote it): If you look at my scaling routine, I think
you'll see. If not, he probably meant that certain rows or columns would
become duplicated several times or deleted from the image.
> also, while I know assembler, I would find a posting of the
> aformentioned (previous response) psuedo-code and then to attempt to
> write my own assembler implementation, as I truly believe the best way
> to truly learn and understand an algorithm is to sucesfully program it.
> (although it is much easier to do this if you understand it first :))
I wish I hadn't lost that pseudo-code. I'm going to be leaving for Denver
soon, and after I get back on the 16th, I'll rewrite it. Right now, there
is a lot of hustle and bustle to get prepared.
Josh
Technical Details
Message-ID:
<1992Aug6.105650.57910@cc.usu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!caen!hellgate.utah.edu!cc.usu.edu!sl8nlReferences:
<1992Jul29.175920.57643@cc.usu.edu> <62430005@acf3.NYU.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!caen!hellgate.utah.edu!cc.usu.edu!sl8nl From: sl8nl@cc.usu.edu Newsgroups: rec.games.programmer Subject: Re: Game libraries...close Message-ID: <1992Aug6.105650.57910@cc.usu.edu> Date: 6 Aug 92 10:56:49 MDT References: <1992Jul29.175920.57643@cc.usu.edu> <62430005@acf3.NYU.EDU> Organization: Utah State University Lines: 48