Robert Osfield 98c8447ae9 Fixed the osg::Light so that it requires the user to explicitly define which
OpenGL light is being operated on, and also now relies upong the standard
osg::State handling of OpenGL modes to switch on the appropriate lights.

The previous static counter mechansim for the light number was causing a
redundent light to be created when the osg plugin created the first osg::Light
to use a prototype for other osg::Light's to be cloned from in the
.osg plugin execution.

The static count mechanism also prevent the lights modes being controlled
independantly from the setting of the light paramters themselves.  This
meant that a light once created was global, and couldn't be turned off
locally via the OSG's support for OpenGL mode enabling/disabling.  This
has been overcome with the new implementation, the user has complete
flexiblity of when and where to use the different lights at their
disposal.
2001-12-24 21:34:40 +00:00
2001-09-22 02:42:08 +00:00
2001-12-24 14:12:38 +00:00
2001-12-24 15:12:59 +00:00
2001-01-10 16:32:10 +00:00
2001-12-24 14:12:38 +00:00
2001-12-24 14:12:38 +00:00
2001-12-24 14:12:38 +00:00
2001-12-24 14:12:38 +00:00

Welcome to the Open Scene Graph (OSG).

For compiling the OSG under all platforms (Linux, FreeBSD, IRIX, Windows
and Mac) please read INSTALL.

For general documentation, distribution contents, and plugin 
dependancies please read index.html in your prefered browser.
index.html also has links to INSTALL, making it easier for Windows 
users which might find the lack of file extensions on text files awkward.

Robert Osfield. 
robert@openscenegraph.com
May 2001.
Description
No description provided
Readme 76 MiB
Languages
C++ 89.7%
C 5.1%
CMake 2.3%
HTML 1.6%
Objective-C++ 0.9%
Other 0.2%