WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-20-2016, 07:46 PM
Zhi Zhi is offline
Member
 
Join Date: Mar 2011
Posts: 49
Viz.visible(viz.OFF) does not work in SteamVR

Hi,

I am using HTC vive with Vizard 5. I found that once the steamvr is connected, i.e.

hmd = steamvr.HMD()
if not hmd.getSensor():
sys.exit('SteamVR HMD not detected')

the following command stops working,

viz.visible(viz.OFF)

Can anyone tell me why this happens? How to control the visibility of the VR world in HTC vive?

Thanks in advance!

Zhi
Reply With Quote
  #2  
Old 06-20-2016, 11:37 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,455
Try changing the scene to an empty scene:

Code:
#Show or hide scene 1
vizact.onkeydown('1',viz.MainWindow.setScene,1)
vizact.onkeydown('2',viz.MainWindow.setScene,2)
Reply With Quote
  #3  
Old 06-22-2016, 03:15 AM
Zhi Zhi is offline
Member
 
Join Date: Mar 2011
Posts: 49
Cool, it works! Thank you Jeff.
Reply With Quote
Reply

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
Issue getting ART SMARTTRACK and Flystick3 to work JB_HP_Viz Vizard 2 06-02-2016 10:14 AM
Oculus HMD's setViewport() doesn't work jacky Vizard 1 09-25-2013 02:50 PM
why the directional blur doesn't work well hzhao Vizard 3 02-15-2013 09:46 AM
Does the automatic clipping plane calculation work? Joran Vizard 4 07-10-2009 10:35 AM
Getting a mirror to work in any environment Frank Verberne Vizard 5 03-27-2008 08:21 AM


All times are GMT -7. The time now is 12:06 AM.


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