Forum Discussion
lazniak
12 years agoHonored Guest
Field of view
Hello,
i wrote simple script to zoom camera by modyfing Fild of view.
In editor everything works fine, but after running build on oculus it doesnt work at all. Build with single camera - without OVR camera worsk great.
On oculus field of view is fixed to 90*.
Any body knows how can I fix it?
i wrote simple script to zoom camera by modyfing Fild of view.
In editor everything works fine, but after running build on oculus it doesnt work at all. Build with single camera - without OVR camera worsk great.
On oculus field of view is fixed to 90*.
Any body knows how can I fix it?
4 Replies
Replies have been turned off for this discussion
- cyberealityGrand ChampionYou need to use SetVerticalFOV() in OVRCameraController.cs. Adjusting manually will not work.
- lazniakHonored GuestThanks, that's exactly what i was looking for.
- HurricaneHonored GuestHi guys!
I would like to add the zoom ability to a little project I'm working on but have no programming skills. I found this video on youtube but it probably needs some adjusting to work with Rift.
http://www.youtube.com/watch?v=shYpGnMKY8M
Would you mind posting the code for zoom? And also exactly what needs to be changed in the OVRCameraController.cs (the lines)?
Thanks! - HurricaneHonored GuestDisregard previous post. Have resolved the issue.
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
- 10 months ago
- 8 years ago
- 9 years ago