9a59cf0fe257753c7ac297ee0b61ae49c1781d1a
modes first then attributes since the it was cause a display bug on some datesets. It seems that the modes needs enabling before glMaterial's take affect, at least on the NVidia drivers under Windows and Linux. The OpenGL reference guide doesn't mention any dependancy so I'm not sure what the official line is. Some other OpenGl attribute and modes need to be applied in that order according to the blue book, however, drivers, at least the NVidia drivers seem require the opposite. This may raise the spectra of before and after mode applies, but this will require extra support in osg::State and osg::StateAttribute, and would have to be handled on a per attribute basis, and possibly different of each platform. Yuck.
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
Languages
C++
89.7%
C
5.1%
CMake
2.3%
HTML
1.6%
Objective-C++
0.9%
Other
0.2%