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)
I've tried this with my current setup and it hides the mirrored window on my PC's monitor but it does nothing to the rendering on the Oculus itself. Here is the code I use to setup the DK2:
Code:
import oculus
hmd = oculus.Rift()
if not hmd.getSensor():
sys.exit('Oculus Rift not detected')
else:
profile = hmd.getProfile()
hmd.setIPD(profile.ipd)
# Setup navigation node and link to main view
global navigationNode
navigationNode = viz.addGroup()
global viewLink
viewLink = viz.link(navigationNode, viz.MainView)
Any ideas or methods I can use to hide/stop rendering on the DK2 without stopping the whole program?