Some possibilities 1) Could use a shader 2) You could apply a material color 3) You traverse the nodes scene graph, finds it geometry, retrieves the color arrays and change their values
_____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of hui Sent: Monday, June 23, 2008 2:18 PM To: osg-users@lists.openscenegraph.org Subject: [osg-users] Quick question: how to change the color of a node. Hi, Just ask a quick question: if I use readNodeFile load the cow.osg model, how can I change the color of the model? is there any fuction that I can call like in opengl call "glColor3f()" something? Thanks in Advance. Hui
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org