View Single Post
  #1  
Old 10-11-2012, 01:50 PM
pitbool pitbool is offline
Member
 
Join Date: Oct 2012
Posts: 31
stereo fusing trouble with caveview

Hello,

I am trying to setup head tracking in Vizard for using with our Vizwall, which is essentially a powerwall. It has intersense tracking support with infitec stereo glasses.

The problem I am facing is that the stereo is not fusing properly. Also, the lighting appears to be messed up, because I see the various objects appearing dim (I know they are dim for sure because earlier they were lighted alright, when I haven't played around with head tracking thing).

Code:
...
viz.go(viz.STEREO | viz.FULLSCREEN)
...
#defining the VizWall below
frontScreenLeftX = 3.13
frontScreenRightX = 0.07
frontScreenUpperY = 2.5
frontScreenLowerY = 0.1
frontScreenZ = -2.41

UL = frontScreenLeftX, frontScreenUpperY, frontScreenZ
UR = frontScreenRightX, frontScreenUpperY, frontScreenZ
LL = frontScreenLeftX, frontScreenLowerY, frontScreenZ
LR = frontScreenRightX, frontScreenLowerY, frontScreenZ

vizWall = vizcave.Wall(	upperLeft=UL,
						upperRight=UR,
						lowerLeft=LL,
						lowerRight=LR,
						name='VizWall')

#Create cave object with VizWall
cave = vizcave.Cave()
cave.addWall(vizWall, mask=viz.MASTER)

#ask vizard to update the off-axis rendering frustum based on the viewpoint from the head sensor
cave.setTracker(headSensor)

#setup the caveview for moving the CAVE around the virtual world
cave_origin = vizcave.CaveView(headSensor)
...
I am also attaching a snap to show how the images are appearing. The gap between the two images will easily tell that the images are not going to fuse from a distance of 5 feet off the wall. At the bottom of the snap, you will notice two hands, which are for the same one, but again suffering from the stereo fusing problem.

Also the hands are quite dim, most probably due to the wrong headlight location(/viewpoint location?). I feel the stereo fusing and the lighting problem are due to the same cause. I do not have any separate lights in my code. I think the only light vizard provides is the headlight from the viewpoint.

I will greatly appreciate a quick reply/solution to my problem!!
Please shoot any questions you may have.

Regards.
Attached Thumbnails
Click image for larger version

Name:	stereoMismatch.jpg
Views:	917
Size:	719.5 KB
ID:	532  
Reply With Quote