• Advertisement
Sign in to follow this  

False Perspective [RESOLVED]

This topic is 4289 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
And now i've after hunting down some examples for D3DXMatrixPerspectiveOffCenterLH on GameDev's forums, I got it working. Thanks.

Share this post


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

  • Advertisement