Auto Correct Aspect Ratio

Problems building or running the engine, queries about how to use features etc.
Post Reply
KirkH
Gnoblar
Posts: 6
Joined: Wed Nov 24, 2004 10:45 pm
Contact:

Auto Correct Aspect Ratio

Post by KirkH »

Hi, I'm fiddling around with a 2 monitor setup with OGRE 1.0.0 RC1 and have an issue. If I set the resolution to say 2000x1000 it works across the monitors but the aspect ratio isn't correct, everything is stretched horizontally.

Is there any way to auto adjust the aspect ratio based on the resolution? I looked around in the docs and forum with no luck.

Thanks
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 67
Contact:

Post by sinbad »

Camera::setAutoAspectRatio should do it.
Post Reply