WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 04-02-2014, 12:08 PM
Alex Miranda Alex Miranda is offline
Join Date: Mar 2014
Posts: 21
Black Background

Hello, i've created two windows to view my scene. I would like to turn black the main window and show the two windows. My code is:

import viz

maze = viz.addChild('maze.osgb')

upLeftWindow = viz.addWindow()
upLeftWindowView = viz.addView()
upLeftWindow.setSize(0.405, 1)

upLeftWindowViewLink = viz.MainView, upLeftWindowView )
upLeftWindowViewLink.preEuler([0, 0, 0])
upLeftWindowViewLink.postTrans([0, 0, 0])

upRightWindow = viz.addWindow()
upRightWindowView = viz.addView()

upRightWindowviewLink = viz.MainView, upRightWindowView )
upRightWindowviewLink.preEuler([0, 0, 0])
upRightWindowviewLink.postTrans([0, 0, 0])

Reply With Quote
Old 04-04-2014, 12:00 AM
Jeff Jeff is offline
WorldViz Team Member
Join Date: Aug 2008
Posts: 2,467
The following line of code will prevent the model from being rendered to the main window:
Reply With Quote
Old 04-09-2014, 08:13 AM
Alex Miranda Alex Miranda is offline
Join Date: Mar 2014
Posts: 21


It's running.
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
wrong background color in interlaced stereo image rlh001 Vizard 4 09-25-2013 04:21 PM
Is it possible to have make my shapes have black borders? Renato Lima Vizard 2 11-13-2010 08:35 AM
V-Realm Builder background and light load problems mizutani_jun Vizard 0 10-08-2010 12:46 AM
cinematic fade to black? billjarrold Vizard 4 12-23-2009 11:09 AM
black outs enkeli Vizard 4 05-09-2006 12:05 PM

All times are GMT -7. The time now is 06:49 AM.

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