![]() |
|
#1
|
|||
|
|||
|
vizcave coordinates
Hello,
I am using a 3DMonitor with shutter-glasses and a chinrest to stable the user's head. I use vizcave since I want to apply an asymmetric view frustrum. I would like to set the origin of the coordinate system to the upper left corner of my display (because this is the coordinate system my eye-tracker uses). However, my code does not seem to set the origin to the display corner. import viz import vizshape import vizcave import viztracker width = 0.60 height = 0.335 distance = 0.70 PowerWall = vizcave.Wall(upperLeft=(0,0,0), upperRight=(width,0,0), lowerLeft=(0,-height,0), lowerRight=(width, -height, 0)) viz.go(viz.QUAD_BUFFER|viz.FULLSCREEN) cave = vizcave.Cave() cave.addWall(PowerWall) head_tracker = viztracker.Keyboard6DOF() head_tracker.setPosition (width/2, -height/2, -distance) cave.setTracker(head_tracker) What am I doing wrong? Could I set the origin to the display corner? If yes, how? Also, I noticed, that although I used meters to specify the positions, my scaled objects seem to have the wrong size (far smaller). What do I need to consider concerning scale? Greetings, Rebekka |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Texture Coordinates in a Cube Map | mshukun | Vizard | 2 | 05-10-2013 01:31 PM |
| Example code for VizCave | stefs | Vizard | 6 | 01-08-2013 12:43 PM |
| How do coordinates in IS900 thransform into coordinates in vizard's world | jacky | Vizard | 1 | 08-11-2011 11:44 AM |
| Head tracking, Flock of Birds and vizcave; how do I connect them? | Arandia | Vizard | 2 | 08-26-2009 05:59 PM |
| viz.vertex coordinates | lilio | Vizard | 6 | 05-16-2009 05:36 PM |