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.
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,
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;
lightmodel->setAmbien
3 matches
Mail list logo