> Note to be a code-style Nazi, but wouldn't be
> shorter to do something
> like the following (untested) code?

Thanks a lot for the hint. I actually thought that
when associating my lightsource with the StateSet via
setStateSetModes() the value of GL_LIGHTx would have
been set to ON. Now I do this explicitly and it seems
to work.

In defense of the coding style example: I was still
concerned with the principle of the OSG-command ;)

Thanks again for the quick response.


      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to