Forum Discussion
drash
13 years agoHeroic Explorer
OVRCameraController
Well, that was easy! Just replaced my Main Camera with this and mostly done (enough for cross-eyed 3D until my Rift arrives).
I had a question though. Why does the OVRCameraController let you specify near/far clip planes -- setting those does not seem to update the clip planes on the Left/RightCamera children, but maybe it should?
I had a question though. Why does the OVRCameraController let you specify near/far clip planes -- setting those does not seem to update the clip planes on the Left/RightCamera children, but maybe it should?
10 Replies
Replies have been turned off for this discussion
- SiggiGProtege
"drash" wrote:
I had a question though. Why does the OVRCameraController let you specify near/far clip planes -- setting those does not seem to update the clip planes on the Left/RightCamera children, but maybe it should?
It does at runtime :) Just run the scene and check the values on the left/right cameras. - drashHeroic ExplorerThat would explain it. I'm too used to putting [ExecuteInEditMode] on everything.
Thanks! :) - xanderdavisHonored Guest
"SiggiG" wrote:
"drash" wrote:
I had a question though. Why does the OVRCameraController let you specify near/far clip planes -- setting those does not seem to update the clip planes on the Left/RightCamera children, but maybe it should?
It does at runtime :) Just run the scene and check the values on the left/right cameras.
I tried setting the Far Clip Plane to 5000 (from default 1000) and unfortunately it didn't work for me. The skybox still clips. Using a skybox with a far clip plane of 1000 is very restrictive to world size. Since feeling the presence of scale in VR is one of the key benefits here, being able to design and build huge worlds is very attractive. Without a fix for this, we are forced to make small worlds and I can actually see the planes of a skybox that fits within a 1000 far clip distance. Any way around this? Something I'm missing? - rjeProtegeThe near and far clip settings on ovrcameracontroller are working for me - if you want to be absolutely sure you can always open your OVRCC and manually set the clip planes for cameraleft and cameraright.
One thing I did notice in my project that you may be running into: I'm using multiple OVRCC's, and it seemed like the one with the lowest depth was setting the near/far planes for all of the cameras in my scene. If you're using multiple cameras for any reason you might want to see if that's your issue.
Cheers,
Ryan - xanderdavisHonored GuestIn the object OVRPlayerController > OVRCameraController, I set both CameraLeft and CameraRight Far Clipping Plane to 10000 and it had no effect. I made sure there are no other cameras in the scene.
Running this on Win7 with a powerful ATI graphics card that can run the latest triple-A games on strong settings. An issue with the OVR camera code? Odd that it's working for some people but not here.
I've noticed the Far field and the value I put in it are Bold, so I applied the change to the Prefab. Also no effect. :( - rjeProtegeThat's really weird, the code is pretty straightforward so I'm not sure why or how that could be happening. If the problem is persistent I'd suggest sending a sample project to support and trying to get some feedback, they've been helpful when I've run into issues.
- cyberealityGrand ChampionWe did test the skybox for clipping issues and were not able to reproduce the problem. If possible, could you send us a simple demo that illustrates the issue so we can test on our end? Thanks.
- xanderdavisHonored GuestI finally figured it out. I was setting the Far Clip plane on CameraLeft / CameraRight within the OVRCameraController object. But there's another Far Clip plane field ON THE ACTUAL OVRCameraController OBJECT. The redundancy was the cause for confusion.
But it works now after setting OVRCameraController. Hooray! - cyberealityGrand ChampionAh, yes. That makes sense. Thanks for following up on this.
- yogeeHonored GuestOVRCameracontroller as 3rd person camera in unity3d ... pls
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
- 13 years ago
- 12 years ago
- 13 years ago
- 12 years ago