PDA

View Full Version : How to make screen black?


Josh
04-02-2010, 04:03 AM
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
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 (http://forum.worldviz.com/showthread.php?t=2442).