Hi,

It just so happens that last night I checked in support for controlling the
global light into osg::View last night, osgViewer::Viewer is derived from
this.  So svn update then:


 viewer.setLightingMode(osg::View::SKY_LIGHT);

W.r.t compile gl objects on init, this is done already by osgViewer so no
need to set it.
Robert.



On 5/8/07, GMD GammerMaxyandex.ru <[EMAIL PROTECTED]> wrote:

ow can I get an access to getSceneView() of osg::Viewer object(not
osg::SimplyViewer)?

e.g. how may I perform this command?

viewer->getSceneView()->setDefaults(SKY_LIGHT |
COMPILE_GLOBJECTS_AT_INIT);

and

viewer->setDisplaySettings ...
_______________________________________________
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