Sign in to follow this  

Aspect Ratio problem

This topic is 1898 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!

[img]http://i45.tinypic.com/5ue4uo.png[/img]
[img]http://i45.tinypic.com/263h2rp.png[/img]
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
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

This topic is 1898 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this