Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
yosun's avatar
yosun
Honored Guest
13 years ago

Lens distortion script - spherical correction?

I'm experimenting with cross-platform support on iOS and Android. Initially, I would just like to get the stereo to work.

The dll's and such seem Windows-only. As a quick but sloppy-hackish solution, I basically disabled references to most of them. Mainly, null-plugging references in OVRLensCorrection.cs, OVRCamera.cs on CameraLeft and Right.

On Android/iOS (using native device gyro to control camera orientation):

So far, I've been able to get some sort of shift in the left-cam/right-cam to show. This is still slightly-off when connected via HDMI to device.

Q: How to get the spherical distortion to show properly (and the black-edged frames)?