home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usna!dfr
- From: dfr@usna.navy.mil (PROF D. Rogers (EAS FAC))
- Newsgroups: comp.graphics
- Subject: Re: 2 and 3 point perspective info wanted
- Message-ID: <2110@usna.NAVY.MIL>
- Date: 6 Sep 92 10:59:40 GMT
- References: <1992Sep6.025956.17700@tamsun.tamu.edu>
- Sender: news@usna.NAVY.MIL
- Organization: U. S. Naval Academy
- Lines: 21
-
- In article <1992Sep6.025956.17700@tamsun.tamu.edu> john@stat.tamu.edu (John S. Price) writes:
-
- !I'm looking for 1, 2 and 3 point perspective formulas, to render a
- !3-dimensional scene. All I need is the formula to translate an
- !(x,y,z) vector to an (x,y) projection of that, for 1, 2, and 3
- !point perspective. I've already translated the object such that
- !my line-of-sight is along one of the axis; I just need to know how
- !to now project that into my (x,y) space so I can view it. I can
- !handle all the necessary scaling, etc, to get it into my viewport.
- !Simply the transformation matrix would be fine, but any discussion
- !you wish to provide would also be appreciated.
-
- The fact that you are asking for a 1,2,3 point perspective indicates
- that you need a bit more background in the subject since
- you actually only need a single point perspective to accomplish
- what I suspect you want to do. I suggest you look in Chapter 3
- of Mathematical Elements for Computer Graphics 2nd ed by
- Rogers and Adams, McGraw-Hill 1990.
-
- Dave Rogers
-
-