WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   stereo/anaglyph question (https://forum.worldviz.com/showthread.php?t=2883)

Darkmax 08-06-2010 08:28 AM

stereo/anaglyph question
 
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 .stereo to set most stereo modes after the viz.go() statement:
Code:

import viz
viz.go()

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

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


Darkmax 08-06-2010 01:26 PM

thx it works


All times are GMT -7. The time now is 03:28 PM.

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