Forum Discussion
9of9
11 years agoExpert Protege
Getting IR Camera Transform
Just curious if anyone's poked around and found a way to get the transform for the IR camera in worldspace? It's the sort of thing that would be quite nice to have, similar to the way you can enable c...
drash
11 years agoHeroic Explorer
"Boff" wrote:
Edit:
Looking at the code you posted you're just getting the OVR values already used - so this is just for displaying the camera bounds without being able to change the values?
Yeah it just displays the bounds based on what the OVR SDK reports -- seems fairly future proof re different tracking cameras that may be used in the future. There is one thing you can configure though: the material 9of9 provides will smoothly reveal an alpha-clipped texture as a function of distance to the camera. You can change *that* value. Too small and it won't give the player enough warning before they go out of bounds, too large and it will annoy the player by getting in the way needlessly. This value also depends on the range of values present in the texture you use.
If you're getting the "out of range" message, then you are probably using OVRMainMenu which has a different way of checking for the player going out of bounds. If you wanted to keep the OVRMainMenu functionality but not have the warning messages, you could probably get into the OVRMainMenu code and comment out the part where it instantiates an OVRVisionGuide (for now, at least).
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
- 1 year ago