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
  #1  
Old 03-20-2009, 02:00 PM
dtidrow dtidrow is offline
Member
 
Join Date: Dec 2008
Posts: 13
Four-wall CAVE using two PCs

We've trying to add a second computer to our CAVE and are running into problems with configuring the windows for the cave walls. Each computer has two gfx cards, with each card driving one wall. How do I specify that a window only get created on the client system? I've tried doing this:

Code:
	viz.cluster.pushMask(viz.CLIENT1)
	window4 = viz.addWindow(pos=(0,0.5),size=(1.0,0.5))
	window4.fov(72.0,1.25)
	window4.clearcolor(GD_vars.CLEAR_COLOR)
	window4.stereo(viz.QUAD_BUFFER)
	viz.cluster.popMask()
...
	BottomWall = vizcave.Wall(upperLeft=(-scr_hw,0,5*0.3048),
				  upperRight=(scr_hw,0,5*0.3048),
				  lowerLeft=(-scr_hw,0,-3*0.3048),
				  lowerRight=(scr_hw,0,-3*0.3048),
				  name='BottomWall' )
...
	cave.addWall(BottomWall,window=window4, mask=viz.CLIENT1)
	window4.visible(GD_vars.CAVE_FLOOR)
but am getting errors like this when I run the code:
Code:
Traceback (most recent call last):
  File "<string>", line 11, in ?
  File "abrams_interior_don.py", line 43, in ?
    import GD_Displays
  File "Y:\Users\tidrow\devel\CAVE\GD_python\GD_Displays.py", line 51, in ?
    window4.setPosition(0,5)
  File "C:\Program Files\WorldViz\Vizard30/python\viz.py", line 3457, in setPosition
    _ipcSend(_VIZ_WINDOWPOS,self.id,mode,'',left,top,0.0,0.0)
TypeError: param1 must be an int
How should I set up two subwindows on both the master and client machine?

Don
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 10:29 AM
Problems implementing Vizard in a CAVE with Shutter Glasses shivanangel Vizard 7 05-20-2009 11:47 AM
CAVE PPT Tracker Help with Orientation Inversion on Up and Down shivanangel Vizard 3 03-11-2009 09:14 PM
3D stereo on a secondary monitor (projected wall) michaelrepucci Vizard 1 07-29-2008 11:25 AM
navigation in cave environment Andy Vizard 4 03-28-2008 01:32 AM


All times are GMT -7. The time now is 11:23 PM.


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