WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 09-15-2016, 05:26 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
The easiest way to black out everything is set the scene to an empty scene:

Code:
viz.scene(2)
In a non-clustered CAVE script, multiple windows are setup within the application window, one for each wall. When setting a quad's parent to viz.ORTHO it's added to the main window by default. You'll also have to add quads for each of the other windows. Use the 'scene' argument to specify which window a quad is added to:

Code:
windows = [leftWindow,frontWindow,rightWindow]

for window in windows:

	blackout = viz.addTexQuad(parent=viz.ORTHO,scene=window)
	blackout.color(viz.BLACK)
	blackout.drawOrder(-1)
	blackout.setBoxTransform(viz.BOX_ENABLED)
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:07 AM.


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