WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   How to make screen black? (https://forum.worldviz.com/showthread.php?t=2669)

Josh 04-02-2010 04:03 AM

How to make screen black?
 
Hi all

I need to turn my screen black for a second or two, so I can change some stuff in my VR without the user immediately seeing it change. With a button click the screen should turn normal again.

How can this be done?

Thanks
Josh

Jeff 04-02-2010 12:30 PM

You could switch to an empty scene
Code:

import viz
viz.go()

gallery = viz.add('gallery.ive')

vizact.onkeydown('1',viz.scene,1)
vizact.onkeydown('2',viz.scene,2)

or you could do a fade like in farshizzo's post from this thread.


All times are GMT -7. The time now is 09:52 AM.

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