Samsung / GearVRf

The GearVR framework(GearVRf) is an Open Source VR rendering library for application development on VR-supported Android devices.
http://www.gearvrf.org
Apache License 2.0
407 stars 217 forks source link

Monoscopic mode with stereoscopic rendering #1989

Closed ragner closed 6 years ago

ragner commented 6 years ago

It looks like the Monoscopic mode is rendering the camera of right eye instead of the center camera. Every object attached to the camera is being rendered with some offset to the right.

thomasflynn commented 6 years ago

it's the left camera. see: https://github.com/Samsung/GearVRf/blob/master/GVRf/Framework/backend_monoscopic/src/main/java/org/gearvrf/MonoscopicViewManager.java

around line 411. You can try rendering with the center camera and let us know how it goes. I don't think we've tested that before.

ragner commented 6 years ago

Hi @thomasflynn, it is working for me with the center camera.

I will make a PR for this.

Thanks

liaxim commented 6 years ago

Fix was merged