Hi Gokay,

Simply use a single transform above your subgraph so that the subgraph has
its own local coordinate frame. This way you can avoid using lots of
transforms.

Robert
On 11 Feb 2013 18:16, "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

Reply via email to