Hi, I have created a line in my scene based on the osggeometry example. I create the line and it displays fine, but I also need to change the end-points on the line dynamically as the simulation progresses. I started out by re-setting the vertex array data at each step in the render loop, but that did nothing. The line stayed exactly where it was when it was first initialized. I then tried creating a new vertex array and calling setVertexArray at each step, and this blew up spectacularly after a few steps. Is there any example of how I am supposed to get my line and its end points to move dynamically in the simulation?
Thank you! Cheers, David ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=25579#25579 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

