Hi Neil,

I'd recommend writing the file out to .osg and having a look through
it, look for Material and ColorArray definitation.  Get familiar with
where the color settings are.  Also read up on glMaterial, as this is
what underpins osg::Material.  The relationship between glMaterial and
glColors isn't straightforward, but that just the way that its setup,
once you understand it you'll be set for life :)

Robert.



On 11/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi Robert,

I tried what you suggested and I'm sorry to say it didn't seem to work. A bit 
more back ground for you....

I have a 3DS model that's been loaded, and I essentially want to change the 
colours that are on the geometries of the model to be something else. Is there 
anything further down the scene graph that may be preventing the colours being 
actioned ? I'm setting the colour to 1.0,0,0,1.0

If anyone feels they can help, I would be most grateful.

Regards

NEil.

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to