WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-08-2016, 08:30 AM
willpower2727 willpower2727 is offline
Member
 
Join Date: Feb 2015
Posts: 39
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)
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?
Reply With Quote
 

Tags
dk2, hide, oculus, rendering

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
3D text oculus for right to left languages bbb Vizard 2 01-16-2016 07:02 AM
Blank screen on external monitor when running a Vizard script with Oculus DK2 mstan Vizard 4 09-03-2015 05:58 AM
Oculus runtime disrupts clustering to mirror DK2 display performlabrit Vizard 1 01-23-2015 07:00 AM
Duplicate HMD display on primary monitor, with eyetracking info performlabrit Vizard 3 09-19-2014 10:44 AM


All times are GMT -7. The time now is 11:05 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC