Jump to content
  • Advertisement

Archived

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

vbisme

D3DXMatrixOrthoLH and D3DXMatrixPerspectiveFovLH

This topic is 5770 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 was wonder, is there a different between the Minimum/Maximum z-value of the view volume passed in the D3DXMatrixOrthoLH and the Near/Far clipping planes when setting the D3DXMatrixPerspectiveFovLH? The default values for D3DXMatrixPerspectiveFovLH is 1.0f and 100.0f respectively. Thus, every object with z-value of 1.0f will not be seen right? In D3DXMatrixOrthoLH, most examples that I see uses 0.0f and 1.0f. If I want to do a 2D game, what's the key here? And one more thing, for 2D, I usually set the camera position at 0.0f and its "look-at" at 1.0f. Does it matter here? [edited by - vbisme on October 1, 2002 11:40:45 AM]

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.

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!