Hi All, This afternoon I tagged the 3.5.8 developer release:
https://github.com/openscenegraph/OpenSceneGraph/tree/OpenSceneGraph-3.5.8 This dev release wraps up recent improvements to osgText and osgAnimation as well as range of other build and bug fixes. This dev release also contains fixes to outstanding issues picked up by CoverityScan - we now have a defect density of 0.00 per 1000 lines according to Coverity's webpage for the OpenSceneGraph. Coverity can only pick up certain types of bugs it's really not like the OSG is now completely free of bugs... but as far as we can take this tool for improving quality we have done so now and should be easy to keep on top of going forward. Thanks to all those that have contributed to the OSG in this dev cycle. Cheers, Robert. -- ChangeLog since 3.5.7 Tue, 14 Nov 2017 10:38:18 +0000 Author : Raymond de Vries attached fixes for configuring and building the osgPlugin exr with Visual Studio and using out-of-the-box builds of ilmbase and openexr, i.e. without manual/extra config for using these 2 libs with the OSG.Previously, the assumption was made that ilmbase and openexr were installed in a common directory and hence the header files and libs were both found in that common directory. That is not consistent with other libs and this submission makes it consistent and therefore the OSG configures out of the box. I made this work for ilmbase-2.1.0.tar.gz / openexr-2.1.0.tar.gz and ilmbase-2.2.0.tar.gz / openexr-2.2.0.tar.gz Mon, 13 Nov 2017 13:08:39 +0000 Author : Robert Osfield Fixed typo Mon, 13 Nov 2017 13:06:12 +0000 Author : Robert Osfield Fixed CoverityScan reported errors Mon, 13 Nov 2017 12:49:33 +0000 Author : Robert Osfield FIxed two CoverityScan detected memory leaks Mon, 13 Nov 2017 10:24:31 +0000 Author : Andre Normann Attached is a fix in GLExtension, which is based on latest git version, that fixes the usage of uniform buffer objects on macOS. Under macOS core OpenGL features aren't exported as extension. OpenGL 3.1 includes the GL_ARB_uniform_buffer_object as core feature for example. On macOS a simple osg::isGLExtensionSupported() call would fail. It is required to use the isGLExtensionOrVersionSupported() method. This is what my fix does. Sat, 11 Nov 2017 14:50:55 +0000 Author : Robert Osfield Updated SO version to 152 to reflect the resent API changes to osgAnimation. Sat, 11 Nov 2017 14:43:10 +0000 Author : OpenSceneGraph git repository Merge pull request #382 from openscenegraph/osganimationOsganimation improvements Sat, 11 Nov 2017 13:27:43 +0000 Author : OpenSceneGraph git repository Build fix Sat, 11 Nov 2017 13:08:42 +0000 Author : OpenSceneGraph git repository Readbility improvements and updating version to 152 Sat, 11 Nov 2017 13:04:34 +0000 Author : OpenSceneGraph git repository Added versioning to the new serialization additions Sat, 11 Nov 2017 13:00:56 +0000 Author : OpenSceneGraph git repository Code readability improvements Sat, 11 Nov 2017 12:58:52 +0000 Author : OpenSceneGraph git repository Code readability improvements Sat, 11 Nov 2017 12:54:28 +0000 Author : OpenSceneGraph git repository Code readability improvements Sat, 11 Nov 2017 12:46:48 +0000 Author : OpenSceneGraph git repository Code readability improvement Sat, 11 Nov 2017 12:45:55 +0000 Author : OpenSceneGraph git repository Small readability improvements Sat, 11 Nov 2017 12:42:34 +0000 Author : OpenSceneGraph git repository Fix of incorrect Program assignment bug and coding style Sat, 11 Nov 2017 12:33:44 +0000 Author : OpenSceneGraph git repository coding style/readability fixes Sat, 11 Nov 2017 12:29:45 +0000 Author : OpenSceneGraph git repository coding style/readability fixes Sat, 11 Nov 2017 12:27:56 +0000 Author : OpenSceneGraph git repository coding style/readability fixes Sat, 11 Nov 2017 12:24:27 +0000 Author : OpenSceneGraph git repository coding style fix Sat, 11 Nov 2017 11:17:34 +0000 Author : Robert Osfield Restructed the ref counting of the rawImageRec structure so that it's done with a separate refImageRec struct so it doesn't interfer with the writing of the rawImageRec as a header when writing to .rgb Sat, 11 Nov 2017 10:19:09 +0000 Author : Andreas Ekstrand I have implemented readObject to make loading objects from SceneLoader in the LWS plugin work. I'm not sure about other implications from changes leading up to this problem (readRefFile instead of readNodeFile in SceneLoader) but this fix works for me. Fri, 10 Nov 2017 17:12:20 +0000 Author : Robert Osfield Fixed handling of GL_TEXTURE_CUBE_MAP when using glTextureStorage. Fri, 10 Nov 2017 17:00:52 +0000 Author : OpenSceneGraph git repository Merge pull request #381 from openscenegraph/revert-379-osganimbugfixRevert " following guidance from OpenGL Common Mistakes:" Fri, 10 Nov 2017 16:58:29 +0000 Author : OpenSceneGraph git repository Revert " following guidance from OpenGL Common Mistakes:" Fri, 10 Nov 2017 14:49:54 +0000 Author : OpenSceneGraph git repository Merge pull request #379 from mp3butcher/osganimbugfixFixed handling of mipmaps Fri, 10 Nov 2017 13:36:52 +0000 Author : OpenSceneGraph git repository Merge pull request #380 from mp3butcher/MDI7add funcs to read GZ Objects from a stream Fri, 10 Nov 2017 12:41:21 +0000 Author : Robert Osfield Fixed crash in copy constructor due to copy and paste/typo. Wed, 8 Nov 2017 15:57:34 +0100 Author : Julien Valentin replace string with stringstream (avoid a string copy at read) Wed, 8 Nov 2017 15:40:11 +0100 Author : Julien Valentin add funcs to read Object from a GZ stream Mon, 6 Nov 2017 20:49:23 +0000 Author : Robert Osfield Added Pawel's origin commit message into the osggpucull source as it examples a lot about how the example works Mon, 6 Nov 2017 19:53:38 +0000 Author : Robert Osfield Temporary workaround for the regression of intersection tests with osgText::Text. Added a local vertex array that is transformed by the last applied text matrix. Sat, 4 Nov 2017 17:28:14 +0100 Author : Julien Valentin following guidance from OpenGL Common Mistakes: mipmaps should be upload with glTexImage2D and not glTexSubImage2D Fri, 3 Nov 2017 09:55:42 +0000 Author : Robert Osfield Added check for malloc returning a valid pointer Fri, 3 Nov 2017 09:49:50 +0000 Author : Robert Osfield Added an explict null termination of buffer to address Coverity Scan reported issue Thu, 2 Nov 2017 18:43:05 +0000 Author : Robert Osfield Added check for a valud positions pointer Thu, 2 Nov 2017 18:39:11 +0000 Author : Robert Osfield Fuxed missing initializers Thu, 2 Nov 2017 16:39:32 +0000 Author : Robert Osfield Changed the key binding for opening and editor to edit presentation to 'E' and to trigger update the presentation by pressing 'e' Thu, 2 Nov 2017 11:51:03 +0000 Author : Robert Osfield Fixed copy and paste error Thu, 2 Nov 2017 11:48:39 +0000 Author : Robert Osfield Moved memset to after check for null memory pointer Thu, 2 Nov 2017 11:42:25 +0000 Author : Robert Osfield Cleaned up getEnvVar usage Thu, 2 Nov 2017 10:43:41 +0000 Author : Robert Osfield Replaced getenv usage with safer osg::getEnvVar Thu, 2 Nov 2017 10:02:34 +0000 Author : Robert Osfield Fixed warning Thu, 2 Nov 2017 10:00:28 +0000 Author : Robert Osfield Replaced getenv calls with safer osg::getEnvVar usage Wed, 1 Nov 2017 17:38:33 +0000 Author : Robert Osfield Moved getenv usage across to safer osg::getEnvVar() usage Wed, 1 Nov 2017 16:43:32 +0000 Author : Robert Osfield Added safety check for getenv parsing to prevent overflow attacks via getenv. Wed, 1 Nov 2017 14:45:27 +0000 Author : Robert Osfield Moved from getenv to osg::getEnvVar usage Wed, 1 Nov 2017 14:16:54 +0000 Author : Robert Osfield Made template function inline to avoid multiple declaration issues Wed, 1 Nov 2017 13:54:15 +0000 Author : Robert Osfield Replaced getenv(..) usage with osg::getEnvVar(..) Wed, 1 Nov 2017 13:32:47 +0000 Author : Robert Osfield Added OSG_ENVVAR_SUPPORTED cmake control and bool osg::getEnvVar(const char* name, T& value, ...) conviniece funcions to make it easier to implement optinal getenv reading code. Wed, 1 Nov 2017 11:35:05 +0000 Author : Robert Osfield Fixed Coverity Scane reported issue. Tue, 31 Oct 2017 17:59:13 +0000 Author : OpenSceneGraph git repository Merge pull request #378 from mp3butcher/osganimationupdate osganimationhardware example to use a common program Tue, 31 Oct 2017 17:55:59 +0000 Author : Robert Osfield Fixed unititialized memory variables and improved readability by adding spacing where appropriate Tue, 31 Oct 2017 17:43:39 +0000 Author : Robert Osfield Added missing initializers Tue, 31 Oct 2017 17:39:34 +0000 Author : Robert Osfield Fixed CovertiScan reported uninitialized member variable Tue, 31 Oct 2017 17:02:31 +0000 Author : Robert Osfield Fixed Coverity Scan reported issue Tue, 31 Oct 2017 18:00:06 +0100 Author : Julien Valentin update example to use a common program Tue, 31 Oct 2017 16:46:42 +0000 Author : Robert Osfield Replace c char array with std::string to address Coverity scan reported issue Tue, 31 Oct 2017 15:55:24 +0000 Author : Robert Osfield Fixed Coverity Scan reported memory leaks Tue, 31 Oct 2017 15:47:49 +0000 Author : Robert Osfield Fixed Coverity reported memory leak Tue, 31 Oct 2017 14:55:41 +0000 Author : Robert Osfield Reinstated two stage OSX build, and disabled part of the coverity_scan build to attempt to get it running without timeout. Tue, 31 Oct 2017 12:32:45 +0000 Author : Robert Osfield Upped the number of threads used in build to try and improve build speed Tue, 31 Oct 2017 10:01:52 +0000 Author : Robert Osfield Simplified build for OSX now that trais builds are running faster. Mon, 30 Oct 2017 15:53:56 +0000 Author : Robert Osfield Merge branch 'master' into osganimation Mon, 30 Oct 2017 14:36:41 +0000 Author : Robert Osfield From Raymond de Vires, added support for 2018 and 2016 versions of FBX. Mon, 30 Oct 2017 14:36:41 +0000 Author : Robert Osfield From Raymond de Vires, added support for 2018 and 2016 versions of FBX. Mon, 30 Oct 2017 14:22:10 +0000 Author : Robert Osfield From Raymond de Vires, Windows build fix Mon, 30 Oct 2017 14:05:45 +0000 Author : Robert Osfield Updated ChangeLog and AUTHORS Mon, 30 Oct 2017 13:40:50 +0000 Author : Robert Osfield Quitened down the DisplaySettings::setShaderHint() output for NONE. Mon, 30 Oct 2017 09:32:04 +0000 Author : Robert Osfield Merged support for StateSet::DefineList from shader_pipeline branch Mon, 30 Oct 2017 08:37:19 +0000 Author : OpenSceneGraph git repository Merge pull request #375 from mp3butcher/osganimationreformat AStyle (with codeblocks) Fri, 27 Oct 2017 21:02:43 +0200 Author : Julien Valentin reformat with the help of AStyle reformat tool (codeblocks) Fri, 27 Oct 2017 18:14:04 +0100 Author : Robert Osfield Fixed build error when building wiht OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION=OFF Fri, 27 Oct 2017 17:15:38 +0100 Author : OpenSceneGraph git repository Merge pull request #374 from mp3butcher/osganimationfix InfluenceMap "remove useless bones" method Fri, 27 Oct 2017 17:14:43 +0100 Author : OpenSceneGraph git repository Merge branch 'osganimation' into osganimation Fri, 27 Oct 2017 14:19:13 +0100 Author : Robert Osfield Fixed build errors when compiling with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF Fri, 27 Oct 2017 14:41:29 +0200 Author : Julien Valentin fix InfluenceMap "remove useless bones" method Fri, 27 Oct 2017 13:48:52 +0100 Author : Robert Osfield Build fix for when compiling with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF Fri, 27 Oct 2017 13:48:52 +0100 Author : Robert Osfield Build fix for when compiling with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF Fri, 27 Oct 2017 13:19:52 +0100 Author : Robert Osfield Fixed warning Fri, 27 Oct 2017 13:17:47 +0100 Author : Robert Osfield From Farshid Lashkari, "fix for the Collada loader to check for some NULL attributes." Fri, 27 Oct 2017 12:54:10 +0100 Author : Robert Osfield Merge branch 'master' into osganimation Fri, 27 Oct 2017 09:33:24 +0100 Author : OpenSceneGraph git repository Merge pull request #373 from LaurensVoerman/noStdMaxuse osg::maximum, not std::max Fri, 27 Oct 2017 09:41:28 +0200 Author : Laurens Voerman use osg::maximum, not std::max Thu, 26 Oct 2017 14:26:01 +0100 Author : OpenSceneGraph git repository Merge pull request #372 from openscenegraph/text_improvementsText improvements, introducing implementation of Signed Distance Function texture generation and new shaders for outlines and shadows replacing old multi-pass approach Thu, 26 Oct 2017 12:08:00 +0100 Author : Robert Osfield Updated from OpenSceneGraph-Data/shader/text.frag to add fixes to handling of vertexColor's alpha values Thu, 26 Oct 2017 12:03:56 +0100 Author : Robert Osfield Added update of glyph representation to ensure all the glyphs are assigned to the required GlyphTextures Thu, 26 Oct 2017 12:02:56 +0100 Author : Robert Osfield Added command line parsing to aid with testing of osgText by allowing osgText::FadeText to be created with various options Wed, 25 Oct 2017 16:29:25 +0100 Author : Robert Osfield Added optimization for text where the colour alpha value is 0.0, returning early to aovid any GL calls. Wed, 25 Oct 2017 16:13:26 +0100 Author : Robert Osfield Fixed pre compilation osg::Program state leaking into the main scene graph rendering Tue, 24 Oct 2017 16:04:14 +0100 Author : Robert Osfield Added stats handler Tue, 24 Oct 2017 15:14:23 +0100 Author : Robert Osfield Updated from OpenSceneGraph-Data/shaders/text.frag to address GLSL int to float conversion warning Tue, 24 Oct 2017 14:46:13 +0100 Author : Robert Osfield Added DisplaySettings:s/getgTextShaderTechnique() and OSG_TEXT_SHADER_TECHNIQUE env var support to DisplaySettings. Added using of DisplaySettings:getgTextShaderTechnique() to Text default constructor. Added better debug output control in Text.cpp Tue, 24 Oct 2017 12:34:48 +0100 Author : Robert Osfield Improved the Text::_shaderTechnique default setting using OSG_TEXT_SHADER_TECHNIQUE env var, options are ALL_FEATURES, GREYSCALE, SIGNED_DISTANCE_FIELD, SDF, NO_TEXT_SHADER, NONE. Tue, 24 Oct 2017 12:07:13 +0100 Author : Robert Osfield Quitened down debug info Tue, 24 Oct 2017 11:36:00 +0100 Author : Robert Osfield Fixed Glyph::TextureInfo assignment bug Mon, 23 Oct 2017 16:07:24 +0100 Author : Robert Osfield Renamed text_sdf.frag to text.frag and removed text_greyscale_frag. Cleaned up setup of osgText::ShaderTechnique adding a NO_SHADER_TECHNIQUE option. Mon, 23 Oct 2017 14:50:35 +0100 Author : Robert Osfield Restructed the way that GlyphTexture is set up to better support control of osgText::ShaderTechnique from osgText::Text Mon, 23 Oct 2017 09:06:55 +0100 Author : OpenSceneGraph git repository Merge pull request #371 from hwiesmann/masterRemoval of compiler warning for Cocoa builds Mon, 23 Oct 2017 09:05:34 +0100 Author : OpenSceneGraph git repository Merge pull request #370 from siu/master-travisCcacheFix ccache on travis Sun, 22 Oct 2017 22:13:46 +0200 Author : Hartwig BUG FIX - Addition of missing #endif directive Sun, 22 Oct 2017 15:04:33 +0200 Author : Hartwig Replacement of commas with semicolons Sun, 22 Oct 2017 13:47:51 +0200 Author : Hartwig Removal of compiler warning for Cocoa builds Fri, 20 Oct 2017 14:09:11 +0200 Author : David Siñuela Pastor Install ccache on MacOsNote that brew update must be run before any brew install command or it will fail, see https://github.com/travis-ci/travis-ci/issues/8552. Wed, 18 Oct 2017 12:20:35 +0200 Author : David Siñuela Pastor Fix ccache configuration in travisUse ccache as explained in https://docs.travis-ci.com/user/caching/#ccache-cache Sat, 21 Oct 2017 10:08:41 +0100 Author : Robert Osfield Added Text::s/getShaderTechnique() Fri, 20 Oct 2017 17:03:25 +0100 Author : Robert Osfield Moved osgText::GlyphTechnique::Features enum to osgText::ShaderTechinque enum to make it's roll clearer Fri, 20 Oct 2017 14:14:14 +0100 Author : Robert Osfield Merge branch 'master' into text_improvements Fri, 20 Oct 2017 11:52:48 +0100 Author : Robert Osfield From Ralf Habacker, patch refactoring struct ObjOptionsStruct in obj plugin into a real class, which is a preparation for further obj related patches. Fri, 20 Oct 2017 11:37:41 +0100 Author : Robert Osfield Added built-in support for lighting.vert Fri, 20 Oct 2017 10:18:21 +0100 Author : Robert Osfield Updated shaders from OpenSceneGraph-Data/shaders Thu, 19 Oct 2017 20:57:25 +0100 Author : Robert Osfield Moved the assignment of the ModifiedCount to before GL texture calls. Thu, 19 Oct 2017 12:39:22 +0100 Author : Robert Osfield Implemented --single command line option that creates a single osg::DrawElementsUInt primitive set instead of using MultiDrawIndirect. Thu, 19 Oct 2017 12:06:59 +0100 Author : Robert Osfield Improved spacing to make code more readable Thu, 19 Oct 2017 11:57:53 +0100 Author : Robert Osfield Build fixes with ref_ptr<> autoconversion disabled Thu, 19 Oct 2017 11:06:23 +0100 Author : Robert Osfield Fixed placement of { and spacing to make the code more readable and consistent with the rest of the OSG Wed, 18 Oct 2017 10:11:43 +0100 Author : Robert Osfield Implemented inplace replacement Tue, 17 Oct 2017 17:11:12 +0200 Author : David Siñuela Pastor Do not break systems with cr as line endings Mon, 16 Oct 2017 11:52:54 +0100 Author : Robert Osfield Fixed warning Mon, 16 Oct 2017 10:47:47 +0100 Author : Robert Osfield Fixed GLX EGL build Mon, 16 Oct 2017 10:38:33 +0100 Author : Robert Osfield Removed inappropriate tabs&spaces Mon, 16 Oct 2017 10:16:49 +0100 Author : OpenSceneGraph git repository Merge pull request #364 from mp3butcher/osganimbugfixadd osg::Program::BindUniformBlockList serialization Mon, 16 Oct 2017 10:12:19 +0100 Author : Robert Osfield Fixed build error Mon, 16 Oct 2017 10:08:18 +0100 Author : Robert Osfield Moved bracket to be consistent with the rest of the OSG Mon, 16 Oct 2017 10:00:49 +0100 Author : OpenSceneGraph git repository Merge pull request #366 from LaurensVoerman/rotateDXTadd support for dxt compressed images to createImageWithOrientationConversion Mon, 16 Oct 2017 09:58:29 +0100 Author : OpenSceneGraph git repository Merge pull request #367 from LaurensVoerman/compression_astccopySubImage support for block compressed images, added support for astc compressed type. Mon, 16 Oct 2017 09:49:47 +0100 Author : Robert Osfield Fixed indentation Mon, 16 Oct 2017 09:45:37 +0100 Author : OpenSceneGraph git repository Merge pull request #365 from LaurensVoerman/login2modified present3D and osgvnc to allow multiple --login arguments like osgViewer. Sat, 14 Oct 2017 09:06:37 +0100 Author : Robert Osfield Changed the precision setting of #pargma(tic) shader composition define setup to address GLES compatibility issues Sat, 14 Oct 2017 09:03:08 +0100 Author : Robert Osfield Improved the formating of GLSL source that is passed to OpenGL to make debugging shaders easier. Fri, 13 Oct 2017 17:03:31 +0100 Author : Robert Osfield Cleaned up support for GL3 build Fri, 13 Oct 2017 16:54:04 +0200 Author : Laurens Voerman copySubImage support for block compressed images, added support for astc compressed type. Fri, 13 Oct 2017 13:01:57 +0100 Author : Robert Osfield Removed the glyph image outline support as it's no longer required. Fri, 13 Oct 2017 11:42:25 +0100 Author : Robert Osfield Deprecated Text:BackdropImplementation, removing the backend as it no longer required when using shaders for backdrop effects Fri, 13 Oct 2017 08:40:58 +0100 Author : Robert Osfield Removed old multipass implemenmtations of backdrops as effect is now fully implememted in shaders Thu, 12 Oct 2017 17:19:24 +0200 Author : Julien Valentin add osg::Program::BindUniformBlock serialization Thu, 12 Oct 2017 18:45:38 +0100 Author : Robert Osfield Updated from OpenSceneGraph-Data/shaders/text_sdf.frag to add support for SHADOW Thu, 12 Oct 2017 16:44:40 +0100 Author : Robert Osfield Merge branch 'master' into text_improvements Thu, 12 Oct 2017 17:38:16 +0200 Author : Laurens Voerman add support for dxt compressed images to createImageWithOrientationConversion Thu, 12 Oct 2017 17:21:10 +0200 Author : Laurens Voerman modified present3D to allow multiple --login arguments like osgViewer, added --login option to osgvnc example Thu, 12 Oct 2017 15:52:42 +0100 Author : OpenSceneGraph git repository Merge pull request #363 from LaurensVoerman/dxtcGetcoloradded dxtc support in Image::getColor, Image::isImageTranscent testdxt3 and dxt5 Thu, 12 Oct 2017 13:49:57 +0200 Author : Laurens Voerman added dxtc support in Image::getColor, enhanced Image::isImageTranslucent to test opacity of dxt3 and dxt5 images Thu, 12 Oct 2017 11:12:47 +0100 Author : Robert Osfield Updated text_sdf_frag.cpp from OpenSceneGraph-Data changes that add outline generation for non SIGNED_DISTANCE_FIELD text. Tue, 10 Oct 2017 09:21:34 +0100 Author : Robert Osfield Merge branch 'master' into text_improvements _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org