Thank you,Gordon. Seems, I need to change my design.
Originally, I just want to set plant leave's color,ambient and diffuse value in palette, and change one set to another at runtime. for now, I don't know if I need to write them in an xml file. If I do, then modeling is an troublesome thing, since I would have to manually write down every color set. ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=18318#18318 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

