I was wondering about that - thanks for the tip,
Richard
On Wed, Mar 18, 2009 at 3:04 AM, Fernan osgfo...@tevs.eu wrote:
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
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 Fernan,
On Tue, Mar 17, 2009 at 10:00 AM, Fernan osgfo...@tevs.eu wrote:
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
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 Fernan,
You are probably best to go look at OpenGL docs on lighting, as the OSG just
sets up the various OpenGL state relating to lighting and the
drivers/hardware do the rest. In your case you'll need to look a the
ambient light levels of the Light source and the objects in the scene, also
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;
6 matches
Mail list logo