Sometimes difficult to find a common language :-) My yarn objects (not osg!) are converted into osg:Geod nodes with an osg::Geometry of vertices etc.
My physical calculations have nothing to do with graphics at all. It is completely outside osg. It just changes my private yarn object (not osg!). The changes are to complex to be visualized by using the old Geode and doing transforms and vertex manipulations. Please have a look at http://www.texion.eu/fileadmin/user_upload/files%20for%20download/Filet%20Fertigware.jpg So I must build a new osg::Geometry from ground up. I creat a new Geode with it and replace the old Geode in the scene. So to be general: I have a Geode in a scene which gets replaced by a new one. Sorry for filling this list with so man details! On Thursday 16 September 2010 14:55:35 Robert Osfield wrote: > On Thu, Sep 16, 2010 at 11:37 AM, Werner Modenbach > > <[email protected]> wrote: > > Hmmm... OK. > > > > I want to replace an existing node of a scene by a new one. > > I do this by calling setNode in a switch but the scene doesn't recognize > > the change. > > Argghghgh.??!!? You are still talking too low level. > > For the physical simulations you typically are updating vertex > positions or transforms, or perhaps other attributes, you very rarely > need to dynamically create an new data. Is there a real reason why > you considering the path of introducing a whole new subgraph on each > update, it sounds broken to me. This is why I want to know the > background, yet your still stuck on the specifics of nodes and seem to > barking up completely the wrong tree. > > Robert. > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- TEXION Software Solutions TEXION GmbH - Rotter Bruch 26a - D 52068 Aachen - HRB 14999 Aachen Fon: +49 241 475757-0, Fax: +49 241 475757-29, web: http://www.texion.eu Geschäftsführer/Managing Director: Werner Modenbach _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

