WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   switching from stereo mode to 2d mode (https://forum.worldviz.com/showthread.php?t=6093)

VizMars 12-18-2017 09:25 AM

switching from stereo mode to 2d mode
 
Hello everybody,

does somebody know how one can toggle between the stereo mode, particularly
Code:

viz.go(viz.QUAD_BUFFER)
and the "normal" 2d mode?

Jeff 12-20-2017 08:33 AM

Quad buffered stereo can only be set before or with the viz.go command. You could try the following to go from quad buffered stereo to mono mode but I don't think it's possible to toggle back:

Code:

import viz
import vizact

viz.go(viz.QUAD_BUFFER)

viz.addChild('piazza.osgb')

# Press spacebar to render in mono mode
vizact.onkeydown(' ', viz.MainWindow.stereo,viz.STEREO_LEFT)



All times are GMT -7. The time now is 05:40 PM.

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