[osg-users] Absolutely dark scene

2009-03-17 Thread Fernan
Hi, first of all a greeting to everyone, because I'm new around here. I am developing an application that need to be done at night and become completely dark scene, but I can not. I do not know how to remove the whole lighting of the scene, it is made at night, but there is always some light.

Re: [osg-users] Absolutely dark scene

2009-03-17 Thread Fernan
Hi Robert, thanks for reply. I initialize my system as follows: -- // construct the viewer. osgViewer::Viewer viewer; viewer.setLightingMode (osg::View::HEADLIGHT); // Configura el visor para aparecer en una ventana viewer.setUpViewInWindow (100, 100, 800, 600,

Re: [osg-users] Absolutely dark scene

2009-03-17 Thread Fernan
Hi Robert, Thank you for your help. I've achieved my purpose. Following your instructions I realized that my problems were two: 1) On the one hand, the scene by default sets the AmbientIntensity as follows: osg::LightModel* lightmodel = new osg::LightModel;