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 front, the lines are white
back.png - a view when the object is rotated and viewed from the back
the lines are black
in between, it goes through gray
Akos
<<inline: back.png>>
<<inline: front.png>>
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

