OpenSceneGraph/include
Robert Osfield ec6edf535d From Miha Ravselj, "Regarding previous submission it was only partial solution. After further testing I found similar bug also in ClearNode serializer.
//GLbitfield mask = GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT;
This line was problematic since it produced incorrect result when let's say COLOR flag is serialized
it should be null as in Camera serializer or in a proposed BitFlagsSerializer


This line of code caused that whenever only GL_COLOR_BUFFER_BIT bit was written and on value read GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT was restored instead of GL_COLOR_BUFFER_BIT only.

//GLbitfield mask = 0; //this resolves the issue same as in camera
Also same bit-wise comparison bug was also present in write method.
-------------------------------------------------------------------------------------

As you can see there are total 3 bit mask serializers in OSG and all 3 had bugs so I decided to add ADD_BITFLAGS_SERIALIZER and replace USER serializers in osg::Camera, osg::ClearNode and osgText::TextBase. I have made sure that bitflags serializer does not break backwards-compatibility since it uses same code as user serializer does in all 3 cases. (see tester.cpp on how compatibility test was performed)"



git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14752 16af8721-9629-0410-8352-f15c8da7e697
2015-03-03 12:03:23 +00:00
..
OpenThreads Removed include/osg/Version and include/OpenThreads/Version headers as these are autogenerated. 2014-11-28 16:10:14 +00:00
osg From Michael McDonnel, "The tessellation shader example has a small bug.The middle of the 2015-03-02 12:09:25 +00:00
osgAnimation From Pjotr Svetachov, "For a scene with a lot of animated agents I did some small 2014-06-26 10:45:07 +00:00
osgDB From Miha Ravselj, "Regarding previous submission it was only partial solution. After further testing I found similar bug also in ClearNode serializer. 2015-03-03 12:03:23 +00:00
osgFX Changed osgFX::MultiTextureControl so that it uses an osg::FloatArray internally to enable sharing with osg::Uniform. 2015-01-23 13:51:09 +00:00
osgGA Cleaned up warning generated when compiling osgocculusviewer 2015-02-17 10:36:41 +00:00
osgManipulator Fixed comment 2014-04-14 16:16:08 +00:00
osgParticle 2014-05-14 10:19:43 +00:00
osgPresentation Added preliminary support for writing VolumeSettings to disk from within Present3D in response to pressing and releasing 'Ctrl-S'. 2014-07-04 16:45:05 +00:00
osgQt From Wang Rui, "The submission includes some fixes for osgQt library and osgQtWidgets example: (1) QTextEdit now works with mouse/drag events, (2) scrollbars will change when OSG window is resizing, (3) improve rendering efficiency of QGraphicsViewAdapter so that it works with complex Qt UI, (4) add new setBackgroundWidget() method to indicate a 'background widget', which will ignore mouse/key events on it and pass them to the 3D scene." 2014-11-19 11:30:53 +00:00
osgShadow Refactored Callback system in osg::Node, osg::Drawable, osg::StateSet and osg::StateAttribute to use a new osg::Callback base class. 2014-06-05 16:26:13 +00:00
osgSim 2014-05-14 10:19:43 +00:00
osgTerrain First step of refactoring the osg::Program management in osgTerrain::GeometryPool for better performance by placing default osg::Program and shader defines on a single StateSet below the osgTerrain::Terrain 2015-02-20 15:02:43 +00:00
osgText From Andreas Henne, Support for GL3 core profile in osgText 2015-02-25 18:56:29 +00:00
osgUI Added basic frame rendering for TabWidget 2014-09-12 14:16:08 +00:00
osgUtil From Aurélien Chatelain, "the smoothing visitor did not handle shared arrays. It may leads to bad geometry arrays when a shared array is involved in the scene. 2014-12-24 10:55:49 +00:00
osgViewer Cleaned up warning generated when compiling osgocculusviewer 2015-02-17 10:36:41 +00:00
osgVolume Added setting of the IsoSurfaceProperty in VolumeSettings 2014-09-03 15:54:47 +00:00
osgWidget Added getCallbacks() methods 2013-07-24 12:17:06 +00:00