Hello Andy, Andy Bartz wrote: > My Problem is, that somehow the newly created node is not really a new > Object.
hm, if they are distinct Nodes they are by definition distinct objects. > When I read out the center Point of the Original's Volume and > compare it to the center Point of the marked Triangle, they are exactly > the same. So I assume they still kind of "belong" to each other. maybe the volumes are not up-to-date? You can call updateVolume() on the Node before you query its volume. I assume your code looks something like this: NodePtr rootN; NodePtr origN; GeometryPtr origGeo = GeometryPtr::dcast(origN->getCore()); GeometryPtr copyGeo = Geometry::create(); NodePtr copyN = makeNodeFor(copyGeo); // instead of makeNodeFor you can also use Node::create() and // beginEditCP(copyN); copyN->setCore(copyGeo); endEditCP(copyN); // copy some triangles to copyGeo // add copyN to scene graph beginEditCP(rootN, Node::ChildrenFieldMask); rootN->addChild(copyN); endEditCP(rootN, Node::ChildrenFieldMask); // get orig and copy volumes: BoxVolume const& origVol = origN->getVolume(true); BoxVolume const& copyVol = copyN->getVolume(true); // passing true to getVolume is a shortcut to calling // updateVolume first. > What I need is, that the marked triangles become a seperate Geometry > with their own bounding volume. If it is a separate Node it should have it's own bounding volume. If you are doing something like the above, but it is not working perhaps you can post some relevant code parts? Cheers, Carsten ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users