home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / graphics / 9482 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.3 KB

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