Look around and in the examples for osg::Material and osg::StateSets ( The OSG uses Materials just the same as OGL, ) You could apply a material state to a root node of your object Have a root round the Examples and a search of the mail-list archives, there have been some recent discussion on using material
_____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David _ Sent: Monday, July 21, 2008 6:59 AM To: [email protected] Subject: [osg-users] material attributes of an object Hi i´ve got a problem concerning the material attributes of an illuminated object i want some of them to reflect only the ambient light, but not diffuse i guess i can do it by setting the object diffuse color to zero but i don´t know how to specify the material attributes of an object any ideas??? _____ ¡Atrévete con Abecedario, el juego del momento! Invita a tus contactos de Messenger y demuéstrales lo que sabes demuéstrales lo que <http://www.vivelive.com/abecedario> sabes
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

