Cave and addtexquad
Hey
I have a 3-wall cave and I'm trying to figure out how to put a texture/plain coloured overlay over the scene. The goal is to provide an "emergency switch" to black out the cave in case of a nausea attack or similar, and later on some progress information. In the single display setup this works: Code:
blackout = viz.addTexQuad(parent=viz.ORTHO) thanks and cheers |
The easiest way to black out everything is set the scene to an empty scene:
Code:
viz.scene(2) Code:
windows = [leftWindow,frontWindow,rightWindow] |
Thanks for this solution.
Is there a way to get this window list from vizconnect or would I have to check all windows for existence and assemble it myself? |
You can get a handle to the window list using the following code. This works for the cave single machine option:
Code:
windows = vizconnect.getDisplay('display_name').getRaw().windowList |
All times are GMT -7. The time now is 06:33 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC