[osg-users] changing the ambient light in Viewer?

2007-11-16 Thread Ákos Maróy
this must be the lamest question, but I don't really find an answer on the OSG Trac wiki.. when I use Viewer (from code), how do I change the ambient light from light blue to something else? also, when I rotate objects, they look different from the 'back' - may this be because of the default

Re: [osg-users] changing the ambient light in Viewer?

2007-11-16 Thread Ákos Maróy
Robert Osfield wrote: viewer.getCamera()-setClearColor(Vec4(r,g,b,a)); thanks! this works! also, when I rotate objects, they look different from the 'back' - may this be because of the default lighting? I don't know what you mean. see the attached files. front.png - a view from the

Re: [osg-users] changing the ambient light in Viewer?

2007-11-16 Thread Robert Osfield
On Nov 16, 2007 3:51 PM, Ákos Maróy [EMAIL PROTECTED] wrote: this must be the lamest question, but I don't really find an answer on the OSG Trac wiki.. when I use Viewer (from code), how do I change the ambient light from light blue to something else? Do you mean the back ground colour?