Forum Discussion
jakeatvrse
9 years agoHonored Guest
Getting a projection matrix in unity
Hey there,
I am trying to write a mirror script in unity accurately. For this i'm trying to get the position, rotation, and projection matrix per eye of the oculus. However I am having a hell of a time getting an accurate per eye projection matrix. There seems to be almost enough data from the OVRPlugin Frustrumf struct but not enough to fully make an accurate calculation. Is there anywhere in the oculus utils for unity to get this data or any calculation anyone can share?
I am trying to write a mirror script in unity accurately. For this i'm trying to get the position, rotation, and projection matrix per eye of the oculus. However I am having a hell of a time getting an accurate per eye projection matrix. There seems to be almost enough data from the OVRPlugin Frustrumf struct but not enough to fully make an accurate calculation. Is there anywhere in the oculus utils for unity to get this data or any calculation anyone can share?
1 Reply
Replies have been turned off for this discussion
- (Moved to Unity developer section)
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
- 12 days ago
- 11 months ago
- 4 years ago