Thanks Nick for the code. Now I would like to understand why I must add the indices in this case since for a simple line I just need to insert the vertices in the geometry node. In fact I would like to add the line to the geometry outside of the createPyramid method, where the line is created without the use of indices, just vertices.
Regards Gianni ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=29326#29326 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

