Hi Sam, The OSG just passes data along to OpenGL so its usual to get a ground in how the OpenGL pipeline computes vertex colours using the lighting model/vertex colours, once you get your head around it you'll probably be able to pinpoint what is happening i..e why you are getting grey. You haven't really said enough about the setup of your scene graph for me to guess why myself though...
What I can say though, is for a completely black object I'd just switch off lighting completely for these objects, and set there the geometries colour array to contain a black colour i.e. (0,0,0,1); Robert. On Mon, Aug 11, 2008 at 7:25 PM, Sam <[EMAIL PROTECTED]> wrote: > Hello, > > on my scene there are several objects, light and many drawing modes on many > models. Now I require an object to be drawn black, completely black and I am > not sure how to achieve that. > I have a node visitor that clears every possible state on a model and I set > the normals and color arrays of the geometry to 0, so basically such an > object should be black. > But somehow it still has a color (something like grey, not entirely black) > or it is completely white due to clearing all stats on the model. > I can't figure out, how to make the model black, I thought putting a black > emission color should do that, but it doens't :/ > > Thanks > Sam > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

