![]() |
|
#4
|
|||
|
|||
|
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]) 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 |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |