Temporarily cease Oculus DK2 rendering or hide display
I'm wondering if there is a way to momentarily stop rendering on the Oculus DK2? I'm looking to do something analogous to:
Code:
viz.setOption('viz.window.visible', 0) Code:
import oculus |
Does the following work?
Code:
viz.setOption('viz.window.visible', 0) |
None of the options stop rendering or hide it or whatever on the hmd.
Code:
viz.MainWindow.visible(False) Code:
hmd.remove() I will have difficulty in hiding the scene with a quad since the user is immersed in the scene (subject can walk around and interact with the scene). In order to hide the scene with a quad I'd have to have reliable information about the head position and orientation which in the scenarios where I want to hide things, this data is inaccurate. Alternatively I think I'll try positioning a black sphere around the head when I want to hide the scene, so that only the position data needs to be robust. |
You can use parent=viz.SCREEN to have an object in screen based coordinates instead of int eh virtual world. works with vizshape at least.
|
@dcnieho, that's a great idea, it works great and you were right I don't have to worry about setting the position.
Code:
global HideSphere |
Hi Jeff,
I wanted to note that the below: Quote:
|
All times are GMT -7. The time now is 09:30 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC