False Perspective [RESOLVED]

Started by
2 comments, last by darrenmarklines 17 years, 10 months ago
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]
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.
John BoltonLocomotive Games (THQ)Current Project: Destroy All Humans (Wii). IN STORES NOW!
Thanks John, I've started looking into that, but I have to say the SDK documentation on it is crap.
And now i've after hunting down some examples for D3DXMatrixPerspectiveOffCenterLH on GameDev's forums, I got it working. Thanks.

This topic is closed to new replies.

Advertisement