Gökay, Short answer is no; you cannot use large double-precision coordinates directly because the hardware will not support them without a loss of precision.
You will need to find a local origin, put that in a Transform, and re-write the geometry verts relative to that local origin. It sounds like you are already trying to do that. If the data covers too large an area though, your only option is to split it up into pieces and transform each piece to its own local origin under its own Transform. Glenn Waldron / @glennwaldron On Sun, Feb 3, 2013 at 9:13 AM, Gökay Şatır <[email protected]> wrote: > Hi, > > I am trying to show shape files and dxf files which have coordinates like > 4236958.546668 (i need at leat 4 digits of precision). > > I can't directly use these (Vec3d) coordinates because they are truncated. > > Now i am trying to use PAT->setPosition(Vec3d) to increase precision. That > way forces me to use geode's for every single primitive. > > Is there an easier way to increase the precision, or a way to directly use > the Vec3d coordinates? > > > Thank you! > > Cheers, > Gökay > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=52350#52350 > > > > > > _______________________________________________ > 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

