WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Viz.visible(viz.OFF) does not work in SteamVR (https://forum.worldviz.com/showthread.php?t=5753)

Zhi 06-20-2016 07:46 PM

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

Jeff 06-20-2016 11:37 PM

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)


Zhi 06-22-2016 03:15 AM

Cool, it works! Thank you Jeff.


All times are GMT -7. The time now is 03:18 AM.

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