Forum Discussion
lanerobertlane
12 years agoHonored Guest
Multiple Viewport trouble
I have a project that uses 2 viewports that take up 50% of the screen each. The Oculus viewport was the first half and another camera was the 2nd. This worked fine in the old SDK 0.3.2 , but in the 0.4.1 beta the second viewport is hidden.
http://i.stack.imgur.com/QdWlM.jpg - This is a mock up of how it looked in 3.2 (but mirrored, oculus was on the left).
The none oculus viewport can be seen when resizing the window (hides the oculus viewport) which first made me think it was rendering behind something, but I changed the depth of the 2nd viewport and nothing changed.
I'm assuming there's something in the new SDK that is either drawing the black box over the other viewport or clearing it from being rendered. Does anyone know what it is, or how to work around it?
http://i.stack.imgur.com/QdWlM.jpg - This is a mock up of how it looked in 3.2 (but mirrored, oculus was on the left).
The none oculus viewport can be seen when resizing the window (hides the oculus viewport) which first made me think it was rendering behind something, but I changed the depth of the 2nd viewport and nothing changed.
I'm assuming there's something in the new SDK that is either drawing the black box over the other viewport or clearing it from being rendered. Does anyone know what it is, or how to work around it?
1 Reply
Replies have been turned off for this discussion
- ryahataHonored GuestHave you taken a look at my post? https://developer.oculusvr.com/forums/viewtopic.php?t=11707
In short the method you were using before is probably not usable with the current version of the SDK. If you do get something working I would be curious as to what your work around is :D
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
- 2 years ago
- 11 months ago