Jump to content
  • Advertisement
Sign in to follow this  
bananasplitkids

Close Post - Question answered

This topic is 3262 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

Advertisement
the viewport has zero to do with the matricies - those numbers are used post projection to map a clipspace (-1 to 1) coordinate to the screen.

the camera matrix is just a simple inverse of the physical-matrix that would represent the cameras position, forward and up vectors.

the projection matrix is a tad trickier - an orthographic projection matrix is a simple translation and scale, but a perspective projection matrix makes use of the homogeneous coordinate to perform a perspective divide when shifting the coordinate from viewspace to clipspace.

Share this post


Link to post
Share on other sites
Deleting your post contents like this is considered very bad style and is frowned upon here. This is not your private help forum. Other users can - and should - benefit the same way you did from the replies of helpful people.

Please refrain from doing this in the future.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!