Page 1 of 1

Auto Correct Aspect Ratio

Posted: Tue Feb 15, 2005 12:17 am
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

Posted: Tue Feb 15, 2005 12:24 am
by sinbad
Camera::setAutoAspectRatio should do it.