Archived

This topic is now archived and is closed to further replies.

tomboy501

Projection/Camera Matrix Refresher

Recommended Posts

I know this is a silly question, just need a refresher and can''t seem to find a simple example/code. (a) How do I translate a 3D point to 2D with a matrix? (Specifically, what is the equation/multiplication). I.e., what would (1,2,3) be mapped into 2D? (b) Probably ties into #1 (forget if I have to use a separate equation or what), but say I want to "zoom out" so it looks "good" (along the z-axis). Is this done in the same matrix above, or do I do a matrix multiply first, then map into 2D space? Thanks very much! (Reading through my annoying textbook where the guy keeps on going ON and ON with pretty pictures, and ''relative'' equations, but no practical examples...)

Share this post


Link to post
Share on other sites