WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-13-2016, 04:26 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Try getting handles to the mainwindow and just one subwindow. Then set their size and position:

Code:
mainWindow = viz.MainWindow
subWindow = viz.addWindow()

WINDOW_SIZE = [1.0/2.0,1.0]
mainWindow.setSize(WINDOW_SIZE)
mainWindow.setPosition([1.0/2.0,1])
subWindow.setSize(WINDOW_SIZE)
subWindow.setPosition([0,1])
You can reference the same window names for the different clients:

Code:
cave.addWall(BottomWall, mask=viz.CLIENT1, window=mainWindow)
cave.addWall(FrontWall, mask=viz.CLIENT1, window=subWindow)
cave.addWall(LeftWall, mask=viz.CLIENT2, window=mainWindow)
cave.addWall(RightWall, mask=viz.CLIENT2, window=subWindow)

Last edited by Jeff; 05-13-2016 at 08:45 AM. Reason: simplified code
Reply With Quote
Reply

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
anaglyph effect at front view of cave g.vannan Vizard 1 02-03-2015 06:29 AM
Mouse events from a cluster client victorqx Vizard 5 08-15-2012 12:43 AM
[New here] Cave joy navigation esuna114 Vizard 2 06-11-2010 05:36 PM
Flipped floor in a CAVE shivanangel Vizard 1 03-10-2010 11:12 AM
Four Wall Cave on One Computer envisC Vizard 1 04-28-2009 06:02 PM


All times are GMT -7. The time now is 08:53 AM.


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