Forum Discussion
silentslack
10 years agoExplorer
Camera Field Of View
Hi,
I'm looking to implement a pair of binoculars but having trouble changing the main camera's field of view. I understand that this is set to a default but I'm hoping to temporarily adjust this variable for a short sequence involving a pair of binoculars and changing the FOV would really work nicely here.
I'm attempting to set new FOV every frame in Update loop but isn't having any effect. Thanks.
I'm looking to implement a pair of binoculars but having trouble changing the main camera's field of view. I understand that this is set to a default but I'm hoping to temporarily adjust this variable for a short sequence involving a pair of binoculars and changing the FOV would really work nicely here.
I'm attempting to set new FOV every frame in Update loop but isn't having any effect. Thanks.
2 Replies
Replies have been turned off for this discussion
- vrdavebOculus StaffThe main Camera's local pose, IPD, and FOV are immutable when VR is enabled because changing one of those values without changing the others would quickly cause discomfort (nausea). To do binoculars, you could translate and scale the VR camera, add vignettes, or make an additional camera that renders to a target texture with whatever FOV you need. Does one of those approaches work for your use case?
- silentslackExplorerI've tried scale and translate and really couldn't get a convincing effect going. Will attempt the target texture method. 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
- 10 months ago
- 3 years ago