Jump to content
  • Advertisement
Sign in to follow this  
darrenmarklines

False Perspective [RESOLVED]

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

Is it posible to set up a projection matrix that gives a vanishing point centered to the 2d, x + (width/2) and y + (height/2) of a quad? This is a bit like the ortho projection, but gives some depth when doing rotations. [Edited by - darrenmarklines on May 24, 2006 5:26:42 AM]

Share this post


Link to post
Share on other sites
Advertisement
You can probably do it using D3DXMatrixPerspectiveOffCenterLH (where the off-center is the key to moving the vanishing point). Sorry, I can't give you more detailed information -- I've never tried it.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!