Forum Discussion
Rock2000
11 years agoHonored Guest
Newbie questions
I'm playing around with the Oculus SDK and had some questions. Is there any documentation besides the short SDK_Overview doc where I can find more info, instead of bothering people with basic question...
Ybalrid
11 years agoExpert Protege
"jherico" wrote:"Ybalrid" wrote:
I have a strange behaviour with that ViewAdjust vector. It was reversed for the cameras: The left eye camera was in place of the right eye camera, and so for the right one. (I was calling for the correct eye, I've double check)
It's not that they're reversed so much as you have to understand what coordinate system they're in. Some of the values provided by the SDK are in 'camera coordinates' meaning they represent the actual position of the user. The pose information is like this meaning that it's suitable for applying to a 'player position' matrix. The ViewAdjust members are in 'view coordinates', meaning they'd be suitable for applying to a modelview matrix. 'view coordinates' are the inverse of 'camera coordinates', which for a translation vector means being multiplied by -1.
I've done that. Now I understand why I had that result, 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
- 20 hours ago
- 14 days ago
- 6 months ago