Hi João, The OSG coordinates system is governed by the data you pass it, so if your data is in inches then a unit of 1 will be 1 inch. Certain parts of the OSG are built around metres though - the EllipsoidModel used for whole earth applications/terrain is in metres. This means if you build a geocentric database with osgEarth or VirtualPlanetBuilder they will have databases in metres.
Another area where the OSG loosely assumes metres is the the osgGA::DriveManipulator - it's height above the terrain assumes the units are in metres. So... in general I'd guess most OSG applications will be in metres, but there isn't a strict requirement in most parts of the OSG, it'll quite happily just handle whatever units you pass in and is mostly unit agnostic. Robert. On 2 April 2015 at 23:43, João <[email protected]> wrote: > Is there any correlation between world coordinates and real-world > distance, such as meters? For instance, is the point (1,0,0) located 1 > meter in the X axis, and if not, is there any way to correlate the two? > > I ask this because I'm working with a kinect, and it returns coordinates > in meters within the reference frame of the kinect. > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

