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?

 viewer.getCamera()->setClearColor(Vec4(r,g,b,a));

> 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.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to