Hi You need to update/change the geometry either in the App process before you dispatch the cull and draw or preferably in the update process using a call back.
You will need to ensure that when you change the vertex Array that you update the number of verts the geometry it's using and its indices etc and to dirty the geometry ____________________________________________________________________________ __ Gordon Tomlinson [email protected] IM: [email protected] www.vis-sim.com www.gordontomlinson.com ____________________________________________________________________________ __ -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Luis Agero Sent: Wednesday, February 10, 2010 6:47 AM To: [email protected] Subject: [osg-users] Edit mesh Hi, I have some questions about edit geometry vertex. I have a imported model and I want to remove some region of it. What is the correct method to do this? If I only remove vertices from its vertexArray logicaly osg crashes. Think like I have a rectangle and I want to make a hole on it Similar to this question: How can I extrude a model? For example a cylinder ( not closed on the top) for making it larger ( I don't want to change its scale ) Really I am looking the way to edit a geometry ( add, remove, move vertex, etc ) Any idea can help me. Thanks! Cheers, Luis ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23920#23920 _______________________________________________ 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

