Hi, I'm a new member of this forum..So if I make mistakes please apologize me.. I have a problem... :) I create a 3d application(a simple application, I have a set of cones and Cylinders). The structure of application is :
osg::ref_ptr<osg::Group> root; Cosg::Cone* unitCone; osg::Cylinder* unitCylinder; I associate to each Cone and Cyclinder a color using a osg::ShapeDrawable elements in his way: ObjectDrawable[i] = new osg::ShapeDrawable(unitCone); With a osgViewer::viewer element i set the scene, viewer.SetSceneData(root),and run th application,viewer.run(). Now I want apply a dinamic modification to a scene.I want modify the color of cones or cylinders when the application is just running.For example I read a file when i write what solid must change color . Thank you. ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=10453#10453 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

