Advertisement Jump to content

Archived

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

tomboy501

Projection/Camera Matrix Refresher

This topic is 5478 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!