PDA

View Full Version : stereo/anaglyph question


Darkmax
08-06-2010, 08:28 AM
If some know how i can turn on the stereo or turn it off on my simulation?

Because i found how to turn it on but before the simulation run or ask before run it if you want stereo, but i cant find how to turn it on or off once my simulation is running.

Jeff
08-06-2010, 09:13 AM
You can use <window>.stereo to set most stereo modes after the viz.go() statement:
import viz
viz.go()

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

vizact.onkeydown('1',viz.MainWindow.stereo,viz.OFF )
vizact.onkeydown('2',viz.MainWindow.stereo,viz.ANA GLYPHIC)

Darkmax
08-06-2010, 01:26 PM
thx it works