WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 03-29-2012, 10:32 AM is offline
Join Date: Dec 2011
Posts: 2
drives two walls with a single PC and an nVidia graphics card


I am trying to use a single PC with an nVidia Quadro 6000 graphics card to drive a two wall (front and floor) system in Vizard 4.0.

Currently I have one project each connect to a DVI port of the graphics card.

I am using the following cave setting. However I always get one image which extends to two screens. Could anyone shed me a light? Thanks.

I am aware most setting is done with two PC sync by clustering. I just wonder this is possible.

My code is listed below.
import viz
import vizcave
import viztracker

# Declare constants defining the CAVE dimensions
W = 3.410 # 10 feet wide
H = 2.140 #7.5 feet tall
D = 2.200 # 7.5 feet deep
C0 = 0,H,0 # Front Wall: C1,C2,C5,C6
C1 = 0,H,D # Left Wall: C0,C1,C4,C5
C2 = W,H,D # Right Wall: C2,C3,C6,C7
C3 = W,H,0 # Bottom Wall: C5,C6,C4,C7
C4 = 0,0,0
C5 = 0,0,D
C6 = W,0,D
C7 = W,0,0

#Create front wall
FrontWall = vizcave.Wall( upperLeft=C1, # 0, 2.286, 3.048
upperRight=C2, # 3.048, 2.286, 3.048
lowerLeft=C5, # 0, 0, 3.048
lowerRight=C6, # 3.048, 0, 3.048
name='Front Wall' )

#Create left wall
LeftWall = vizcave.Wall( upperLeft=C0,
name='Left Wall' )

#Create right wall
RightWall = vizcave.Wall( upperLeft=C2,
name='Right Wall' )

#Create bottom wall
BottomWall = vizcave.Wall( upperLeft=C5,
name='Bottom Wall' )

#Initialize graphics window

#Create cave object
cave = vizcave.Cave()

#Add each wall, make sure that they are ordered in the cluster software correctly to match this ordering
cave.addWall(FrontWall, mask=viz.MASTER)
#cave.addWall(LeftWall, mask=viz.CLIENT1)
#cave.addWall(RightWall, mask=viz.CLIENT2)
cave.addWall(BottomWall, mask=viz.CLIENT3)

#Create tracker object using the keyboard (WASD keys control the viewpoint, the user's eye location)
#Make the starting location for the user's eye the exact center of the CAVE
viewtracker = viztracker.KeyboardPos()
viewtracker.setPosition (W/2.0,H/2.0,D/2.0)

#Pass the viewpoint tracker into the cave object so it can be automatically updated

#Create CaveView object for manipulating the entire cave environment
#The caveorigin is a node that can be adjusted to move the entire cave around the virtual environment
caveorigin = vizcave.CaveView(viewtracker)

#Create another tracker using the keyboard and mouse (arrow keys adjust position, mouse changes orientation)
origintracker = viztracker.KeyboardMouse6DOF()

#Link the keyboard/mouse so that it moves the cave and user around the virtual environment
#originlink = (origintracker, caveorigin)

#Add gallery environment model

Reply With Quote
Old 03-30-2012, 08:53 AM
Jeff Jeff is offline
WorldViz Team Member
Join Date: Aug 2008
Posts: 2,471
If you're running the CAVE on a single machine you can specify a Vizard window to draw each wall to rather than a master or client machine. If you take a look at the <vizcave:Cave>.addWall documentation this will be more clear. You can create a subwindow that takes up half the screen and place that next to Vizard's MainWindow, one for each wall.

You can also try using clustering on a single machine if you have the Enterprise version of Vizard. For this, check localhost in the cluster master utility. There is a count field where you can specify the number of clients. If you leave that number at 1 there will be two graphics windows created.
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
graphics card for Vizard powerwall dig Precision Position Tracker (PPT) 2 10-12-2011 10:28 AM
Graphics Card Suggestions? Kaminski Vizard 1 05-31-2011 03:45 PM
Question on Graphics Card for laptop Vinicius Lima Vizard 1 11-12-2008 03:59 PM
Quadro Graphics Card Problem Vinicius Lima Vizard 4 04-08-2008 10:54 AM
Recommended graphics card? Vince Vizard 4 07-13-2005 10:10 PM

All times are GMT -7. The time now is 02:12 AM.

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