• Advertisement
Sign in to follow this  

Aspect Ratio problem

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

I managed to make DirectX 11 and Xna Math work in an appropiate way in 2D enviroment.Now there's another problem!

The aspect ratio! Take a look!

5ue4uo.png
263h2rp.png
As you can see the difference is really noticeable between windowed mode and a an almost fullscreen mode.The image gets really distorted.

What can I do? I use an ortho matrix for PROJECTION that takes only the width,height,nearplan,farplan arguments!

Share this post


Link to post
Share on other sites
Advertisement
Damn! I inversed the width with the height at the ortho matrix creation for projection.So instead of width it was using height and instead of height it was using width.

Can someone delete this topic? Edited by noatom

Share this post


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

  • Advertisement