Archived

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

Guest Anonymous Poster

Parallel Projections

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

Guest Anonymous Poster
How could I manipulate the matrices (D3D matrices) so that a quad would be drawn like a isometric tile?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites