Simon Hohl wrote: > 1. What type of coordinatesystem (lefthand/righthand) does OSG use > for the trackingdata? > 2. What are the trackingdata's units expected by OSG? We get > millimeter from the trackingsystem. > 3. What is the best practice to manipulate the trackingdata to fit > OSG? > What is the best way to get the correct matrix for the manipulation?
Hello Simon. OpenSG doesn't presume anything about the units. The only requirement is to use consistent units in your model geometry and transforms, your screen definitions, and your tracking system: all meters, all millimeters, or whatever you prefer. (Our tracking system also reports millimeters, but we immediately divide by 1000 and keep everything in meters.) Remember that in the camera's coordinate system (right-handed): X is to the right Y is up Z is back (pointing out of the front screen toward the user) The screen corners should be defined relative to the origin of your tracking system. Assuming that's centered in your physical viewing space: the front screen should have negative Z coordinates; the left should have negative X and the right should have positive X. (We put our origin at the center of the floor, so all of walls have Y coordinates of 0 at the bottom and 3.048 (10 feet) at the top.) I often describe our CAVE as a virtual flatbed truck. We can use a game controller to drive the truck through a large virtual scene -- that controls the transform of the cameraBeacon. The user can also move around on the truck -- that's monitored by the tracking system and controls the userTrackingTransform. I hope this helps. -- Ted Hall ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users