Doing 2 viewports by splitting the screen into two columns what is the right aspect ratio for the 2 cameras? I tried 0.5 on both, in one it shows ok, in the other its all squashed
int ResX = 800;
int ResY = 600;
...
device->getVideoDriver()->setViewPort(core::rect<s32>(0,0,ResX/2,ResY));
device->getSceneManager()->drawAll();
...
device->getVideoDriver()>setViewPort(core::rect<s32>(ResX/2,0,ResX,ResY));
device->getSceneManager()->drawAll();
Aspect Ratio
-
- Competition winner
- Posts: 1123
- Joined: Sun Jun 10, 2007 11:14 pm