Hi Yefei,

If you are cloning using deep copy then pretty well all the scene
graph elements will be cloned.

There are limits on how much "intelligence" you can add to general
purpose routines like cloning, it might be that its simply
inappropriate to use in this instance, and custome clone would be much
more appropriate.

Robert.

On 1/23/07, Yefei He <[EMAIL PROTECTED]> wrote:
Hi, Robert,

    I have some OpenFlight truck models with multiple rear axles which
share the same DOF node, so that when I rotate one axle I rotate all. I
noticed that this shared child structure seems to get lost when I
clone the truck using DEEP_COPY_NODES, i.e. one DOF node in the original
object becomes multiple DOF nodes, one for each parent, it seems. Is
there an existing copy method in OSG that makes copies of objects while
preserving the child sharing structure?

    Thanks,

    Yefei


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to