🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Parallel Projections
How could I manipulate the matrices (D3D matrices) so that a quad would be drawn like a isometric tile?
The world matrix would be unity.
The view matrix could, i think, be a shear in x, followed by a shear in y followed. i.e.
Sx =
[ 1 sx 0 0 ]
[ 0 1 0 0 ]
[ 0 0 1 0 ]
[ 0 0 0 1 ]
Sy =
[ 1 0 0 0 ]
[ sy 1 0 0 ]
[ 0 0 1 0 ]
[ 0 0 0 1 ]
experiment with sx and sy each between 0 and 1 to get the particular tile shape you want.
The projection matrix is just whatever parallel projection is appropriate for your application.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement