Forum Discussion
Altmeister
11 years agoHonored Guest
IPD refresh issue?
I try to increase / decrease the IPD value in my game settings. I use:
This works, the value in OVRCameraController get changed in realtime but i see no effect on the camera.
When i "click" a second time on the OVR camera in the game hierarchy (editor), the camera jump to the new IPD position.
Is here a solution to refresh the OVR camera after changing the IPD by java script?
GameObject.GetComponent(OVRCameraController).IPD = ipdFloat;
This works, the value in OVRCameraController get changed in realtime but i see no effect on the camera.
When i "click" a second time on the OVR camera in the game hierarchy (editor), the camera jump to the new IPD position.
Is here a solution to refresh the OVR camera after changing the IPD by java script?
7 Replies
Replies have been turned off for this discussion
- cyberealityGrand ChampionYou should not need to be changing the IPD in your app.
Ideally the user would configure this once in the Config Util and all apps read that value. - AltmeisterHonored GuestYes, i know. But it would be a nice feature to change fast the IPD value from the app settings with a slider.
It works only when the OVR camera is selected in the editor. - cyberealityGrand ChampionYou can try setting "UpdateCamerasDirtyFlag" to true after adjusting the IPD but, again, I recommend you don't do this.
- AltmeisterHonored GuestYes. I try it already. But "UpdateCamerasDirtyFlag" is not public, its private.
The problem is all developers has different (favorite) IPD values. So a final 3D scenery looks different for many users, and a small IDP difference has a big 3d depth consequence.
Before oculus rift i use nvidias 3d vision, here you can also increase and decrease the 3d depth in game. - cyberealityGrand ChampionYou shouldn't be using IPD as a "3D Strength Meter".
- cyberealityGrand ChampionIn any case, I believe you should be able to use:
public void SetIPD(float ipd)
In OVRCameraController. - AltmeisterHonored GuestOh yes. Thats works. Thanks.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 8 months ago
- 1 year ago