Aspect Ratio problem

Started by
1 comment, last by noatom 11 years, 6 months ago
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!
Advertisement
It seems to be following the aspect ration of your window. That's all we can tell without any code.
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?

This topic is closed to new replies.

Advertisement