Re: [osg-users] Removing colors and lighing from model?

2008-08-04 Thread Robert Osfield
Hi ?? Could you please sign the name you wish to be addressed as. As for your attempt at making your scene white, the problem is that you are disabling lighting, and in OpenGL the glMaterial has no effect when lighting is disabled, in this case only OpenGL vertex colours and textures effect the

Re: [osg-users] Removing colors and lighing from model?

2008-08-04 Thread Sam
osg-users@lists.openscenegraph.org Subject: Re: [osg-users] Removing colors and lighing from model? Hi ?? Could you please sign the name you wish to be addressed as. As for your attempt at making your scene white, the problem is that you are disabling lighting, and in OpenGL the glMaterial has

Re: [osg-users] Removing colors and lighing from model?

2008-08-04 Thread Robert Osfield
Hi Sam, On Mon, Aug 4, 2008 at 10:56 AM, Sam [EMAIL PROTECTED] wrote: I hope there will be a name now, otherwise call me Sam :) Yep, name came through thanks. Named posts help keep an informal and friendly atmosphere on the list ;-) The funny thing is that disabling light worked before on

Re: [osg-users] Removing colors and lighing from model?

2008-08-04 Thread GMD GammerMaxyandex.ru
LIGHTING ON: xxx-getOrCreateStateSet()-setMode(GL_LIGHTING,osg::StateAttribute::ON | osg::StateAttribute::OVERRIDE); LIGHTING OFF: xxx-getOrCreateStateSet()-setMode(GL_LIGHTING,osg::StateAttribute::OFF | osg::StateAttribute::OVERRIDE); 04.08.08, 16:18, Robert Osfield [EMAIL PROTECTED]: Hi