Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

For a section of my game, instead of having a perspective projection, i would like to display an isometric view of an object.

So i don't want things to appear smaller if in a distance, etc.

Basically a proper isometric image.

Is there any way to do this in XNA?

share|improve this question
add comment

2 Answers 2

up vote 5 down vote accepted

You can assign any arbitrary matrix to the pipeline's projection matrix in XNA, even one that doesn't perform a useful projection (you probably won't see useful results doing that, but you can).

So you can construct an orthographic projection matrix yourself or use one of XNA's helper methods and use that. You'll also have to adjust the view matrix to position the camera from the angle you want, of course.

share|improve this answer
add comment

Matrix.CreateOrthographic should do the trick.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.