Jump to content
  • Advertisement
Sign in to follow this  
bananasplitkids

Close Post - Question answered

This topic is 3350 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.

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!