Fix the math in cardboard VR mode for wide aspect ratios#14768
Fix the math in cardboard VR mode for wide aspect ratios#14768
Conversation
…wide aspect ratios. Fixes #12982
|
I have not given up on the feature, never will, I love psp games in vr glasses, and having it working perfectly in ppsspp is the dream. This update is good, but not quite there yet to get the optimal experience. Same settings in v1.11.3 and v1.11.3-1203-g2735b09eb, vs RetroArch with shutter-to-side-by-side shader. As you can see in the screenshots, the centers of the 2 screens remains on the same location, but by changing the eye separation (X- shift) closer together a bigger image is possible, taking full advantage of the phone's display. |
|
Yeah, okay. Now that the math is right, just extending the range of the sliders should get us closer to that, and maybe additionally blending them into each other... That would take a bit of work though, so as a first step I'm just gonna extend the slider range a bit, shortly. By the way, if you set the scale to 100%, it should look a bit bigger than in your second screenshot? |




Avoids issues with very wide aspect ratios. Also very minor cleanups.
Basically, splits the full screen in half properly before centering, instead of chopping both width and height in half and reusing the normal centering, which doesn't work when the screen is wider than 16:9.
Fixes #12982