dcadd69c5aAdded releaseGLObjects(..) and resizeGLObjectBuffers(..) to osgShadow::ShadowTechnique's
Robert Osfield
2016-02-04 17:52:44 +00:00
f373bcf23dAdded osg::resizeGLObjectBuffers(..) and osg::releaseGLObjects(..) functions to make it easier to call these methods on objects which ref_ptr<> or C pointers are held for.
Robert Osfield
2016-02-04 17:36:33 +00:00
5ff6fe7c68Commented out debug message
Robert Osfield
2016-02-04 17:35:32 +00:00
f8306f145aAdded NodeVisitor::g/setValueMap and g/setValueStack, and osg::PushPopObject and osg::PushPopValue helper classes for pushing/popping values to the NodeVisitor's ValueStack.
Robert Osfield
2016-02-04 13:12:33 +00:00
b4eb8d4597Improved the speed of the ValueObject get/setting by utilizing typeid() and static_cast<> in place of original dynamic_cast<>'s
Robert Osfield
2016-02-04 13:10:28 +00:00
d8d37e3da7Added new Identifer, ValueMap and ValueStack class to build
Robert Osfield
2016-02-04 13:07:55 +00:00
041ab29d1fAdded osg::Identifer, osg::ValueMap and osg::ValueStack classes to provide a general purpose means for storing and retrieving values from map or stack containers.
Robert Osfield
2016-02-04 13:04:40 +00:00
90a0170d47Fixed build with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF.
Robert Osfield
2016-01-29 11:54:17 +00:00
229b833a5aFixed check against Drawable::isCullingActive().
Robert Osfield
2016-01-27 10:06:33 +00:00
39b1f379dcFixed check against Drawable::isCullingActive().
Robert Osfield
2016-01-27 10:06:33 +00:00
bc33515360Added C++ gitignore entries
Robert Osfield
2016-01-26 09:57:26 +00:00
7ae1421864Added .gitignore to queiten down git status reports
Robert Osfield
2016-01-25 19:38:44 +00:00
e4a59bcd9dAdded .gitignore to queiten down git status reports
Robert Osfield
2016-01-25 19:38:44 +00:00
4deca2d38bFrom Jannik Heller and Robert Osfield, introduced ReadResult/WriteResult::statusMessage() method that creates a std::string from the stutus value and message string.
Robert Osfield
2016-01-19 17:39:03 +00:00
bf1aa5088eRevert "From Jannik Heller and Robert Osfield, introduced ReadResult/WriteResult::statusMessage() method that creates a std::string from the stutus value and message string." as this submission was meant for the master only, not the binary compatible 3.4 branch.
Robert Osfield
2016-01-25 12:18:32 +00:00
e798db04c8From John Farrier, "Best I can tell, there is an enumeration for NEVER_CHECK_GL_ERRORS in CheckForGLErrors, defined in State. State.cpp does check to see if you want MORE error checking, but there is no way to turn OFF error checking. This change allows disabling of OpenGL error checking."
Robert Osfield
2016-01-25 10:45:07 +00:00
4b2912e096From John Farrier, "Best I can tell, there is an enumeration for NEVER_CHECK_GL_ERRORS in CheckForGLErrors, defined in State. State.cpp does check to see if you want MORE error checking, but there is no way to turn OFF error checking. This change allows disabling of OpenGL error checking."
Robert Osfield
2016-01-25 10:45:07 +00:00
adbadd66beFrom Patrick Neary, "In ShaderComposer::getOrCreateProgram(), tesselation control and evaluation shaders are processed but not added to the shader program."
Robert Osfield
2016-01-25 10:25:15 +00:00
a83b390d55From Patrick Neary, "In ShaderComposer::getOrCreateProgram(), tesselation control and evaluation shaders are processed but not added to the shader program."
Robert Osfield
2016-01-25 10:25:15 +00:00
bd0cf5e47dChanged the prototype from NULL to osg::DummyObject to address a bug in reading .osgt + .osgx where an image is written out but fails to read the file causes subsequent parts of the file to be mis-read
Robert Osfield
2016-01-22 10:09:00 +00:00
b141c0f63eChanged the prototype from NULL to osg::DummyObject to address a bug in reading .osgt + .osgx where an image is written out but fails to read the file causes subsequent parts of the file to be mis-read
Robert Osfield
2016-01-22 10:09:00 +00:00
5cb486f7c5Added osg::MultiDrawArrays which wraps up glMultiDrawArrays extension.
Robert Osfield
2016-01-22 09:47:49 +00:00
2791d280aeFrom Sukender, "Collada writer fix : Fixed wrong handling of duplicate names in Collada writer. The uniquify() method was not checking if the new name was actually in use or not.
Robert Osfield
2016-01-21 12:40:11 +00:00
7239050c5bFixed typo View::setImagePager(..) template method
Robert Osfield
2016-01-21 08:32:57 +00:00
8fc287c1b7Added asUpdate/Cull/EventVisitor and asCamera/asDrawable to osg::Object and usage of these within the code base to avoid dynamic_cast<> usage.
Robert Osfield
2016-01-20 17:49:10 +00:00
1219a6d3bfAdded more osg::Object::as*() methods and usage of these through the code base to avoid use of dynamic_cast<> when using UpdateVisitor/CullVisitor/EventVIisitor etc.
Robert Osfield
2016-01-20 15:13:19 +00:00
55bb474c3bFrom Jannik Heller, "This submission fixes a bug introduced in commit 5b17e3bc2a "Introduced CMake option OSG_PROVIDE_READFILE option...". The added overload for StateSet::setAttributeAndModes was ignoring the mode setting. "
Robert Osfield
2016-01-18 13:10:14 +00:00
ff1051a6fdFrom Jannik Heller and Robert Osfield, introduced ReadResult/WriteResult::statusMessage() method that creates a std::string from the stutus value and message string.
Robert Osfield
2016-01-19 17:39:03 +00:00
845bb6acebFrom Ravi Mathur, OSX/Clang 7.0.0 build fix
Robert Osfield
2016-01-19 15:39:46 +00:00
2e7cfe7efaFrom Ravi Mathur, OSX/Clang 7.0.0 build fix
Robert Osfield
2016-01-19 15:39:46 +00:00
e5a7c353aeFrom Jannik Heller, "This submission fixes a typo in the new GLObjectManager
Robert Osfield
2016-01-19 14:49:56 +00:00
b3e0f83c07From Jordi Torres, "Added TriangleLinePointIndexFunctor to osg namespace"
Robert Osfield
2016-01-19 14:22:12 +00:00
84c202f2abFrom Jannik Heller, "removed a const_cast that wasn't necessary"
Robert Osfield
2016-01-19 14:16:58 +00:00
55a8f4abbcRenamed DrawableUpdate/Event/Cull callbacks to use new include/osg/Callback versions
Robert Osfield
2016-01-19 11:39:28 +00:00
e8fd414661Fixed line endings
Robert Osfield
2016-01-19 11:35:13 +00:00
30dc6a9428Fixed line endings
Robert Osfield
2016-01-19 11:25:30 +00:00
baaf5712c4Added missing OSG_EXPORT
Robert Osfield
2016-01-19 09:46:20 +00:00
3e92c1fc43Added osg::Object::asStateSet() implementation and usage to avoid use of dynamic_cast<>
Robert Osfield
2016-01-18 20:05:20 +00:00
340615de55Replaced dynamic_cast<*Callback> with as*Callback() implementation/usage.
Robert Osfield
2016-01-18 19:04:28 +00:00
48225171e0From Jannik Heller, "This submission fixes a bug introduced in commit 5b17e3bc2a "Introduced CMake option OSG_PROVIDE_READFILE option...". The added overload for StateSet::setAttributeAndModes was ignoring the mode setting. "
Robert Osfield
2016-01-18 13:10:14 +00:00
7409820a8fAdded Simplifier::requiresDownSampling()/requiresDownSamplingImplementation() to make it possible for the Simplfifer::ContinueSimplificationCallback to be able to decide whether up or downsampling is required, removing the previous hardwards reliance on getSampleRatio<1.0.
Robert Osfield
2016-01-18 11:50:07 +00:00
e9179aaa4bAdded window size, state and stats event handlers to viewer to help with QA'ing simplification results.
Robert Osfield
2016-01-18 11:49:18 +00:00
3e23c5b22dFrom Wojciech Lewandowski, Visual Studio 2008 compatibility fix
Robert Osfield
2015-12-14 17:59:45 +00:00
8882fb697eFrom Wojciech Lewandowski, Visual Studio 2008 compatibility fix
Robert Osfield
2015-12-14 17:59:45 +00:00
9aba89c88dCheck for presence of occlusion query extension
scrawl
2015-12-06 14:08:49 +01:00
5675d86c9bFrom Jordi Torres, Fix for missing header file in distribution
Robert Osfield
2015-11-23 13:15:05 +00:00
c7f32e11f2From Jordi Torres, Fix for missing header file in distribution
Robert Osfield
2015-11-23 13:15:05 +00:00
5405d9c465Added support for copying include/osgViewer/config headers on make install.
Robert Osfield
2015-11-23 11:45:01 +00:00
a1cfb037f4Added support for copying include/osgViewer/config headers on make install.
Robert Osfield
2015-11-23 11:45:01 +00:00
bc794e3807Refactored the signal handling to be thread safe
Robert Osfield
2015-11-23 11:01:47 +00:00
ead6924a78Fixed typo
Robert Osfield
2015-11-23 08:54:09 +00:00
61885d2df0Upgrade Doxygen configuration
Konstantin Podsvirov
2015-11-11 22:38:38 +03:00
208affb513Updated ChangeLog for 3.5.1 dev release
Robert Osfield
2015-11-09 16:02:09 +00:00
44130fc527Cleaned up OSX option selection code.
Robert Osfield
2015-11-09 15:52:06 +00:00
3b17418031Fixed warning message
Robert Osfield
2015-11-09 15:14:07 +00:00
0401ab4ce7Fixed warning message.
Robert Osfield
2015-11-09 15:13:51 +00:00
15f866a322Addded setting of the Locator CoordinateSystemType
Robert Osfield
2015-11-09 15:10:50 +00:00
a4600e46f9From Jannik Heller, fix typo of OSG_COMPILE_CONTEXTS.
Robert Osfield
2015-11-09 10:43:15 +00:00
9fc6850962From Jannik Heller, fixed typo of OSG_COMPIlE_CONTEXTS env var
Robert Osfield
2015-11-08 11:59:23 +00:00
46904ff67aFrom Mathias Froehlich, "Avoid per frame X11 roundtrips"
Robert Osfield
2015-11-05 14:38:19 +00:00
1ad8ba358eFrom Mathias Froehlich, "Avoid per frame X11 roundtrips"
Robert Osfield
2015-11-05 14:38:04 +00:00
636d595912From Alberto Luaces, "here are two minimal capitalization fixes for mingw cross-compilation, where case sensitivity matters."
Robert Osfield
2015-10-26 11:43:28 +00:00
2e9c4b1aedRestructed the setting of the RenderStage ClearColor/ClearMask to make the code more readable and to avoid double setting of the ClearMask.
Robert Osfield
2015-10-26 11:41:48 +00:00
5310a96c73Restructed the setting of the RenderStage ClearColor/ClearMask to make the code more readable and to avoid double setting of the ClearMask.
Robert Osfield
2015-10-26 11:41:44 +00:00
f893dc5ad1From Alberto Luaces, "here are two minimal capitalization fixes for mingw cross-compilation, where case sensitivity matters."
Robert Osfield
2015-10-23 15:04:13 +00:00
5dc251a5c1From Sebastian Messershmidt, "The uncommented pointer type QTimerEvent */*event*/ leads to a compiler error under visual studio 2010"
Robert Osfield
2015-10-23 11:07:30 +00:00
85cdfff7a7From Sebastian Messershmidt, "The uncommented pointer type QTimerEvent */*event*/ leads to a compiler error under visual studio 2010"
Robert Osfield
2015-10-23 11:07:21 +00:00
6a67be2e32Introduced CMake option OSG_PROVIDE_READFILE option that defaults to ON, but when switched to OFF disables the building of the osgDB::read*File() methods, forcing users to use osgDB::readRef*File() methods. The later is preferable as it closes a potential threading bug when using paging databases in conjunction with the osgDB::Registry Object Cache. This threading bug occurs when one thread gets an object from the Cache via an osgDB::read*File() call where only a pointer to the object is passed back, so taking a reference to the object is delayed till it gets reassigned to a ref_ptr<>, but at the same time another thread calls a flush of the Object Cache deleting this object as it's referenceCount is now zero. Using osgDB::readREf*File() makes sure the a ref_ptr<> is passed back and the referenceCount never goes to zero.
Robert Osfield
2015-10-22 14:14:53 +00:00
dd996a3289Introduced CMake option OSG_PROVIDE_READFILE option that defaults to ON, but when switched to OFF disables the building of the osgDB::read*File() methods, forcing users to use osgDB::readRef*File() methods. The later is preferable as it closes a potential threading bug when using paging databases in conjunction with the osgDB::Registry Object Cache. This threading bug occurs when one thread gets an object from the Cache via an osgDB::read*File() call where only a pointer to the object is passed back, so taking a reference to the object is delayed till it gets reassigned to a ref_ptr<>, but at the same time another thread calls a flush of the Object Cache deleting this object as it's referenceCount is now zero. Using osgDB::readREf*File() makes sure the a ref_ptr<> is passed back and the referenceCount never goes to zero.
Robert Osfield
2015-10-22 13:42:19 +00:00
79fb9abbbfupdated ChangeLog
Robert Osfield
2015-10-09 08:44:45 +00:00
572bb61a2dAdded osg::flushAllDeletedGLObjects to clean up of graphics context after the existing osg::deleteAllGLObjects() to catch any cases where delete doesn't flush GL objects.
Robert Osfield
2015-10-08 15:58:24 +00:00
74f1838960Added osg::flushAllDeletedGLObjects to clean up of graphics context after the existing osg::deleteAllGLObjects() to catch any cases where delete doesn't flush GL objects.
Robert Osfield
2015-10-08 15:58:22 +00:00
f4e71bad3aOSG_INIT_SINGLETON_PROXY into DatabasePager::prototype() and Registry::instance(), removing the InitRegistry proxy object in src/osgViewer/ViewerBase.cpp.
Robert Osfield
2015-10-05 11:18:46 +00:00
27962a73eeIntroduced usage of OSG_INIT_SINGLETON_PROXY into DatabasePager::prototype() and Registry::instance(), removing the InitRegistry proxy object in src/osgViewer/ViewerBase.cpp.
Robert Osfield
2015-10-05 10:58:32 +00:00
61d317b0b8From Kristofer Tingdahl, "we had a minor shadow problem with the osg-3.4 that pollutes our continuous integration"
Robert Osfield
2015-09-25 15:20:32 +00:00
de4a430931From Kristofer Tingdahl, "we had a minor shadow problem with the osg-3.4 that pollutes our continuous integration"
Robert Osfield
2015-09-25 15:20:25 +00:00
05f3e038d8Added fix for case when Renderer is assigned to a Camera that has now View
Robert Osfield
2015-09-25 11:15:09 +00:00
ef6f2dbcfdAdded fix for case when Renderer is assigned to a Camera that has now View
Robert Osfield
2015-09-25 11:15:04 +00:00
e878e53cabFrom Curtis Rubel, "I would like to submit the attached file for inclusion in future releases of OpenSceneGraph and the OpenThreads library.
Robert Osfield
2015-09-25 10:11:52 +00:00
1a9a74216bRefactored osgViewer::Renderer's handled of FrameStamp to avoid threading conflicts
Robert Osfield
2015-09-25 10:10:10 +00:00
7aae720636Refactored the way that FrameStamp is managed in osgViewer::Renderer to avoid thread conflicts
Robert Osfield
2015-09-25 10:09:27 +00:00
6344d4430dFrom John Hedström,"Texture2DArray support for the .osg serializer"
Robert Osfield
2015-09-24 14:14:43 +00:00
f626d85c2bFrom John Hedström,"Texture2DArray support for the .osg serializer"
Robert Osfield
2015-09-24 14:14:37 +00:00
62764a56c5Added support for serializing Camera::ImplicitBufferAttachmentRenderMask and ImplicitBufferAttachmentResolveMask properties.
Robert Osfield
2015-09-24 10:52:35 +00:00
57d0538f1eQuietened down debug messages
Robert Osfield
2015-09-24 10:48:57 +00:00
3c7bf7ec8aFixed line endings
Robert Osfield
2015-09-24 09:29:15 +00:00
80e5338194Fixed line endings.
Robert Osfield
2015-09-24 09:29:03 +00:00
2fe4fc38bbAdded missing OSG_EXPORT to fix Windows build
Robert Osfield
2015-09-23 10:41:54 +00:00
161246d864Refactored the GL object deletion management to use new osg::GraphicsObjectManager/GLObjectManager base classes, and osg::ContextData container.
Robert Osfield
2015-09-23 09:47:34 +00:00
cb3396b0e5From Jannik Heller, "I've hit what I believe to be a bug (or at the very least, an unintuitive behaviour) in the osg::Geometry copy constructor. I noticed it when using osg::clone on a Geometry with vertex buffer objects, and the copy flags DEEP_COPY_ARRAYS. To be precise, I add a Geometry to an osgUtil::IncrementalCompileOperation, then osg::clone the Geometry. I was getting reports from users of random crashes happening.
Robert Osfield
2015-09-04 15:35:24 +00:00
87e5c54ee7From Jannik Heller, "I've hit what I believe to be a bug (or at the very least, an unintuitive behaviour) in the osg::Geometry copy constructor. I noticed it when using osg::clone on a Geometry with vertex buffer objects, and the copy flags DEEP_COPY_ARRAYS. To be precise, I add a Geometry to an osgUtil::IncrementalCompileOperation, then osg::clone the Geometry. I was getting reports from users of random crashes happening.
Robert Osfield
2015-09-04 15:35:14 +00:00
0567ce316dFrom Laurens Voerman, "I found that using an ImageSequence with mode PAGE_AND_DISCARD_USED_IMAGES triggers the (3) imageThreads to run and never stop, even when no more work is to be done. This is due to a bug in the stop condition currently setting the thread to stop and wait for a signal only when no work needs to be done AND the databasepager is paused. It should stop and wait for a signal on either of those two. Due to a few logical inversions it boils down to replacing || with &&
Robert Osfield
2015-09-04 15:05:06 +00:00
34794c5c27From Laurens Voerman, "I found that using an ImageSequence with mode PAGE_AND_DISCARD_USED_IMAGES triggers the (3) imageThreads to run and never stop, even when no more work is to be done. This is due to a bug in the stop condition currently setting the thread to stop and wait for a signal only when no work needs to be done AND the databasepager is paused. It should stop and wait for a signal on either of those two. Due to a few logical inversions it boils down to replacing || with &&
Robert Osfield
2015-09-04 15:04:58 +00:00
8b37ff25e7From Laurens Voerman, "I crashed osgconv while compressing textures:
Robert Osfield
2015-09-04 14:50:39 +00:00
5cbd785f78From Laurens Voerman, "I crashed osgconv while compressing textures:
Robert Osfield
2015-09-04 14:50:27 +00:00
4ee38248a2From Julien Valentin, "Serializing custom geometry i ran into a crash due to a setVertexAttribArrayList(array) with array containing NULL vertexAttrib. I added a test in order to avoid it
Robert Osfield
2015-09-04 14:35:03 +00:00
aa96046632From Julien Valentin, "Serializing custom geometry i ran into a crash due to a setVertexAttribArrayList(array) with array containing NULL vertexAttrib. I added a test in order to avoid it
Robert Osfield
2015-09-04 14:34:45 +00:00