Eek why should a models light replace my scene light ?

That’s not something I would ever want in my applications, models never control 
my scene lighting


This should be an option that is OFF by default IMO


______________________________________________________________________________
Gordon Tomlinson 

[email protected]
IM: [email protected]
www.vis-sim.com www.gordontomlinson.com 
______________________________________________________________________________


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Roland 
Smeenk
Sent: Saturday, May 02, 2009 4:08 PM
To: [email protected]
Subject: [osg-submissions] Collada .dae plugin improved light support

Hi,

Attached you will find some changes to the dae plugin to improve light support.

-Changed the addition of lights to add the lightsource directly into the 
scenegraph (instead of below a switch node) -All added lights are enabled in 
the root stateset and replace the head- or skylight. 
 (if no lights are available the head- or skylight will remain active) -Ambient 
in osg::LightModel is zeroed out. All ambient now comes from separate ambient 
only light sources.
-Lights can now be written properly
-Replaced strings by constants defined in the Collada DOM

kind regards,

Roland Smeenk

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=11244#11244




_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to