WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 03-24-2009, 03:51 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
You don't need to specify the cfg options if you are using the cluster master app.

Regarding your original problem, Gladsomebeast is correct. You cannot use the push/popMask commands around viz.add commands. The way to deal with this is to add the object to all computers and use the mask to modify the settings for each client. If I understand your specific scenario correctly, you have the master and one client in your cluster, and each will display 2 windows? If this is the case, then here is some pseudo-code that should set this up:
Code:
#Need to initialize window with viz.QUAD_BUFFER flag
viz.go(viz.QUAD_BUFFER)

#Resize main window to take up left half of screen
window1 = viz.MainWindow
window1.setSize(0.5,1.0)

#Create window to take up right half of screen
window2 = viz.addWindow(pos=(0.5,1.0),size=(0.5,1.0))
window2.stereo(viz.QUAD_BUFFER)

#Create 4 walls
wall1 = vizcave.Wall(...)
wall2 = vizcave.Wall(...)
wall3 = vizcave.Wall(...)
wall4 = vizcave.Wall(...)

#Add walls to cave
cave.addWall(wall1,window=window1,mask=viz.MASTER)
cave.addWall(wall2,window=window2,mask=viz.MASTER)
cave.addWall(wall3,window=window1,mask=viz.CLIENT)
cave.addWall(wall4,window=window2,mask=viz.CLIENT)
The vizcave module will handle updating the view frustum for each window on each client, assuming you use the cave.setTracker command.

In the code you posted above, you were using the window.fov command. Keep in mind that the vizcave module will update the projection matrix of the window every frame based on the position of the tracker. So the value you specified will be overwritten.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
orthographic projection in a head-tracked cave environment michaelrepucci Vizard 5 12-14-2011 11:29 AM
Problems implementing Vizard in a CAVE with Shutter Glasses shivanangel Vizard 7 05-20-2009 12:47 PM
CAVE PPT Tracker Help with Orientation Inversion on Up and Down shivanangel Vizard 3 03-11-2009 10:14 PM
3D stereo on a secondary monitor (projected wall) michaelrepucci Vizard 1 07-29-2008 12:25 PM
navigation in cave environment Andy Vizard 4 03-28-2008 02:32 AM


All times are GMT -7. The time now is 09:42 PM.


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