Fri, 4 Jan 2019 08:10:15 +0000 Author : Robert Osfield Added use of sizeof to make code a bit more flexible Fri, 4 Jan 2019 08:08:07 +0000 Author : Robert Osfield Restructured the clean up of arrays/primitives and GL objects Mon, 31 Dec 2018 11:06:45 +0000 Author : Robert Osfield Changed the clean up of the GL objects on destruction so that the destructors of the arrays/primitives themselves do the release rather than have it done explictly in the destructor. This allows arrays/primitives to be shared. Thu, 20 Dec 2018 08:46:12 +0000 Author : OpenSceneGraph git repository Merge pull request #679 from mp3butcher/patch-18setup camera Read/Draw Buffer Wed, 19 Dec 2018 18:30:26 +0100 Author : Julien Valentin setup camera Read/Draw Bufferfix flickering shadows in SingleThread Fri, 14 Dec 2018 09:14:26 +0000 Author : Robert Osfield Removed examples from build as it was causing travis to timeout Thu, 13 Dec 2018 14:06:51 +0000 Author : OpenSceneGraph git repository Fixed indentation Thu, 13 Dec 2018 08:31:27 +0000 Author : OpenSceneGraph git repository Merge pull request #671 from mp3butcher/patch-16remove useless code Thu, 13 Dec 2018 08:01:24 +0000 Author : OpenSceneGraph git repository Merge pull request #672 from ccochran/OpenSceneGraph-3.6Xcode 9/10 build fixes for OSG 3.6 Tue, 11 Dec 2018 23:56:47 +0100 Author : Julien Valentin remove dead code Mon, 23 Jul 2018 23:52:16 +0100 Author : Thomas Hogarth removed ios simulator reference, adjusted readme Tue, 10 Jul 2018 02:09:28 +0100 Author : Thomas Hogarth Improved iOS cmake support for xcode 9.4 and cmake 3.11 Fri, 7 Dec 2018 14:53:52 +0000 Author : OpenSceneGraph git repository Merge pull request #670 from emminizer/four-byte-utf8osgText::String:createUTF8EncodedString() now supports 4-byte UTF-8 strings (code points over 0x100000) Thu, 6 Dec 2018 14:07:55 -0500 Author : Daniel Emminizer osgText::String:createUTF8EncodedString() now supports 4-byte UTF-8 strings (code points over 0x100000). Tue, 20 Nov 2018 16:12:21 -0800 Author : flashk Prefer FOURCC pixel format in DDS loaderI have found that certain image editing programs export DDS images with both the DDPF_FOURCC and DDPF_RGB pixel format flags. The DDS loader will give preference to the DDPF_RGB flag and try to deduce the format from the RGB bit mask values instead of using the more reliable FOURCC flag. This causes some images to not load, even though the FOURCC flag is supported. I've modified the loader so that it checks for the DDPF_FOURCC flag first, then falls back on deducing the format from the RGB bit masks. Tue, 20 Nov 2018 14:24:24 +0000 Author : Robert Osfield Added, currently commented out, alias for .vsga and .vsgb to help with automatic loading a vsg plugin when .vsga and .vsgb files are encountered. Tue, 20 Nov 2018 14:19:37 +0000 Author : Robert Osfield Added support for reading and writing images Sun, 11 Nov 2018 10:14:50 +0000 Author : Robert Osfield Restructed the setting of the OSG_GL_CONTEXT_VERSION to allow script to set it's default value Fri, 9 Nov 2018 11:28:57 +0000 Author : Robert Osfield Added make clobber target, imported in from the VSG project. Fri, 9 Nov 2018 11:25:16 +0000 Author : Robert Osfield Removed 12 year old workaround that is no longer required and was causing a misleading info message "OpenGL extension '' is not supported." to be reported. Fri, 2 Nov 2018 08:34:43 +0000 Author : OpenSceneGraph git repository Replaced tabs with spaces to fix indentation Thu, 1 Nov 2018 10:49:40 -0700 Author : flashk Fix handling of alpha values in animated gifsThe gif loader was incorrectly setting pixels as transparent in certain animated gifs. It was ignoring the disposal method value in the extension block and always overwriting the alpha value in each frame. It is common for some animated gifs to set the disposal method so that the previous alpha value is retained. This patch modifies the loader to respect the disposal method flag. Thu, 1 Nov 2018 09:13:43 +0000 Author : Robert Osfield Removed reprecated C++ usage Mon, 29 Oct 2018 07:22:50 +0100 Author : Emil Knabe Added support for FBX 2019 Tue, 23 Oct 2018 08:44:55 +0100 Author : OpenSceneGraph git repository Merge pull request #649 from LaurensVoerman/3.6-dae3.6 dae Fri, 12 Oct 2018 13:25:13 -0700 Author : flashk Update daeRMaterials.cpp Fri, 12 Oct 2018 13:23:23 -0700 Author : flashk Update daeReader.h Wed, 17 Oct 2018 15:55:10 +0100 Author : Robert Osfield Added check under Windows for a concatinated path that exceeds the MAX_PATH so that it isn't used for file IO operations that could lead to undefined behavior https://github.com/openscenegraph/OpenSceneGraph/issues/634 Mon, 15 Oct 2018 11:03:54 -0700 Author : flashk Update ReaderWriterDAE.cpp Thu, 11 Oct 2018 16:13:01 -0700 Author : flashk Fix crash in Collada loaderThe collada loader would crash when processing effects that didn't have a technique defined. Wed, 10 Oct 2018 02:33:47 +0300 Author : Boris Pek fix builds with case sensitive includesTested during cross-compilation for MS Windows using MinGW. Wed, 10 Oct 2018 13:10:55 +0100 Author : Robert Osfield Fixed buld Wed, 10 Oct 2018 08:31:30 +0200 Author : Antoine Lavenant fix apply once Wed, 3 Oct 2018 14:21:03 -0700 Author : flashk Fix for HDR DDS imagesThe DDS loader was not applying the correct internal format for certain HDR images (e.g. float/half_float formats) Wed, 3 Oct 2018 14:12:54 -0700 Author : flashk osgDB::OutputStream write array optimizationI've made a change to osgDB::OutputStream::writeArrayImplementation so that it writes the array data in a single write operation for binary files. This significantly speeds up writing out osgb files for large data sets (e.g. point clouds). osgDB::InputStream already performs a similar optimization when reading array data from binary files. Wed, 3 Oct 2018 11:32:10 -0700 Author : flashk Fix for GifImageStream::setReferenceTimeSetting the reference time greater than the duration of a gif would cause a crash. Also, the current reference time is not immediately updated when manually setting the reference time. Wed, 3 Oct 2018 09:59:34 -0700 Author : flashk Update ReaderWriterFBX.cpp Wed, 3 Oct 2018 09:52:10 -0700 Author : flashk Update fbxRMesh.cpp Wed, 3 Oct 2018 09:49:37 -0700 Author : flashk Update fbxReader.h Tue, 2 Oct 2018 09:04:26 -0700 Author : flashk Fix hardware mipmap generation for cube mapsI was getting a black image when enabling hardware mipmap generation on cubemaps. I believe the problem is that the base Texture class is hard coding GL_TEXTURE_2D when enabling mipmap generation, instead of using the target type from the derived class. Tue, 2 Oct 2018 12:21:31 +0100 Author : Robert Osfield Removed unused static variables Tue, 2 Oct 2018 11:28:34 +0100 Author : Robert Osfield From Andy Skinner, Added ~GLExtensions to clear cached values for context ID Mon, 1 Oct 2018 23:13:10 +0200 Author : Julien Valentin add version and required extensionlet a chance to work on intel chipset Tue, 2 Oct 2018 10:46:25 +0100 Author : OpenSceneGraph git repository Merge pull request #627 from eligovision/OpenSceneGraph-3.6_gui_adapters_1px1px error in GUIEventAdapter, View, Viewer and CompositeViewer major fix Fri, 21 Sep 2018 13:26:18 +0300 Author : Konstantin S. Matveyev 1px error in GUIEventAdapter, View, Viewer and CompositeViewer major fix Fri, 14 Sep 2018 11:16:53 +0100 Author : Robert Osfield Updated ChangeLog for 3.6.3 release Fri, 14 Sep 2018 10:41:24 +0100 Author : Robert Osfield Updated version number and date for 3.6.3 stable release Thu, 13 Sep 2018 08:52:21 +0100 Author : Robert Osfield Updated ChangeLog for 3.6.3-rc3 Thu, 13 Sep 2018 08:47:17 +0100 Author : Robert Osfield Updated for 3.6.3-rc3 Wed, 12 Sep 2018 17:45:49 +0100 Author : Robert Osfield Standardized the glTexStorage*() calls to use osg::maximum(_numMipmapLevels,1) of rnumber of mipmaps to keep the usage consistent. Fixed the erronous Texture2DArray glTexStorage call so that it used the _numMipmapLevels as above to resolve bug in allocation. Tue, 11 Sep 2018 15:32:44 +0100 Author : Robert Osfield Warning fixes Tue, 11 Sep 2018 12:29:40 +0100 Author : Robert Osfield Fixed warning Tue, 11 Sep 2018 12:23:01 +0100 Author : Robert Osfield Updated for 3.6.3-rc2 Tue, 11 Sep 2018 11:56:04 +0100 Author : Robert Osfield Updated rc number 2 for 3.6.3-rc2 Tue, 11 Sep 2018 11:29:36 +0100 Author : OpenSceneGraph git repository Merge pull request #620 from LaurensVoerman/txt_SCREEN_COORDSfix scale problem for osgText with characterSizeMode SCREEN_COORDS and _position set. Tue, 11 Sep 2018 11:23:34 +0100 Author : Robert Osfield Fixed hang using a ReentrantMutex Tue, 11 Sep 2018 10:13:49 +0100 Author : Robert Osfield Fixed build Tue, 11 Sep 2018 09:31:35 +0100 Author : Robert Osfield Fixed build Tue, 11 Sep 2018 09:03:01 +0100 Author : Robert Osfield Cleaned up code Mon, 10 Sep 2018 08:00:41 -0400 Author : gwaldron osgText: fixed thread-safety issues in Glyph and Font Sat, 8 Sep 2018 18:18:33 +0200 Author : mp3butcher fix examples context creation for X11 (when display not :0.0) Tue, 11 Sep 2018 08:34:20 +0100 Author : OpenSceneGraph git repository Merge pull request #619 from mathieu/topic/SaveInlinedImagesAdded saving of inline Images without having the physical image file. Tue, 11 Sep 2018 08:11:27 +0100 Author : Robert Osfield Added greater control of how cubemap is set up and controlled Fri, 7 Sep 2018 15:09:15 +0200 Author : Laurens Voerman fix scale problem for osgText with characterSizeMode SCREEN_COORDS and _position set. Fri, 7 Sep 2018 14:04:41 +0200 Author : Mathieu MARACHE Added saving of inline Images without having the physical image file.The can be read from and inlined image file Thu, 6 Sep 2018 12:30:18 +0100 Author : Robert Osfield Merge branch 'OpenSceneGraph-3.6' of https://github.com/openscenegraph/OpenSceneGraph into OpenSceneGraph-3.6 Thu, 6 Sep 2018 12:29:44 +0100 Author : Robert Osfield Updated for 3.6.3-rc1 Thu, 6 Sep 2018 11:50:21 +0100 Author : Robert Osfield Fixed memory leak with assignment of default value to ObjectSerializer Wed, 5 Sep 2018 18:06:25 +0100 Author : OpenSceneGraph git repository Merge pull request #616 from eligovision/OpenSceneGraph-3.6_particlesParticleSystem: Added support for GLES2 and upper (GL_QUADS -> GL_TRI… Wed, 5 Sep 2018 18:01:33 +0100 Author : Robert Osfield Fixed copy constructor Wed, 5 Sep 2018 19:00:29 +0300 Author : Konstantin S. Matveyev ParticleSystem: Using of GL_TRIANGLES for GLES2 and upper; GL_QUADS otherwise Wed, 5 Sep 2018 14:04:57 +0100 Author : OpenSceneGraph git repository Merge pull request #617 from aluaces/Image_scaleImage_typoFix typo in the initial check of Image::scaleImage(). Wed, 5 Sep 2018 13:27:35 +0200 Author : Alberto Luaces Fix typo in the initial check of Image::scaleImage(). Wed, 5 Sep 2018 14:00:09 +0300 Author : Konstantin S. Matveyev ParticleSystem: Added support for GLES2 and upper (GL_QUADS -> GL_TRIANGLES) Tue, 4 Sep 2018 10:35:38 -0400 Author : Jason Beverage Protect the _programSet in Shader with a mutex. This prevents thread safety issues when Shader objects are used in multiple programs. Wed, 5 Sep 2018 09:33:24 +0100 Author : Robert Osfield Updated ChangeLog Tue, 4 Sep 2018 15:26:30 +0100 Author : Robert Osfield Changed the ShapeDrawable::build() methpd so that it does run when the ShadpwDrawabe is a KdTree. Tue, 4 Sep 2018 14:13:32 +0100 Author : Robert Osfield Updated SO version as XmlNode::Input changes change the ABI Tue, 4 Sep 2018 12:19:14 +0100 Author : Robert Osfield Added support for reading UTF-8 encoded of xml files Mon, 3 Sep 2018 12:30:02 +0100 Author : Robert Osfield Changed the logic for whether to call setUpThreading() in setThreadingModel() to make it possible to changed threadings even if the threading model starts of as SingleThreaded Mon, 3 Sep 2018 11:19:50 +0100 Author : Robert Osfield Updated version number to 3.6.3 in prep for next naintainance release Mon, 3 Sep 2018 10:16:45 +0100 Author : Robert Osfield Merge branch 'OpenSceneGraph-3.6-TexStorage' into OpenSceneGraph-3.6 Mon, 3 Sep 2018 09:37:36 +0100 Author : Robert Osfield Added reset of _stateset to prevent the releaseGLObjects calling release on th StateSet from the destructor Mon, 3 Sep 2018 09:37:36 +0100 Author : Robert Osfield Added reset of _stateset to prevent the releaseGLObjects calling release on th StateSet from the destructor Tue, 28 Aug 2018 11:22:57 +0100 Author : Robert Osfield Replaced the glSGetProcAddressARB code with the dlsym() usage as the NVidia driver looks to be returning non NULL pointers for invalid function names. Tue, 28 Aug 2018 11:22:57 +0100 Author : Robert Osfield Replaced the glSGetProcAddressARB code with the dlsym() usage as the NVidia driver looks to be returning non NULL pointers for invalid function names. Wed, 22 Aug 2018 11:13:11 +0100 Author : Robert Osfield Enabled point sprite validty modes. Wed, 22 Aug 2018 11:13:11 +0100 Author : Robert Osfield Enabled point sprite validty modes. Wed, 22 Aug 2018 10:42:18 +0100 Author : Robert Osfield Merged fix for PointSprite modes validity checks from master. Wed, 22 Aug 2018 10:42:18 +0100 Author : Robert Osfield Merged fix for PointSprite modes validity checks from master. Tue, 21 Aug 2018 09:38:03 -0400 Author : plevy Change GL_RGBA16F to GL_RGBA16F_ARB to fix Windows BuildChange GL_RGBA16F to GL_RGBA16F_ARB to fix Windows build. Tue, 21 Aug 2018 09:38:03 -0400 Author : plevy Change GL_RGBA16F to GL_RGBA16F_ARB to fix Windows BuildChange GL_RGBA16F to GL_RGBA16F_ARB to fix Windows build. Tue, 21 Aug 2018 09:19:50 +0100 Author : Robert Osfield Replaced GL_RGBA32F with GL_RGBA32F_ARB to fix Windows build Tue, 21 Aug 2018 09:19:50 +0100 Author : Robert Osfield Replaced GL_RGBA32F with GL_RGBA32F_ARB to fix Windows build Mon, 20 Aug 2018 10:08:09 +0100 Author : OpenSceneGraph git repository Merge pull request #606 from mp3butcher/OpenSceneGraph-3.6-TexStorageOpen scene graph 3.6 tex storage Mon, 20 Aug 2018 05:10:11 +0200 Author : mp3butcher complete TexStorage support Mon, 20 Aug 2018 04:50:14 +0200 Author : mp3butcher add more extensions Sun, 19 Aug 2018 22:46:10 +0200 Author : mp3butcher remove redondant variable and test Fri, 17 Aug 2018 16:51:55 +0100 Author : Robert Osfield Removed check as this is better outside of the function Fri, 17 Aug 2018 12:20:59 +0100 Author : Robert Osfield Created a GLenum Texture::selectSizedInternalFormat(const osg::Image* image=0) const method to help clean up set up of glTexStorage. Fixed typo. Fri, 17 Aug 2018 10:31:46 +0100 Author : Robert Osfield Merged changes to InternalPixelRelations sizedInternalFormats[] from master Thu, 16 Aug 2018 19:23:17 +0100 Author : Robert Osfield Fixed memory leak associated with VertexArrayStte objects not getting released on destruction of Geometry/Drawables. Wed, 8 Aug 2018 14:42:04 +0100 Author : Robert Osfield From Chris White, Cygwin build fix Wed, 8 Aug 2018 15:05:53 +0300 Author : Vic-Min Renamed USE_DEPRECATED_API to OSG_USE_DEPRECATED_API Tue, 31 Jul 2018 16:58:41 +0100 Author : OpenSceneGraph git repository Merge pull request #583 from emminizer/flt-registry-cacheOpenFlight: Replace internal caches with osgDB::ObjectCache use. Fix… Tue, 31 Jul 2018 11:45:33 -0400 Author : Daniel Emminizer OpenFlight: Replace internal caches with osgDB::ObjectCache use. Fixes unbounded memory growth when using readNode(std::istream&, ...) method. Tue, 31 Jul 2018 09:13:20 +0100 Author : Robert Osfield Removed unneccessary FIX ME statement. Fri, 27 Jul 2018 17:34:30 +0100 Author : Robert Osfield Fixed check against dataType changes Wed, 25 Nov 2015 09:36:15 +1100 Author : Alex Burton updated osgviewerWX to remove deprecated calls in wxWidgets 3.x Mon, 9 Jul 2018 17:55:38 +0100 Author : OpenSceneGraph git repository Merge pull request #573 from emminizer/fix-flt-typoFLT: Fix texture unit typo and code style from PR 568. Mon, 9 Jul 2018 06:34:41 -0400 Author : Daniel Emminizer FLT: Fix texture unit typo and code style from PR 568. Fri, 29 Jun 2018 10:56:35 +0100 Author : Robert Osfield Updated ChangeLog for 3.6.2 release Fri, 29 Jun 2018 10:56:01 +0100 Author : Robert Osfield Updated date for 3.6.2 releases Fri, 29 Jun 2018 10:54:13 +0100 Author : Robert Osfield Updates for 3.6.2 stable release Fri, 29 Jun 2018 10:53:23 +0100 Author : Robert Osfield Fixed isPointSpriteModeSupported assignment bug Fri, 29 Jun 2018 09:52:47 +0100 Author : Robert Osfield Removed the gl3.h usage for GL3 case as these headers were replaced by glcorearb.h, it's probably better to just fallback to gl.h and have the OSG get the extentions at runtime. Thu, 28 Jun 2018 07:34:49 +0100 Author : Robert Osfield UPdated ChangeLog Thu, 28 Jun 2018 07:06:59 +0100 Author : Robert Osfield Updated for rc3 Wed, 27 Jun 2018 21:21:31 -0700 Author : Larry-Hu Remove call to nonexistent member seekpos() of std::fpos in VS 2017 version 15.8 or later Wed, 27 Jun 2018 20:59:09 +0100 Author : OpenSceneGraph git repository Merge pull request #568 from emminizer/fix-flt-texture-export-gl3OpenFlight: Textures now correctly export in GLCORE mode. Wed, 27 Jun 2018 12:57:20 -0400 Author : Daniel Emminizer OpenFlight: Textures now correctly export in GLCORE mode. Wed, 27 Jun 2018 09:17:00 +0100 Author : Robert Osfield Updated for 3.6.2-rc2 Wed, 27 Jun 2018 09:06:58 +0100 Author : Robert Osfield Fixed relaseGLObjects() calls Tue, 26 Jun 2018 20:50:55 +0100 Author : Robert Osfield Merge branch 'OpenSceneGraph-3.6' of https://github.com/openscenegraph/OpenSceneGraph into OpenSceneGraph-3.6 Tue, 26 Jun 2018 20:46:49 +0100 Author : Robert Osfield Replaced creation of a temporary Settings object on the heap with creation on the stack to improve performance Tue, 26 Jun 2018 20:17:07 +0100 Author : OpenSceneGraph git repository Merge pull request #566 from emminizer/fix-gl_rb-in-gluscaleimageGL_RG is now a supported format in gluScaleImage(). Tue, 26 Jun 2018 20:10:51 +0100 Author : Robert Osfield Added GLExtensions::isPointSpriteModeSupported to allow it to be enable for GL versions that support GL_POINT_SPRITE_ARB/GL_POINT_SPRITE_OES Tue, 26 Jun 2018 14:44:34 -0400 Author : Daniel Emminizer GL_RG is now a support format in gluScaleImage(). Mon, 25 Jun 2018 20:02:30 +0100 Author : Robert Osfield Moved osg::clampProjectionMatrix() template from CullVisitor.cpp into include/osg/CullSettings to make it easier to implement custom clampProjectionMatrix callbacks Wed, 20 Jun 2018 13:59:10 +0100 Author : Robert Osfield Updates for 3.6.2-rc1 Tue, 19 Jun 2018 17:09:56 +0100 Author : Calum Robinson Fix z near calculation for lines Tue, 19 Jun 2018 11:50:38 +0100 Author : OpenSceneGraph git repository Merge pull request #558 from LaurensVoerman/submit-ffmpeg3.2resolve av sync failure with ffmpeg 3.2 and up Tue, 19 Jun 2018 09:21:02 +0200 Author : Laurens Voerman resolve av sync failure with ffmpeg 3.2 and up Tue, 19 Jun 2018 00:33:03 +0800 Author : 弥继平 Fixed the position of the viewport for the cameraThe position of viewport doesn't setup properly, some part of viewer is out of CMFC_OSG_MDIView, and not visible. Thu, 14 Jun 2018 14:31:28 +0200 Author : Laurens Voerman remove include/osgQt from doxyfiles; add osgPresentation and osgUI Thu, 14 Jun 2018 14:44:16 +0100 Author : OpenSceneGraph git repository Merge pull request #555 from emminizer/fix-noisy-flt-loadingFLT: Missing optional attr files on textures no longer generates a co… Thu, 14 Jun 2018 07:33:08 -0400 Author : Daniel Emminizer FLT: Missing optional attr files on textures no longer generates a console warning. Thu, 14 Jun 2018 08:54:21 +0100 Author : Robert Osfield Changed version to 3.6.2 in prep for next release Thu, 14 Jun 2018 08:51:00 +0100 Author : Robert Osfield To handle calling Array::setBinding() after Geometry::set*Array() call, to the Geometry::addVertexBufferObjectIfRequired(osg::Array* array) added treatment of array->getBinding()==Array::BIND_UNDEFINED as BIND_PER_VERTEX as a safe fallback. Wed, 13 Jun 2018 12:23:29 +0100 Author : Robert Osfield Moved Stae::setUseVertexAttributeAliasing(bool) implementation to .cpp an added call to _globalVertexArrayState->assignAllDispatchers(); to ensure state is consistent Sun, 3 Jun 2018 10:27:00 +0100 Author : Robert Osfield Updated LICENSE to use the WxWidgets-3.1 and updates to the LGPL-2.1-only that updates addresses and tighten up language used.Functionality the OSGPL-1.0 is the same as OSGPL-0.0, All the OpenSceneGraph users can use either OSGPL-0.0 or OSGPL-1.0. Thu, 31 May 2018 15:11:19 +0100 Author : Robert Osfield Removed deprecated xine plugin to simplify licensing (xine plugin is GPL'd) Thu, 31 May 2018 14:45:37 +0100 Author : Robert Osfield As the author of all the files in osgPresentation and present3D have rectified the license notices to reflect their intended license rather than histoical license they had prior to being merged into the OpenSceneGraph project. OSGPL was always intended but missed during merge. Replaced the GPL notices with OSGPL usge in present3D and include/osgPresentation as this was intended when Present3D was merged back into OpenSceneGraph but missed. Mon, 28 May 2018 08:58:21 +0100 Author : Robert Osfield Updated for 3.6.1 Sun, 27 May 2018 14:21:57 +0200 Author : Philippe Renon Notify: silence warning about unused argument Wed, 23 May 2018 19:54:10 +0100 Author : Robert Osfield Updated ChangeLog Wed, 23 May 2018 19:53:12 +0100 Author : Robert Osfield Updates for 3.6.1-rc7 Wed, 23 May 2018 17:02:28 +0100 Author : Robert Osfield Updated REMOVE_SERIALIZER( ImageAttachment ); block to use 154 version to retain compatibility with binaries made with 153 SOVERSION prior to the Imageattachement change Wed, 23 May 2018 14:30:31 +0100 Author : Robert Osfield Implemented StateGraph reuse in in scene graph Canera's RenderStage. Wed, 23 May 2018 14:13:27 +0100 Author : Robert Osfield Fixed warning of RenderLeaf's having multiple references in CullVisitor::createOrReuseRenderLeaf() but forcing a clean up of the StateGraph at the end of RenderStage::draw() Wed, 23 May 2018 07:47:15 +0100 Author : Robert Osfield Added check to make sure that glEnablei and glDisablei are only called when the capability is non zero to fix GL invalid value error. Wed, 23 May 2018 06:32:42 +0100 Author : Robert Osfield Fixed type of Timer_t under Windows Tue, 22 May 2018 09:04:48 +0100 Author : Robert Osfield Updates for rc6 Mon, 21 May 2018 13:26:04 -0400 Author : gwaldron osgText: perform pixel size computation in double-precision to prevent coordinate jitter Mon, 21 May 2018 18:14:18 +0100 Author : Robert Osfield Moved the rotation to before the scale Mon, 21 May 2018 13:18:29 +0100 Author : Robert Osfield Fixed typos Mon, 21 May 2018 13:10:40 +0100 Author : Robert Osfield Restored the REGISTER_WINDOWINGSYSTEMINTERFACE macro to the include/osg/GraphicsContext header and removed the OSGVIEWER_EXPORT as this was causing compatibility issues with osgQt.In GraphicsWindowWin32 replaced REGISTER_WINDOWINGSYSTEMINTERFACE usage with locally implemented equivilant with the required OSGVIEWER_EXPORT. Sun, 20 May 2018 13:39:44 +0100 Author : Robert Osfield Updated ChangeLog and README.md for rc5 Sun, 20 May 2018 13:22:58 +0100 Author : Robert Osfield Restructed SCREEN auto scaling so that it's removes the rotation of the modelview matrix so that the XY coords of the text map directly to window xy coords for all text alignment types Fri, 18 May 2018 15:49:28 +0100 Author : Robert Osfield Updates in prep for 3.6.1-rc5 Fri, 18 May 2018 14:58:53 +0100 Author : Robert Osfield Moved REGISTER_WINDOWINGSYSTEMINTERFACE from include/osg/GraphicsContext to include/osgViewer/GraphicsWindow and added OSGVIEWER_EXPORT Fri, 18 May 2018 13:53:39 +0100 Author : Robert Osfield Added GL_RED and GL_RG support to _readColor()/Image::getColor(); Fri, 18 May 2018 12:52:50 +0100 Author : Robert Osfield Cleaned up the WindowingSystemInterface registration Fri, 18 May 2018 12:47:34 +0100 Author : Robert Osfield Fixed create of graphics context by explicting adding USE_GRAPHICSWINDOW to force the WindowingSystemInterface to initialize Fri, 18 May 2018 12:42:20 +0100 Author : Robert Osfield Quitened down unsupport compression output when passing in a file with a non rgb extension Fri, 18 May 2018 10:00:10 +0100 Author : Robert Osfield Introduced a local StateGraph hierarchy into CullVisitor::apply(osg::Camera&) and RenderBin to fixed RTT Camera bug where multiple RTT Camera end up with the rendering back end results assigned to them which occured when RTT Camera's share the same StateSet or null StateSet. Mon, 14 May 2018 09:34:04 +0100 Author : Robert Osfield Fixed support for update and event callbacks on StateSet/Uniform/StateAttributes on View(er) Cameras. Mon, 14 May 2018 08:43:08 +0100 Author : Robert Osfield Renamed the counter used to enable traversal order sorting Mon, 14 May 2018 08:24:02 +0100 Author : Robert Osfield Improved the handling of precision Sun, 13 May 2018 11:52:06 +0100 Author : Robert Osfield Fixed crash when using ShapeDrawable with a TriangleMesh or ConvexHull shape due to missing texture coords Sun, 13 May 2018 09:23:38 +0100 Author : Robert Osfield Updated for rc Sun, 13 May 2018 09:18:31 +0100 Author : Robert Osfield Removed _traverseNumber variable that was duplicating the one in NodeVisitor base class Sat, 12 May 2018 12:47:08 +0100 Author : Robert Osfield Updates for 3.6.1-rc4 Sat, 12 May 2018 12:41:42 +0100 Author : Robert Osfield Build fixes for OSG_USE_REF_PTR_IMPLICIT_OUTPUT set to OFF Sat, 12 May 2018 11:40:25 +0100 Author : Robert Osfield Rewrote TextBase::computeMatrix(..) computation of the scaling factor with slower but easier to understand and more robust code Sat, 12 May 2018 07:51:51 +0100 Author : Robert Osfield Removed use of deprecated cmake policy Fri, 11 May 2018 11:15:45 +0100 Author : Robert Osfield Moved constructors and destructors to .cpp Fri, 11 May 2018 11:11:48 +0100 Author : Robert Osfield Revert "Moved the Options constructors and destructor implementaions into the cpp to make it easier to do debugging"This reverts commit 0fc7aa8cc096e59b9366df60c1fdbd0803ac4481. Fri, 11 May 2018 09:00:22 +0100 Author : Robert Osfield Fixed crash the occurred when passing in a osgDB::Options to the ObjectCache that doesn't have any references to it. Fri, 11 May 2018 08:58:30 +0100 Author : Robert Osfield Moved the Options constructors and destructor implementaions into the cpp to make it easier to do debugging Thu, 10 May 2018 18:58:29 +0100 Author : Robert Osfield Fixed build when OSG_ENVVAR_SUPPORTED is disabled and quietened down warnings using OSG_UNUSED* macros Thu, 10 May 2018 18:50:17 +0100 Author : Robert Osfield Changed the ordering of the build include directory and the source include directory to avoid build issues on systems where a different version of the OSG has been built in-source then another built out-of-source resulting in conflicts Thu, 10 May 2018 16:59:56 +0100 Author : Robert Osfield Fixed typo Sun, 6 May 2018 07:47:23 +0100 Author : Robert Osfield Updates for 3.6.1-rc3 Sat, 5 May 2018 15:47:28 +0100 Author : Robert Osfield Restructed the handling of SCREEN_COORD scaling to better handle window resizing Sat, 5 May 2018 12:31:00 +0100 Author : Robert Osfield Added C++ specific path for calling std::map<>::erase() to avoid issues with std::map<>::erase implementation that invalidates iterators Sat, 5 May 2018 12:28:45 +0100 Author : Robert Osfield Replaced std::auto_ptr<> usage as it's deprecated in C++11 and will be removed in C++17 Fri, 4 May 2018 16:11:31 +0100 Author : OpenSceneGraph git repository Merge pull request #545 from emminizer/fix-gl3-text-bad-modeText only applies GL_TEXTURE_2D modes when fixed function is availabl… Fri, 4 May 2018 06:44:13 -0400 Author : Daniel Emminizer Text only applies GL_TEXTURE_2D modes when fixed function is available. Prevents GL3 Core Profile console spam. Fri, 4 May 2018 10:54:02 +0100 Author : Robert Osfield Added non const version of State::getActiveDisplaySettings() Fri, 4 May 2018 09:44:43 +0100 Author : Robert Osfield Added check for null to prevent null entries getting into the cache Fri, 18 Nov 2016 14:56:05 +0000 Author : Robert Osfield Added osg::MakeString class to make it easier to create std::string's using std::ostream style << usage. Fri, 4 May 2018 09:22:54 +0100 Author : Robert Osfield Fixed null pointer warning Thu, 3 May 2018 12:56:08 +0200 Author : Björn Blissing Check existence of path before reading imageWhen loading texture images inside the FBX plugin check that the path exists before trying to read the image. This is done to avoid unnecessary warnings inside the readRefImageFile function. Wed, 2 May 2018 09:14:04 +0100 Author : Robert Osfield Updated ChangeLog Wed, 2 May 2018 09:10:54 +0100 Author : Robert Osfield Updates for the 3.6.1-rc2 Mon, 30 Apr 2018 11:55:17 +0100 Author : Robert Osfield Updated SO version to reflect change in ABI Mon, 30 Apr 2018 11:44:02 +0100 Author : OpenSceneGraph git repository Merge pull request #542 from psyinf/fix_particle_system_headerFIX: removed unimplemented functions from header Mon, 30 Apr 2018 11:16:02 +0200 Author : Sebastian Messerschmidt FIX: removed unimplemented functions from header Fri, 27 Apr 2018 11:23:07 +0100 Author : Robert Osfield Fixed particle update bug where a ParticleSystem wouldn't start when loaded during the frame loop due to the _last_frame value not being set. Thu, 26 Apr 2018 10:21:53 +0100 Author : Robert Osfield Updated ChangeLog, README.md and rc number for 3.6.1-rc1 Thu, 26 Apr 2018 09:49:35 +0100 Author : Robert Osfield Split up #pragma so that there only three parameters per line to aovid Intel driver bug crash Thu, 26 Apr 2018 09:36:52 +0100 Author : Robert Osfield Renamed text.vert and text.frag to osgText_Text.vert and .frag to avoid name overlapping with user shaders. Wed, 25 Apr 2018 09:48:02 +0100 Author : Julien Valentin add wrapper for osg::DrawIndirectBufferObject Tue, 24 Apr 2018 17:05:03 +0100 Author : Robert Osfield Renamed CMake variable + C++ #define to OSG_GL_CONTEXT_VERSION Tue, 24 Apr 2018 16:22:13 +0100 Author : Robert Osfield Added OSG_GL_CONTEXT_STRING cmake variable to set include/osg/GL headers that sets Traits::glContextVersion. Tue, 24 Apr 2018 15:38:02 +0100 Author : OpenSceneGraph git repository Merge pull request #537 from openscenegraph/revert-536-default-gl3-contextRevert "When GL3 build is enabled, default context requested is version 3.3, …" Tue, 24 Apr 2018 15:37:44 +0100 Author : OpenSceneGraph git repository Revert "When GL3 build is enabled, default context requested is version 3.3, …" Tue, 24 Apr 2018 15:36:11 +0100 Author : OpenSceneGraph git repository Merge pull request #536 from emminizer/default-gl3-contextWhen GL3 build is enabled, default context requested is version 3.3, … Tue, 24 Apr 2018 15:33:03 +0100 Author : Robert Osfield Refactored the handling of glyph and shadow alpha values to make the text and shadow clearer for fonts with narrow glyphs Tue, 24 Apr 2018 13:52:53 +0100 Author : Robert Osfield Refactored the handling of text bounding box to provide more stable bounding box computation Tue, 24 Apr 2018 06:31:32 -0400 Author : Daniel Emminizer When GL3 build is enabled, default context requested is version 3.3, enabling core profile by default. Fri, 20 Apr 2018 21:16:46 +0200 Author : Alberto Luaces Small fix for uncaught typo. Fri, 20 Apr 2018 18:18:22 +0200 Author : Alberto Luaces Fix typos and spelling. Mon, 23 Apr 2018 11:02:03 +0100 Author : OpenSceneGraph git repository Merge pull request #534 from emminizer/fix-msvc-includesFix includes for MSVC 2015 build. Fri, 20 Apr 2018 13:16:43 -0400 Author : Daniel Emminizer Fix includes for MSVC 2015 build. Fri, 20 Apr 2018 15:58:27 +0100 Author : Robert Osfield Updated ChangeLog Fri, 20 Apr 2018 14:32:34 +0100 Author : Robert Osfield Replaced osgUtil::IntersectVisitor usage with osgUtil::InteresectionVisitor Fri, 20 Apr 2018 10:24:17 +0100 Author : Robert Osfield Removed TriStripVisitor for default set of Optimizer passes as it doesn't generate efficient scene graphs Fri, 20 Apr 2018 09:57:04 +0100 Author : Robert Osfield Added osgUtil::optimizeMesh(osg::Node* node) convinience method Fri, 20 Apr 2018 11:42:31 +0100 Author : Robert Osfield Removed usage of the osgUtil::TriStripVisitor is it generates osg::Geometry that perform very poorly when using VBO and VAO's vs GL DisplayLists. With DisplayLists being deprecated in GL and VBO and VAO becoming standard it's best to standardize on using the osgUtil::MeshOptimizers instead of TripStrupVisitor Thu, 19 Apr 2018 19:43:14 +0100 Author : Robert Osfield Fixed the set*Binding() methods so that they assign BufferObjects when required Thu, 19 Apr 2018 19:42:51 +0100 Author : Robert Osfield Fixed messages Thu, 19 Apr 2018 19:41:51 +0100 Author : Robert Osfield Fixed the GLBufferObject size computation so that it takes into account padding. Thu, 19 Apr 2018 19:36:19 +0100 Author : Robert Osfield Replaced the use of osgUtil::TriStripVisitor with ogUtil::MeshOptimizer usage to improve performance. Fixed set setColorArray assignement to pass in the color binding Wed, 18 Apr 2018 10:02:43 +0100 Author : Robert Osfield Fixed the handle of boundary equalization Wed, 18 Apr 2018 09:33:12 +0100 Author : Robert Osfield Added --equalize-boundaries -e command line option to call terrain->setEqualizeBoundaries(true) Mon, 16 Apr 2018 17:53:38 +0100 Author : Robert Osfield Updated version number in prep for future 3.6.1 release. Mon, 16 Apr 2018 15:08:24 +0100 Author : Robert Osfield Fixed inline Drawable::draw(..) method Mon, 16 Apr 2018 15:05:11 +0100 Author : Robert Osfield Fixed Geometry::drawImplmentation() handling of VBO's to prevent them from being used when display lists are used. Sun, 15 Apr 2018 08:25:57 +0100 Author : Robert Osfield Replaced osgViewer::GraphicsWindow dynamic_cast as it's not neccessary. Sat, 7 Apr 2018 18:35:19 +0100 Author : Robert Osfield Fixed typo Sat, 7 Apr 2018 17:59:55 +0100 Author : Robert Osfield Renamed osg::ComputeDispatch to osg::DispatchCompute to make sure the nameing between GL and OSG is consistent i.e glDispatchCompute -> osg::DispatchComputeUpdated AUTHORS.txt, NEWS.txt and README.txt for CMakeLists.txt for 3.6.0 release Sat, 7 Apr 2018 07:19:14 +0100 Author : Robert Osfield Updated ChangeLog Sat, 7 Apr 2018 07:18:41 +0100 Author : Robert Osfield Updated for rc7 Fri, 6 Apr 2018 20:05:26 +0100 Author : Robert Osfield Refactored the way that margin is applied to the text buounding box to prevent growth of the bounding box each time Text::setPosition() is called. Fri, 6 Apr 2018 15:33:42 +0100 Author : Robert Osfield Updated ChangeLog Fri, 6 Apr 2018 14:58:00 +0100 Author : Robert Osfield Update ChangeLog Fri, 6 Apr 2018 14:47:54 +0100 Author : Robert Osfield Updated for rc6 Fri, 6 Apr 2018 14:17:35 +0100 Author : Robert Osfield Fixed warning Fri, 6 Apr 2018 14:07:58 +0100 Author : Robert Osfield Changed TextBase::setAlignment() to use computeGlyphRepresentation(); rather than computePositions(); to address issues seen with calling Text::setAlignment() after calls to Text::setText() Fri, 6 Apr 2018 14:06:50 +0100 Author : Robert Osfield Added osgtext --alignment test to look the effect of calling Text::setAlignent() before and after the Text::setText(). Thu, 5 Apr 2018 18:00:30 +0100 Author : OpenSceneGraph git repository Merge pull request #525 from emminizer/fix-windows-exportosgDB: Added missing extern OSGDB_EXPORT. Thu, 5 Apr 2018 10:51:24 -0400 Author : Daniel Emminizer osgDB: Added missing extern OSGDB_EXPORT. Thu, 5 Apr 2018 14:14:49 +0100 Author : Robert Osfield Quietened down debug message output for osgText shader setup and Drawable::createVertexArrayStateImplementation Thu, 5 Apr 2018 12:35:36 +0100 Author : Robert Osfield Changed DisplaySettings::setShaderHint(..) messages to INFO Thu, 5 Apr 2018 12:19:56 +0100 Author : Robert Osfield Updated ChangeLOG and news Thu, 5 Apr 2018 11:21:55 +0200 Author : Philippe Renon mingw: fix compile error in GraphicsWindowWin32.cppcompilation error was introduced by msvc specific change see https://github.com/openscenegraph/OpenSceneGraph/commit/bb169979a1054e2fa63a7ea82c9c8bec87e90494 Wed, 4 Apr 2018 08:33:55 +0200 Author : Ralf Habacker Remove duplicated and incorrect fetching of 'map_bump' attributes in obj pluginParsing the key 'map_bump' was processed in the block, where the attributes for 'bump' are extracted and results into having parts of the key in the extracted filename, generating an invalid filename. The mentioned string compare could be removed without loosing any features, because the key 'map_bump' is parsed correctly some lines below. Wed, 4 Apr 2018 15:35:28 +0100 Author : Robert Osfield Updated ChangeLog for rc5 Wed, 4 Apr 2018 15:09:43 +0100 Author : Robert Osfield Fixed threading crash in osgFX that occurred when an osgFX node is added to the scene being rendered in multiple threaded windows. Wed, 4 Apr 2018 13:40:51 +0100 Author : Robert Osfield Added focus classifiction of handling of keyboard events Wed, 4 Apr 2018 13:40:06 +0100 Author : Robert Osfield Added EventHandler to report key and mouse events for debugging purposes Wed, 4 Apr 2018 12:26:53 +0100 Author : Robert Osfield Added -4 command line entry that creates two seperate windows within CompositeViewer Wed, 4 Apr 2018 08:50:39 +0100 Author : Frank Bausch When testing XYZ/ECEF coordinate values that convert to LLA points with latitude = 90.0 or latitude = -90.0, the heights calculated by EllipsoidModel::convertXYZToLatLongHeight have substantial errors. With the provided change, points at the pole are handled more correctly. This has been tested against US NGA GoldData. Tue, 3 Apr 2018 17:21:47 +0100 Author : Robert Osfield Updated rc to 5 Tue, 3 Apr 2018 17:17:59 +0100 Author : OpenSceneGraph git repository Merge pull request #518 from emminizer/fix-scroll-eventCompositeViewer: SCROLL event now only goes to view with focus. Incl… Tue, 3 Apr 2018 16:07:46 +0100 Author : Robert Osfield Updated rc number to 4 Tue, 3 Apr 2018 16:04:24 +0100 Author : Robert Osfield Updated ChangeLog and NEWS for rc3 Tue, 3 Apr 2018 15:48:37 +0100 Author : Thomas Hogarth missing gles2 check Tue, 3 Apr 2018 10:32:58 -0400 Author : Daniel Emminizer CompositeViewer: SCROLL event now only goes to view with focus. Includes minor typo fixes. Tue, 3 Apr 2018 15:29:54 +0100 Author : Robert Osfield Added a ShadowTechniue::setShadowedScene() virtual method to make it possible to implement techniques as fascades to other techniques Tue, 3 Apr 2018 12:42:37 +0100 Author : Andreas Ekstrand The attached code (from the 3.6 branch) adds a keepSeparatePoints option to the SHP plugin which makes it possible to avoid merging point features into multi-points, in case you e.g. need to keep separate point attributes.It also contains a fix in the Xbase DBF parser, converting a numeric shape attribute to double instead of integer. As stated in e.g. https://en.wikipedia.org/wiki/.dbf the numeric field can contain decimals. Tue, 3 Apr 2018 11:35:31 +0100 Author : Robert Osfield Removed osgShadow::ShadowVolume as it functionality isn't functional Tue, 3 Apr 2018 12:10:29 +0100 Author : OpenSceneGraph git repository Merge pull request #516 from eligovision/OpenSceneGraph-3.6_programosg::Program's compileGLObjects and apply methods fixed for OSG witho… Mon, 2 Apr 2018 23:56:36 +0300 Author : Konstantin S. Matveyev osg::Program's compileGLObjects and apply methods fixed for OSG without OSG_GL_FIXED_FUNCTION_AVAILABLE Mon, 2 Apr 2018 18:26:26 +0100 Author : Robert Osfield Rewrote the handling of AutoTransform::setAutoScaleToScreen(bool) functionality so that is disabling CullingActive when switched on. Mon, 2 Apr 2018 16:21:20 +0100 Author : Robert Osfield Added __VERSION__<140 check for usage of gl_ClipVertex to avoid GL3 core profile usage issues Mon, 2 Apr 2018 14:08:47 +0100 Author : Robert Osfield Restructured merge geometry code to make it easier to follow Mon, 2 Apr 2018 11:44:03 +0100 Author : Robert Osfield Fix for MergeGeometryVsiitor bug. Restructured the processing the merge geometry list to avoid missing geometries that aren't binned along with other geometries. Sun, 1 Apr 2018 10:40:25 +0100 Author : Robert Osfield Removed stray CMAkeLists.txt from TARGET_SRC list Sun, 1 Apr 2018 10:18:45 +0100 Author : Andreas Ekstrand Small fix (from the 3.6 branch) in the osgjs plugin, avoiding a double addition of the CullFace attribute when it has been turned off. This resulted in an empty json object in the osgjs file causing warnings in osgjs. Fri, 30 Mar 2018 17:52:12 +0100 Author : Robert Osfield Updated NEWS and ChangeLog for 3.6.0-rc3 Fri, 30 Mar 2018 16:34:01 +0100 Author : Robert Osfield Fixed build with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF Fri, 30 Mar 2018 15:27:35 +0100 Author : Robert Osfield Added suport for writing to gl_ClipVertex Fri, 30 Mar 2018 15:16:45 +0100 Author : Robert Osfield To osgclipe example added --text textstring and --simple command line options to test mixing text and clipping Fri, 30 Mar 2018 12:39:52 +0100 Author : Robert Osfield Changed Layer::get*Value(..) methods to const Thu, 29 Mar 2018 11:38:04 +0100 Author : Robert Osfield Fixed double calling of TerrainTechnique::init(). Thu, 29 Mar 2018 11:35:34 +0100 Author : Robert Osfield Maded TerrainTechnique::setTerrainTile(..), addNeighbour(..), removeNeighbour(..) and containsNeighbour(..) virtual and public to enable implementation of TerrainTechnique that act as a facade to actual TerrainTechnique implementations. Wed, 28 Mar 2018 14:04:41 +0100 Author : Robert Osfield Updated RC number to 3 Wed, 28 Mar 2018 11:34:52 +0100 Author : Robert Osfield Fixed osgDB::findFileInDirectory() handling of directory strings with trailing \ or / that was causing failure to find valid files in otherwise valid directories Tue, 27 Mar 2018 18:56:38 +0800 Author : Haojia Yu OutputStream writes images using its Options objectwhen writing images, OutputStream can search files using its Options object rahter than always using FilePathList object of global Regidtry instance. Tue, 27 Mar 2018 08:39:52 +0100 Author : OpenSceneGraph git repository Merge pull request #510 from eligovision/OpenSceneGraph-3.6_iosGraphicsWindowIOS: multithreaded viewer's mode support added; updated… Tue, 27 Mar 2018 08:37:29 +0100 Author : OpenSceneGraph git repository Merge pull request #508 from eligovision/OpenSceneGraph-3.6_pluginsOSG 3.6: Write support with .curl pseudo extension added Tue, 27 Mar 2018 08:35:57 +0100 Author : OpenSceneGraph git repository Merge pull request #509 from eligovision/OpenSceneGraph-3.6_vasVertexArrayState: typo fixed in log Mon, 26 Mar 2018 20:40:14 +0300 Author : Konstantin S. Matveyev GraphicsWindowIOS: multithreaded viewer's mode support added; updated for iOS-11 SDK; view rotations fixed; GLES2, GLES3 preprocessors fixed; tested on iPhone4 and upper Fri, 19 Jan 2018 22:20:01 +0300 Author : Konstantin S. Matveyev VertexArrayState: typo fixed in log Mon, 26 Mar 2018 17:59:49 +0300 Author : Konstantin S. Matveyev Write support with .curl pseudo extension added Mon, 26 Mar 2018 09:55:53 +0100 Author : Robert Osfield Updated ChangeLog Mon, 26 Mar 2018 09:54:59 +0100 Author : Robert Osfield Updated NEWS for 3.6.0-rc2 Sun, 25 Mar 2018 12:14:46 +0100 Author : Robert Osfield Re-ordered the creating of the DatagbaseThread to avoid startThread being called twice. Sun, 25 Mar 2018 12:13:50 +0100 Author : Robert Osfield Added check if thraeding is running before executing start thread. Sat, 24 Mar 2018 18:02:35 +0000 Author : Robert Osfield Updated ChangeLog, AUTHORS and Controbitors for 3.6.0-rc1 Sat, 24 Mar 2018 17:51:06 +0000 Author : Robert Osfield Added new features in 3.6 to NEWS release Sat, 24 Mar 2018 12:13:59 +0000 Author : Robert Osfield First step for 3.6 stable release news Sat, 24 Mar 2018 11:23:59 +0000 Author : Robert Osfield Fixed read shader to safer ref version Sat, 24 Mar 2018 10:59:15 +0000 Author : Robert Osfield Fixed spotlight colour mixing Fri, 23 Mar 2018 20:08:37 +0000 Author : OpenSceneGraph git repository Merge pull request #502 from Haojia521/OutputStreamUseTargertSoVersionwrite binary file with a specific so version Fri, 23 Mar 2018 19:54:33 +0000 Author : Robert Osfield Removed serailizers that are now supplied by osg::Node Fri, 23 Mar 2018 19:54:01 +0000 Author : Robert Osfield Fixed member variable names to avoid conflicts with osg::Node Fri, 23 Mar 2018 18:07:36 +0000 Author : Robert Osfield Removed Drawable writing out of StateSet as this is now done by Node Fri, 23 Mar 2018 18:07:07 +0300 Author : Michael Kapelko Provide osgemscripten example CMake flags in a more stable way Fri, 23 Mar 2018 12:55:00 +0000 Author : Robert Osfield Changed the isBufferObjectSupported flag so that it's true when either VBO or PBO's are supported Thu, 22 Mar 2018 17:35:13 +0000 Author : Paul Obermeier Fixes for VS2008 and 2010 build Thu, 22 Mar 2018 16:51:03 +0000 Author : Robert Osfield Moved OPENGL_INCLUDE_DIR include into it's own INCLUDE_DIRECTORIES(SYSTEM ${OPENGL_INCLUDE_DIR}) entry to help with FreeBSD builds where a previous rev of the OSG has already been installed Thu, 22 Mar 2018 09:04:47 +0000 Author : Robert Osfield Removed typedef and used osg::GraphicsContext::Cameras explictly to avoid any hiding of type Wed, 21 Mar 2018 19:44:25 +0300 Author : Victor Fixed bug of determining availability of functions ‘pthread_getconcurrency’, ‘pthread_setconcurrency’, ‘pthread_setaffinity_np’ in ‘pthread’ libraryCMake cannot find 'pthread_getconcurrency’, ‘pthread_setconcurrency’ and ‘pthread_setaffinity_np' functions in 'pthread' library because when linking internal cmake test did’t specifed ‘-l pthread’. Tue, 20 Mar 2018 09:20:59 +0000 Author : Robert Osfield Removed -m message that was causing problems with branch creation Tue, 20 Mar 2018 09:12:58 +0000 Author : Robert Osfield Updated version numbers in prep for 3.6 branch Tue, 20 Mar 2018 09:02:05 +0000 Author : Robert Osfield Updated ChangeLog and AUTHORS file Mon, 19 Mar 2018 14:27:18 +0000 Author : Robert Osfield Updated ChangeLog and updated version to 3.5.11 Mon, 19 Mar 2018 14:08:47 +0000 Author : Robert Osfield Fixed build issues when building with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF Mon, 19 Mar 2018 10:42:09 +0000 Author : Robert Osfield Fixed warnings Fri, 16 Mar 2018 11:33:03 +0000 Author : Robert Osfield Updated ShaderGen shaders Thu, 15 Mar 2018 16:50:47 +0000 Author : Robert Osfield Removed the static osg::Program creation as it's not required Thu, 15 Mar 2018 16:49:58 +0000 Author : Robert Osfield Added --shader saderfilename command line option to enable one to manually specify which shaders to use for the uber program. Thu, 15 Mar 2018 16:12:40 +0000 Author : Robert Osfield Introduced a _specverson to centralizer the control of this variable Thu, 15 Mar 2018 15:58:46 +0000 Author : Robert Osfield Added support for Collada DOM-2.5 Thu, 15 Mar 2018 12:53:32 +0000 Author : OpenSceneGraph git repository Merge pull request #495 from aitormoreno/fix_installExamplesPDBfix installation of PDB files from the examples. Wed, 14 Mar 2018 16:56:08 +0100 Author : Aitor Moreno Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph into fix_installExamplesPDB Wed, 14 Mar 2018 16:54:05 +0100 Author : Aitor Moreno (re)fix the installation of the PDB files Wed, 14 Mar 2018 08:39:12 +0000 Author : Robert Osfield Standardized the MSCV INSTALL lines between applications and examples Wed, 14 Mar 2018 08:22:45 +0000 Author : Robert Osfield Refactored osgUtil::ShaderGen to use #pragma(tic) shader composition. Tue, 13 Mar 2018 11:21:35 +0100 Author : Aitor Moreno fix installation of PDB files from the examples. Tue, 13 Mar 2018 08:47:53 +0000 Author : OpenSceneGraph git repository Merge pull request #494 from pelicanmapping/fix-text-empty-checksAdded required empty vector checks to osg::Text Mon, 12 Mar 2018 17:35:46 -0400 Author : gwaldron Text: added code in accept(functor) methods to check for empty vectors before accessing front() element, which was causing a crash in some cases. Also fixed a negated null check in getCharacterCoords Mon, 12 Mar 2018 16:14:30 +0000 Author : Yaroslav Tarasov Fixed renamed of _textureDepth. Mon, 12 Mar 2018 15:55:35 +0000 Author : Robert Osfield From Colin McDonald, "If the glCreateProgram in osg::Program fails for any reason, then subsequently Program::PerContextProgram::linkProgram would crash. I've put in some checks to prevent that." Mon, 12 Mar 2018 15:29:56 +0000 Author : Robert Osfield Fixed indentation Mon, 12 Mar 2018 15:12:44 +0000 Author : Robert Osfield Improved indentation Mon, 12 Mar 2018 10:43:56 +0000 Author : Robert Osfield From Raymond de Vries, added support for latest FBX SDK Mon, 12 Mar 2018 10:29:04 +0000 Author : Robert Osfield Added FbxLayeredTexture support Sat, 10 Mar 2018 17:51:52 +0000 Author : Robert Osfield Refactored the texture setup to streamline it and make it easier to adapt Fri, 9 Mar 2018 10:17:59 +0000 Author : Alessandro Terenzi iOS CMake project generation improvements (bitcode option)when building for iOS, Xcode allows developers to specify to enable or disable the 'bitcode' compilation option. There's not a preferred way to go and the choice is really up to the developer but considering that: 1. Currently the generated project defaults the option to YES 2. There are almost 90 projects targets that should be modified if one wants to disable the bitcode option (which considerably reduces the footprint of the app) 3. Even though one can select all the 90+ targets and set the option to NO for all of them, the updates could take a few seconds and could be error prone because one could miss to select some targets I propose to add a CMake setting that is displayed only when building for iOS. By setting this option "before" the project generation would speed up things for developers and would avoid errors at compiling time. Thu, 8 Mar 2018 16:26:01 +0000 Author : Robert Osfield Refactored the handling if RESIZE, CLOSE, QUIT AND USER events so they are dispatched to all views associated with a window, or all views associated with a CompositeViewer Thu, 8 Mar 2018 10:47:07 +0000 Author : Robert Osfield Fixed recursive call bug Wed, 7 Mar 2018 17:49:40 +0000 Author : Robert Osfield Changed glDrawBuffer/glReadBuffer calls to use the new State::glDrawBuffers/glReadBuffers helper functions to enable lazy state updating to avoid unneccessary GL calls Wed, 7 Mar 2018 17:44:48 +0000 Author : Robert Osfield Changed the default values of _drawBuffer and _readBuffer to make sure that the lazy state updating in State.glDrawBuffers(GLenum)/glReadBuffers(Glenum) doesn't ever ignore the first call. Wed, 7 Mar 2018 16:45:58 +0000 Author : Robert Osfield Fixed build error Tue, 6 Mar 2018 16:54:57 +0000 Author : Robert Osfield Added missing Camera::setDrawBuffer/setReadBuffer() Tue, 6 Mar 2018 16:42:11 +0000 Author : Robert Osfield Added missing Camera::setDrawBuffer() & setReadBuffer() Tue, 6 Mar 2018 16:23:20 +0000 Author : Robert Osfield Added missing setDrawBufer/setReadBuffer calls Tue, 6 Mar 2018 09:58:31 +0000 Author : Robert Osfield Renamed numBytesPerPixel to numBytesPerComponent to be clearer Tue, 6 Mar 2018 09:49:02 +0000 Author : Robert Osfield Added State::glDrawBuffer/glReadBuffer() method to implement lazy state updating for glDrawBuffer and glReadBuffer Tue, 6 Mar 2018 09:33:30 +0000 Author : OpenSceneGraph git repository Merge pull request #491 from mmassing/readerwritergdal_fix_reading_of_multichannel_multibyte_imagesReaderWriterGDAL: fix stride when reading multi-channel images with… Tue, 6 Mar 2018 09:25:49 +0000 Author : OpenSceneGraph git repository Merge pull request #492 from emminizer/stateattribute-typoMinor typo fix on osg::StateAttribute Mon, 5 Mar 2018 10:26:54 -0500 Author : Daniel Emminizer Minor typo fix on osg::StateAttribute Mon, 5 Mar 2018 15:48:24 +0100 Author : Manuel Massing - ReaderWriterGDAL: fix stride when reading multi-channel images with more than 1 byte per pixel Mon, 5 Mar 2018 14:39:07 +0000 Author : Robert Osfield Added deprecated comments for ShaderComposer Fri, 2 Mar 2018 09:43:24 +0000 Author : OpenSceneGraph git repository Merge pull request #490 from torokati44/masterosgDB: Fix handling of return value of loadLibrary in Registry. Fri, 2 Mar 2018 00:13:43 +0100 Author : TÖRÖK Attila osgDB: Fix handling of return value of loadLibrary in Registry."Unable to load ..." was printed if the library could be loaded, and it wasn't if not. Wed, 28 Feb 2018 14:10:15 +0000 Author : OpenSceneGraph git repository Merge pull request #488 from LaurensVoerman/submit_array_extremove _EXT from GL_MAX_ARRAY_TEXTURE_LAYERS_EXT Wed, 28 Feb 2018 14:07:42 +0100 Author : Laurens Voerman remove _EXT from GL_MAX_ARRAY_TEXTURE_LAYERS_EXT and GL_TEXTURE_BINDING_2D_ARRAY_EXT Wed, 28 Feb 2018 10:30:47 +0000 Author : Robert Osfield Added GUIEventHandler to allow one to write out models with event callbacks Wed, 28 Feb 2018 08:50:48 +0000 Author : Robert Osfield Replaced GL_TEXTURE_2D_ARRAY_EXT with GL_TEXTURE_2D_ARRAY Wed, 28 Feb 2018 08:00:40 +0000 Author : Robert Osfield Changed GL enum to fix Windows build issue Tue, 27 Feb 2018 19:09:18 +0000 Author : Robert Osfield Fixed precision issue with filling in the last element of the TransferFunction1D's osg::Image. Tue, 27 Feb 2018 17:35:13 +0000 Author : Robert Osfield Restructured the way that applyTexParameters() is applied to address issues with Intel drivers not handling mipmap generations unless the tex parameters are reapplied on new upload of data. Fri, 23 Feb 2018 09:57:19 +0000 Author : Robert Osfield Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph Fri, 23 Feb 2018 09:55:00 +0000 Author : Robert Osfield Cleaned up the applying of the glDrawBuffers() Fri, 23 Feb 2018 08:28:59 +0000 Author : OpenSceneGraph git repository Merge pull request #485 from eligovision/OpenSceneGraph_glesGLExtensions fix: No PBO on GLES2 by default Thu, 22 Feb 2018 16:41:46 +0300 Author : Konstantin S. Matveyev GLExtensions fix: No PBO on GLES2 by default Thu, 22 Feb 2018 08:15:46 +0000 Author : OpenSceneGraph git repository Merge pull request #484 from LaurensVoerman/submit_inventor_dllexportRemove OSG_EXPORT from deprecated_osg::Geometry in inventor plugin. Wed, 21 Feb 2018 13:38:42 +0100 Author : Laurens Voerman Remove OSG_EXPORT from deprecated_osg::Geometry in inventor plugin. Mon, 19 Feb 2018 10:14:36 +0000 Author : OpenSceneGraph git repository Merge pull request #479 from LaurensVoerman/submit_vc14WarnC4800_v2move Get/SetScalarvalue out of ValueObject and provide specialization… Mon, 19 Feb 2018 10:07:14 +0000 Author : Robert Osfield Added ADD_DEFINITIONS(-D_WINSOCK_DEPRECATED_NO_WARNINGS) to quieten warning Mon, 19 Feb 2018 08:39:42 +0000 Author : OpenSceneGraph git repository Merge pull request #482 from hwiesmann/masterAddition of comments for ClusterCullingCallback Mon, 19 Feb 2018 08:39:23 +0000 Author : OpenSceneGraph git repository Changed the doxygen control characters and clarifications Mon, 19 Feb 2018 08:35:00 +0000 Author : OpenSceneGraph git repository Merge pull request #483 from filnet/fix_log_messagesFix log messages Sun, 18 Feb 2018 18:15:19 +0100 Author : Philippe Renon renderstage: fix spelling in log message Sun, 18 Feb 2018 18:13:27 +0100 Author : Philippe Renon singlewindow: minor log output fixlog message made it look like it originated from View::setUpViewOnSingleScreen Sun, 18 Feb 2018 08:49:41 +0300 Author : Hartwig Wiesmann Addition of comments for ClusterCullingCallback Fri, 16 Feb 2018 19:56:32 +0000 Author : OpenSceneGraph git repository Merge pull request #480 from hwiesmann/masterAddition of radius parameter for ClusterCullingCallback's constructor Thu, 15 Feb 2018 21:10:59 +0100 Author : Hartwig Addition of radius parameter for ClusterCullingCallback's constructorThe radius parameter is already present in ClusterCullingCallback's set method but has been forgotten in the constructor. Thu, 15 Feb 2018 14:53:52 +0100 Author : Laurens Voerman move Get/SetScalarvalue out of ValueObject and provide specialization for GetScalarValue fixing MSVC waring C4800 Wed, 14 Feb 2018 17:16:39 +0000 Author : OpenSceneGraph git repository Merge pull request #476 from LaurensVoerman/submit_luaWarnsilence MSVC warning C4324: 'lua_longjmp': structure was padded Wed, 14 Feb 2018 17:15:31 +0000 Author : OpenSceneGraph git repository Merge pull request #475 from LaurensVoerman/submit_Zeroconf_warningsFixfix visual studio compile warnings for ZeroConfDevice project. Wed, 14 Feb 2018 17:12:46 +0000 Author : OpenSceneGraph git repository Merge pull request #474 from LaurensVoerman/submit_bool_getScalarvalue_Bugbugfix: GetScalarValue returns inverted values for booleans Wed, 14 Feb 2018 10:49:33 +0100 Author : Laurens Voerman silence MSVC warning C4324: 'lua_longjmp': structure was padded Wed, 14 Feb 2018 10:38:09 +0100 Author : Laurens Voerman fix visual studio compile warnings for ZeroConfDevice project. Tue, 13 Feb 2018 17:38:35 +0100 Author : Laurens Voerman bugfix: GetScalarValue returns inverted values for booleans; SetScalarValue needs to be a SetValueVisitor Tue, 13 Feb 2018 12:12:34 +0000 Author : Robert Osfield Improved handling of updates to the Texture target that require the texture to be reapplied. Used State for applying Texture target to work better with lazy state updating. Tue, 13 Feb 2018 12:03:19 +0000 Author : Robert Osfield Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph Tue, 13 Feb 2018 12:01:57 +0000 Author : Robert Osfield Added virtual bool Texture::isDirty(contextID) method to help determine whether a GL texture object is likely to be out of date and needs updating Mon, 12 Feb 2018 13:42:47 +0000 Author : OpenSceneGraph git repository Merge pull request #473 from LaurensVoerman/submit_OT_winverremove conficting defenition of _WIN32_WINNT in OSG_DETERMINE_WIN_VERSION is ON Mon, 12 Feb 2018 10:47:37 +0100 Author : Laurens Voerman remove conficting defenition of _WIN32_WINNT in OSG_DETERMINE_WIN_VERSION is ON Sat, 10 Feb 2018 18:37:57 +0000 Author : Robert Osfield Changed internalFormat to use pixelFormat Sat, 10 Feb 2018 17:50:39 +0000 Author : Robert Osfield Added support for PixelBufferObject to Texture2DArray Wed, 7 Feb 2018 18:28:17 +0000 Author : Robert Osfield From Ravi Mathur, "he freetype plugin currently forces the use of the first font within a truetype collection (.ttc index 0). I made a slight modification such that users can specify any font index via the userOptions input to osgText::readFontFile(). Specifically, the freetype plugin now accepts a new string option of the format "index=< unsigned int >". Example usage:Code: // Chooses the second font within the Menlo font collection osg::ref_ptr fontOptions = new osgDB::Options; fontOptions->setObjectCacheHint(osgDB::Options::CACHE_OBJECTS); fontOptions->setOptionString("index=1"); text->setFont(osgText::readFontFile("Menlo.ttc", fontOptions)); " Wed, 7 Feb 2018 17:23:14 +0000 Author : Robert Osfield Refactored the event handler so that it contains a helper NodeVistor class rather than inherits from inappropriately using multiple inheritance. Tue, 6 Feb 2018 17:54:33 +0000 Author : Robert Osfield Changed the text bounding box calcualtion so that it only takes in to account the basic glyph size, and doesn't add in the glyph margin used for accounting for texel sampling Fri, 2 Feb 2018 09:54:48 +0000 Author : OpenSceneGraph git repository Merge pull request #466 from openscenegraph/revert-454-imagebindingRevert "BindingTextureImage: a more complex condition for _texture->apply ?" Fri, 2 Feb 2018 09:54:31 +0000 Author : OpenSceneGraph git repository Revert "BindingTextureImage: a more complex condition for _texture->apply ?" Tue, 30 Jan 2018 09:53:45 +0000 Author : OpenSceneGraph git repository Merge pull request #463 from xyzz/android-gl1getGLExtensionFuncPtr: support gl4es wrapper on Android. Wed, 17 Jan 2018 14:07:47 -0500 Author : Ilya Zhuravlev getGLExtensionFuncPtr: support gl4es wrapper on Android. Sat, 27 Jan 2018 09:20:12 +0000 Author : OpenSceneGraph git repository Merge pull request #459 from mp3butcher/bufferstorageadd more extensions Sat, 27 Jan 2018 09:17:30 +0000 Author : OpenSceneGraph git repository Merge pull request #461 from filnet/issue_458os_utils: fix non portable use of "defined" Sat, 27 Jan 2018 09:16:46 +0000 Author : OpenSceneGraph git repository Merge pull request #457 from PissedCapslock/patch-3Typo in comment Thu, 25 Jan 2018 16:49:05 +0100 Author : Philippe Renon os_utils: fix non portable use of "defined"see https://github.com/openscenegraph/OpenSceneGraph/issues/458 Thu, 25 Jan 2018 16:22:33 +0100 Author : Julien Valentin add ARB_BufferStorage extensions Wed, 24 Jan 2018 10:29:49 +0100 Author : Robin Stevens Typo in comment Tue, 23 Jan 2018 15:27:24 +0000 Author : Robert Osfield Merged shader_pipeline version of CMakeLists.txt Tue, 23 Jan 2018 11:43:55 +0000 Author : Robert Osfield Removed the OSG_SYSTEM_SUPPORTED cmake var and added use of posix_spawn under Apple with C system function used elsewhere. Tue, 23 Jan 2018 10:26:20 +0000 Author : OpenSceneGraph git repository Merge pull request #454 from mp3butcher/imagebindingBindingTextureImage: a more complex condition for _texture->apply ? Tue, 23 Jan 2018 09:56:26 +0000 Author : OpenSceneGraph git repository Merge pull request #456 from PissedCapslock/patch-2Fixing typos in comments Tue, 23 Jan 2018 09:55:52 +0000 Author : OpenSceneGraph git repository Merge pull request #455 from PissedCapslock/patch-1Typo in comment Tue, 23 Jan 2018 10:25:32 +0100 Author : Robin Stevens Fixing typos in comments Tue, 23 Jan 2018 10:20:49 +0100 Author : Robin Stevens Typo in comment Sun, 21 Jan 2018 12:19:27 +0000 Author : Robert Osfield Changed fallback message to be consistent with fucntion name Sun, 21 Jan 2018 12:09:49 +0000 Author : Robert Osfield Restructured the system() fallback to be usable for C and C++ Sun, 21 Jan 2018 01:24:01 +0100 Author : Julien Valentin use introduced getBufferData to determine _target->apply requirements. Sun, 21 Jan 2018 01:23:38 +0100 Author : Julien Valentin add a virtual getBufferData to Texture Sat, 20 Jan 2018 12:35:30 +0000 Author : OpenSceneGraph git repository Merge pull request #452 from LaurensVoerman/submit_input_copyWchartext copy - get unicode text to clipboard. Sat, 20 Jan 2018 12:33:54 +0000 Author : OpenSceneGraph git repository Merge pull request #453 from LaurensVoerman/submit_directinputfix bug: potentially uninitialized local variable 'hr' used Fri, 19 Jan 2018 11:38:01 +0100 Author : Laurens Voerman fix bug: potentially uninitialized local variable 'hr' used Fri, 19 Jan 2018 11:20:34 +0100 Author : Laurens Voerman text copy - get unicode text to clipboard. Mon, 15 Jan 2018 16:30:44 +0000 Author : OpenSceneGraph git repository Merge pull request #447 from LaurensVoerman/submit_remove_unused_varsremove unused variable "newArrays" Mon, 15 Jan 2018 16:30:23 +0000 Author : OpenSceneGraph git repository Merge pull request #448 from LaurensVoerman/submit_remove_unused_maxBonePerVertexremove unused variable "maxBonePerVertex" Mon, 15 Jan 2018 16:28:54 +0000 Author : OpenSceneGraph git repository Merge pull request #449 from LaurensVoerman/submit_toLowerfix vc2017 compile warning 'unsigned int' to 'const char' Mon, 15 Jan 2018 16:02:44 +0000 Author : Robert Osfield Moved defined into GLDefines header to avoid compile issues under Windows Mon, 15 Jan 2018 16:42:31 +0100 Author : Laurens Voerman fix vc2017 compile warning 'unsigned int' to 'const char' Mon, 15 Jan 2018 14:47:55 +0100 Author : Laurens Voerman remove unused variable "newArrays" Mon, 15 Jan 2018 14:49:24 +0100 Author : Laurens Voerman remove unused variable "maxBonePerVertex" Sun, 14 Jan 2018 13:27:15 +0000 Author : OpenSceneGraph git repository Merge pull request #445 from mp3butcher/osgSampler3Osg sampler3 improve example to get command arguments Sun, 14 Jan 2018 13:25:23 +0000 Author : OpenSceneGraph git repository Merge pull request #444 from mp3butcher/osgSampler2Osg sampler2 add static helper func in order to generate Samplers of a Samplerless StateSet Sun, 14 Jan 2018 12:40:34 +0000 Author : OpenSceneGraph git repository Merge pull request #443 from mp3butcher/osgSampler1Add MinLOD MaxLOD and LODBias to Texture Sat, 13 Jan 2018 21:29:02 +0100 Author : Julien Valentin improve example to get command arguments Sat, 13 Jan 2018 21:25:47 +0100 Author : Julien Valentin add static helper func in order to generate Samplers of a Samplerless StateSet +fix ident Sat, 13 Jan 2018 21:20:32 +0100 Author : Julien Valentin add MinLOD MaxLOD and LODBias to Texture and its serializer as well as ShadowTextureMode None enum Sat, 13 Jan 2018 21:19:25 +0100 Author : Julien Valentin increment SO version Sat, 13 Jan 2018 21:16:16 +0100 Author : Julien Valentin add MinLOD MaxLOD and LODBias to Texture Sat, 13 Jan 2018 16:43:42 +0000 Author : Robert Osfield Disabled the use of the GeometryFinishedObjectReadCallback in the Geometry serializer as this doesn't look it's needed anymore. Sat, 13 Jan 2018 16:07:56 +0000 Author : OpenSceneGraph git repository Merge pull request #442 from eligovision/OpenSceneGraph_viewerosgViewer::ViewerBase setThreadingModel function fixed Sat, 13 Jan 2018 15:46:53 +0300 Author : Konstantin S. Matveyev osgViewer::ViewerBase setThreadingModel func fix: should not start threading, must only restart Fri, 12 Jan 2018 19:52:31 +0000 Author : Robert Osfield Added ability to toggle on/off use of C system() function call, using OSG_SYSTEM_SUPPORTED Cmake option Fri, 12 Jan 2018 17:03:31 +0000 Author : Robert Osfield Added os_utils header Fri, 12 Jan 2018 16:48:17 +0000 Author : Robert Osfield Renamed EnvVar header to os_utils in prep for adding more OS related calls to it Thu, 11 Jan 2018 14:32:53 +0000 Author : OpenSceneGraph git repository Merge pull request #437 from filnet/text_typoosgText: fix typos related to SIGNED_DISTANCE_FIELD Thu, 11 Jan 2018 10:10:43 +0000 Author : Robert Osfield Fixed Linux NVTT build issue by restricting the addition of the new libs to just Windows Thu, 11 Jan 2018 09:39:27 +0000 Author : Robert Osfield Merged NVTT cmake fixes from 3.4 branch Thu, 11 Jan 2018 08:51:08 +0000 Author : Robert Osfield Added returns to avoid fall through between case statements Wed, 10 Jan 2018 16:55:02 +0000 Author : Robert Osfield Moved setFusionDistance() into View::updateSceneView() Wed, 10 Jan 2018 14:21:25 +0100 Author : Philippe Renon osgText: fix typos related to SIGNED_DISTANCE_FIELD Wed, 10 Jan 2018 11:07:46 +0000 Author : Andreas Ekstrand Small fix in the osgjs plugin. Since osgjs uses pixel area for PIXEL_SIZE_ON_SCREEN PagedLOD ranges instead of a diameter, it's a more correct approximation to square the ranges in this case. Mon, 8 Jan 2018 10:52:35 +0000 Author : Robert Osfield Merged Program.cpp from shader_pipeline Mon, 8 Jan 2018 10:31:47 +0000 Author : Robert Osfield Fixed indentation Mon, 8 Jan 2018 10:14:13 +0000 Author : Robert Osfield Added extension support checks Mon, 8 Jan 2018 10:04:28 +0000 Author : Robert Osfield Fixed build with GLES2 Fri, 1 Dec 2017 13:00:42 +0000 Author : Robert Osfield Added suppor for StateSet::DefineList Fri, 1 Dec 2017 12:07:28 +0000 Author : Robert Osfield Improvements to lua/OSG integration Sat, 6 Jan 2018 13:47:18 +0000 Author : Robert Osfield Replaced old style access of ValueObject values to new ValueObject::getScaleValue() methods Wed, 20 Dec 2017 20:13:33 +0000 Author : Robert Osfield Added TextureCubeMap::setImage/getImage() methpds Sat, 6 Jan 2018 12:52:34 +0000 Author : Robert Osfield Removed inappropriate // Wed, 20 Dec 2017 20:12:49 +0000 Author : Robert Osfield Added ValueObject::get/setScaleValue(..) convinient methods Sat, 6 Jan 2018 12:37:02 +0000 Author : OpenSceneGraph git repository Merge pull request #431 from mp3butcher/callbacksallow read of script from zip Sat, 6 Jan 2018 12:31:23 +0000 Author : OpenSceneGraph git repository Had to fix spacing and bracket position yet again... Fri, 5 Jan 2018 19:57:41 +0100 Author : Julien Valentin allow read of zipped script Fri, 5 Jan 2018 12:12:24 +0000 Author : Robert Osfield Fixed return values Fri, 5 Jan 2018 11:26:06 +0000 Author : OpenSceneGraph git repository Merge pull request #428 from mp3butcher/serializerfixbisadd Node associate on Drawable serializers Fri, 5 Jan 2018 10:36:25 +0000 Author : Robert Osfield Disabled OSX builds as they are consistently failing on travis due to timeouts so a giving false positives for all builds Fri, 5 Jan 2018 09:43:16 +0000 Author : OpenSceneGraph git repository Merge pull request #424 from mp3butcher/osgSamplerGL3.3 SamplerObject as StateAttribute Fri, 5 Jan 2018 09:41:32 +0000 Author : OpenSceneGraph git repository Fixed indentation and spacing issues Fri, 5 Jan 2018 09:18:39 +0000 Author : OpenSceneGraph git repository Merge pull request #425 from mp3butcher/callbacksSupport for multiple nest Camera DrawCallbacks Thu, 4 Jan 2018 05:16:21 +0100 Author : Julien Valentin add BufferData associate to Image and subclasses Thu, 4 Jan 2018 15:28:45 +0000 Author : OpenSceneGraph git repository Had to fix positioning of { and spacing to be consistent with the rest of the OSG Thu, 4 Jan 2018 15:20:57 +0000 Author : OpenSceneGraph git repository Merge pull request #426 from mp3butcher/moreExtensionsadd more Extensions Thu, 4 Jan 2018 04:34:48 +0100 Author : Julien Valentin Evolve DSO add Node associate on Drawable based: Drawable Geometry DrawPixels.cpp ShapeDrawable.cpp RigGeometry.cpp ConnectedParticleSystem.cpp FadeText.cpp Text.cpp Text3D.cpp TextBase.cpp Thu, 4 Jan 2018 04:18:38 +0100 Author : Julien Valentin add more Extensions Thu, 4 Jan 2018 03:41:37 +0100 Author : Julien Valentin add recursivity on Camera Callbacks Wed, 3 Jan 2018 21:22:38 +0100 Author : Julien Valentin add GLSampler as Texture Property and a simple example mixing (add) 2 textures Wed, 3 Jan 2018 11:11:16 +0000 Author : OpenSceneGraph git repository Merge pull request #421 from mp3butcher/imagebindingcomplete Imagebinding integration Tue, 2 Jan 2018 18:29:42 +0100 Author : Julien Valentin remove old BindImageTexture path Tue, 2 Jan 2018 18:15:25 +0100 Author : Julien Valentin adapt examples for new BindImageTexture Mon, 1 Jan 2018 21:09:07 +0100 Author : Julien Valentin add (untested) BindImageTexture serializer TOREVIEW : my GLBoolean serializer macro seams hacky Mon, 1 Jan 2018 12:07:17 +0000 Author : OpenSceneGraph git repository Merge pull request #415 from aluaces/fix/opencascade_minimalUse a minimal set of OpenCASCADE libraries. Mon, 1 Jan 2018 11:10:55 +0000 Author : Robert Osfield Renamed ImageTexture file to BindImageTexture to better fit it's OpenGL implementaton.Improved the indentation so it's more consistent with the rest of the OSG. Mon, 1 Jan 2018 10:16:10 +0000 Author : Robert Osfield Merge branch 'imagebinding' of https://github.com/mp3butcher/OpenSceneGraph into mp3butcher-imagebinding Mon, 1 Jan 2018 10:14:58 +0000 Author : OpenSceneGraph git repository Changed the enum value to be consistent with StateAttribute Mon, 1 Jan 2018 10:13:14 +0000 Author : OpenSceneGraph git repository Change enum name to be consistent with assciated class name Mon, 1 Jan 2018 10:12:09 +0000 Author : OpenSceneGraph git repository Improved spacing and indentaton To keep things consistent with the rest of the OSG Sun, 31 Dec 2017 13:44:21 +0000 Author : Robert Osfield Changed the case of method name to be consistent with the rest of the OSG Sun, 31 Dec 2017 13:43:09 +0000 Author : OpenSceneGraph git repository Merge pull request #411 from rickyviking/fbxGeometrySupportFbx writer: added support to convert geometries directly attached as node Sun, 31 Dec 2017 13:34:26 +0000 Author : OpenSceneGraph git repository Merge pull request #414 from aluaces/fix/osg_winver_switchAdded optional checking the windows version at build configuration time to fix cross-compilation. Sun, 31 Dec 2017 13:32:44 +0000 Author : OpenSceneGraph git repository Improved indentation Sun, 31 Dec 2017 13:17:23 +0000 Author : Robert Osfield Fixed typo Sun, 31 Dec 2017 12:35:44 +0000 Author : Robert Osfield Fixed handling of reassignment of ArrayDispatch when vertex aliasing is toggled Mon, 25 Dec 2017 23:42:33 +0100 Author : mp3butcher add flexier Image Unit Binding implementation (allow different IUBs for a Texture) Fri, 22 Dec 2017 13:17:10 +0100 Author : Alberto Luaces Use a minimal set of OpenCASCADE libraries.This eases the configuration avoiding to look for unused or nonexistent libraries. Tue, 26 Dec 2017 15:35:42 +0100 Author : Alberto Luaces Detecting the windows version at build time breaks cross-compilation.I have made this auto-detection optional (default ON). Wed, 20 Dec 2017 09:52:50 +0100 Author : Riccardo Corsi Fbx writer: added support to convert geometries directly attached as node, without geodes. Tue, 19 Dec 2017 09:57:57 +0000 Author : Robert Osfield Introduced dedicated VertexArrayStateList class to wrap up the VertexArrayState container with convinience methods to help initialize them. Using the new VertexArrayStateList class fixed bug associated with setting new setTexCoord() array when a VertexArrayState is already assigned. Mon, 18 Dec 2017 13:54:08 +0000 Author : Robert Osfield Deprecated dirtyDisplayLists(), use established dirtyGLObjects() instead Mon, 18 Dec 2017 10:45:00 +0000 Author : OpenSceneGraph git repository Merge pull request #408 from eligovision/OpenSceneGraph_serializersOpen scene graph serializers Mon, 18 Dec 2017 10:39:29 +0000 Author : OpenSceneGraph git repository Merge pull request #409 from jcarpent/master[Fix] Use explicitelly colladom 1.4.1 Mon, 18 Dec 2017 10:33:35 +0000 Author : OpenSceneGraph git repository Merge pull request #406 from eligovision/OpenSceneGraph_textTextBase: left alignment position fix Thu, 14 Dec 2017 19:27:08 +0100 Author : jcarpent [Fix] Use explicitelly colladom 1.4.1 Wed, 13 Dec 2017 11:47:02 +0300 Author : Konstantin S. Matveyev osgAnimation serializes: static linking fix Wed, 13 Dec 2017 11:48:08 +0300 Author : Konstantin S. Matveyev Merge remote-tracking branch 'upstream/master' into OpenSceneGraph_serializers Fri, 27 Oct 2017 20:49:09 +0300 Author : Konstantin S. Matveyev TextBase: left alignment position fix Sat, 9 Dec 2017 19:18:43 +0000 Author : Robert Osfield Quitened down debug output Sat, 9 Dec 2017 18:42:40 +0000 Author : Robert Osfield Quited now deboug output Sat, 9 Dec 2017 18:29:19 +0000 Author : Robert Osfield Quietened down debug messages Sat, 9 Dec 2017 11:12:35 +0000 Author : Robert Osfield Pushed background image away from eye point a small amount to prevent z fighting with text on the image plane. Fri, 8 Dec 2017 16:15:52 +0000 Author : Robert Osfield Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph Fri, 8 Dec 2017 16:10:57 +0000 Author : Robert Osfield Added support for OSG_BORDERLESS_WINDOW="x y width heigh" and --bordless-window x y width height to make it easier to manage custom placement of viewers without window decoration Fri, 8 Dec 2017 11:19:20 +0000 Author : OpenSceneGraph git repository Merge pull request #403 from mp3butcher/VASfix logo reader plugin Thu, 7 Dec 2017 20:13:57 +0100 Author : Julien Valentin fix logo reader plugin TODO upgrade to a more modern gl (remove glDrawpixel usage) Thu, 7 Dec 2017 17:52:24 +0000 Author : Robert Osfield Improvements to dot visitors Thu, 7 Dec 2017 09:49:47 +0000 Author : OpenSceneGraph git repository Merge pull request #402 from mp3butcher/VASadd a fix in order setArray work with an user managed interleaved array Wed, 6 Dec 2017 22:57:03 +0100 Author : Julien Valentin add a fix in order setArray work with an user managed interleaved array Mon, 14 Nov 2016 11:59:47 +0000 Author : Robert Osfield Added more flexibility into the State::checkGLErrors() method, allowing calling code to pass in two strings. Improved the StateSet::compileGLObjects() usage of checkGLErrors() to make the warning reports more meaningful. Wed, 6 Dec 2017 09:50:42 +0000 Author : Robert Osfield Added fine grained checking for GL errors in the GLObjectVisitor so that the OSG's default pre compile stage provides better feesback on any GL errors. Tue, 5 Dec 2017 17:16:17 +0000 Author : Robert Osfield Removed the unncessary rescale to power of two, and added clear of image to prevent previous image data corrupting the rendered image Tue, 5 Dec 2017 16:33:55 +0000 Author : Robert Osfield Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph Tue, 5 Dec 2017 16:33:01 +0000 Author : Robert Osfield Added "rs=value" Options support to SVG plugin Mon, 4 Dec 2017 17:51:21 +0000 Author : Robert Osfield Fixed AUTHORS Mon, 4 Dec 2017 16:43:08 +0000 Author : Robert Osfield Added passing of the osgDB::Options to the remove from cache to make sure the cache model for the presentation is found and removed. Mon, 4 Dec 2017 14:50:12 +0000 Author : Robert Osfield Changed the reload presentaiton key to 'R' to better match the 'E' for editor Mon, 4 Dec 2017 13:01:52 +0000 Author : Anna Sokol From Anna Sokol, "There is no need to specify WINVER of 0x0603 in order to check for the SetProcessDPIAwareness function existence. If your current OS where the application is running is Windows 8.1 or above it the function will exist in the dll or if its below it wont. I checked the attached code with both a Windows 7 desktop (where the function doesn't exist) and a Windows 10 tablet (where it does and had my screen scaled to 150%) and in both cases the code worked as intended." Sun, 3 Dec 2017 14:27:10 +0000 Author : Robert Osfield Updated ChangeLog and AUTHORS file Sun, 3 Dec 2017 14:14:34 +0000 Author : Robert Osfield Updated ChangeLog Sun, 3 Dec 2017 11:17:34 +0000 Author : Robert Osfield Renamed chanels to array to be consistent with the rest of the usage Sun, 3 Dec 2017 11:12:20 +0000 Author : OpenSceneGraph git repository Merge pull request #398 from marchelbling/sharedarrayoptimizer-fixImprove SharedArrayOptimizer Sun, 3 Dec 2017 10:49:39 +0000 Author : Robert Osfield Removed redundent !ps Sun, 3 Dec 2017 09:49:09 +0000 Author : Robert Osfield Removed unused local variable and associated typedef Sun, 3 Dec 2017 09:45:37 +0000 Author : Robert Osfield Quietened down cppcheck false positive. Sun, 3 Dec 2017 09:38:32 +0000 Author : Robert Osfield Fixed leak and clean up formatting. Sun, 3 Dec 2017 09:34:43 +0000 Author : Robert Osfield From Jordi Torres, fixed leak and inappropriate read bug Sun, 3 Dec 2017 09:32:50 +0000 Author : Robert Osfield From Jordi Torres, removed unused local variable Sun, 3 Dec 2017 09:30:35 +0000 Author : Robert Osfield From Jordi Torres, fix indentation and removed redundent break; Sun, 3 Dec 2017 09:27:41 +0000 Author : Robert Osfield From Jordi Torres, added ref_ptr<> usage to quieten cppcheck false positive Sat, 2 Dec 2017 18:07:13 +0000 Author : Robert Osfield From Jordi Torres, removed unused local variables Sat, 2 Dec 2017 18:04:43 +0000 Author : Robert Osfield From Jordi Torres, removed unused local variables Sat, 2 Dec 2017 18:00:03 +0000 Author : Robert Osfield From Jordi Torres, Removed unused local variables Sat, 2 Dec 2017 17:58:17 +0000 Author : Robert Osfield From Jordi Torres, removed unused local variables Sat, 2 Dec 2017 17:52:47 +0000 Author : Robert Osfield From Jordi Torres, removed unused local variables Sat, 2 Dec 2017 17:42:53 +0000 Author : Robert Osfield Commented out unused local variables Sat, 2 Dec 2017 17:41:27 +0000 Author : Robert Osfield From Jordi Torres, removed unused local variable Sat, 2 Dec 2017 17:35:36 +0000 Author : Robert Osfield Fixed string parsing and substituion bugs isn substitudeEnvVars(..) Sat, 2 Dec 2017 17:08:14 +0000 Author : Robert Osfield From Jordi Torres, removed unused local variables Sat, 2 Dec 2017 16:49:47 +0000 Author : Jordi Torres same values in || so one of them not needed Sat, 2 Dec 2017 16:35:16 +0000 Author : Robert Osfield Improved readaibility of text by removing redundent indirection. Sat, 2 Dec 2017 16:20:34 +0000 Author : Robert Osfield Fixes for cppcheck reported issues Fri, 1 Dec 2017 12:26:00 +0100 Author : Marc Helbling Improve SharedArrayOptimizerWhen an array is shared within and outside a geometry, it's still worth it and safe to recreate the reference within each individual geometry. Thu, 30 Nov 2017 14:13:21 +0000 Author : OpenSceneGraph git repository Merge pull request #396 from bjornblissing/feature/DPIAwareScalingApplications declared as DPI-aware in the Windows environment Thu, 30 Nov 2017 14:12:05 +0000 Author : OpenSceneGraph git repository Added return to last line Thu, 30 Nov 2017 12:48:47 +0000 Author : Robert Osfield Quieted down dubug output Thu, 30 Nov 2017 13:00:54 +0100 Author : Björn Blissing Applications declared DPI-aware in the Windows environmentApplications that run on a Windows computer with desktop scaling enabled gets scaled incorrectly since windows assumes that applications are DPI-unaware unless declared otherwise. This change declares the application DPI-aware, thus not automatically scaled by the operating system. The corresponding library call requires Windows 8.1 or later. Thu, 30 Nov 2017 12:53:24 +0100 Author : Björn Blissing Added script to identify Windows versionAdded script to identify the Windows version used to compile the source. Currently the windows version for Windows NT is hard coded into the source. By running this CMake script the _WIN32_WINNT preprocessor variable gets set to the corresponding windows version. Thu, 30 Nov 2017 12:47:57 +0100 Author : Björn Blissing Removed unnecessary define in FileUtilsThe define of _WIN32_WINNT was added to handle an error case from MinGW ,as described in commit 712ca432196cd797cc3c265adb2847465551461f This was later giving warnings and thus undefined for MinGW by commit 3bf6fb1778687c45d389b91675b55f709ef1f67b Since the two operations cancel each other out, they should be removed. Wed, 29 Nov 2017 21:20:10 +0000 Author : Robert Osfield Typo fix Wed, 29 Nov 2017 15:06:53 +0000 Author : Robert Osfield Update version to 3.5.10 Wed, 29 Nov 2017 14:49:00 +0000 Author : Robert Osfield Updated ChangeLog and AUTHORS for 3.5.9 dev release Wed, 29 Nov 2017 14:44:00 +0000 Author : Robert Osfield Fixed build with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF Wed, 29 Nov 2017 14:22:31 +0000 Author : Robert Osfield Introduced Drawable::CreateVertexArrayStateCallback to enable customization of how VertexArrayState objects.Added public accessors to the Drawable::VertexArrayStateList. Wed, 29 Nov 2017 12:22:03 +0000 Author : Robert Osfield Added mapping of GLSL file extension to shader Type. Wed, 29 Nov 2017 10:40:42 +0000 Author : Robert Osfield Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph Wed, 29 Nov 2017 10:40:20 +0000 Author : Robert Osfield Bummped the SO version Wed, 29 Nov 2017 10:38:52 +0000 Author : OpenSceneGraph git repository Merge pull request #394 from mathieu/masterMake the culling be disabled at the drawable level Wed, 29 Nov 2017 10:14:16 +0000 Author : Robert Osfield Merge branch 'mp3butcher-ComputeDispatch' Wed, 29 Nov 2017 10:11:35 +0000 Author : Robert Osfield Added back in serializer support for comput dispatch groups to retain backwards compatibility. Wed, 29 Nov 2017 11:05:53 +0100 Author : Mathieu Make the culling be disables at the drawable level not at the geode level Wed, 29 Nov 2017 09:30:56 +0000 Author : Robert Osfield Merge branch 'ComputeDispatch' of https://github.com/mp3butcher/OpenSceneGraph into mp3butcher-ComputeDispatch Wed, 29 Nov 2017 08:16:53 +0000 Author : OpenSceneGraph git repository Cleaned up code layout Wed, 29 Nov 2017 08:14:44 +0000 Author : OpenSceneGraph git repository Cleaned up code layout Wed, 29 Nov 2017 08:09:01 +0000 Author : OpenSceneGraph git repository Merge pull request #390 from filnet/readrefreplace more read*File() usage to readRef*File() Tue, 28 Nov 2017 20:31:09 +0100 Author : Julien Valentin override compile and createVAS in order to do nothing Tue, 28 Nov 2017 20:03:40 +0100 Author : Julien Valentin adapt SSBO example for ComputeDispatch but have strange runtime errors: 0(100) : error C7623: implicit narrowing of type from "vec3" to "float" 0(108) : error C7623: implicit narrowing of type from "vec3" to "float" Tue, 28 Nov 2017 19:51:31 +0100 Author : Philippe Renon replace more read*File() usage to readRef*File() Tue, 28 Nov 2017 18:08:08 +0000 Author : Robert Osfield Quietened down debug output Tue, 28 Nov 2017 18:05:59 +0000 Author : Robert Osfield Quietened down debug output Tue, 28 Nov 2017 18:04:26 +0000 Author : Robert Osfield Quitened down debug output Tue, 28 Nov 2017 17:39:32 +0100 Author : Julien Valentin numgroup removed but introduce a reto compatibility bug in Program serializer hope nobody use it Tue, 28 Nov 2017 17:30:04 +0100 Author : Julien Valentin add ComputeDispatch class revoke glDispatch in PCProgram::useProgram update example Tue, 28 Nov 2017 15:31:39 +0000 Author : Robert Osfield To the GLSL shader plugin added support forL #pragma include shaderfile.glsl To enable easier reuse of shaders Mon, 27 Nov 2017 18:38:37 +0000 Author : Robert Osfield Replaced deprecated osg::Shader::reaDShaderFile()/loadShaderFromSource() usage Mon, 27 Nov 2017 18:36:41 +0000 Author : Robert Osfield Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph Mon, 27 Nov 2017 18:28:15 +0000 Author : Robert Osfield Deprecated the osg::Shader::reaDShaderFile() and osg::Shader::loadShaderSourceFromFile() methods. Programmers should use osgDB::readRefShaderFile()/readShaderFile() instead. Mon, 27 Nov 2017 18:27:13 +0000 Author : Robert Osfield Added support for .cs, .compute, .tctrlm .teval extensions in the GLSL plugin Mon, 27 Nov 2017 15:54:39 +0000 Author : OpenSceneGraph git repository Merge pull request #387 from jtorresfabra/remove_custom_codeRemoves custom code added for sketchfab channel compression that shou… Mon, 27 Nov 2017 15:44:11 +0000 Author : Robert Osfield Refactored the MergeGeometry::mergeGroup(..) method to avoid O(N^2) issue with using removeChildren() on groups with very large numbers of children. Mon, 27 Nov 2017 15:41:54 +0000 Author : Robert Osfield Replaced read*File() usage to readRef*File() Mon, 27 Nov 2017 15:40:21 +0000 Author : Robert Osfield Added template addShader() method to make it easier to pass ref_ptr Mon, 27 Nov 2017 15:48:50 +0100 Author : Jordi Removes custom code added for sketchfab channel compression that should not be there Mon, 27 Nov 2017 11:10:48 +0000 Author : Robert Osfield Fixes for building with OSG_PROVIDE_READFILE to OFF Mon, 27 Nov 2017 11:05:31 +0000 Author : Robert Osfield Fixed build issues when compiling with OSG_PROVIDE_READFILE to OFF Mon, 27 Nov 2017 10:32:02 +0000 Author : Robert Osfield Build fix Wed, 22 Nov 2017 11:05:17 +0000 Author : Robert Osfield Removed use of local static to avoid threading issue. Tue, 21 Nov 2017 14:01:14 +0000 Author : OpenSceneGraph git repository Merge pull request #383 from anormann1974/patch-1Fixed missing initialization of B_ and N_ in constructor Tue, 21 Nov 2017 13:59:51 +0000 Author : Robert Osfield Fixed typo Tue, 21 Nov 2017 13:41:57 +0000 Author : Robert Osfield Added Text::getCharacterCorners(...) method to help applications that want to find out the positions of characters being rendered. Tue, 21 Nov 2017 13:54:45 +0100 Author : Andre Normann Fixed missing initialization of B_ and N_ in constructor Mon, 20 Nov 2017 12:49:20 +0000 Author : Robert Osfield Moved the version to 3.5.9 and the version setting code to top of CMake file Tue, 14 Nov 2017 15:04:05 +0000 Author : Robert Osfield Updated ChangeLog and AUTHORS file for 3.5.8 dev release 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 Mon, 9 Oct 2017 12:33:06 +0100 Author : Robert Osfield Updated ChangeLog Mon, 9 Oct 2017 12:25:40 +0100 Author : Robert Osfield Updated version number Mon, 9 Oct 2017 12:23:45 +0100 Author : Robert Osfield Updated AUTHORS Mon, 9 Oct 2017 10:03:21 +0100 Author : OpenSceneGraph git repository Merge pull request #359 from eligovision/OpenSceneGraph_glesAdded defines: GL_ALPHA4/8/12/16 in osg/Image, this will fix compilat… Mon, 9 Oct 2017 10:02:51 +0100 Author : OpenSceneGraph git repository Merge pull request #358 from eligovision/OpenSceneGraph_optimizerVertexAttribDivisor compare function fix: index must be compared Fri, 6 Oct 2017 18:03:36 +0100 Author : Robert Osfield Added explictly unbinding of VBO for setInterleavedArrays(). Fri, 6 Oct 2017 17:47:19 +0100 Author : Robert Osfield Added VertexArrayState::ArrayDispatch::className() method and implementation for each ArrayDispatch subclass to help with debugging Fri, 6 Oct 2017 17:37:50 +0300 Author : Konstantin S. Matveyev Added defines: GL_ALPHA4/8/12/16 in osg/Image, this will fix compilation error while building for GLES2 Fri, 6 Oct 2017 14:33:07 +0300 Author : Konstantin S. Matveyev VertexAttribDivisor compare function fix: index must be compared Thu, 5 Oct 2017 16:56:30 +0100 Author : Robert Osfield Improved the readability of recent changes by adding spaces, {} and moving { onto separate lines to keep things consistent with the rest of the OSG. Thu, 5 Oct 2017 16:43:54 +0100 Author : OpenSceneGraph git repository Merge pull request #357 from mp3butcher/osganimationfix normalization bug (happen too early ) Thu, 5 Oct 2017 16:31:45 +0100 Author : OpenSceneGraph git repository Merge pull request #354 from eligovision/OpenSceneGraph_intersectionLineSegmentIntersector fixed: intersection ratio remaped to the range… Thu, 5 Oct 2017 16:30:21 +0100 Author : OpenSceneGraph git repository Merge pull request #353 from eligovision/OpenSceneGraph_iotellg call removed from StreamOperator's checkStream function, becaus… Thu, 5 Oct 2017 16:29:37 +0100 Author : OpenSceneGraph git repository Merge pull request #355 from denyskoch/patch-1Fix loading of 16bit PNG images Thu, 5 Oct 2017 15:59:26 +0100 Author : Robert Osfield Fixed spacing to make it consistent with the rest of the OSG and make it easier to read. Thu, 5 Oct 2017 15:57:02 +0100 Author : OpenSceneGraph git repository Merge pull request #351 from LaurensVoerman/vncHostPwVNC: try to find password for host if no password for host:port is found Thu, 5 Oct 2017 15:37:03 +0100 Author : Robert Osfield Added support for multiple --login url username password entries to osgviewer Thu, 5 Oct 2017 15:02:17 +0100 Author : OpenSceneGraph git repository Merge pull request #348 from eligovision/OpenSceneGraph_serializersosg serializers fixed for static build, ShaderAttribute wrapper added Thu, 5 Oct 2017 12:45:47 +0100 Author : Robert Osfield Steamlined the handling of osg::Geometry Thu, 5 Oct 2017 12:15:23 +0100 Author : OpenSceneGraph git repository Merge pull request #346 from LaurensVoerman/FindLIBLASremoved las_c library from FindLIBLAS.cmake, it's not used by the osgplugin. Thu, 5 Oct 2017 12:14:03 +0100 Author : Robert Osfield Merge branch 'master' into text_improvements Wed, 4 Oct 2017 18:06:42 +0100 Author : Robert Osfield Improvements to the Signed Distance Field implementation. Wed, 4 Oct 2017 05:42:33 +0200 Author : Julien Valentin fix normalization bug (happen too early )minor bug bla Fri, 29 Sep 2017 20:21:13 +0100 Author : Robert Osfield Simplified and improved the glyph margin computation and usage Fri, 29 Sep 2017 10:39:02 +0100 Author : Robert Osfield Improved SDF generation Fri, 29 Sep 2017 10:25:04 +0100 Author : Robert Osfield Added setting of the FontResolution of the DefaultFont Fri, 29 Sep 2017 10:20:59 +0100 Author : Robert Osfield Added command line support for specifying "default" for osgText::DefaultFont Fri, 29 Sep 2017 09:54:43 +0100 Author : Robert Osfield Improved the setup of the --counter test Thu, 28 Sep 2017 11:09:18 +0200 Author : Denys Koch Fix loading of 16bit PNG imagesWhen a 16bit PNG image is loaded, the internalTextureFormat is set to unsized (i.e pixelFormat) constant. This results in 8 Bit Texture2D Wed, 27 Sep 2017 11:09:22 +0100 Author : Robert Osfield Fixed update of GlyphTexture Image when copying new Glyph image's to it. Tue, 26 Sep 2017 15:32:41 +0100 Author : Robert Osfield UPdated from OpenSceneGraph-Data with handling of non textured text decoration Tue, 26 Sep 2017 12:51:03 +0100 Author : Robert Osfield Updated shader from OpenSceneGraph-Data/shaders to add fade out for SDF and non SDF pathways Tue, 26 Sep 2017 10:57:09 +0100 Author : Robert Osfield Updated wiht OpenSceneGraph-Data/shader version that introduced use of textureLOD to reduce aliasing artifacts with SDF Tue, 26 Sep 2017 10:44:14 +0100 Author : Robert Osfield Updated shaders using latest OpenSceneGraph-Data/shader versions Tue, 26 Sep 2017 10:42:47 +0100 Author : Robert Osfield Improvements to SDF and outline generation Fri, 22 Sep 2017 12:22:58 +0100 Author : Robert Osfield Fixed rendering old sytel outline Fri, 22 Sep 2017 11:38:43 +0300 Author : Konstantin S. Matveyev LineSegmentIntersector fixed: intersection ratio remaped to the range of LineSegment => correct order in multiset of intersections Sun, 17 Sep 2017 18:48:32 +0300 Author : konstantin.matveyev tellg call removed from StreamOperator's checkStream function, because reading of files (readNodeFile etc.) with tellg on 'every iter' is approximately 100 times slower on Emscripten platform Fri, 22 Sep 2017 11:34:28 +0300 Author : Konstantin S. Matveyev LineSegmentIntersector fixed: intersection ratio remaped to the range of LineSegment => correct order in multiset of intersections Fri, 22 Sep 2017 07:56:30 +0100 Author : OpenSceneGraph git repository Merge pull request #352 from remoe/patch-3addShader fix Fri, 22 Sep 2017 08:39:38 +0200 Author : Remo E addShader fix Thu, 21 Sep 2017 16:04:10 +0100 Author : Robert Osfield Removed debug output Thu, 21 Sep 2017 16:01:27 +0100 Author : Robert Osfield Added assignStateSet() to Text::setBackgroundColor() Thu, 21 Sep 2017 15:52:07 +0100 Author : Robert Osfield Added support for toggling on use of the new SignedDistanceFunction function now built into osgText, just use --sdf to enable. Thu, 21 Sep 2017 15:41:21 +0100 Author : Robert Osfield Removed debug info Thu, 21 Sep 2017 16:33:14 +0200 Author : Laurens Voerman VNC: try to find password for host if no password for host:port is found Thu, 21 Sep 2017 14:35:31 +0100 Author : Robert Osfield Moved enabling/disabling of SDF so it's done regardless of whether a backdrop is used. Thu, 21 Sep 2017 14:32:17 +0100 Author : Robert Osfield Umproved SDF computation. Wed, 20 Sep 2017 16:51:30 +0100 Author : Robert Osfield Removed no longer used code paths Wed, 20 Sep 2017 15:51:03 +0100 Author : Robert Osfield Added support for only enabling SignedDistanceField shader path when font resolution is greater than 16. Wed, 20 Sep 2017 14:30:23 +0100 Author : Robert Osfield cleaned up exmple Wed, 20 Sep 2017 14:29:05 +0100 Author : Robert Osfield Added Text::assignStateSet() and usage to make sure the correct StateSet is setup for each combination of backdrop settings Wed, 20 Sep 2017 11:02:06 +0100 Author : Robert Osfield Updated text_sdf.frag shader to handle GLES2+ versions Wed, 20 Sep 2017 11:01:04 +0100 Author : Robert Osfield Added commented out debug output to make it easier to test in future Tue, 19 Sep 2017 17:07:59 +0100 Author : Robert Osfield Fixed OSG_PRECISION_FLOAT usage Tue, 19 Sep 2017 17:01:58 +0100 Author : Robert Osfield Fixed X11 GLES2 build Tue, 19 Sep 2017 16:35:28 +0100 Author : Robert Osfield Added osgText/shaders to support greyscale and Signed Distance Field based text Mon, 18 Sep 2017 18:09:15 +0100 Author : Robert Osfield Added support for subsititing $VAR_NAME entries in shaders to enable writing shaders that work across GLSL versions. Fri, 15 Sep 2017 15:14:19 +0100 Author : Robert Osfield Added constant sizeing vs changing label size relatve to font resolution, controlled by --constant-size and --scale-size command line options. Fri, 15 Sep 2017 12:14:37 +0300 Author : Konstantin S. Matveyev osg serializers fixed for static build, ShaderAttribute wrapper added Thu, 14 Sep 2017 15:58:38 +0100 Author : Robert Osfield Impprovide the computation of the Signed Distance Field Wed, 13 Sep 2017 11:09:56 +0100 Author : Robert Osfield Fixed of shadow Wed, 13 Sep 2017 11:08:51 +0100 Author : Robert Osfield Added --shadow-* command line variants to provide full control over the position of the text shadow Tue, 12 Sep 2017 19:13:01 +0100 Author : Robert Osfield Added setting of the Text::BackdropImplementation type to USE_SHADERS when setting up shaders Tue, 12 Sep 2017 16:03:35 +0100 Author : Robert Osfield Changed the margin computation to properly account of the Signed Distance Function data Tue, 12 Sep 2017 11:50:47 +0100 Author : Robert Osfield Shifted set up of osgText related StateSet from osgText::Font into into osg::TextBase/Text to enable grater control over state required for specific Text implementations Tue, 12 Sep 2017 09:19:33 +0200 Author : Laurens Voerman removed las_c library from FindLIBLAS.cmake, it's not used by the osg plugin. Fri, 8 Sep 2017 17:03:15 +0100 Author : Robert Osfield Added extra command line paramter and osgText::Font settings to add better control of osgText::GlyphTexture generation to support signed distance field and outline image data. Fri, 8 Sep 2017 17:02:38 +0100 Author : Robert Osfield Added setting of the original font reoslution to the created Glyph Fri, 8 Sep 2017 16:59:43 +0100 Author : Robert Osfield Add support for generating outline and signed distance field channels in a RGBA packed GlyphTexture Image. Wed, 6 Sep 2017 16:53:54 +0100 Author : Robert Osfield Added KeyHandler for toggling "SIGNED_DISTANCE_FIELD" and "OUTLINE" #pragma(tic) shader defines to control the different shader paths.Keys to press are 'd' for toggle SIGNED_DISTANCE_FIELD and 'o' for OUTLINE. Wed, 6 Sep 2017 10:40:05 +0100 Author : Robert Osfield To control the GlyphTexture Min/MagFilter values Added --min and --mag filter with LINEAR, NEAREST and LINEAR_MIPMAP_LINER options for values Mon, 4 Sep 2017 15:35:01 +0100 Author : OpenSceneGraph git repository Merge pull request #340 from mp3butcher/osganimationadd a new method on VertexInfluenceMap and the serializer for MorphTransforfHW Mon, 4 Sep 2017 15:21:26 +0100 Author : OpenSceneGraph git repository Merge pull request #344 from eligovision/OpenSceneGraph_text3dText3D dynamic changing fix Mon, 4 Sep 2017 15:20:54 +0100 Author : OpenSceneGraph git repository Merge pull request #345 from eligovision/OpenSceneGraph_example_text3dexample_osgtext3d: more options for testing Mon, 4 Sep 2017 12:04:37 +0200 Author : Julien Valentin add DSO scope in modified XXXTransformHardware serializers Mon, 4 Sep 2017 11:44:30 +0300 Author : Konstantin S. Matveyev example_osgtext3d: more options for testing Mon, 4 Sep 2017 11:29:50 +0300 Author : Konstantin S. Matveyev Text3D dynamic changing fix Mon, 4 Sep 2017 08:36:49 +0100 Author : OpenSceneGraph git repository Merge pull request #341 from scrawl/cullingactive_fixLineSegmentIntersector: respect the 'cullingActive' flag for bounding box check Mon, 4 Sep 2017 02:27:54 +0200 Author : Julien Valentin cleanup Sun, 3 Sep 2017 17:37:06 +0200 Author : Julien Valentin make preparedata skeleton independant (as it was with the Rig::buildInfluenceSet) no more divergence with master i think Sun, 3 Sep 2017 14:15:36 +0000 Author : scrawl LineSegmentIntersector: respect the 'cullingActive' flag when testing drawable bounding box Fri, 1 Sep 2017 20:03:05 +0200 Author : Julien Valentin Merge remote-tracking branch 'upstream/master' into osganimation Fri, 1 Sep 2017 19:13:01 +0200 Author : Julien Valentin update serializer with new properties Fri, 1 Sep 2017 18:08:37 +0200 Author : Julien Valentin add MorphTransformHardware serializer Fri, 1 Sep 2017 18:04:32 +0200 Author : Julien Valentin Merge remote-tracking branch 'upstream/osganimation' into osganimation Fri, 1 Sep 2017 17:48:28 +0200 Author : Julien Valentin add void InfluenceMap::removeUnexpressedBones(Skeleton &skel) const; a bit experimental but work well without further process on my test set Fri, 1 Sep 2017 16:46:38 +0100 Author : OpenSceneGraph git repository Merge pull request #338 from mp3butcher/osganimationclean and bugfix Fri, 1 Sep 2017 15:50:47 +0100 Author : OpenSceneGraph git repository Merge pull request #337 from mp3butcher/osganimbugfixfix a bug in how vertexattributes are filled Fri, 1 Sep 2017 16:23:49 +0200 Author : Julien Valentin remove utility classes BoneWeight and IndexWeight in order to avoid unnecessary symbols (but decrease a bit clarity of the code) Fri, 1 Sep 2017 15:12:10 +0200 Author : Julien Valentin cleanup Fri, 1 Sep 2017 01:43:00 +0200 Author : Julien Valentin a functional cleanup Thu, 31 Aug 2017 16:35:05 +0200 Author : Julien Valentin clean and bugfixes Thu, 31 Aug 2017 14:32:39 +0100 Author : OpenSceneGraph git repository Merge pull request #333 from mp3butcher/osganimationosgAnimation: change animationdata owner from riggeometry to rigtransformimplementations Thu, 31 Aug 2017 13:49:27 +0200 Author : Julien Valentin few cleanup Thu, 31 Aug 2017 13:30:24 +0200 Author : Julien Valentin revert s/VertexIndexWeight/IndexWeight/ Thu, 31 Aug 2017 13:29:42 +0200 Author : Julien Valentin fix example Wed, 30 Aug 2017 23:15:01 +0200 Author : Julien Valentin fix a bug in how vertexattributes are filled Wed, 30 Aug 2017 23:01:21 +0200 Author : Julien Valentin I found the damn bug in RigTransformHW Wed, 30 Aug 2017 20:36:34 +0200 Author : Julien Valentin rehabilit an init method to ensure morphing po setted before skinning po in case of rigeom source that are morphgeom Wed, 30 Aug 2017 17:43:29 +0100 Author : Robert Osfield Added --shader filename command line parsing and associated set up of osg::Program to allow shaders to be passed into example to customize rendering Wed, 30 Aug 2017 16:22:25 +0100 Author : Robert Osfield Added --interval value commnad line option for setting the Font::setGlyphInterval() to experimentation of clamping of glyph images to user specified intervals in the glyph texture Wed, 30 Aug 2017 16:21:03 +0100 Author : Robert Osfield Added osgText::Font::s/getGlyphInterval(int) and GlyphTexture::s/getGlyphInterval(int) and internal support for clmapping positions of glyph images an defined intervals, defaults to 1. Wed, 30 Aug 2017 17:07:11 +0200 Author : Julien Valentin add parameter to XXXTranformHW to customize reserved texture attribs and vertex attribs Wed, 30 Aug 2017 15:46:19 +0200 Author : Julien Valentin add a guard (if dirty) on uniform update Wed, 30 Aug 2017 15:13:54 +0200 Author : Julien Valentin readd VertexInfluence whenever it's bad named and kinda useless Wed, 30 Aug 2017 14:59:31 +0200 Author : Julien Valentin readd buildVertexInfluenceSet for backward compat Wed, 30 Aug 2017 13:21:32 +0200 Author : Julien Valentin cleanup Wed, 30 Aug 2017 12:55:45 +0200 Author : Julien Valentin uncomment normalization in rigtransformxxx Wed, 30 Aug 2017 12:09:54 +0200 Author : Julien Valentin add and comment out normlization in rigtransformXXX Wed, 30 Aug 2017 10:50:26 +0100 Author : Robert Osfield Added --margin texel_width and --margin-ration ratio to control the spacing between glyphs in the font. Wed, 30 Aug 2017 10:16:18 +0100 Author : Robert Osfield Added --test command line option that sets up all the sizes and font settings required for a useufl unit test. Wed, 30 Aug 2017 11:12:17 +0200 Author : Julien Valentin refactor: remove totally VertexInfluence (renamed BoneInfluenceList) everywhere Tue, 29 Aug 2017 17:32:14 +0100 Author : Robert Osfield Removed debug messages Tue, 29 Aug 2017 17:19:26 +0100 Author : Robert Osfield Added TextSettings struct to manage values used to set up the text. with the addition of following command line parameters: --outline // enable outlne --shadow // enable shadow --offset ratio // set the backdrop offset --text-color r g b a // set the text body color --bd-color r g b a // set the shadow/outline color --bg-color r g b a // window background color -o filename // write create subgraph to disk using specified filename Tue, 29 Aug 2017 17:32:19 +0200 Author : Julien Valentin swap priority in BonePtrWeight comparator< yeild the same VG set Tue, 29 Aug 2017 17:24:35 +0200 Author : Julien Valentin cleanup Tue, 29 Aug 2017 15:10:05 +0200 Author : Julien Valentin remove virtual qualifier for deprecated method Tue, 29 Aug 2017 14:47:56 +0200 Author : Julien Valentin add MorphTransformHW for RigGeometry sources that are MorphGeometry Tue, 29 Aug 2017 14:11:44 +0200 Author : Julien Valentin set defaut implementation at creation Tue, 29 Aug 2017 13:48:06 +0100 Author : Robert Osfield Added --ortho command line option to toggle use of orthographic camera or default perspective one Tue, 29 Aug 2017 12:21:14 +0100 Author : Robert Osfield Added argument parsing to viewer constructor Tue, 29 Aug 2017 10:51:06 +0100 Author : OpenSceneGraph git repository Merge pull request #334 from mathieu/ValidateProgramTooEarlyUnder macOS the glValidateProgram reports too many errors Tue, 29 Aug 2017 11:34:27 +0200 Author : Mathieu MARACHE Under macOS the glValidateProgram reports too many false negatives (errors) about missing buffers, etc..From the internet https://stackoverflow.com/questions/15335510/opengl-glvalidateprogram-error-on-mac-os-x : « […] The purpose of glValidateProgram is not to use it as an added "check" step after linking the program, because the GL and application state is hardly ready for actually using that program at this point, probably it's even before we get around to initializing the default framebuffer (its bitdepth, its multisample buffers, etc), and that's what the error hints at. An appropriate place to call glValidateProgram would be right before you make a real render call. » Tue, 29 Aug 2017 02:55:40 +0200 Author : Julien Valentin few refactoring and fixes Tue, 29 Aug 2017 00:34:26 +0200 Author : Julien Valentin readd the 2 methods in InfluenceMap just in case Tue, 29 Aug 2017 00:09:38 +0200 Author : Julien Valentin cleanup Tue, 29 Aug 2017 00:07:07 +0200 Author : Julien Valentin remove VertexInfluenceSet Mon, 28 Aug 2017 18:42:22 +0200 Author : Julien Valentin add 2 method to VertexInfluenceMap: normalize and cullInfluenceCountPerVertex Mon, 28 Aug 2017 18:27:23 +0200 Author : Julien Valentin comply with refactoring Mon, 28 Aug 2017 18:16:30 +0200 Author : Julien Valentin total removal of the old path Mon, 28 Aug 2017 18:02:52 +0200 Author : Julien Valentin remove default order for BoneWeight and restore old sort func (behaviors differs) Mon, 28 Aug 2017 16:28:30 +0100 Author : OpenSceneGraph git repository Merge pull request #332 from denyskoch/fix-boundingsphere-inequality-operatorFix flawed BoundingSphere inequality operator Mon, 28 Aug 2017 17:13:48 +0200 Author : Julien Valentin clean unused Mon, 28 Aug 2017 17:13:23 +0200 Author : Julien Valentin fix the example Mon, 28 Aug 2017 16:46:01 +0200 Author : Julien Valentin remove old path and add few fixes Mon, 28 Aug 2017 16:02:00 +0200 Author : Julien Valentin minor fixes removed unused Mon, 28 Aug 2017 15:59:13 +0200 Author : Julien Valentin reroot to rigtransform::prepareData old path to rig::buildvertexinfluence Mon, 28 Aug 2017 15:44:09 +0200 Author : Julien Valentin remove unused Mon, 28 Aug 2017 15:41:14 +0200 Author : Julien Valentin add prepareData for RigTransformHW Mon, 28 Aug 2017 15:40:04 +0200 Author : Julien Valentin minor changes+fix Mon, 28 Aug 2017 15:27:46 +0200 Author : Julien Valentin add default constructor for IndexWeight with invalid indices Mon, 28 Aug 2017 14:25:12 +0200 Author : Julien Valentin add prepareData for rigttransform software Mon, 28 Aug 2017 14:34:39 +0200 Author : Denys Koch Fix flawed BoundingSphere inequality operator Mon, 28 Aug 2017 14:23:15 +0200 Author : Julien Valentin few refactoring Mon, 28 Aug 2017 13:18:37 +0100 Author : OpenSceneGraph git repository Merge pull request #331 from mp3butcher/osganimationOsganimation fix a bug introduced when readding transformsoftwareMethod Mon, 28 Aug 2017 13:34:06 +0200 Author : Julien Valentin Merge remote-tracking branch 'upstream/osganimation' into osganimation Mon, 28 Aug 2017 05:22:14 +0200 Author : Julien Valentin fix a bug introduced when readding transformsoftwareMethod Mon, 28 Aug 2017 10:28:18 +0100 Author : Robert Osfield Merge branch 'osganimation' of https://github.com/mp3butcher/OpenSceneGraph into osganimation Mon, 28 Aug 2017 10:02:27 +0100 Author : OpenSceneGraph git repository Merge pull request #330 from mathieu/ProgramFixFunctionAvailableCoreProfileosg::Program::isFixedFunction() should'nt return true if fixed function unavailable Mon, 28 Aug 2017 09:44:10 +0200 Author : Mathieu MARACHE osg::Program::isFixedFunction() should'nt return true fixed function is unavailable, even if _shaderList.empty() is true Mon, 28 Aug 2017 05:22:14 +0200 Author : Julien Valentin fix a bug introduced when readding transformsoftwareMethod Mon, 28 Aug 2017 05:17:17 +0200 Author : Julien Valentin add a new prepareData method to the interface Mon, 28 Aug 2017 04:51:52 +0200 Author : Julien Valentin MorphTransformHardware using TBO added Mon, 28 Aug 2017 04:42:51 +0200 Author : Julien Valentin readd virtual void transformSoftwareMethod() for retrocompatibity Sun, 27 Aug 2017 18:08:09 +0100 Author : OpenSceneGraph git repository Merge pull request #327 from kornerr/masterFix Emscripten build errors Sun, 27 Aug 2017 18:07:21 +0100 Author : OpenSceneGraph git repository Merge pull request #328 from scrawl/group-docsFix docs for Group::addChild to match implementation Sun, 27 Aug 2017 02:14:12 +0200 Author : Julien Valentin replace VertexInfluence to BoneInfluenceList and VertexIndexWeight to IndexWeightfix in example Sun, 27 Aug 2017 00:10:52 +0200 Author : Julien Valentin remove unused code and remove a commented section Sat, 26 Aug 2017 23:05:52 +0200 Author : Julien Valentin update serializers Sat, 26 Aug 2017 20:37:10 +0200 Author : Julien Valentin refactoring and fixes only change in design: decouplage between MorphGeometry and MorphTransform technique no real change in behavior (i hope) Sat, 26 Aug 2017 19:25:00 +0300 Author : Michael Kapelko Fix Emscripten build errors Sat, 26 Aug 2017 11:30:55 +0000 Author : scrawl Fix docs for Group::addChild to match implementationChecking for duplicates is only done if ENSURE_CHILD_IS_UNIQUE is defined, but this is never defined anywhere. Fri, 25 Aug 2017 14:49:38 +0100 Author : OpenSceneGraph git repository Merge pull request #326 from emminizer/glcore3_cmakefixSETUP_EXE in CMake now uses same define for including the GLCORE head… Fri, 25 Aug 2017 14:48:42 +0100 Author : OpenSceneGraph git repository Merge pull request #325 from emminizer/msvc2015_exportfixRemoved inappropriate use of OSG_EXPORT on DefaultIndirectCommandDrawArrays and De… Fri, 25 Aug 2017 09:04:05 -0400 Author : Daniel Emminizer SETUP_EXE in CMake now uses same define for including the GLCORE headers as SETUP_LIBRARY and SETUP_PLUGIN. Fixes Windows build errors for applications. Fri, 25 Aug 2017 08:55:25 -0400 Author : Daniel Emminizer No longer using OSG_EXPORT on DefaultIndirectCommandDrawArrays and DefaultIndirectCommandDrawElements, fixing compile errors in MSVC 2015. Fri, 25 Aug 2017 10:04:40 +0100 Author : OpenSceneGraph git repository Merge pull request #324 from mp3butcher/osganimationAdd extensions Fri, 25 Aug 2017 00:19:22 +0200 Author : Julien Valentin Add extensions Thu, 24 Aug 2017 15:13:14 +0100 Author : Robert Osfield Cleaned up warnings and removed assorts. Thu, 24 Aug 2017 13:55:56 +0100 Author : OpenSceneGraph git repository Merge pull request #322 from mp3butcher/MDI7fix osggpucull to fit both new BIB and MDI Thu, 24 Aug 2017 14:15:09 +0200 Author : Julien Valentin fix osggpucull to fit both new BIB and MDI Thu, 24 Aug 2017 11:17:43 +0100 Author : Robert Osfield Bumped SO version to reflect changes in ABI Thu, 24 Aug 2017 11:08:38 +0100 Author : OpenSceneGraph git repository Merge pull request #321 from LaurensVoerman/tgaMissingColormapfix gcc/VC compile warnings, reject color mapped tga files with missing colormap. Thu, 24 Aug 2017 11:33:23 +0200 Author : Laurens Voerman fix gcc/VC compile warnings, reject color mapped tga files with missing colormap. Thu, 24 Aug 2017 10:33:44 +0100 Author : OpenSceneGraph git repository Merge pull request #320 from mp3butcher/MDI7MultiDrawIndirect Thu, 24 Aug 2017 11:26:23 +0200 Author : Julien Valentin Merge remote-tracking branch 'upstream/master' into MDI7 Thu, 24 Aug 2017 09:53:32 +0100 Author : OpenSceneGraph git repository Merge pull request #318 from mp3butcher/osganimationchange the design of BufferIndexBinding to work with BufferData instead of BufferObject +matrix transpose Thu, 24 Aug 2017 10:29:19 +0200 Author : Julien Valentin comply with osg::BufferIndexBinding new design (a miss) Wed, 23 Aug 2017 23:42:12 +0200 Author : Julien Valentin change the design of BufferIndexBinding to work with BufferData instead of BufferObject allow convenient BufferData abstraction + serialization of BufferIndexBinding Wed, 23 Aug 2017 19:06:25 +0200 Author : Julien Valentin add a transpose method for 4x4 and a transpose3x3 to transpose only orthogonal part of a mat4x4 Wed, 23 Aug 2017 15:26:07 +0100 Author : Robert Osfield Fixed underflow issue Wed, 23 Aug 2017 14:51:18 +0100 Author : Robert Osfield Fixed comparison to properly handle texture coordinates being assigned Wed, 23 Aug 2017 14:48:04 +0100 Author : OpenSceneGraph git repository Merge pull request #314 from LaurensVoerman/notify2reduce the need to reallocate the std::ostream buffer behind osg::Notify Wed, 23 Aug 2017 14:39:35 +0100 Author : Robert Osfield Warning fixes Tue, 22 Aug 2017 15:23:47 +0200 Author : Laurens Voerman reduce the need to reallocate the std::ostream buffer behind osg::Notify (causing multitreading issues) by pre-allocating 4095 bytes. Wed, 23 Aug 2017 08:54:10 +0100 Author : OpenSceneGraph git repository Merge pull request #315 from kornerr/masterFix stat64 build issue with NDK 15 by definining it as stat for Android Tue, 22 Aug 2017 22:49:56 +0300 Author : Michael Kapelko Fix stat64 build issue with NDK 15 by definining at stat for Android Tue, 22 Aug 2017 12:04:18 +0100 Author : Robert Osfield Updated ChangeLog Tue, 22 Aug 2017 09:04:49 +0100 Author : Robert Osfield Added catch for controbutors list Tue, 22 Aug 2017 11:58:49 +0100 Author : Robert Osfield Added name typo fix Tue, 22 Aug 2017 09:22:41 +0100 Author : OpenSceneGraph git repository Merge pull request #311 from eligovision/masterGeometry::compileGLObjects function VAO fix Tue, 22 Aug 2017 09:21:24 +0100 Author : OpenSceneGraph git repository Merge pull request #312 from LaurensVoerman/vnc_pluginReaderWriterVNC.cpp fix g++ warnings Mon, 21 Aug 2017 11:15:22 +0200 Author : Laurens Voerman ReaderWriterVNC.cpp fix g++ warnings Tue, 22 Aug 2017 10:12:36 +0300 Author : Konstantin S. Matveyev Geometry::compileGLObjects function VAO fix Tue, 22 Aug 2017 08:01:40 +0100 Author : OpenSceneGraph git repository Merge pull request #309 from mp3butcher/osganimationadd DrawElementTypeSimplifierVisitor constructor because default nodevisitor is TRAVERSE_NONE.. Mon, 21 Aug 2017 18:33:56 +0200 Author : Julien Valentin fix nodevisitor construction Mon, 21 Aug 2017 16:24:34 +0100 Author : Robert Osfield Revert commit 904619e219b5c045b1c8d9d923f52f80089ee24e as it was causeing build problems Mon, 21 Aug 2017 15:06:31 +0100 Author : Robert Osfield Added handling of CPACK and automatically generated package files Mon, 21 Aug 2017 11:40:45 +0100 Author : Robert Osfield Using a PR from Sando Mani for requestioning a specific GL version as a base, cleaned up formattating, made the new code paths simpler and added clean up of memory Sun, 20 Aug 2017 19:53:41 +0100 Author : OpenSceneGraph git repository Merge pull request #307 from eligovision/master[*] createTexturedQuadGeometry: fixed for GL3 spec Sun, 20 Aug 2017 19:52:31 +0100 Author : OpenSceneGraph git repository Merge pull request #308 from OpenMW/collada_valuetype_patchUse osg::Quat::value_type instead of double in collada plugin Sun, 20 Aug 2017 15:56:40 +0000 Author : scrawl Use osg::Quat::value_type instead of double in collada pluginNote that although the value_type is currently always double, using the proper typedef will open the door to implementing a float Quaternion in the future (as I have done so in my own fork) Sun, 20 Aug 2017 18:01:49 +0300 Author : konstantin.matveyev [*] createTexturedQuadGeometry: fixed for GL3 spec: GL_QUADS -> GL_TRIANGLES Sun, 20 Aug 2017 08:32:02 +0100 Author : OpenSceneGraph git repository Merge pull request #306 from AnyOldName3/targa-type-one-supportAdd support for type-1 (colour-mapped, uncompressed) targa images to … Sat, 19 Aug 2017 22:22:20 +0100 Author : AnyOldName3 Add support for type-1 (colour-mapped, uncompressed) targa images to the osgTGA plugin Sat, 19 Aug 2017 17:20:40 +0100 Author : OpenSceneGraph git repository Merge pull request #304 from eligovision/masterglClear should not be called with zero-mask in osgUtil::RenderStage::… Fri, 18 Aug 2017 16:13:16 +0100 Author : Robert Osfield Merged addition of "" around variable from 3.4 branch Fri, 18 Aug 2017 10:20:26 +0300 Author : Konstantin S. Matveyev glClear should not be called with zero-mask in osgUtil::RenderStage::drawImplementation Fri, 18 Aug 2017 08:08:28 +0100 Author : Robert Osfield Fixed iterator comparison. Thu, 17 Aug 2017 13:55:13 +0100 Author : OpenSceneGraph git repository Merge pull request #301 from LaurensVoerman/Submit_linkWithVariablesfix for visual studio trying to link "debug.lib" and "release.lib" Thu, 17 Aug 2017 10:52:59 +0100 Author : Robert Osfield Added version check for boolean, TRUE and FALSE settings Thu, 17 Aug 2017 11:44:06 +0200 Author : Laurens Voerman fix for visual studio trying to link "debug.lib" and "release.lib" Wed, 16 Aug 2017 17:51:58 +0100 Author : Robert Osfield Added remapping of CMAKE_BUILD_TYPE strings that don't have the correct case. Wed, 16 Aug 2017 14:20:00 +0100 Author : Robert Osfield Removed the GLclampd declaration and replaced its usage with GLdouble to standardize the OSG extension setup with current GL/GLES headers.Added a float fallback from osg::DepthDangeIndex to suppprt GLES. Wed, 16 Aug 2017 11:30:14 +0100 Author : OpenSceneGraph git repository Merge pull request #300 from eligovision/masterText3D character/glyph size fix Wed, 16 Aug 2017 09:04:02 +0100 Author : OpenSceneGraph git repository Merge pull request #299 from luzpaz/misc-typo-fixesmisc. typo fixes Tue, 15 Aug 2017 22:15:31 +0300 Author : konstantin.matveyev Merge remote-tracking branch 'upstream/master' Tue, 15 Aug 2017 22:11:15 +0300 Author : konstantin.matveyev Text3D character/glyph size fixed Tue, 15 Aug 2017 12:23:49 -0400 Author : luzpaz misc. typo fixesmostly non-user-facing but some doxy. Tue, 15 Aug 2017 16:35:23 +0100 Author : Robert Osfield Fixed warning Tue, 15 Aug 2017 15:42:22 +0100 Author : Uwe Woessner Extension to the PLY plugin to read files with textures. Tue, 15 Aug 2017 06:39:02 +0100 Author : OpenSceneGraph git repository Merge pull request #298 from eligovision/masterEmscripten: EGL instead of SDL2 in GLExtensions.cpp Mon, 14 Aug 2017 14:58:29 +0300 Author : konstantin.matveyev Merge remote-tracking branch 'upstream/master' Mon, 14 Aug 2017 11:19:04 +0300 Author : konstantin.matveyev Emscripten: EGL instead of SDL2 in GLExtensions.cpp Tue, 23 May 2017 16:33:16 +0100 Author : Robert Osfield Replaced local FindZLIB.cmake usage with CMake's own FindZLIB.cmake, and ZLIB_LIBRARY to ZLIB_LIBRARIES Wed, 9 Aug 2017 14:08:59 +0100 Author : OpenSceneGraph git repository Merge pull request #296 from openscenegraph/FullScreenFrom Don Burns, add use of Xinerama to ensure full screen goes across all screens. Wed, 9 Aug 2017 08:58:25 +0100 Author : Robert Osfield Disabled the building of deprecated serializations in convertity_scan Tue, 8 Aug 2017 13:35:35 +0100 Author : Anna Sokol In the attached GraphicsWindowWin32.cpp file, I changed order of the "else-if" for the TOUCHEVENTF_UP and TOUCHEVENTF_MOVE, I made it less intrusive then changing them into "if" events. I tested this on Windows 7 64-bit with a touch screen and a Windows 10 64-bit tablet.Separately in the same file, I also needed to address the fact that the close button would not react on touch so I added to the top of the "handleNativeWindowingEvent" close button handling in case of touch events. Again this was tested on the same 2 devices. Mon, 7 Aug 2017 16:32:44 +0100 Author : Robert Osfield Added link to ABI tracker Sun, 6 Aug 2017 15:30:27 +0100 Author : OpenSceneGraph git repository Merge pull request #294 from mp3butcher/MDI6add resize methods method in IndirectCommandArrays ..etc.. Sat, 5 Aug 2017 18:03:27 +0200 Author : Julien Valentin update IndirectCommandArrays interfaces and default impl to use DrawElements like semantic Wed, 2 Aug 2017 22:10:02 +0200 Author : Julien Valentin add MDI support Wed, 2 Aug 2017 21:50:25 +0200 Author : Julien Valentin add resize methods method in CommandArrays (it allows user to work without casting to the concrete class result of MDI.getCommandArray()) move getTotalDataSize in CommandArrays interfaces comply with other DrawElementsXXX removing parameters in mdi constructors and add several method ( allow use of osgUtil::DrawElementTypeSimplifer on these) Tue, 1 Aug 2017 07:54:37 +0100 Author : OpenSceneGraph git repository Merge pull request #293 from mp3butcher/MDI6fix a bug in MDI serializer Tue, 1 Aug 2017 02:18:15 +0200 Author : Julien Valentin fix a bug in MDI serializer Mon, 31 Jul 2017 13:38:18 +0100 Author : Robert Osfield Merged #pragmatic shader fix from OpenSceneGraph-3.4 branch. Mon, 31 Jul 2017 08:09:16 +0100 Author : OpenSceneGraph git repository Merge pull request #287 from mp3butcher/MDI6correct a bug and make MDI example more conservative Mon, 31 Jul 2017 03:15:03 +0200 Author : Julien Valentin fix a bug : indices pre incremented should be post Mon, 31 Jul 2017 03:08:52 +0200 Author : Julien Valentin Add arguments, command line usage and use DrawElementsUInt for classic case Mon, 31 Jul 2017 02:43:50 +0200 Author : Julien Valentin correct a bug and make it more conservative Sun, 30 Jul 2017 15:40:17 +0100 Author : OpenSceneGraph git repository Merge pull request #285 from mp3butcher/MDI6add a very simple example for mdi with basevertex Sun, 30 Jul 2017 10:15:32 +0200 Author : Julien Valentin add a very simple example for mdi with basevertex Fri, 28 Jul 2017 17:17:25 +0100 Author : Robert Osfield Updated version number, ChangeLog and AUTHORS file for 3.5.7 developer release Fri, 28 Jul 2017 14:34:59 +0100 Author : Robert Osfield Added missing break statements Fri, 28 Jul 2017 14:32:56 +0100 Author : Robert Osfield Improved readability and consistency with the rest OSG by adding/removing spaces and brackets where appropriate. Fri, 28 Jul 2017 13:30:36 +0100 Author : Robert Osfield Improved the readability and consistency with the rest of the OSG by inserting/removing spaces and line spacing. Fri, 28 Jul 2017 10:27:47 +0100 Author : OpenSceneGraph git repository Merge pull request #267 from kornerr/masterAdd osgemscripten example Fri, 28 Jul 2017 08:46:30 +0100 Author : OpenSceneGraph git repository Merge pull request #278 from mp3butcher/MDI2Mdi Thu, 27 Jul 2017 12:27:55 +0200 Author : mp3butcher set DIBO of the drawcommandarray directly in their interface constructor it makes osggpu use case lighter + drawcommandarray can't exist without a BO Thu, 27 Jul 2017 12:00:41 +0200 Author : mp3butcher Promote PrimitiveSetIndirect's VBO to a target explicited DIBO (in order to benefit from BOSet queue management) Thu, 27 Jul 2017 10:26:43 +0100 Author : OpenSceneGraph git repository Merge pull request #277 from mp3butcher/MDI2PrimitiveSetIndirect cleanup + serializers Thu, 27 Jul 2017 01:54:25 +0200 Author : mp3butcher add DrawIndirectBufferObject as State variable in order to minimize call to glBindBuffer(GL_DRAW_INDIRECT_BUFFER,X) TODO: Promote PrimitiveSetIndirect's VBO to target explicited DIBO (in order to benefit from BOSet queue management) Thu, 27 Jul 2017 01:40:04 +0200 Author : mp3butcher remove deprecated DrawIndirectBufferBinding Thu, 27 Jul 2017 01:08:37 +0200 Author : mp3butcher fix some errors during renaming and cleanup code Wed, 26 Jul 2017 23:38:20 +0200 Author : mp3butcher add untested serializers for PrimitiveSetIndirect Wed, 26 Jul 2017 23:36:55 +0200 Author : mp3butcher some renaming and harmonisations with osg metamodel convention Wed, 26 Jul 2017 20:46:09 +0100 Author : Robert Osfield Merge branch 'MDI2' of https://github.com/mp3butcher/OpenSceneGraph into MultiDrawIndirect Wed, 26 Jul 2017 20:25:41 +0200 Author : mp3butcher first commit for Indirect Draw integration in osg users will have to implement interfaces for their custom drawcommandarrays add a lot of new primitive set + few defines integration is made in osggpucull Wed, 26 Jul 2017 12:54:37 +0100 Author : Robert Osfield Replaced FindOurDCMTK.cmake usage with FindDCMTK.cmake Wed, 26 Jul 2017 12:26:38 +0100 Author : Robert Osfield Replaced local FindOurDCMTK.cmake with stock Cmake's FindDCMTK.cmake as the later is now feature complete and has full support for debug and release libraries. Tue, 25 Jul 2017 14:56:27 +0100 Author : Robert Osfield Merged MSVC static build fix from OpenSceneGraph-3.4 Mon, 17 Jul 2017 16:46:16 +0100 Author : Anna Sokol Since version 2.5.1 freetype has supported the WOFF extension format. In the attached ReaderWriterFreeType.cpp file I added the following line: supportsExtension("woff","web open font format"); Mon, 17 Jul 2017 07:53:48 +0100 Author : OpenSceneGraph git repository Merge pull request #270 from caishanli/patch-1fix StatsHandler crash on windows Mon, 3 Jul 2017 16:24:01 +0800 Author : Cai Shanli fix StatsHandler crush on windowschange static_cast to dynamic_cast to avoid type cast error Thu, 22 Jun 2017 09:44:06 +0700 Author : Michael Kapelko Add osgemscripten example Mon, 19 Jun 2017 15:55:42 +0100 Author : Robert Osfield Updated SO version number to 149 to enable uint64 object length read/writing in the .osgb format Mon, 19 Jun 2017 15:45:35 +0100 Author : Robert Osfield Added version checks for when writing out new 64bit object sizes Mon, 19 Jun 2017 15:33:52 +0100 Author : Robert Osfield Replaced long long with uint64_t Mon, 19 Jun 2017 15:25:04 +0100 Author : OpenSceneGraph git repository Merge pull request #264 from rickyviking/binaryStreamLargeBlockBinaryStreamOperator: read and write block size as long long integer Mon, 19 Jun 2017 12:04:03 +0100 Author : Robert Osfield Added ability for OSG serializers to get the file version number when writing out via the OutputStream object Mon, 19 Jun 2017 08:50:00 +0100 Author : OpenSceneGraph git repository Merge pull request #265 from cxw42/array-classnameMake Array::className() support all Array::Type values Mon, 19 Jun 2017 08:43:54 +0100 Author : OpenSceneGraph git repository Merge pull request #263 from cxw42/build-fixStill build even if CPACK_GENERATOR is undefined Mon, 19 Jun 2017 08:26:24 +0100 Author : Robert Osfield Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph Mon, 19 Jun 2017 08:12:47 +0100 Author : OpenSceneGraph git repository Merge pull request #260 from blobfish/primitiveIndexIntersections and primitive index Fri, 16 Jun 2017 09:58:32 -0400 Author : Chris White Make Array::className() support all Array::Type'sArray::className() had fallen out of date with respect to Array::Type. This commit updates it, and adds documentation and a debug message to serve as a reminder for future additions of values to Array::Type. Wed, 14 Jun 2017 16:09:40 +0200 Author : Riccardo Corsi BinaryStreamOperator: read and write block size as long long integer on 8 bytes, to accommodate arbitrarily large block size. When reading check of file version for backward compatibility. Sat, 10 Jun 2017 22:05:19 -0400 Author : cxw Still build even if CPACK_GENERATOR is undefinedWithout the quotes around `${CPACK_GENERATOR}`, Windows CMake, generating for VS2013, would exit with an error because the `STREQUAL` only had one arg. Thu, 8 Jun 2017 07:10:32 +0100 Author : OpenSceneGraph git repository Merge pull request #261 from cxw42/doxy-osguiAdded osgUI to Doxygen-generated documentation Wed, 7 Jun 2017 07:50:55 -0400 Author : Chris White Added osgUI to Doxygen-generated documentation Fri, 2 Jun 2017 15:43:54 -0400 Author : blobfish osg: KdTree: count degenerates to keep original primitive index in sync Thu, 1 Jun 2017 15:25:38 -0400 Author : blobfish osg: KdTree: encode original primitive index into _vertexIndices Tue, 30 May 2017 18:46:03 -0400 Author : blobfish osgUtil: LineSegmentIntersector: don't increment primitive index until after adding intersection Mon, 29 May 2017 12:19:08 -0400 Author : blobfish osgUtil: PolytopeIntersector: don't increment primitive index until after adding intersection Tue, 30 May 2017 18:38:25 -0400 Author : blobfish examples: osgkeyboardmouse: add primitive index to LineSegmentIntersector output Fri, 2 Jun 2017 09:29:05 +0100 Author : OpenSceneGraph git repository Merge pull request #259 from jtorresfabra/fixes_kdtreeFixes kdtree building Wed, 31 May 2017 13:30:50 +0200 Author : Jordi Fixes kdtree building Mon, 29 May 2017 12:20:31 +0100 Author : Robert Osfield Added TimeMultiplier and LoopingMode to ImageSequence .osg serializer Thu, 25 May 2017 12:38:54 +0100 Author : Robert Osfield Improved support for Text with large numbers of glyphs Thu, 25 May 2017 09:54:11 +0100 Author : Robert Osfield Build fix Thu, 25 May 2017 09:37:30 +0100 Author : Robert Osfield Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph Thu, 25 May 2017 09:37:26 +0100 Author : OpenSceneGraph git repository Merge pull request #258 from kornerr/masterAdd x86_64 architecture to iOS simulator Thu, 25 May 2017 08:56:53 +0100 Author : Robert Osfield Tidied up spacing Thu, 25 May 2017 08:48:45 +0100 Author : Robert Osfield Fixed naming of OSG_USE_DEPRECATED_API Wed, 24 May 2017 19:40:08 +0100 Author : Robert Osfield Moved OSG_USE_DEPRECATED_API from include/osg/Export to Cmake controlled include/osg/Config Wed, 24 May 2017 19:39:36 +0100 Author : Robert Osfield Replaced deprecated API usage Wed, 24 May 2017 18:34:22 +0100 Author : Robert Osfield Replaced DimensionMask naming with more appropriate PrimitiveMask nameing. Wed, 24 May 2017 16:02:29 +0100 Author : Robert Osfield Added support for PolytopeIntersector::setDimensionsMask. Wed, 24 May 2017 16:01:49 +0100 Author : Robert Osfield Aded --dim-mask mask and --dm mask command line option for setting the PolytopeIntersector::setDimensionsMask(). Wed, 24 May 2017 22:29:19 +0700 Author : Michael Kapelko Add x86_64 architecture to iOS simulator Fri, 19 May 2017 17:06:36 +0100 Author : Robert Osfield Updated ChangeLog for 3.5.6 dev release Mon, 15 May 2017 14:53:27 +0100 Author : Robert Osfield Refactored COLLADA_BUILDNAME and COLLADA_BOOST_BUILDNAME to resolve case where CMAKE_VS_PLATFORM_TOOLSET is not set. Fri, 12 May 2017 16:26:07 +0100 Author : Robert Osfield From Don Burns, add use of Xinerama to ensure full screen goes across all screens. Thu, 11 May 2017 16:32:13 +0100 Author : Robert Osfield Updated AUTHORS file for dev release Thu, 11 May 2017 16:29:45 +0100 Author : Robert Osfield Updated ChangeLog Thu, 11 May 2017 16:27:20 +0100 Author : Robert Osfield Build fix. Thu, 11 May 2017 16:10:47 +0100 Author : Robert Osfield Updated SO_VERSION to reflect API changes to KdTree Wed, 10 May 2017 09:19:29 +0100 Author : Robert Osfield Fixes/clean up of KdTree/LineSegmentIntersector/PolytopeIntersector Tue, 9 May 2017 11:33:22 +0100 Author : Robert Osfield Added --points and --lines command line options that do a very simplistic conversion of geometry primitives to points or lines respectively, used to aid testing of intersectors Tue, 9 May 2017 10:36:28 +0100 Author : Robert Osfield Added --double and --float command line options to enable toggling between double and float precision in intersectors Thu, 27 Apr 2017 19:12:16 +0100 Author : Robert Osfield Added missing header Thu, 27 Apr 2017 19:04:54 +0100 Author : Robert Osfield Introduced use of TempaltePrimitiveFunctor and TempaltePrimitiveIndexFunctor as a test of these template classes Thu, 27 Apr 2017 19:04:26 +0100 Author : Robert Osfield Improved indentation, making it consistent with the rest of the OSG headers Thu, 27 Apr 2017 19:03:05 +0100 Author : Robert Osfield Created TemplatePrimitiveIndexFunctor to enable easier handling of point, lines, triangles and quad index meshes Thu, 27 Apr 2017 16:18:27 +0100 Author : Robert Osfield Removed redudent bool parameter from TriangleFunctor::operator(Vec3, Vec3, Vec3, bool) so it's now simply TriangleFunctor::operator(Vec3, Vec3, Vec3) as the bool was always false in recently OSG versions. Thu, 27 Apr 2017 15:04:44 +0100 Author : Robert Osfield Removed old style OpenGL methods from PrimitiveFunctor classes/templates as these are no longer used or required. Fri, 21 Apr 2017 19:35:10 +0100 Author : Robert Osfield Added support for using new IntersectFunctor for non kdtree as well as kdtree PolytopeIntersector Fri, 21 Apr 2017 19:34:22 +0100 Author : Robert Osfield Added ability to pass in command line arguments to the osgkeyboardmouse viewer constructor Fri, 21 Apr 2017 16:35:55 +0100 Author : Robert Osfield Implemented the setting of all the PolytopeIntersector::Intersection values on hits detected by KdTree/Polytope intersection codes Fri, 21 Apr 2017 11:09:26 +0100 Author : Robert Osfield Moved the Polytope::contains(..) triangle test into PolytopeIntersector to enable customization and optimization. Fri, 21 Apr 2017 11:07:17 +0100 Author : Robert Osfield Added group intersection test that covers the window with 10000 tests, activated by pressing 'a'. I have added this to provide a reproducable intersection test for benchmarking. Fri, 21 Apr 2017 10:32:26 +0100 Author : Robert Osfield Added support for outputting the model, filename defaults to model.osgt, to override this use -o filename on command line, and to write the file press 'o' key. Thu, 20 Apr 2017 19:21:21 +0100 Author : Robert Osfield Implemented Polytope::contains(..) for triangle vertices and added support for using the results mask. Wed, 19 Apr 2017 18:18:46 +0100 Author : Robert Osfield Initial work on adding KdTree support for PolytopeIntersector. Wed, 19 Apr 2017 10:20:01 +0100 Author : Robert Osfield Added --kdtree command line option and associated invocation of KdTreeBuilder to enable benchmarking. Added timing stats code. Thu, 11 May 2017 14:35:50 +0100 Author : Robert Osfield Merge branch 'MultiViewAutoTransform' Wed, 10 May 2017 11:18:09 +0100 Author : OpenSceneGraph git repository Merge pull request #252 from remoe/patch-2Avoid call of SetupThreads in DatabasePager Constructor Wed, 10 May 2017 11:13:11 +0100 Author : OpenSceneGraph git repository Merge pull request #254 from tomhog/topic-gles3-iosTopic gles3 ios Wed, 10 May 2017 10:54:55 +0100 Author : OpenSceneGraph git repository Merge pull request #250 from cxw42/example-osggeometryAdded comments to make code easier to understand. Turned off lighting in examples/osggeometry Mon, 24 Apr 2017 15:55:40 -0400 Author : Chris White Added clarifying comments in examples/osggeometryPer reviewer feedback Mon, 24 Apr 2017 09:44:59 -0400 Author : Chris White Turned off lighting in examples/osggeometryThis way you can see the image and the points even if you view them close to edge-on. Mon, 8 May 2017 12:27:07 +0100 Author : Robert Osfield Addeed support for GLES shaders Thu, 4 May 2017 18:17:30 +0100 Author : Thomas Hogarth Added more plugins to iOS example, Textures now working on GLES3 (missed so if defineds) Thu, 4 May 2017 00:24:46 +0100 Author : Thomas Hogarth Added more plugins and texture shader to iOS example, fixed a couple of missed if defines for GLES3 Fri, 28 Apr 2017 16:51:34 +0200 Author : Remo E Avoid call of SetupThreads in DatabasePagerThis solves a bug with some shared library configurations. Sometimes the DatabasePager Singleton is initialised before one can call other configuration options like "setNumOfDatabaseThreadsHint". But OSG initialise it here: https://github.com/openscenegraph/OpenSceneGraph/blob/master/src/osgDB/DatabasePager.cpp#L1555 So this call is not needed?! Wed, 26 Apr 2017 17:10:58 +0100 Author : Robert Osfield Replaced dynamoc_cast with asCullStack() to improve performance of AutoTransform, screen size based LOD and PagedLOD. Wed, 26 Apr 2017 11:50:35 +0100 Author : Robert Osfield Refactored AutoTransform so that it dynamically computes the rotation, scale and matrices during the cull traversal to enable usage in multi-view, multi-threaded applications Wed, 26 Apr 2017 09:48:08 +0100 Author : Robert Osfield Added ability to create windows for each view using -w command line hint. Tue, 25 Apr 2017 20:26:26 +0100 Author : Robert Osfield Added multiple view support to osgautotransform for testing multi-views Tue, 25 Apr 2017 18:04:04 +0100 Author : Robert Osfield Added missing Node::asAutoTransform() + NodeVisitor::apply(AutoTransform&). Sat, 15 Apr 2017 00:04:51 +0300 Author : Alexander Roan GLExtenstions: fix checking of isFrameBufferObjectSupported flag for GLES2 Sun, 23 Apr 2017 21:23:14 +0100 Author : OpenSceneGraph git repository Merge pull request #249 from uhertlein/masterFixes compiler warning regarding logic vs bitwise AND Sun, 23 Apr 2017 15:36:11 +0200 Author : Ulrich Hertlein RAII memory management for macOS image loading- use std::vector instead of manual memory management - removes dead/commented code Sun, 23 Apr 2017 21:38:01 +0200 Author : Ulrich Hertlein Updates the macOS build instructions in README.md.- Removes obsolete instructions regarding x86_64 vs i386, Cocoa vs Carbon, etc - Markdown formatting changes Sun, 23 Apr 2017 11:52:05 +0200 Author : Ulrich Hertlein Fixes compiler warning regarding logic vs bitwise AND Tue, 18 Apr 2017 17:01:26 +0100 Author : Farshid Lashkari There is a small bug in how the FBX importer computes the rotation matrix for nodes. It applies the "RotationOrder" property to the local, pre, and post rotation values. However, the pre/post rotation values should always use a fixed XYZ order. The "RotationOrder" property should only apply to the local rotation value. I've attached the updated file with the fix. Tue, 18 Apr 2017 16:40:56 +0100 Author : Farshid Lashkari Modified the FBX loader to support bump, specular, and gloss maps. I've attached a zip containing the modified files. Tue, 18 Apr 2017 16:01:58 +0100 Author : Farshid Lashkari When the "ZUp" option was added to the fbx loader, it broke the previous behavior of converting to the OpenGL axis system. I'm referencing the following commit:https://github.com/openscenegraph/OpenSceneGraph/commit/c168887e5e9da4e891904d11ccac8ddd60b0362d This commit inverted the value of the "fSign" variable, but did not update the previous code that used the variable. I've attached the change that restores the original behavior when not using the "ZUp" Fri, 7 Apr 2017 17:35:58 +0100 Author : Robert Osfield Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph Fri, 7 Apr 2017 17:34:22 +0100 Author : OpenSceneGraph git repository Merge pull request #244 from LaurensVoerman/submit_osgtMissingTextureCrashfix a crash when reading an osgt file with multiple references to a missing texture. Fri, 7 Apr 2017 17:33:25 +0100 Author : OpenSceneGraph git repository Merge pull request #245 from LaurensVoerman/submit_dupeEnumremove info message about GL_LINES_ADJACENCY_EXT / GL_LINES_ADJACENCY Fri, 7 Apr 2017 15:56:32 +0200 Author : Laurens Voerman avoid INFO message about duplicate enums with and without _EXT Fri, 7 Apr 2017 15:27:56 +0200 Author : Laurens Voerman fix a crash when reading an osgt file with multiple references to a missing texture. Fri, 7 Apr 2017 07:15:30 +0100 Author : jamie robertson osgbindlesstext example fix : needed to add "viewer.realize()" before the line "viewer.getCamera()->getGraphicsContext()" in order to get a valid graphics context, before viewer.run() is called. Fri, 7 Apr 2017 07:11:57 +0100 Author : Robert Osfield Removed unneccessary EXT usage Fri, 7 Apr 2017 07:09:24 +0100 Author : Jamie Robertson VS build fix Thu, 6 Apr 2017 10:51:47 +0100 Author : Konstantin Matveyev Added dynamic update of Text3D test Wed, 5 Apr 2017 17:39:05 +0100 Author : OpenSceneGraph git repository Merge pull request #243 from mp3butcher/moreExtensionsadd Extensions Wed, 5 Apr 2017 17:37:51 +0100 Author : OpenSceneGraph git repository Merge pull request #242 from mp3butcher/LuaMatrixfew fixes for lua Matrix support.. Wed, 5 Apr 2017 18:11:50 +0200 Author : mp3butcher add Extensions Wed, 5 Apr 2017 17:59:06 +0200 Author : mp3butcher forgot a lua_pop(_lua, 16) Wed, 5 Apr 2017 17:57:08 +0200 Author : mp3butcher few fixes for Matrix support.. but getElements still fails.. Wed, 5 Apr 2017 12:01:55 +0100 Author : Torben Dannhauer Update to FindCollada.cmake to handle Visual Studio 2017 binaries Fri, 31 Mar 2017 16:26:46 +0100 Author : Robert Osfield Updated ChangeLog for dev release Thu, 30 Mar 2017 18:21:02 +0100 Author : Robert Osfield Experiment with transmitting large UDP massages Thu, 30 Mar 2017 17:02:37 +0100 Author : Robert Osfield Added --ifr-name name command line option to enable the broacaster to customize the ifreq.ifr_name Thu, 30 Mar 2017 15:23:17 +0100 Author : OpenSceneGraph git repository Merge pull request #238 from filnet/silence_thread_loggingopenthread: silence some log output Thu, 30 Mar 2017 13:21:05 +0100 Author : Robert Osfield Reordered command line parsing and replace throw with cout. Thu, 30 Mar 2017 12:55:58 +0100 Author : Robert Osfield Build fixes Thu, 30 Mar 2017 12:45:25 +0100 Author : Robert Osfield Build fix Thu, 30 Mar 2017 12:20:45 +0100 Author : Robert Osfield Added --address and --port command line parameters to osgoscdevice example Thu, 30 Mar 2017 12:18:16 +0100 Author : Robert Osfield Improved the error warning message Thu, 30 Mar 2017 11:29:53 +0200 Author : Philippe Renon openthread: silence some log output Wed, 29 Mar 2017 14:32:59 +0100 Author : OpenSceneGraph git repository Merge pull request #237 from remoe/patch-1Fix VS2013 build issue Wed, 29 Mar 2017 15:28:09 +0200 Author : Remo E Fix VS2013 build issueFix this build issue on VS2013: ``` \src\osg\State.cpp(99): fatal error C1017: invalid integer constant expression ``` I hope this works also on other platforms. Wed, 29 Mar 2017 11:38:29 +0100 Author : Robert Osfield Fix for GL3 Wed, 29 Mar 2017 11:04:03 +0100 Author : Robert Osfield Removed the build of examples as this may be causing timeout build failures Wed, 29 Mar 2017 10:02:03 +0100 Author : Robert Osfield Fixed windings Wed, 29 Mar 2017 09:27:58 +0100 Author : OpenSceneGraph git repository Merge pull request #236 from mp3butcher/ScriptBranchadd ScriptNodeCallback serializer Wed, 29 Mar 2017 09:24:12 +0100 Author : OpenSceneGraph git repository Merge pull request #235 from mp3butcher/PrimSetSerilizeradd BufferData associate as well as revisionassociate in PrimitiveSe… Wed, 29 Mar 2017 09:12:14 +0100 Author : Robert Osfield Added Texture2D include to resolve VS build issue Tue, 28 Mar 2017 22:37:34 +0200 Author : mp3butcher add ScriptNodeCallback serializer Tue, 28 Mar 2017 22:19:32 +0200 Author : mp3butcher remove spaces in the previsouly added macro Tue, 28 Mar 2017 22:14:44 +0200 Author : mp3butcher oups forgot an associaterevisions Tue, 28 Mar 2017 20:48:35 +0200 Author : mp3butcher add BufferData associate as well as revisionassociate in PrimitiveSet Seriliazer Tue, 28 Mar 2017 18:29:26 +0100 Author : Robert Osfield Added handling of large shapes Tue, 28 Mar 2017 18:03:16 +0100 Author : Robert Osfield build fix Tue, 28 Mar 2017 17:45:54 +0100 Author : Robert Osfield Fixed build Tue, 28 Mar 2017 16:15:57 +0100 Author : Robert Osfield Added StateSetManipulator to assist with QA. Tue, 28 Mar 2017 14:43:07 +0100 Author : Robert Osfield Added TextBase::getMatrix() accessor Tue, 28 Mar 2017 14:40:06 +0100 Author : Robert Osfield Fixed typo Tue, 28 Mar 2017 11:50:04 +0100 Author : Robert Osfield Updated AUTHORS.txt file and Contributors list for 3.5.6 dev release Tue, 28 Mar 2017 11:45:55 +0100 Author : Robert Osfield Quiten down debug messages Tue, 28 Mar 2017 11:45:05 +0100 Author : Robert Osfield Improved the contributor filters Tue, 28 Mar 2017 10:37:35 +0100 Author : Robert Osfield Updated ChangeLog Tue, 28 Mar 2017 10:33:02 +0100 Author : Robert Osfield Updated date Tue, 28 Mar 2017 10:17:44 +0100 Author : Robert Osfield Fixed warnings Tue, 28 Mar 2017 09:41:07 +0100 Author : Robert Osfield Fixed typo Mon, 27 Mar 2017 20:30:14 +0100 Author : Robert Osfield Fixed ac plugin's handling of rot primitive in .ac files Mon, 27 Mar 2017 20:02:33 +0100 Author : Robert Osfield Added serializers for BufferObject and BufferData Mon, 27 Mar 2017 15:05:59 +0100 Author : OpenSceneGraph git repository Merge pull request #230 from mp3butcher/commitMasteradd new serializers Mon, 27 Mar 2017 11:44:41 +0100 Author : Robert Osfield Replaced macro based selection of which shaders to use by default with DisplaySettings::setShaderHint() and OSG_SHADER=HINT=GL2|GL3|GLES2|GLES3|NONE controls Sun, 26 Mar 2017 16:26:43 +0200 Author : mp3butcher add an include to osg/geometry Sun, 26 Mar 2017 15:59:36 +0200 Author : mp3butcher add new serializers Sat, 25 Mar 2017 16:05:57 +0000 Author : Robert Osfield Restructed the marco to resolve Windows build issues Thu, 23 Mar 2017 19:36:01 +0000 Author : Robert Osfield Fixed file endings Thu, 23 Mar 2017 14:53:08 +0000 Author : Robert Osfield Added simple fallback from osg::Material::apply() when fixed function pipeline is disabled Thu, 23 Mar 2017 14:40:44 +0000 Author : Robert Osfield Fixed missing initializer for _color and assignment of color to ShapeDrawable Thu, 23 Mar 2017 11:09:49 +0000 Author : Robert Osfield First pass at default shader for GLES2,GLES3 and GL3. Thu, 23 Mar 2017 10:25:25 +0000 Author : Robert Osfield Removed no longer relevant line Thu, 23 Mar 2017 09:52:21 +0000 Author : Robert Osfield Removed hardwaring to online write inine when writing to binary files to allow inline images in asci and binary files Wed, 22 Mar 2017 17:27:05 +0000 Author : Torben Dannhauer as preparation for the upcoming 3rdParty package for Visual Studio 2017, I updated Find3rdPartyDependencies.cmake to find also the newest Freetype 2.7.1 release. Wed, 22 Mar 2017 14:20:03 +0000 Author : Robert Osfield Added TextureBuffer serializer Wed, 22 Mar 2017 10:31:45 +0000 Author : OpenSceneGraph git repository Merge pull request #225 from MPursche/add_texture2dmultisample_serializerAdded serializer for Texture2DMultisample Wed, 22 Mar 2017 10:42:13 +0100 Author : Marcel Pursche Added serializer for Texture2DMultisample Wed, 22 Mar 2017 09:43:19 +0000 Author : Robert Osfield Replaced GL_QUADS and GL_QUAD_STRIP usage with indexed GL_TRIANGLES Tue, 21 Mar 2017 17:56:39 +0000 Author : OpenSceneGraph git repository Merge pull request #221 from tomhog/topic-gles3-iosGLES3 support improvements on iOS Tue, 21 Mar 2017 15:38:52 +0000 Author : Robert Osfield Made VAO the default for GL3 builds. Improved the handling of DisplaySettings::getVertexBufferHint() values. Tue, 21 Mar 2017 15:33:13 +0000 Author : tomhog Merge branch 'master' into topic-gles3-ios Tue, 21 Mar 2017 14:43:09 +0000 Author : OpenSceneGraph git repository Merge pull request #224 from MPursche/improved_debian_packagesImproved CPack configuration for building debian packages Tue, 21 Mar 2017 13:10:45 +0000 Author : Robert Osfield Refactored GlyphTexture so that it utlizes standard osg::Texture2D/osg::Image combinations rather than locally implemented per glyph subloading. Mon, 20 Mar 2017 19:43:07 +0000 Author : Thomas Hogarth Merged origin Mon, 20 Mar 2017 19:35:01 +0000 Author : Thomas Hogarth Adusted Font shaders to use gl3 path on gles3, iphone example using inbuilt shaders Sat, 18 Mar 2017 17:35:00 +0000 Author : Thomas Hogarth Shaders now using vertex colors Sat, 18 Mar 2017 07:46:14 +0000 Author : Thomas Hogarth small compile fix for ios viewer example gles1 Sat, 18 Mar 2017 07:32:17 +0000 Author : Thomas Hogarth updated ios build instructions in readme Sat, 18 Mar 2017 06:53:32 +0000 Author : Thomas Hogarth GLES3 now working on iOS, tried to maintain support for have bother gles2 and gles3, allowed avfoundation to be added on iOS, improved iOS example cmake generation Fri, 17 Mar 2017 18:01:44 +0000 Author : Thomas Hogarth More gles3 tweaks Wed, 15 Mar 2017 01:35:58 +0000 Author : Thomas Hogarth Added conditionals for GLES3, added correct gl headers for GLES3 on iOS and Android to GL.in Mon, 20 Mar 2017 16:31:09 +0100 Author : Marcel Pursche Improved cpack configuration for building debian packages: * Added configurable maintainer * Added configurable dependencies and conflicts per package * Added post install script to run ldconfig after package is installed * Updated name of readme file in cpack configuration Mon, 20 Mar 2017 14:07:14 +0000 Author : Robert Osfield Improved support for stats, fonts and shadergen for GLES2, GLES3 and GL3 Mon, 20 Mar 2017 10:31:58 +0000 Author : Robert Osfield Added shader for GL3/GLES/GL2/GL2 Mon, 20 Mar 2017 09:25:49 +0000 Author : Robert Osfield Quited debug messages Sat, 18 Mar 2017 18:09:12 +0000 Author : Robert Osfield Removed no longer required GL3 shaders as osgText itself now provides shaders Sat, 18 Mar 2017 18:08:12 +0000 Author : Robert Osfield Added support for GL3/GLES3, GL2,GLE2 shaders to osgText::Font/Text. Sat, 18 Mar 2017 17:35:00 +0000 Author : Thomas Hogarth Shaders now using vertex colors Fri, 17 Mar 2017 19:02:54 +0000 Author : Robert Osfield Improved readability of code Fri, 17 Mar 2017 19:00:33 +0000 Author : Robert Osfield Fixed GL3 core profile and shandard shaders to work with new osgText Fri, 17 Mar 2017 14:33:56 +0000 Author : Robert Osfield Improved handling of osgText::Text with and wihout shaders Fri, 17 Mar 2017 13:11:43 +0000 Author : Robert Osfield Removed no longer supported code paths Fri, 17 Mar 2017 12:50:15 +0000 Author : Robert Osfield Introduced streamlined text rendering dispatch code. Sat, 18 Mar 2017 11:17:03 +0000 Author : OpenSceneGraph git repository Merge pull request #220 from rickyviking/addPenInputWin32Added PEN input support to GraphicsWindowWin32 with the WM_POINTER* Sat, 18 Mar 2017 07:46:14 +0000 Author : Thomas Hogarth small compile fix for ios viewer example gles1 Sat, 18 Mar 2017 07:32:17 +0000 Author : Thomas Hogarth updated ios build instructions in readme Sat, 18 Mar 2017 06:53:32 +0000 Author : Thomas Hogarth GLES3 now working on iOS, tried to maintain support for have bother gles2 and gles3, allowed avfoundation to be added on iOS, improved iOS example cmake generation Fri, 17 Mar 2017 18:01:44 +0000 Author : Thomas Hogarth More gles3 tweaks Wed, 15 Mar 2017 01:35:58 +0000 Author : Thomas Hogarth Added conditionals for GLES3, added correct gl headers for GLES3 on iOS and Android to GL.in Thu, 16 Mar 2017 15:46:51 +0000 Author : Robert Osfield Added explict call to state.applyModelViewAndProjectionUniformsIfRequired() when required for better GL3/GlES2 support. Thu, 16 Mar 2017 15:32:05 +0100 Author : Riccardo Corsi Added PEN input support to GraphicsWindowWin32 with the WM_POINTER* framework available since Windows 8. Fallback on existing WM_TOUCH implementation for actual touch inputs. Tue, 14 Mar 2017 10:43:52 +0000 Author : Robert Osfield Added experimental --shaders path into osgtext example to test out using shaders for text rendering. Mon, 13 Mar 2017 17:46:51 +0000 Author : Robert Osfield Replaced GL_QUADS usage with GL_TRIANGLES to aid portability. Mon, 13 Mar 2017 15:01:08 +0000 Author : OpenSceneGraph git repository Merge pull request #207 from LaurensVoerman/submitOpenCascadefix OpenCascade library list for use with shared libs; added list and… Mon, 13 Mar 2017 14:25:33 +0000 Author : OpenSceneGraph git repository Merge pull request #215 from LaurensVoerman/submit-SerializerParticleSubmit serializer particle Fri, 24 Feb 2017 16:34:30 +0100 Author : Laurens Voerman fix OpenCascade library list for use with shared libs; added list and options for static lib Mon, 13 Mar 2017 11:44:34 +0000 Author : Robert Osfield Added lazy state updating for vertex array object binding/unbinding Mon, 6 Mar 2017 15:56:49 +0100 Author : Laurens Voerman bugfix: read endbracket for fileversion 145 (introduced 25/8/2016) Sat, 11 Mar 2017 17:31:27 +0000 Author : OpenSceneGraph git repository Merge pull request #198 from scrawl/buildswitchAdd cmake options for disabling plugins from the build Sat, 11 Mar 2017 15:08:57 +0000 Author : OpenSceneGraph git repository Merge pull request #213 from marchelbling/bug/osg-fixesBug/osg fixes Sat, 11 Mar 2017 12:31:19 +0000 Author : Robert Osfield Build fixes Sat, 11 Mar 2017 11:58:20 +0000 Author : OpenSceneGraph git repository Merge pull request #211 from D-A-Heitbrink/masterAdded support for unsigned 64 bit ints + some code for bindless textures Sat, 11 Mar 2017 11:37:33 +0000 Author : OpenSceneGraph git repository Merge pull request #208 from LaurensVoerman/submitRWlasrewrote las plugin to read in a single pass: more speed, better precision Sat, 11 Mar 2017 11:36:31 +0000 Author : OpenSceneGraph git repository Merge pull request #206 from LaurensVoerman/submitLAScmakeallow library names liblas.lib and liblas_c.lib;fix include dirs typo… Sat, 11 Mar 2017 11:35:36 +0000 Author : OpenSceneGraph git repository Merge pull request #205 from LaurensVoerman/submitGTAcmakeGTA: use normal cmake search if PKG_CHECK_MODULES fails; fix win32 debug lnk Sat, 11 Mar 2017 11:34:56 +0000 Author : OpenSceneGraph git repository Merge pull request #204 from LaurensVoerman/submitFBX2017added FBX SDK 2017.1 and try to add apple (clang) support. Sat, 11 Mar 2017 11:34:16 +0000 Author : OpenSceneGraph git repository Merge pull request #203 from scrawl/optimizerMergeGeometryVisitor fix Fri, 10 Mar 2017 17:47:02 +0000 Author : OpenSceneGraph git repository Merge pull request #202 from nicokruithof/masterFixed typo Fri, 10 Mar 2017 17:06:04 +0000 Author : Robert Osfield Fixed handling of VAO's Text with backdrop and per vertex colours Fri, 10 Mar 2017 12:08:22 +0000 Author : Robert Osfield Improved handling of backdrops Thu, 9 Mar 2017 18:17:53 +0000 Author : Robert Osfield Improved the management of the unbinding of VBO's and EBO's Thu, 9 Mar 2017 18:16:04 +0000 Author : Robert Osfield Reordered operations to make code easier to follow Thu, 9 Mar 2017 17:48:06 +0000 Author : Robert Osfield Cleaned up VertexArrayState handling Thu, 9 Mar 2017 17:47:27 +0000 Author : Robert Osfield Improved handling of VBO/VAO's in Text3D Thu, 9 Mar 2017 17:33:38 +0000 Author : Robert Osfield Cleaned out old code paths Thu, 9 Mar 2017 17:01:33 +0000 Author : Robert Osfield Added setDataVariance(DYNAMIC) to stats text labels that are dyanmically updated. Wed, 8 Mar 2017 18:15:06 +0000 Author : Robert Osfield Improved the handling of array updates and support for VBO and VAO's. Wed, 8 Mar 2017 18:12:37 +0000 Author : Robert Osfield Improved the checks against VBO+VAO usage and cleaned up setup. Tue, 7 Mar 2017 13:35:03 +0000 Author : Robert Osfield Added --counter test Tue, 7 Mar 2017 09:13:29 +0000 Author : Robert Osfield Added --plain test to simply basic text testing Mon, 6 Mar 2017 15:33:22 +0100 Author : Laurens Voerman fix bug in osgb/osgt/osgx readerwriter causing the osgParticle-SizeInterpolator and -ColorInterpolator to dissapear Mon, 6 Mar 2017 14:37:21 +0000 Author : Robert Osfield Fixed text background tessellation Wed, 25 May 2016 13:24:15 +0200 Author : Laurens Voerman rewrote las plugin to read in a single pass: more speed, compressed file (.laz) support and better precision. Mon, 6 Mar 2017 12:54:54 +0100 Author : Marc Helbling Fix commented variable assertions in inventor writer Mon, 6 Mar 2017 12:49:06 +0100 Author : Marc Helbling Fix implicit ref_ptr conversions Mon, 6 Mar 2017 12:29:19 +0100 Author : Marc Helbling Revert bad change in 3ds reader Thu, 2 Mar 2017 11:36:33 +0000 Author : Marc Helbling Remove unused offset attribute in MergeArrayVisitor Thu, 2 Mar 2017 11:33:47 +0000 Author : Marc Helbling Add missing type for attribute merge Sat, 4 Mar 2017 17:20:54 +0000 Author : Robert Osfield Moved all vertex array set up to start of Text/Text3D::drawImplementation(). Fri, 3 Mar 2017 18:31:51 +0000 Author : Robert Osfield Implemented better handling of VertexBufferObjects and ElementBufferObjects in osgText Thu, 2 Mar 2017 17:05:24 +0000 Author : Robert Osfield Removed unneccessary mutable usage Thu, 2 Mar 2017 16:33:09 +0000 Author : Robert Osfield Updated Attribute and PrimitiveFunctor implementations Thu, 2 Mar 2017 16:11:10 +0000 Author : Robert Osfield Refactored osgText::Tex3D to use a single vertex and normal arrays and a combined set of primitive sets. Deprecated Text3D::RenderMode as it's no longer used. Thu, 2 Mar 2017 11:12:55 +0000 Author : Robert Osfield Added NEW_APPROACH code path that merges the separate GlyphGeometry arrays and primitives into a single set of arrays and primitives Wed, 1 Mar 2017 18:12:46 -0600 Author : d-a-heitbrink removed some of the hard coded options in the main funct. Wed, 1 Mar 2017 16:12:49 -0600 Author : d-a-heitbrink Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph Wed, 1 Mar 2017 15:33:19 -0600 Author : D-A-Heitbrink Add files via upload Wed, 1 Mar 2017 16:43:05 +0000 Author : Robert Osfield Merged the decoration vertices with the same vertex arrays used for text glyphs Wed, 1 Mar 2017 11:51:27 +0000 Author : Robert Osfield Replaced hardwired glDrawArrays calls with use of osg::DrawElementsUshort. Tue, 7 Feb 2017 20:24:03 +0100 Author : scrawl Update travis-ci to use the new more flexible BUILD_OSG_PLUGINS_BY_DEFAULT Tue, 7 Feb 2017 19:30:38 +0100 Author : scrawl Add CMake options to control which osgPlugins/ are built Tue, 28 Feb 2017 17:12:58 +0000 Author : Robert Osfield Removed unused member variable Tue, 28 Feb 2017 17:02:02 +0000 Author : Robert Osfield Removed old Text::GlyphQuads array code paths Tue, 28 Feb 2017 16:34:33 +0000 Author : Robert Osfield Merged the Text::GlyphQuads cooordinate arrays Mon, 27 Feb 2017 15:15:37 +0000 Author : Robert Osfield Removed old code paths Mon, 27 Feb 2017 11:53:42 +0000 Author : Robert Osfield Added option for combining the GlyphQuad::backdropcoords into the GlyphQuad::coords. Mon, 27 Feb 2017 10:47:14 +0000 Author : Robert Osfield Added StateSetManipulator to osglogo. Fri, 24 Feb 2017 18:25:16 +0000 Author : Robert Osfield Scaled back the primitives sets set up so they match the requirements of the osgText::Text accordinging to the BackdropType Fri, 24 Feb 2017 17:08:48 +0000 Author : Robert Osfield Moved glyph quad setup into dedicated method Fri, 24 Feb 2017 16:21:20 +0100 Author : Laurens Voerman allow library names liblas.lib and liblas_c.lib;fix include dirs typo; link only liblas_c in plugin. Fri, 24 Feb 2017 16:09:13 +0100 Author : Laurens Voerman use normal cmake search if PKG_CHECK_MODULES fails; fix win32 debug linking with SET(TARGET_LIBRARIES_VARS GTA_LIBRARY) Fri, 24 Feb 2017 15:54:07 +0100 Author : Laurens Voerman added FBX SDK 2017.1 and try to add apple (clang) support (not tested - I have no apple) Fri, 24 Feb 2017 11:17:22 +0000 Author : Robert Osfield Removed unused lineNumber Fri, 24 Feb 2017 11:08:15 +0000 Author : Robert Osfield Grouped GlyphQuad setup Fri, 24 Feb 2017 10:40:52 +0000 Author : Robert Osfield Fixed indentation Fri, 24 Feb 2017 10:07:01 +0000 Author : Robert Osfield Moved to use of single vector of DrawElementsUShort for backdrops and foreground text quads Fri, 24 Feb 2017 07:41:19 +0100 Author : scrawl Add missing copy of callbacks when a Transform is replaced by Group Fri, 24 Feb 2017 01:08:44 +0100 Author : scrawl Change the order of optimizations to allow for the possibility of merging Geometries that have just become siblings after the removal of redundant nodes Fri, 24 Feb 2017 01:07:24 +0100 Author : scrawl Fix unused parameter warning Fri, 24 Feb 2017 01:05:57 +0100 Author : scrawl Fix MergeGeometryVisitor to work with a Group instead of Geode Fri, 24 Feb 2017 01:00:49 +0100 Author : scrawl Use asDrawable()/asNode() over dynamic_cast in the Optimizer Thu, 23 Feb 2017 18:36:35 +0000 Author : Robert Osfield Added missing relaseGLObjects()/resizeGLObjects(). Reordered calls to make it easier to read and see patterns. Thu, 23 Feb 2017 18:14:36 +0000 Author : Robert Osfield Cleaned up types Thu, 23 Feb 2017 15:45:43 +0000 Author : Robert Osfield Restructed and unified the position computation Wed, 22 Feb 2017 14:14:03 +0000 Author : Robert Osfield Removed the old code paths Wed, 22 Feb 2017 12:41:45 +0000 Author : Robert Osfield Removed the unncessary array. Wed, 22 Feb 2017 12:07:43 +0000 Author : Robert Osfield Added the option for changing the type of the GlyphQuads::Coords Tue, 21 Feb 2017 21:55:05 +0100 Author : Nico Kruithof Fixed typoosg_ModeViewMatrix -> osg_ModelViewMatrix Tue, 21 Feb 2017 17:47:54 +0000 Author : Robert Osfield Fixed FadeText when using NEW_APPROACH Tue, 21 Feb 2017 17:07:53 +0000 Author : Robert Osfield Refactored the computation of the transforms for the osgText::Text Sat, 18 Feb 2017 10:38:31 +0000 Author : OpenSceneGraph git repository Merge pull request #201 from blobfish/moreManipSloposgManipulator: Constraint: snap_point_to_grid wants Vec3d instead of Vec3 Tue, 14 Feb 2017 23:46:27 -0500 Author : blobfish osgManipulator: Constraint: snap_point_to_grid wants Vec3d instead of Vec3 Mon, 13 Feb 2017 16:53:37 +0000 Author : Robert Osfield Added osgvolume command line option "--bg r g b a" to enable customization of the window background colour Tue, 7 Feb 2017 19:30:21 +0100 Author : scrawl Add CMake option to not build deprecated serializers Fri, 3 Feb 2017 18:03:13 +0000 Author : OpenSceneGraph git repository Merge pull request #197 from scrawl/geodefixMore fixes for Geode/Drawable handling in visitors Fri, 3 Feb 2017 18:10:37 +0100 Author : scrawl Remove seemingly redundant handling of Geode in GLObjectsVisitor Fri, 3 Feb 2017 18:01:08 +0100 Author : scrawl Fix handling of in-scenegraph Drawables in osgShadow Fri, 3 Feb 2017 17:55:32 +0100 Author : scrawl Fix handling of in-scenegraph Drawables in SmoothingVisitor, TriStripVisitor and GraphicsCostEstimator Fri, 3 Feb 2017 17:51:03 +0100 Author : scrawl Fix handling of in-scenegraph Drawables in ShaderGenVisitor Fri, 3 Feb 2017 17:48:18 +0100 Author : scrawl Fix handling of in-scenegraph Drawables in MeshOptimizers Fri, 3 Feb 2017 17:45:22 +0100 Author : scrawl Fix unused parameter warning Fri, 3 Feb 2017 17:43:42 +0100 Author : scrawl Fix handling of in-scenegraph Drawables in DrawElementTypeSimplifier Fri, 3 Feb 2017 17:42:21 +0100 Author : scrawl Remove redundant handling of Geode in DisplayRequirementsVisitor Fri, 3 Feb 2017 17:39:56 +0100 Author : scrawl Add a comment explaining some confusing code in UpdateVisitor and EventVisitor Fri, 3 Feb 2017 17:34:17 +0100 Author : scrawl Remove redundant handling of Geode in SharedStateManager Fri, 3 Feb 2017 17:33:58 +0100 Author : scrawl Fix handling of in-scenegraph drawables in osgUtil::Simplifier Fri, 3 Feb 2017 14:27:01 +0000 Author : OpenSceneGraph git repository Merge pull request #196 from LaurensVoerman/travisCIsplit travis-ci apple build into two jobs to avoid job time limit. Fri, 3 Feb 2017 10:01:15 +0100 Author : Laurens Voerman split travis-ci apple build into two jobs to avoid job time limit. Fri, 3 Feb 2017 08:50:01 +0000 Author : OpenSceneGraph git repository Merge pull request #193 from kjean667/multi_view_shared_context_fixBug fix to not crash when using shared context and adding / removing windowed views dynamically Thu, 2 Feb 2017 11:46:16 +0100 Author : Kjell Andersson Bug fix to not crash when using shared context and adding / removing windowed views dynamically. The GLExtension object is now reused instead of creating a new when allocating a state on the same ContextID. The static map that stores the GLExtensions is only reset when all references to the extension object are released. Fri, 27 Jan 2017 15:15:39 +0000 Author : OpenSceneGraph git repository Merge pull request #191 from LaurensVoerman/glExtentionsGLExtensions.cpp: Fixed a few typo's in old function names. Wed, 25 Jan 2017 17:05:56 +0100 Author : Laurens Voerman Fixed a few old function names. Check extensions trough extermination string - not by function pointer value. Added a few validContext tests to ensure no functions or isExterntionSupported bool is set for an non valid context. Remove duplicates / merge some lines. Removed "GL_APPLE_texture_2D_limited_npot" form isNonPowerOfTwoTextureMipMappedSupported. Tue, 24 Jan 2017 17:36:36 +0000 Author : Robert Osfield Fixed linking bug caused by repeated Program::addShader()/removeShader() operations invalidating the internal attach/dettech lists. Tue, 24 Jan 2017 09:27:07 +0000 Author : OpenSceneGraph git repository Merge pull request #190 from scrawl/optimizerOptimizer fixes Tue, 24 Jan 2017 09:15:26 +0000 Author : OpenSceneGraph git repository Merge pull request #189 from marchelbling/masterosgjs/gles updates Fri, 20 Jan 2017 23:02:15 +0100 Author : scrawl Remove CheckGeometryVisitor which was a no-op Fri, 20 Jan 2017 23:01:04 +0100 Author : scrawl MakeFastGeometryVisitor: fix handling of Geometries that are directly in the scene graph not attached to a Geode Fri, 20 Jan 2017 22:49:17 +0100 Author : scrawl StateVisitor: remove redundant code for Geode handling Fri, 20 Jan 2017 22:47:43 +0100 Author : scrawl TessellateVisitor: fix handling of Geometries that are directly in the scene graph not attached to a Geode Fri, 20 Jan 2017 22:43:58 +0100 Author : scrawl FlattenStaticTransformsVisitor: fix handling of Drawables that are directly in the scene graph not attached to a Geode Fri, 20 Jan 2017 21:48:45 +0100 Author : scrawl StaticObjectDetectionVisitor: make use of apply(Drawable) visitor function Fri, 20 Jan 2017 21:25:32 +0100 Author : scrawl TextureAtlasVisitor: fix handling of Drawables that are directly in the scene graph not attached to a Geode Fri, 20 Jan 2017 21:08:02 +0100 Author : scrawl TextureVisitor: remove redundant code for Geode handling Fri, 20 Jan 2017 20:58:05 +0100 Author : scrawl RemoveEmptyNodesVisitor: add missing isOperationPermissible check Fri, 20 Jan 2017 20:57:03 +0100 Author : scrawl RemoveEmptyNodesVisitor: remove redundant code for Geode handling Fri, 20 Jan 2017 17:31:09 +0000 Author : Robert Osfield Quitened down verbose debug messages Fri, 20 Jan 2017 17:24:49 +0000 Author : Robert Osfield Quitened down debug messages Fri, 20 Jan 2017 17:06:55 +0000 Author : Robert Osfield Quietened down some verbose debug messages Fri, 20 Jan 2017 15:09:26 +0100 Author : Marc Helbling Updates osgjs from sketchfab* updates uservalue serialization (avoid creating multie UserDataContainer for a same object) * removes vec4ubarray specific serialization (serialization should not enforce the previous color transformation) Fri, 20 Jan 2017 15:09:25 +0100 Author : Marc Helbling Updates gles from sketchfab* fixes bbox issue for animated scenes * fixes geometry split (perf + line/point primitive management) * removes degenerated faces Thu, 19 Jan 2017 15:56:17 +0000 Author : Robert Osfield Fixed indentation of comment Tue, 17 Jan 2017 10:52:26 +0000 Author : Robert Osfield Added public accessors Mon, 16 Jan 2017 17:18:58 +0000 Author : Robert Osfield Removed unused class Fri, 13 Jan 2017 09:57:32 -0600 Author : d-a-heitbrink missing CMakeLists Fri, 13 Jan 2017 09:56:42 -0600 Author : d-a-heitbrink Added support for Bindless texture extension, 64 bit uniforms, 64 bit buffers Added new bindless texture example Fri, 13 Jan 2017 09:33:49 -0600 Author : d-a-heitbrink added code to deal with #extension for shader, added int64 and uint64 support Sun, 8 Jan 2017 14:41:51 +0000 Author : OpenSceneGraph git repository Merge pull request #186 from hwiesmann/masterAddition of documentation for LOD and PagedLOD Sat, 7 Jan 2017 13:03:22 +0000 Author : Robert Osfield Fixed smallTile test as it was checking against <=2^14 rather than <2^16 which is more conservative than required for a ushort container Sat, 7 Jan 2017 13:54:21 +0100 Author : Hartwig Replaced tabs with spaces Sat, 7 Jan 2017 10:39:29 +0100 Author : Hartwig Merge remote-tracking branch 'origin/master' into my_master Sat, 7 Jan 2017 09:20:56 +0100 Author : Hartwig Addition of documentation for LOD and PagedLODDocumentation has been added for their default constructors. Furthermore, the consequences of different center modes have been explained. A comment regarding the setting of the radius has been fixed. Wed, 4 Jan 2017 13:22:22 +0000 Author : OpenSceneGraph git repository Merge pull request #184 from hwiesmann/masterBUG FIX - Wrong calculation of terrain normals in GeometryTechnique Wed, 4 Jan 2017 12:55:15 +0000 Author : Robert Osfield Fixed unitialized variable access to premature calling of computeMatrix(). Sun, 1 Jan 2017 16:33:37 +0100 Author : Hartwig Blending out of local functionsSome local functions are only needed for OS X compatibility. Define these functions only for OS X versions older than 10.6. Thu, 29 Dec 2016 21:43:20 +0100 Author : Hartwig BUG FIX - Wrong calculation of terrain normalsThe partial derivative for the x-coordinate has been wrongly calculated: only a single sided derivative was calculated. Fri, 23 Dec 2016 17:23:07 +0000 Author : OpenSceneGraph git repository Merge pull request #183 from rickyviking/masterAdditional info when fail to load images Fri, 23 Dec 2016 17:16:16 +0000 Author : Robert Osfield From Hartwig Wiesmann, "ScalarsToColors returns a wrong color in case a value larger max is passed to getColor" Fri, 23 Dec 2016 11:55:08 +0100 Author : Riccardo Corsi InputStream::readImage() : added info about which file failed to load when printing error message Wed, 21 Dec 2016 17:16:30 +0000 Author : OpenSceneGraph git repository Merge pull request #182 from LaurensVoerman/fileStatsadded some info about dynamic drawables and transparent bin to Statistics Wed, 21 Dec 2016 17:02:05 +0000 Author : Robert Osfield From Torben Dannhauer, build updates for NVTT. Wed, 21 Dec 2016 16:29:38 +0000 Author : Robert Osfield From Torben Dannahauer, updates to track changes to Winddows 3rd party package Wed, 21 Dec 2016 16:11:39 +0000 Author : Robert Osfield Refactored the minimum width of bars. Wed, 21 Dec 2016 16:04:24 +0000 Author : OpenSceneGraph git repository Merge pull request #180 from LaurensVoerman/stats_barsimprove stats display Wed, 25 May 2016 13:30:50 +0200 Author : Laurens Voerman added some info about dynamic drawables and transparent bin to Statistics Wed, 21 Dec 2016 15:55:50 +0000 Author : OpenSceneGraph git repository Merge pull request #181 from LaurensVoerman/DebugFPSDEBUG FPS counter in red and named "DEBUG Frame Rate:" Wed, 21 Dec 2016 15:54:20 +0000 Author : OpenSceneGraph git repository Merge pull request #179 from LaurensVoerman/ktx_write_supportktx write support Wed, 21 Dec 2016 15:33:02 +0000 Author : Robert Osfield From Torben Dannhauer, "When compiling OSG with DCMTK on windows, it throws an compiler error due to a missing ws2_32.lib in the linker settings." Wed, 21 Dec 2016 15:13:49 +0000 Author : Robert Osfield From Vladimir Chebaev, "Dynamic linking of fbx plugin and fbx SDK" Wed, 21 Dec 2016 14:19:38 +0100 Author : Laurens Voerman DEBUG FPS counter in red and named "DEBUG Frame Rate:" Tue, 11 Oct 2016 17:02:43 +0200 Author : Laurens Voerman improve stats display Wed, 25 May 2016 13:25:44 +0200 Author : Laurens Voerman ktx write support Wed, 21 Dec 2016 13:46:18 +0000 Author : Robert Osfield Removed debug output Wed, 21 Dec 2016 11:40:16 +0000 Author : Robert Osfield From Andreas Ekstrand, "he attached ESRIShape.cpp contains a small fix in parsing of PointZ features, now correctly comparing with header content length which is defined in 16-bit words.This should have been fixed in my old submission from 2012 but was probably overlooked due to an alternative way of comparing to a fix number for this feature type. Without this fix, the plugin will only read one PointZ feature even if multiple features exist." Wed, 21 Dec 2016 11:02:29 +0000 Author : Robert Osfield Changed Program::apply() to Program::compileGLObjects() to avoid the Program::apply() setting of setLastAppliedProgramObjects for affect current state. Wed, 21 Dec 2016 09:10:50 +0000 Author : Robert Osfield Added StateSet::setGlobalDefaults() to fix bug when osgViewer has stats on but no scene graph assigned Mon, 31 Oct 2016 16:11:20 +0000 Author : Robert Osfield Fixed handling of #define's that are used as functions Tue, 13 Dec 2016 11:42:57 +0000 Author : OpenSceneGraph git repository Merge pull request #174 from etlapale/obj_plugin_improvementsImprovements for the OBJ writer plugin Tue, 13 Dec 2016 11:56:06 +0100 Author : Émilien Tlapale Uncommenting missing argument. Tue, 13 Dec 2016 10:47:12 +0000 Author : Robert Osfield Added header Tue, 13 Dec 2016 10:58:46 +0100 Author : Émilien Tlapale Adding configurable precision for OBJ output. Tue, 13 Dec 2016 10:57:42 +0100 Author : Émilien Tlapale Support for stateset in groups for OBJ. Mon, 12 Dec 2016 10:23:50 +0000 Author : Robert Osfield Added create angle of 20 degrees to SmoothingVisitor to improve visual quality. Added geometry.setUseVertexBufferObjects(true) to geometry set up for improved performance. Refactored the color set up so that by default it assigns just a single color to the geometry to improve performance. Fri, 9 Dec 2016 17:52:17 +0000 Author : Robert Osfield Renamed the iges plugin to OpenCASCADE to make it clearer what the plugin is, and added file extension aliases for stp, step, igs and iges to the OpenCASCADE plugin to enable automatic loading. Fri, 9 Dec 2016 17:29:55 +0000 Author : Robert Osfield Added support for reading from STEP (.stp) files. Fri, 9 Dec 2016 17:29:20 +0000 Author : Robert Osfield Refined the list of libraries to link Fri, 9 Dec 2016 17:27:17 +0000 Author : Robert Osfield Converted to unix line endings Thu, 8 Dec 2016 17:52:46 +0000 Author : OpenSceneGraph git repository Merge pull request #172 from blobfish/manipSloposgManiputor: TranslateInLineCommand wants Vec3d instead of Vec3 Wed, 7 Dec 2016 17:20:23 -0500 Author : blobfish osgManiputor: TranslateInLineCommand wants Vec3d instead of Vec3 Mon, 5 Dec 2016 10:33:23 +0000 Author : OpenSceneGraph git repository Merge pull request #170 from crubel/PThreadPullRequestFixed compile time errors that occur when you have ALLOW_PRIORITY_SCHEDULING defined Fri, 2 Dec 2016 08:07:15 -0500 Author : Curtis Rubel Missed the printf define at the top of this file.Put back this: #ifdef DEBUG # define DPRINTF(arg) printf arg #else # define DPRINTF(arg) #endif I think that should do it now... Fri, 2 Dec 2016 08:05:30 -0500 Author : Curtis Rubel Removed all OSGNOTIFY messages and put back all printf output as requested.Sorry about this mixup, I was not aware that this particular directory was to be considered a separate project and must not rely on any dependencies from the rest of the OSG project. All OSGNOTIFY messages have been removed and the previous printf statements have been put back. Fri, 2 Dec 2016 08:04:10 +0000 Author : OpenSceneGraph git repository Merge pull request #171 from aluaces/iges_fixSeveral tweaks for compiling OpenCascade plugin: Thu, 1 Dec 2016 23:39:56 +0100 Author : Alberto Luaces Several tweaks for compiling OpenCascade plugin:* Remove unneeded XSDRAW.hxx header inclusion. * Define WNT only on windows, because it is used for choosing between win threads or pthreads. Thu, 1 Dec 2016 16:36:20 -0500 Author : Curtis Rubel Fixed compile time errors that occur when you have ALLOW_PRIORITY_SCHEDULING defined. I also replaced all printf's with OSGNOTIFY to get this more inline with the rest of OSG CGR Wed, 30 Nov 2016 20:10:22 +0000 Author : Robert Osfield Teaking FindOpenCascade to help with linking of iges plugin Wed, 30 Nov 2016 19:11:15 +0000 Author : Robert Osfield From Abhishek Bansal, with ammendemts by Robet Osfield to get working with recent OpenCascade and usng CMake. Wed, 30 Nov 2016 17:15:06 +0000 Author : Robert Osfield Added GL_EXT_texture_border_clamp support for GLES Sat, 26 Nov 2016 11:45:07 +0000 Author : OpenSceneGraph git repository Merge pull request #169 from scrawl/stateset-fixFix flow control issue in StateSet::compileGLObjects Sat, 26 Nov 2016 01:09:13 +0100 Author : scrawl Fix typo in StateSet::compileGLObjects, causing compilation of attributes to not be executed unless checkForGLErrors is true. Wed, 23 Nov 2016 18:19:59 +0000 Author : Robert Osfield Fixed crash in handling of an osg::Callback attached to a Drawable as update callback. Added handling of osg::Callback when attavhed to a Drawable as a cull callback. Tue, 15 Nov 2016 17:36:21 +0000 Author : Robert Osfield Added guards against division by zero Tue, 15 Nov 2016 14:52:59 +0000 Author : Robert Osfield Added usage of GLExtensions::debugObjectLabel() to GLBufferObject::compile() Tue, 15 Nov 2016 14:35:47 +0000 Author : Robert Osfield Added support for glObjectLabel debugging Tue, 15 Nov 2016 11:16:53 +0000 Author : Robert Osfield Merge branch 'fredowski-master' Tue, 15 Nov 2016 11:16:03 +0000 Author : Robert Osfield Improved the indentation and case to make the code more consistent and readable Tue, 15 Nov 2016 11:13:37 +0000 Author : Robert Osfield Merge branch 'master' of https://github.com/fredowski/OpenSceneGraph into fredowski-master Tue, 15 Nov 2016 11:01:41 +0000 Author : Robert Osfield Enabled sharing of main threads processor affinity to the next required thread for CullDrawThreadPerCamera and CullThreadPerCameraDrawThreadPerContext Tue, 15 Nov 2016 10:41:12 +0000 Author : OpenSceneGraph git repository Merge pull request #156 from LaurensVoerman/Affinity2unlock cpu's 32-63 on 64 bit windows Tue, 15 Nov 2016 09:47:48 +0000 Author : Robert Osfield Removed todo that is not required Tue, 15 Nov 2016 09:29:09 +0000 Author : Robert Osfield Reduced public documentation generation to just the public headers Tue, 15 Nov 2016 09:28:25 +0000 Author : OpenSceneGraph git repository Merge pull request #164 from CodeDocs/codedocsUse CodeDocs for Doxygen documentation Tue, 15 Nov 2016 08:57:24 +0000 Author : Robert Osfield To avoid noise in documentation replaced nested namespaced enum with enum with FILE_COPY_ wording prefixed into enum values. Tue, 15 Nov 2016 08:37:05 +0000 Author : Robert Osfield Fixed doxygen warnings Mon, 14 Nov 2016 18:01:22 +0000 Author : Robert Osfield Added usage of osg::ConfigureBufferObjectsVisitor to correct for incoherent buffer oject set up due to the adhoc way that the OpenFlight plugin sets up osg::Geometry. Mon, 14 Nov 2016 17:59:25 +0000 Author : Robert Osfield Added osg::Geometry::configureBufferObjects() and ConfigureBufferObjectsVisitor visitor to help with setting up buffer objects in a coherent fashion. Mon, 14 Nov 2016 11:59:47 +0000 Author : Robert Osfield Added more flexibility into the State::checkGLErrors() method, allowing calling code to pass in two strings. Improved the StateSet::compileGLObjects() usage of checkGLErrors() to make the warning reports more meaningful. Fri, 11 Nov 2016 17:16:40 +0000 Author : Robert Osfield Added Dragger::applyAppropriateFrontFace(StateSet*) to make it easy to handle inverted matrices by toggling the FrontFace to sure the correct face is visible. Fri, 11 Nov 2016 13:54:15 +0000 Author : Robert Osfield Fixed handling of Locator's with negative extents Wed, 2 Nov 2016 20:56:04 -0400 Author : Paul Novotny Use CodeDocs for Doxygen documentationAdds a configuration file (.codedocs) for building the Doxygen documentation using CodeDocs.xyz. Also, adds a badge to the README.md to link to the documentation. Mon, 24 Oct 2016 19:54:43 +0200 Author : Friedrich Beckmann added alternative to middle-mouse button in manipulatorI added CTRL + RIGHT-MOUSE-CLICK to the standard manipulator as an alternative to MIDDLE-MOUSE-CLICK because a 3 Button Mouse not always available, e.g. on MacOS. I tested this with the osgAtlasSimbicon example. Thu, 20 Oct 2016 09:59:26 +0100 Author : Robert Osfield Moved shader file loading to a help function Thu, 20 Oct 2016 09:46:47 +0100 Author : Robert Osfield Fixed shader filename Wed, 19 Oct 2016 20:26:26 +0100 Author : Robert Osfield Added osgshaderpipeline example that will server as a testbed for automatically mapping fixed function pipeline to shaders Mon, 17 Oct 2016 16:36:42 +0100 Author : OpenSceneGraph git repository Merge pull request #159 from LaurensVoerman/Affinity3bre-assign thread affinity at the end of setThreadingModel() Mon, 17 Oct 2016 09:50:48 +0200 Author : Laurens Voerman re-assign thread affinity at the end of setThreadingModel() Fri, 14 Oct 2016 18:00:40 +0100 Author : Robert Osfield Added _color copy to the copy constructor Fri, 14 Oct 2016 17:19:50 +0200 Author : Laurens Voerman unlock cpu's 32-63 on 64 bit windows Fri, 14 Oct 2016 11:06:31 +0100 Author : Robert Osfield Added a dedicated FindEGL.cmake script to help with locating the EGL.so library and header Thu, 13 Oct 2016 17:43:29 +0100 Author : Robert Osfield Bumped OpenThreads version numbers to reflect changes in ABI Wed, 12 Oct 2016 18:00:05 +0100 Author : Robert Osfield Fixed GLES build due to lack of GLclampd Wed, 12 Oct 2016 17:23:19 +0100 Author : Robert Osfield Changed appending of \n to be to the version line. Wed, 12 Oct 2016 16:10:40 +0100 Author : Robert Osfield Added OES variants of vertex array object functions Wed, 12 Oct 2016 13:41:57 +0100 Author : OpenSceneGraph git repository Merge pull request #155 from LaurensVoerman/Texture0add #define GL_TEXTURE0 for windows users previously provided by GLBeginEndAdapter Wed, 12 Oct 2016 13:29:58 +0200 Author : Laurens Voerman add #define GL_TEXTURE0 for windows users previously provided by GLBeginEndAdapter Wed, 12 Oct 2016 10:08:56 +0100 Author : Robert Osfield Altered the configureAffinity() scheme so that it places threads preferentially on even based number processors first, which should work better in case the processors available have hyper-threading Wed, 12 Oct 2016 09:09:37 +0100 Author : Robert Osfield Updated version number to 3.5.6 and SO version to 146 after VAO merge Tue, 11 Oct 2016 20:11:39 +0100 Author : Robert Osfield Added VAO support to osgTerrain::GeometryPool Tue, 11 Oct 2016 20:11:24 +0100 Author : Robert Osfield Removed unneccessary includes Tue, 11 Oct 2016 15:14:14 +0100 Author : Robert Osfield Renamed ArrayDispatchers to AttributeDispatchers to better reflect it's role Mon, 10 Oct 2016 20:49:19 +0100 Author : Robert Osfield Streamlined the dispatch and activation of attribute dispatchers Mon, 10 Oct 2016 16:29:21 +0100 Author : Robert Osfield Removed unused vertex and texcoord array dispatchers Sat, 24 Sep 2016 17:57:58 +0200 Author : Fabian Wiesel VAO id is a GLuint Fri, 23 Sep 2016 21:00:40 +0200 Author : Fabian Wiesel Missed rename in VertexAttribArrayDispatchThe variable array is by initialisation a null-pointer, new_array is the new array Mon, 5 Sep 2016 16:06:52 +0100 Author : Robert Osfield Fixed build errors when OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION to OFF Mon, 5 Sep 2016 14:17:40 +0100 Author : Robert Osfield Fixed warnings Fri, 2 Sep 2016 19:26:20 +0100 Author : Robert Osfield Removed unneccessary parameter Fri, 2 Sep 2016 17:15:14 +0100 Author : Robert Osfield Removed GLBeginEndAdapter as it is no longer needed Fri, 2 Sep 2016 17:01:25 +0100 Author : Robert Osfield Refactored osgText so that it no longer uses GLBeginEndAdapter Fri, 2 Sep 2016 17:00:44 +0100 Author : Robert Osfield Added --simple command line option and accompanying code to create a very simple text object for basic testing of osgText Fri, 2 Sep 2016 17:00:00 +0100 Author : Robert Osfield Added ApplyTextureModeProxy for temporarily applying a texture mode Fri, 2 Sep 2016 14:22:47 +0100 Author : Robert Osfield Refactored Text3D so that it no longer depends upon GLBeginEndAdapter Fri, 2 Sep 2016 14:20:17 +0100 Author : Robert Osfield Added State::ApplyModeProxy to help with temporarily applying a mode Thu, 1 Sep 2016 17:26:35 +0100 Author : Robert Osfield Removed no longer relevant comment Thu, 1 Sep 2016 17:26:26 +0100 Author : Robert Osfield Added missing export Thu, 1 Sep 2016 17:14:03 +0100 Author : Robert Osfield Refactored osgParticle so that it natives support vertex arrays, vertex buffer objects and vertex array objects Thu, 1 Sep 2016 17:01:58 +0100 Author : Robert Osfield Added osg::convertToRGBA8(Vec4f) convenience function Thu, 1 Sep 2016 14:42:58 +0100 Author : Robert Osfield Added explict setup of the stats graphing geometry so that it's VertexBufferObject is intialized to the correct size to prevent any need for later resizing Thu, 1 Sep 2016 14:41:17 +0100 Author : Robert Osfield Improved handling of the BufferObject::Profile::_size, utilizing it's intial value when it is non zero and larger than the arrays assigned to it. Thu, 1 Sep 2016 14:38:16 +0100 Author : Robert Osfield Fixed VertexArrayState::bind*BufferObject(..) methods so they correctly handle dirtied buffer objects Thu, 1 Sep 2016 14:36:24 +0100 Author : Robert Osfield Fixed typo in comment Thu, 1 Sep 2016 14:35:13 +0100 Author : Robert Osfield Fixed typo in comment Thu, 1 Sep 2016 14:34:00 +0100 Author : Robert Osfield Added check against Array::Binding to decide whether to assign a VertexBufferObject to an array or not, only assigning it when Binding is BIND_PER_VERTEX Fri, 26 Aug 2016 19:48:32 +0100 Author : Robert Osfield Beginings of refactoring ParticleSystem so that it does uses vertex arrays rather than GLBeginEndAdapter Fri, 26 Aug 2016 15:09:46 +0100 Author : Robert Osfield Added OSG_EXPORT Thu, 25 Aug 2016 17:04:21 +0100 Author : Robert Osfield Added command line parser to osgparticle examples viewer setup to make it easier to position window Thu, 25 Aug 2016 16:14:53 +0100 Author : Robert Osfield Removed redundent use of Geode to decorate the ParticleSystem Thu, 25 Aug 2016 16:14:06 +0100 Author : Robert Osfield Fixed line endings Thu, 25 Aug 2016 15:27:16 +0100 Author : Robert Osfield Made ordering of case clearer Thu, 25 Aug 2016 15:13:36 +0100 Author : Robert Osfield Removed Particle::Shape support for QUAD_TRIANGLESTRIP, HEXAGON, USER as these are unlikely to be used as their implementation prevents refactoring to use vertex array code paths Thu, 25 Aug 2016 11:32:00 +0100 Author : Robert Osfield Refactored ImpostorSprite so that it no longer uses GLBeginEndAdapter Thu, 25 Aug 2016 11:05:30 +0100 Author : Robert Osfield Added back in the osgimpostor example, cleaning up so that it no longer has any deprecated paths and adds stats and file output for debug purposes Thu, 25 Aug 2016 10:35:01 +0100 Author : Robert Osfield Removed commented out debug message Thu, 25 Aug 2016 10:28:37 +0100 Author : Robert Osfield Refactored osgSim::SphereSegment so that it no longer uses GLBeginEndAdapter Thu, 25 Aug 2016 10:25:49 +0100 Author : Robert Osfield Added AdjustSphereSegmentCallback to provide '<' and '>' key controls over the azim and elev range of the sphere segment Wed, 24 Aug 2016 20:09:52 +0100 Author : Robert Osfield Added StatsHandler to check performance Tue, 23 Aug 2016 11:21:49 +0100 Author : Robert Osfield Removed unused header Tue, 23 Aug 2016 11:09:24 +0100 Author : Robert Osfield Replaced old Shape to Geometry conversion code as new convinience methods in include/osg/Shape provide these features Tue, 23 Aug 2016 11:08:25 +0100 Author : Robert Osfield Added osg::convertShapeToGeometry(...) convinience functions for creating osg::Geometry from osg::Shape descriptions. Wed, 17 Aug 2016 21:34:32 +0100 Author : Robert Osfield Refactored ShapeDrawable so that it is subclassed from osg::Geometry rather than osg::Drawable.Created a BuildShapeGeometryVisitor visitor that can create osg::Geometry for osg::Shape objects Tue, 16 Aug 2016 16:51:41 +0100 Author : Robert Osfield Fixed crash when using vertex attribute arrays Tue, 16 Aug 2016 15:33:54 +0100 Author : Robert Osfield Added support for interleaved arrays Tue, 16 Aug 2016 11:23:29 +0100 Author : Robert Osfield Removed no longer used member variables Tue, 16 Aug 2016 11:11:24 +0100 Author : Robert Osfield Removed no longer used data structures Tue, 16 Aug 2016 10:51:56 +0100 Author : Robert Osfield Moved FOG_COORD and SECONDARY_COLOR #define's from State header into VertexArrayState.cpp Tue, 16 Aug 2016 10:01:38 +0100 Author : Robert Osfield Replaced osg::State:set*Pointer() calls with VertexArrayState::set*Array() calls Mon, 15 Aug 2016 18:17:35 +0100 Author : Robert Osfield Added check against State::useVertexBufferObjects(..) so that Display Lists are only used when VBO is OFF. Mon, 15 Aug 2016 11:45:58 +0100 Author : Robert Osfield Added automatic assignment of _markerObject to CompileSet. Fri, 12 Aug 2016 18:44:38 +0100 Author : Robert Osfield Restructred the enabling of vertex array object support to allow one to set enable the default via osg::State.Added OSG_VERTEX_BUFFER_HINT env var to osg::DisplaySettings with VERTEX_BUFFER_OBJECT/VBO, VERTEX_ARRAY_OBJECT/VAO and NO_PREFERENCE to allow one to foce on VBO or VAO usage. Restructred BufferObject assigned in osg::Geometry Added Fri, 12 Aug 2016 18:42:33 +0100 Author : Robert Osfield Cleaned up set up of osg::Geometry for stats Mon, 8 Aug 2016 18:30:20 +0100 Author : Robert Osfield Removed unncessary checks Mon, 8 Aug 2016 17:57:20 +0100 Author : Robert Osfield Streamlined State::_is*Supported variables Mon, 8 Aug 2016 15:08:07 +0100 Author : Robert Osfield Build fixes when compiling wuth CMake options OPENGL_PROFILE set to GLCORE Fri, 5 Aug 2016 23:04:03 +0200 Author : Mathieu MARACHE remove a warning when compiling with GL3 core profile and macOS Fri, 5 Aug 2016 23:01:15 +0200 Author : Mathieu MARACHE compilation fixes when no OSG_GL_DISPLAYLISTS_AVAILABLE Fri, 5 Aug 2016 23:00:47 +0200 Author : Mathieu MARACHE compilation fixes when no OSG_GL_FIXED_FUNCTION_AVAILABLE Fri, 5 Aug 2016 21:59:34 +0100 Author : Robert Osfield Removed deprecated code paths and moved implementations into headers Fri, 5 Aug 2016 12:51:40 +0100 Author : Robert Osfield Refactored the VertexArrayState's handling of vertex attribute aliasing Thu, 4 Aug 2016 22:00:58 +0100 Author : Robert Osfield Moved implementations from .cpp's to headers as inline methods to improve performance. Thu, 4 Aug 2016 17:51:45 +0100 Author : Robert Osfield Improved naming of createVertexArrayState(..) method Thu, 4 Aug 2016 17:15:29 +0100 Author : Robert Osfield Removed resetting of the pointer state. Thu, 4 Aug 2016 15:33:02 +0100 Author : Robert Osfield Added State::useVertexArrayObject() member to streamline toggling on/off of VAO usage Wed, 3 Aug 2016 20:12:20 +0100 Author : Robert Osfield Added support for clean up Vertex Array Objects Wed, 3 Aug 2016 10:35:51 +0100 Author : Robert Osfield Added intialization of the VAO in Geometry::compileGLObjects() and refined the invocation of updates to the VAO Tue, 2 Aug 2016 12:28:05 +0100 Author : Robert Osfield Added lazy setting of arrays for osg::Geometry using vertex_array_object Sat, 23 Jul 2016 16:33:39 +0100 Author : Robert Osfield Implemented lighter weight setting of the CurrentVertexArrayState and introduced GlobalVertexArrayState. Sat, 23 Jul 2016 15:02:08 +0100 Author : Robert Osfield Implemented a different approach to vertex array object support to enable creation of a single global vertex array object as well as provide individual vertex array objects per Drawable when required. Mon, 18 Jul 2016 20:09:22 +0100 Author : Robert Osfield Added ability to initializer GL vertex array object id with Geometry::compileGLObjects(). Improved the handling of buffer object state when not using VAO's Fri, 15 Jul 2016 15:41:43 +0100 Author : Robert Osfield Experimental support for OpenGL Vertex Array Object Tue, 11 Oct 2016 11:02:20 +0100 Author : Torben Dannhauer From Torben Dannhauer, added search for new libcurl and libtiff names Mon, 10 Oct 2016 17:38:24 +0100 Author : OpenSceneGraph git repository Merge pull request #153 from scrawl/typo-fixFix typo in processor affinity API Mon, 10 Oct 2016 18:02:38 +0200 Author : scrawl Fix typo in processor affinity API Mon, 10 Oct 2016 11:21:28 +0100 Author : Robert Osfield From Torben Dannhauer, added freetype27 (2.7) to search list Sat, 8 Oct 2016 15:58:33 +0100 Author : Robert Osfield Fixed crash associated with setting the affinity on a null pointer Fri, 7 Oct 2016 19:11:01 +0100 Author : Robert Osfield Updated AUTHORS for 3.5.5 Fri, 7 Oct 2016 19:10:24 +0100 Author : Robert Osfield Updated ChangeLog Fri, 7 Oct 2016 17:05:58 +0100 Author : OpenSceneGraph git repository Merge pull request #152 from aluaces/spelling2Some spelling fixes in comments. Fri, 7 Oct 2016 16:55:35 +0100 Author : Robert Osfield Updated ChangeLog for release Fri, 7 Oct 2016 16:54:36 +0100 Author : OpenSceneGraph git repository Merge pull request #151 from LaurensVoerman/pdbInstallfix error on pdb files building the install target in visual studio Thu, 6 Oct 2016 17:15:25 +0200 Author : Laurens Voerman remove CMAKE_BUILD_TYPE STREQUAL "Release" (cmake configure time varable) to select pdb install - select CONFIGURATIONS RelWithDebInfo Debug Fri, 7 Oct 2016 16:15:28 +0100 Author : OpenSceneGraph git repository Merge pull request #150 from LaurensVoerman/Readmeosg now requires cmake 2.8.0 Fri, 7 Oct 2016 15:58:11 +0100 Author : Robert Osfield Updated ChangeLog Fri, 7 Oct 2016 15:57:01 +0100 Author : Robert Osfield Restructed how CPU affinity is set to fix build problems when local pthreads doesn't support setting affinity Fri, 7 Oct 2016 15:40:50 +0100 Author : Robert Osfield UPdated ChangeLog for release Fri, 7 Oct 2016 16:36:40 +0200 Author : Laurens Voerman osg now requires cmake 2.8.0 Fri, 7 Oct 2016 14:51:39 +0100 Author : Robert Osfield Fixed VisualStudio warningAdded local implementation of asEventHandler() Fri, 7 Oct 2016 14:45:33 +0100 Author : Robert Osfield Fixed VisualStudio warningAdded local implementation of asEventHandler() Fri, 7 Oct 2016 13:57:42 +0100 Author : Robert Osfield Updated README for 3.5.5 Fri, 7 Oct 2016 13:56:46 +0100 Author : Robert Osfield Update ChangeLog and AUTHORS file for 3.5.5 dev release Thu, 29 Sep 2016 14:56:54 +0100 Author : Robert Osfield Fixed extension string typo Thu, 29 Sep 2016 14:53:10 +0100 Author : Robert Osfield Added support for checking GL_OES_texture_npot Wed, 28 Sep 2016 20:30:12 +0100 Author : Robert Osfield Added ViewerBase::s/getUseConfigureAffinity(bool flag) to allow users to toggle whether they want the ViewerBase::setUpThreads() method to call ViewerBase::configureAffinity() or not. Wed, 28 Sep 2016 18:44:58 +0100 Author : Robert Osfield Introduced OpenThreads::Affinity support into osg::Camera, osg::GraphicsContext::Traitse, osgDB::DatabasePager and osgViewer::ViewerBase/Viewer/CompositeViewer.Added ViewerBase::configureAffinity() to help with the setting of the affinity of camera, graphics context and pager threads Tue, 27 Sep 2016 17:52:41 +0100 Author : Robert Osfield Added DatabasePager::setProcessorAffinity(const OpenThreads::Affinity&) support to allow the database threads to have affinity to user controls sets of CPU cores. Tue, 27 Sep 2016 16:18:53 +0100 Author : Robert Osfield Implemented setting thread affinity for threads that aren't OpenThreads threads, such as main thread Tue, 27 Sep 2016 15:34:10 +0100 Author : Robert Osfield Added missing export Tue, 27 Sep 2016 14:38:33 +0100 Author : Robert Osfield First cut of OpenThrads::Affinity support for Win32. Tue, 27 Sep 2016 10:50:38 +0100 Author : Robert Osfield Introduced new OpenThreads::Affinity class to wrap up specification of thread affinity.Simplified the OpenThreads::SetProcessorAffinityOfCurrentThread/Thread::SetProcessorAffinity() to utilize the new Affinity class Mon, 26 Sep 2016 19:18:15 +0100 Author : Robert Osfield Introduced OpenThreads::SetProcessorAffinityMaskOfCurrentThread(unsigned long cpumask) and Threads::setProcessorAffinityMask(unsigned long cpumask) to allow finer grained control over the CPU affinity. Fri, 7 Oct 2016 11:13:40 +0100 Author : Robert Osfield Added CullingActive support for Drawable serializer Thu, 6 Oct 2016 18:27:23 +0100 Author : Robert Osfield Fixed crash and double call bug in handle event callbacks attached to Drawable Thu, 6 Oct 2016 15:07:42 +0100 Author : Robert Osfield Added a osgCmakeExample to illustrate a minimal CMakeList.txt to show how to build an OSG application using Cmake Thu, 6 Oct 2016 14:14:02 +0100 Author : OpenSceneGraph git repository Merge pull request #148 from LaurensVoerman/SmoothingVisitorfix bug in SmoothingVisitor tripped by bunny.ply after duplicating the vertices to allow for multiple normals the indices of the new mesh (with duplicated vertices) were used with the vertices of the old mesh, causing a vector subscript out of range error. Thu, 6 Oct 2016 14:21:07 +0200 Author : Laurens Voerman fix bug in SmoothingVisitor tripped by bunny.ply Thu, 6 Oct 2016 11:36:06 +0100 Author : Robert Osfield Merge branch 'LaurensVoerman-Submissions_B' Thu, 6 Oct 2016 11:34:53 +0100 Author : Robert Osfield Changed tabs to four spaces to avoid different editors rendering the indentation differently Thu, 6 Oct 2016 11:32:31 +0100 Author : Robert Osfield Merge branch 'Submissions_B' of https://github.com/LaurensVoerman/OpenSceneGraph into LaurensVoerman-Submissions_B Thu, 6 Oct 2016 10:48:29 +0100 Author : Robert Osfield Added GL_OES_geometry_shader and GL_OES_tessellation_shader checks Fri, 30 Sep 2016 14:59:51 +0200 Author : Laurens Voerman adaptations for cmake changes mid 2015 (SelectLibraryConfigurations.cmake) with SelectLibraryConfigurations.cmake collada zlib debug library linking added Wed, 5 Oct 2016 18:10:46 +0200 Author : Alberto Luaces Some spelling fixes in comments. Wed, 5 Oct 2016 16:31:23 +0100 Author : René Molenaar Fixed VisualStudio build Wed, 5 Oct 2016 14:00:46 +0100 Author : Robert Osfield Removed the unused debug header as it was causing building compile problems with the Debug build under Windows Mon, 3 Oct 2016 08:45:23 +0100 Author : OpenSceneGraph git repository Merge pull request #145 from LaurensVoerman/Submissions_Aadded vc14 (Visual Studio 2015) and boost 1.58 support in FindCOLLADA.cmake Fri, 30 Sep 2016 14:33:28 +0200 Author : Laurens Voerman added vc14 (Visual Studio 2015) and boost 1.58 support in FindCOLLADA.cmake Tue, 27 Sep 2016 09:48:38 +0100 Author : OpenSceneGraph git repository Merge pull request #142 from LaurensVoerman/Submissions12fix a few minor warnings from Visual Studio 2015 Mon, 26 Sep 2016 13:56:38 +0200 Author : Laurens Voerman src\osgplugins\osgjs\Animation(9): warning C4099: 'WriteVisitor': type name first seen using 'class' now seen using 'struct' Mon, 26 Sep 2016 13:43:51 +0200 Author : Laurens Voerman fix Visual studio warning C4138: '*/' found outside of comment Mon, 26 Sep 2016 10:03:32 +0100 Author : Robert Osfield Removed __sgi blocks as IRIX is no longer available Mon, 26 Sep 2016 09:31:22 +0100 Author : Robert Osfield Removed Qt dependency examples, osgQt NodeKit and qfont plugin as these are now provided by the separate osgQt project Mon, 26 Sep 2016 09:22:10 +0100 Author : Robert Osfield Removed qt threads Mon, 26 Sep 2016 09:08:56 +0100 Author : Robert Osfield Removed IRIX Sproc thead support as IRIX is load dead Mon, 26 Sep 2016 09:06:28 +0100 Author : Robert Osfield Removed IRIX Sproc threading support form OpenThreads as IRIX is long dead. Sat, 24 Sep 2016 16:16:23 +0100 Author : OpenSceneGraph git repository Merge pull request #139 from aluaces/signedcharExplicit signed char declarations for portability. Sat, 24 Sep 2016 12:33:37 +0200 Author : Alberto Luaces Explicit signed char declarations for portability.Some platforms (ARM, PowerPC, s390x) have "unsigned char" as the default char type, and thus the build fails for certain parts of the code where negative values are assigned to those kind of variables. Thu, 22 Sep 2016 18:33:35 +0100 Author : Robert Osfield Changed the min CMake version to 2.8.0 Thu, 22 Sep 2016 17:48:19 +0100 Author : OpenSceneGraph git repository Merge pull request #137 from LaurensVoerman/Submissions10fix error in CmakeLists: CMAKE_CXX_COMPILER_VERSIO Thu, 22 Sep 2016 14:33:03 +0100 Author : Robert Osfield Replaced local static usage to avoid threading and mulit-context issues Thu, 22 Sep 2016 09:09:46 +0200 Author : Laurens Voerman fix error in CmakeLists: CMAKE_CXX_COMPILER_VERSIO -> CMAKE_CXX_COMPILER_VERSION Tue, 20 Sep 2016 17:25:35 +0100 Author : Robert Osfield Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph Tue, 20 Sep 2016 17:23:37 +0100 Author : Robert Osfield Refactored texture sharing code so that it modifies the RefAttributePair directly thus honouring the override flags and fixing a bug of loosing these override flags when sharing Tue, 20 Sep 2016 17:01:26 +0100 Author : Robert Osfield Cleaned up the spacing and const of various method parameters.Added non const versions of StateSet::getAttributePair() and getTextureAttributePair() Tue, 20 Sep 2016 14:40:28 +0100 Author : OpenSceneGraph git repository Merge pull request #134 from LaurensVoerman/Submissions10Specialize -Wmaybe-uninitialized -Wextra and -Wno-misleading-indentation gcc warning flags to 4.6, 4.9 and 6.0 respectively Tue, 20 Sep 2016 10:23:15 +0200 Author : Laurens Voerman short version with gcc warning flags depending on compiler version. Tue, 20 Sep 2016 10:20:47 +0200 Author : Laurens Voerman Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph into Submissions10 Mon, 19 Sep 2016 19:39:01 +0100 Author : OpenSceneGraph git repository Merge pull request #136 from LaurensVoerman/Submissions11disable warning C4589 for MSVC Mon, 19 Sep 2016 16:40:59 +0200 Author : Laurens Voerman disable warning C4589 for MSVC Fri, 16 Sep 2016 17:12:41 +0200 Author : Laurens Voerman enable some more aggressive warning flags for gcc 4.7 and cmake version below 3 Thu, 15 Sep 2016 07:53:10 +0100 Author : OpenSceneGraph git repository Merge pull request #130 from LaurensVoerman/Submissions7VS2015 dae plugin fix a few declaration of 'X' hides previous Thu, 15 Sep 2016 07:50:51 +0100 Author : OpenSceneGraph git repository Merge pull request #131 from filnet/masterStandardManipulator: use proper bit mask when clearing a relative flag Wed, 14 Sep 2016 14:32:35 +0200 Author : Philippe Renon StandardManipulator: use proper bit mask when clearing a relative flag Tue, 13 Sep 2016 17:07:28 +0200 Author : Laurens Voerman VS2015 fix a few warning C4456: declaration of 'X' hides previous local declaration Mon, 12 Sep 2016 16:22:54 +0100 Author : OpenSceneGraph git repository Merge pull request #128 from LaurensVoerman/Submissions5wrong Meta_Shape tag in ConvexHull Mon, 12 Sep 2016 16:22:18 +0100 Author : OpenSceneGraph git repository Merge pull request #127 from LaurensVoerman/Submissions4remove last Performer reference Mon, 12 Sep 2016 16:49:35 +0200 Author : Laurens Voerman wrong Meta_Shape tag in ConvexHull Fri, 9 Sep 2016 10:58:19 +0200 Author : Laurens Voerman remove last Performer reference Tue, 6 Sep 2016 09:31:16 +0100 Author : Robert Osfield Updated version number to 3.5.5 Mon, 5 Sep 2016 19:12:54 +0100 Author : Robert Osfield Updated ChangeLog formatting Mon, 5 Sep 2016 17:57:27 +0100 Author : Robert Osfield Updated ChangeLog, AUTHORS and README for 3.5.4 dev release Mon, 5 Sep 2016 15:35:54 +0100 Author : Robert Osfield Fixed warnings, deprecated another out of date method Mon, 5 Sep 2016 13:44:59 +0100 Author : Robert Osfield Fixed warnings Mon, 5 Sep 2016 12:18:46 +0100 Author : Stuart Mentzer Final version of FindFreetype.cmake that is based on the now-accepted CMake patches. This supports the new freetype include path structure and fixes the failure to find the debug library on Windows due to its name having a 'd' suffix. Mon, 5 Sep 2016 07:59:15 +0100 Author : Robert Osfield Fixed typo Sun, 4 Sep 2016 19:50:28 +0100 Author : Robert Osfield Fixed warnings Sun, 4 Sep 2016 18:31:13 +0100 Author : Robert Osfield Added local deprecated_osg::Geometry implementation from OpenSceneGraph-3.4 to keep build working now that deprecated_osg::Geometry has been removed from the core OSG. Fri, 2 Sep 2016 19:09:13 +0100 Author : Robert Osfield Fixed warning Fri, 2 Sep 2016 18:26:37 +0100 Author : Robert Osfield Merge branch 'LaurensVoerman-Submissions2e' Fri, 2 Sep 2016 18:26:11 +0100 Author : Robert Osfield Merge branch 'Submissions2e' of https://github.com/LaurensVoerman/OpenSceneGraph into LaurensVoerman-Submissions2e Fri, 2 Sep 2016 17:47:37 +0100 Author : OpenSceneGraph git repository Merge pull request #119 from LaurensVoerman/Submissions2cFixed clone osgVolume::Scalarproperty and osg::TextureBuffer crash Fri, 2 Sep 2016 17:44:57 +0100 Author : OpenSceneGraph git repository Merge pull request #123 from LaurensVoerman/Submissions2fSubmissions2f Fri, 2 Sep 2016 17:35:47 +0100 Author : OpenSceneGraph git repository Merge pull request #117 from LaurensVoerman/Submissions2abugfix: wrong class name in META_Object macro for osg::Enablei /disable Fri, 2 Sep 2016 17:34:20 +0100 Author : OpenSceneGraph git repository Merge pull request #118 from LaurensVoerman/Submissions2bfix colliding include guards and spurious #define OSGUI_EXPORT Fri, 2 Sep 2016 17:28:40 +0100 Author : OpenSceneGraph git repository Merge pull request #124 from LaurensVoerman/Submissions3RigTransformHardware fix: warn; don't crash if MAX_MATRIX not found Mon, 29 Aug 2016 17:00:00 +0200 Author : Laurens Voerman fix the missing ")" in BasicAnimationManager copy constuctor Mon, 29 Aug 2016 13:03:36 +0200 Author : Laurens Voerman added copyconstructor for osgAnimation::BasicAnimationManager Mon, 29 Aug 2016 10:41:40 +0200 Author : Laurens Voerman added call to copy constructor for virtual base classes in copy constructor of derived classes, removed these for abstract classes Tue, 23 Aug 2016 14:33:24 +0200 Author : Laurens Voerman bugfix: osg::TextureBuffer::clone() crash Tue, 23 Aug 2016 14:35:47 +0200 Author : Laurens Voerman bugfix: osgVolume::ScalarProperty clone crash Tue, 23 Aug 2016 14:32:48 +0200 Author : Laurens Voerman fix colliding include guards and spurious #define OSGUI_EXPORT Tue, 23 Aug 2016 14:31:50 +0200 Author : Laurens Voerman bugfix: wrong class name in META_Object macro for osg::Enablei osg::Disablei Fri, 26 Aug 2016 19:28:36 +0100 Author : Robert Osfield Quitened unused parameter warnings Fri, 26 Aug 2016 19:18:00 +0100 Author : Robert Osfield Fixed unused variable warnings Fri, 26 Aug 2016 18:00:52 +0100 Author : Robert Osfield Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph Fri, 26 Aug 2016 17:59:30 +0100 Author : Robert Osfield Removed redundent Referenced::s/getThreadSafeReferenceCounting() and associated static and env vars as there are now inapprorpiate and no longer supported Wed, 25 May 2016 13:27:06 +0200 Author : Laurens Voerman RigTransformHardware fix: warn; don't crash if MAX_MATRIX not found Tue, 16 Aug 2016 12:40:35 +0100 Author : OpenSceneGraph git repository Merge pull request #114 from scrawl/const-castRemove an unneeded const_cast Tue, 16 Aug 2016 12:39:57 +0100 Author : OpenSceneGraph git repository Merge pull request #115 from zakalawe/masterAttempt to fix broken DLL exports from osgDB Fri, 5 Aug 2016 13:16:07 +0100 Author : James Turner Attempt to fix broken DLL exports from osgDBOnly export the osgDB method implementations, instead of the entire class, and hence avoid exporting symbols from the base class, which then conflict with other compilation units when linking. This avoids the need for /FORCE:MULTIPLE linker option with MSVC. Mon, 15 Aug 2016 12:56:57 +0100 Author : Robert Osfield Fixed handling in osgUtil::IncrementalCompileOperation/CompileSet/StateToCompile when the _markerObject is NULL. Mon, 15 Aug 2016 12:13:07 +0100 Author : Robert Osfield Changed the default paramter for the osgUtil::StateToCompile to retain the OSG-3.4 ABI and fixed indentation. Mon, 15 Aug 2016 11:45:58 +0100 Author : Robert Osfield Added automatic assignment of _markerObject to CompileSet. Sun, 14 Aug 2016 19:30:55 +0200 Author : scrawl Remove an unneeded const_cast Wed, 10 Aug 2016 14:30:28 +0100 Author : Ravi Mathur Updates to the CMake build system for Mac OSX Wed, 10 Aug 2016 14:12:27 +0100 Author : Anish Thomas GLSL 1.3 support for vertex-attrib aliasing Wed, 10 Aug 2016 12:58:38 +0100 Author : Konstantin S. Matveyev Fixed filename encoding bug Wed, 10 Aug 2016 12:00:18 +0100 Author : Robert Osfield Fixed handlinge of fgets returning a 0 length string Wed, 10 Aug 2016 11:32:15 +0100 Author : OpenSceneGraph git repository Merge pull request #111 from hernando/masterAdded missing GL enums to Texture::computeInternalFormatType Fri, 5 Aug 2016 09:07:23 +0100 Author : OpenSceneGraph git repository Merge pull request #112 from mathieu/feature/macOS_CoreProfilemacOS CoreProfile, contains requested parts of #92 previous PR concerning the osgsimplegl3 sample and the selection of the correct GL Profile when compiling with GL3 or Core Profile in GraphicsWindowCocoa.mm Fri, 5 Aug 2016 07:51:33 +0200 Author : Mathieu MARACHE Added usage of osgUtil::Optimizer to tessellate input geometry Fri, 5 Aug 2016 07:49:22 +0200 Author : Mathieu MARACHE Added CoreProfile selection if OSG_GL3_AVAILABLE defined Thu, 4 Aug 2016 17:03:51 +0200 Author : Juan Hernando Vieites Added missing GL enums to Texture::computeInternalFormatType Tue, 2 Aug 2016 17:52:45 +0100 Author : Robert Osfield Added GL_NORMALIZE usage to handle the case of the FlattenStaticTransform visitor not being applied to the scaled subgraphs causing lighting problems Tue, 2 Aug 2016 15:45:49 +0100 Author : OpenSceneGraph git repository Merge pull request #106 from rafagaitan/osgdb_curlAdded OSG_CURL_SSL_VERIFYPEER option to the curl plugin Tue, 2 Aug 2016 15:27:39 +0100 Author : OpenSceneGraph git repository Merge pull request #109 from scrawl/renderbuffer_fixFix RenderBuffer not being attached Mon, 1 Aug 2016 17:47:32 +0200 Author : scrawl Fix RenderBuffer not being attached (bug introduced with commit 55b3becb7c0ceecf26b0dae2c6db80f9f2a8a6d4 ) Sun, 31 Jul 2016 14:00:30 +0100 Author : Robert Osfield Added FT_LOAD_NO_HINTING Sun, 31 Jul 2016 11:06:51 +0100 Author : Robert Osfield Fixed build error reported on gcc 4.6.4/Ubuntu 12.04 32bit, issue #108 Sun, 31 Jul 2016 10:49:23 +0100 Author : OpenSceneGraph git repository Merge pull request #107 from marchelbling/fix_tangentspacegenerator_regressionOsgUtil::TangentSpaceGenerator, merge tangent space for index array Thu, 31 Jan 2013 02:16:34 +0100 Author : Cedric Pinson OsgUtil::TangentSpaceGenerator, merge tangent space for index array Tue, 19 Jul 2016 13:40:19 +0200 Author : Rafael Gaitán Added OSG_CURL_SSL_VERIFYPEER option to the curl plugin to allow connecting to secure servers without the certificate Mon, 18 Jul 2016 20:04:45 +0100 Author : Robert Osfield Fixed bug in setting the ratio value Wed, 13 Jul 2016 09:46:19 +0100 Author : OpenSceneGraph git repository Merge pull request #105 from marchelbling/compiler-friendly-glesMoves gles visitors implementation in cpp files Mon, 11 Jul 2016 14:38:13 +0200 Author : Marc Helbling Moves gles visitors implementation in cpp files Mon, 11 Jul 2016 09:52:07 +0100 Author : Robert Osfield Added Optimizer::BufferObjectVisitor and associated BUFFER_OBJECT_SETTINGS value to enable it via the OSG_OPTIMZIER env var.The BufferObjectVisitor enbales vertex buffer objects usage on Drawable in the scene graph. Mon, 11 Jul 2016 09:46:50 +0100 Author : Robert Osfield Added dirty of the vertex arrays to make sure they are uploaded when using VBO + VAO's Thu, 7 Jul 2016 07:31:15 +0100 Author : Robert Osfield Fixed coverity issue Thu, 7 Jul 2016 07:27:37 +0100 Author : Robert Osfield Removed dead code Thu, 7 Jul 2016 07:16:56 +0100 Author : Robert Osfield Fixed potential memory leak Wed, 6 Jul 2016 20:57:53 +0100 Author : Robert Osfield Added ref_ptr<> to quieten down Coverity Wed, 6 Jul 2016 20:36:50 +0100 Author : Robert Osfield Removed dead code Wed, 6 Jul 2016 20:34:41 +0100 Author : Robert Osfield Fixed possible memory leak Wed, 6 Jul 2016 20:23:34 +0100 Author : Robert Osfield Added handling of null Wed, 6 Jul 2016 20:21:53 +0100 Author : Robert Osfield Changed dynamic_cast<> to static_cast<> as type is known based on getType() query.Added missing break statement. Wed, 6 Jul 2016 20:15:49 +0100 Author : Robert Osfield Added null pointer check Wed, 6 Jul 2016 20:13:36 +0100 Author : Robert Osfield Fixed null pointer check Wed, 6 Jul 2016 20:08:03 +0100 Author : Robert Osfield Added null pointer check Wed, 6 Jul 2016 20:04:13 +0100 Author : Robert Osfield Fixed use of invalidated iterator Wed, 6 Jul 2016 19:58:23 +0100 Author : Robert Osfield Added null pointer check Wed, 6 Jul 2016 19:45:02 +0100 Author : Robert Osfield Fixed TabPlaneDragger's handling of pressing the right mouse button whilst holding the left mouse button down, then releasing hte left mouse button. Wed, 6 Jul 2016 11:36:47 +0100 Author : Robert Osfield Improved casting to address crashes when handling classes that use virtual inheritance. Wed, 6 Jul 2016 11:36:25 +0100 Author : Robert Osfield Added ability to assign callbacks from lua scripts Tue, 5 Jul 2016 19:22:15 +0100 Author : Robert Osfield Uodate README date Tue, 5 Jul 2016 18:11:31 +0100 Author : Robert Osfield Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph Tue, 5 Jul 2016 18:10:51 +0100 Author : Robert Osfield Added readObject() implementation. Tue, 5 Jul 2016 18:04:50 +0100 Author : OpenSceneGraph git repository Merge pull request #103 from marchelbling/update_stlUpdate stl. fixes magics color parsing adds support for incomplete binary stl files Tue, 5 Jul 2016 17:57:28 +0100 Author : Robert Osfield Fixed warnings Tue, 5 Jul 2016 17:49:03 +0100 Author : OpenSceneGraph git repository Merge pull request #102 from marchelbling/update_gles+osgjsUpdate gles+osgjs. This PR cleans some gles coverity defects (remaining should only be false positive that need to be sorted out cleanly) updates osgjs plugin to support serialization; the history of changes is squashed; details can still be found on cedricpinson fork if needed As compressed animation channels are no longer part of the main repo, I added a compilation flag for the osgjs plugin. The commit is isolated and the flag is not activated by default. I am yet to find a better solution to make this plugin entirely free from our specific code. Note: this PR will not change the gles compilation issues. We only compile on OSX/ubuntu and did not encounter any issue with the plugin. Tue, 5 Jul 2016 17:08:08 +0200 Author : Marc Helbling Adds support for incomplete stl binary filesThe logic is * if a file is not ascii * if its sizeis less than the expected binary size then we can assume that the data is incomplete but still try to load it. Tue, 5 Jul 2016 17:01:42 +0200 Author : Marc Helbling Fixes magics color parsing`fread` returns the number of objects read, not a byte-size. Tue, 5 Jul 2016 16:37:46 +0200 Author : Marc Helbling Adds specific flag for compressed animation buffers Tue, 5 Jul 2016 16:37:12 +0200 Author : Marc Helbling Updates osgjs plugin for animation serialization Tue, 5 Jul 2016 16:32:00 +0200 Author : Marc Helbling Fixes gles coverity defects Tue, 5 Jul 2016 12:57:41 +0100 Author : Robert Osfield Fixed typo Tue, 5 Jul 2016 11:54:31 +0100 Author : Robert Osfield Seperated out the scene->requiresRedraw() method into a osgViewer::Viewer::requiresRedraw() method to make the functionality clearer and easier to override. Tue, 5 Jul 2016 11:42:03 +0100 Author : Robert Osfield Simplified DatabasePager::requires*() methods Tue, 5 Jul 2016 11:27:44 +0100 Author : OpenSceneGraph git repository Merge pull request #100 from filnet/checkneedtodoframestreamline DatabasePager::requiresUpdateSceneGraph() Tue, 5 Jul 2016 07:41:23 +0100 Author : Robert Osfield Added missing Plane and Quat handling Mon, 4 Jul 2016 23:19:20 +0200 Author : Philippe Renon split requiresUpdateSceneGraph() into requires update and requires redraw (wip) Sun, 3 Jul 2016 17:31:07 +0200 Author : Philippe Renon streamline DatabasePager::requiresUpdateSceneGraph()would trigger unnecessary redraws when there were pending file requests or active database threads tested ok with and without IncrementalCompileOperation Mon, 4 Jul 2016 20:26:28 +0100 Author : Robert Osfield Added version guard around new parameter serializer Mon, 4 Jul 2016 20:19:58 +0100 Author : Julien Valentin Added serializer support for RigTransforms Mon, 4 Jul 2016 13:37:29 +0100 Author : Robert Osfield Added templte methods and implementations for Vec2,3,4 for b,ub,s,us,i and ui. Mon, 4 Jul 2016 13:36:28 +0100 Author : Robert Osfield Added Vec2,3,4 for b, ub, s, us, i, ui. Mon, 4 Jul 2016 11:02:58 +0100 Author : Robert Osfield Replaced seperate implementations with template implementations Mon, 4 Jul 2016 10:53:06 +0100 Author : Robert Osfield Replaced seperate getValue(Vec*) implementations with template based implementation Mon, 4 Jul 2016 10:34:03 +0100 Author : Robert Osfield Added ValueObject pushValue handling for Vec2*, Vec3*, Vec4 for b,ub,s,us,i and ui. Mon, 4 Jul 2016 10:14:47 +0100 Author : Robert Osfield Added Vec*b, Vec*s, Vec*i getValue(..) implementations Mon, 4 Jul 2016 10:11:34 +0100 Author : Robert Osfield Replaced pushVec(Vec2f etc.) implementations with template implementations. Mon, 4 Jul 2016 10:01:17 +0100 Author : Julien Valentin Added missing xzyw accessor to Vec4ub Mon, 4 Jul 2016 09:06:50 +0100 Author : OpenSceneGraph git repository Merge pull request #99 from filnet/gstreamerfix FindGStreamer.cmake for msys2 mingw Sun, 3 Jul 2016 17:43:39 +0200 Author : Philippe Renon fix FindGStreamer.cmake for msys2 mingw Sat, 2 Jul 2016 14:45:10 +0100 Author : Robert Osfield Added const Sat, 2 Jul 2016 12:54:48 +0100 Author : Robert Osfield Added initializers Sat, 2 Jul 2016 12:52:20 +0100 Author : Robert Osfield Introduced ref_ptr<> usage to avoid potential memory leaks Sat, 2 Jul 2016 12:39:06 +0100 Author : Robert Osfield Added handling of return type Sat, 2 Jul 2016 12:37:22 +0100 Author : Robert Osfield Added handling of return type Sat, 2 Jul 2016 12:33:31 +0100 Author : Robert Osfield Fixed types Sat, 2 Jul 2016 12:31:08 +0100 Author : Robert Osfield Added handling of return type Sat, 2 Jul 2016 12:29:07 +0100 Author : Robert Osfield Added initializer Sat, 2 Jul 2016 12:27:48 +0100 Author : Robert Osfield Added initializer Sat, 2 Jul 2016 12:13:08 +0100 Author : Robert Osfield Fixed warning and quitened ones caused by 3rd party headers. Sat, 2 Jul 2016 11:09:12 +0100 Author : Robert Osfield Changed to an int comparison Sat, 2 Jul 2016 10:44:40 +0100 Author : Robert Osfield Removed inappropriate use of Vec3us in osgAnimation as this relies upon nonexistant functionality in Vec3us and in general just doesn't make sense to attempt to use float point maths with a unsigned short. Sat, 2 Jul 2016 10:14:06 +0100 Author : Robert Osfield Fixed number of processors setting Fri, 1 Jul 2016 18:07:16 +0100 Author : OpenSceneGraph git repository Merge pull request #95 from marchelbling/tristripvisitor_index_optionAdds an indexMesh option to disable mesh reindexation Fri, 1 Jul 2016 18:03:29 +0100 Author : OpenSceneGraph git repository Merge pull request #94 from marchelbling/gles_plugin_updateUpdates gles plugin. This PR updates the GLES plugin with latest Sketchfab changes: improves geometry splitting processes/cleans animation (for subsequent osgjs serialization) adds (yet another) normal smoother Fri, 1 Jul 2016 17:57:44 +0100 Author : OpenSceneGraph git repository Merge pull request #93 from marchelbling/osganimationUpdates to osgAnimation is mainly for the gles plugint to work correctly. adds Quaternion array reintroduces KeyframeContainer::linearInterpolationDeduplicate fixes MorphGeometry OSG serialization (target names) Fri, 1 Jul 2016 18:12:32 +0200 Author : Marc Helbling Adds an indexMesh option to disable mesh reindexationThis mainly breaks gles/osgjs when stripifying a MorphGeometry. It also usually doesn't make sense to reindex an already indexed mesh. Fri, 1 Jul 2016 17:28:01 +0200 Author : Marc Helbling Updates gles plugin Fri, 1 Jul 2016 17:04:09 +0200 Author : Marc Helbling Updates osgAnimationThis updates is mainly for the gles plugint to work correctly. * adds Quaternion array * reintroduces `KeyframeContainer::linearInterpolationDeduplicate` * fixes MorphGeometry OSG serialization (target names) Fri, 1 Jul 2016 11:08:29 +0100 Author : Robert Osfield Addd loop guard to prevent negative bit shift Fri, 1 Jul 2016 10:57:31 +0100 Author : Robert Osfield Fixed types Fri, 1 Jul 2016 10:38:58 +0100 Author : Robert Osfield Fixed types Fri, 1 Jul 2016 10:35:18 +0100 Author : Robert Osfield Fixed type Fri, 1 Jul 2016 10:21:55 +0100 Author : Robert Osfield Added intializers Fri, 1 Jul 2016 10:13:14 +0100 Author : Robert Osfield Added initializers Fri, 1 Jul 2016 09:59:21 +0100 Author : Robert Osfield Moved initializers Fri, 1 Jul 2016 09:56:01 +0100 Author : Robert Osfield Added initializers Fri, 1 Jul 2016 09:54:58 +0100 Author : Robert Osfield Added initializers Fri, 1 Jul 2016 09:52:35 +0100 Author : Robert Osfield Moved unused member variables to #if 0 blocks. Added initiliazer Fri, 1 Jul 2016 09:15:36 +0100 Author : Robert Osfield Fixed indentation Fri, 1 Jul 2016 09:14:59 +0100 Author : Robert Osfield Added initializer Fri, 1 Jul 2016 09:13:21 +0100 Author : Robert Osfield Added initializer Fri, 1 Jul 2016 09:09:35 +0100 Author : Robert Osfield Added intializer Fri, 1 Jul 2016 08:52:43 +0100 Author : Robert Osfield Added initializers Fri, 1 Jul 2016 08:49:55 +0100 Author : Robert Osfield Added initializer Fri, 1 Jul 2016 08:48:49 +0100 Author : Robert Osfield Added initializer Fri, 1 Jul 2016 08:43:32 +0100 Author : Robert Osfield Added initiaizer Fri, 1 Jul 2016 08:41:54 +0100 Author : Robert Osfield Added initializer Fri, 1 Jul 2016 08:40:25 +0100 Author : Robert Osfield Added initialziers Fri, 1 Jul 2016 08:37:48 +0100 Author : Robert Osfield Added initializer Fri, 1 Jul 2016 08:36:54 +0100 Author : Robert Osfield Added initializer Fri, 1 Jul 2016 08:35:08 +0100 Author : Robert Osfield Replaced the old c style declaration of enum's as it was confusing Coverity Fri, 1 Jul 2016 08:19:51 +0100 Author : Robert Osfield Added initializers Fri, 1 Jul 2016 08:16:39 +0100 Author : Robert Osfield Added initializer Fri, 1 Jul 2016 08:15:01 +0100 Author : Robert Osfield Added initializers Fri, 1 Jul 2016 08:08:39 +0100 Author : Robert Osfield Added initializer Fri, 1 Jul 2016 08:06:42 +0100 Author : Robert Osfield Removed unused member variable and adding initializer Fri, 1 Jul 2016 08:03:03 +0100 Author : Robert Osfield Added initializers Fri, 1 Jul 2016 08:00:49 +0100 Author : Robert Osfield Addded initializer Fri, 1 Jul 2016 07:58:04 +0100 Author : Robert Osfield Added initializer Fri, 1 Jul 2016 06:40:52 +0100 Author : OpenSceneGraph git repository Merge pull request #91 from bjornblissing/feature/DestructionOperationCleanUpOperation added to Viewer Thu, 30 Jun 2016 22:09:22 +0200 Author : Björn Blissing CleanUpOperation added to ViewerSometimes there is need to do cleanup with valid graphic contexts before closing these contexts. The added operation runs a graphics operation on each context before closing them. Thu, 30 Jun 2016 14:17:51 +0100 Author : Robert Osfield Added initializer Thu, 30 Jun 2016 14:16:14 +0100 Author : Robert Osfield Added initializers Thu, 30 Jun 2016 14:12:01 +0100 Author : Robert Osfield Added initializer Thu, 30 Jun 2016 14:04:52 +0100 Author : Robert Osfield Added initializers Thu, 30 Jun 2016 13:58:54 +0100 Author : Robert Osfield Added initializer Thu, 30 Jun 2016 11:31:02 +0100 Author : Robert Osfield Added handling of error condition Thu, 30 Jun 2016 11:28:59 +0100 Author : Robert Osfield Added handling of error condition Thu, 30 Jun 2016 11:26:21 +0100 Author : Robert Osfield Added handling of error return value Thu, 30 Jun 2016 11:24:50 +0100 Author : Robert Osfield Added handling of error value Thu, 30 Jun 2016 11:19:53 +0100 Author : Robert Osfield Fixed handling of return values Thu, 30 Jun 2016 11:19:24 +0100 Author : Robert Osfield Fixed line endings Thu, 30 Jun 2016 11:12:45 +0100 Author : Robert Osfield Added handling of return value Thu, 30 Jun 2016 11:11:00 +0100 Author : Robert Osfield Added handling of return value Thu, 30 Jun 2016 11:03:40 +0100 Author : Robert Osfield Added handling of return value Thu, 30 Jun 2016 11:00:38 +0100 Author : Robert Osfield Added handling of return value Thu, 30 Jun 2016 10:58:17 +0100 Author : Robert Osfield Added handling of false return Thu, 30 Jun 2016 10:55:34 +0100 Author : Robert Osfield Added handling of false return Thu, 30 Jun 2016 10:50:11 +0100 Author : Robert Osfield Fixed typo Thu, 30 Jun 2016 10:17:23 +0100 Author : Robert Osfield Added handling of null dynamic_cast Thu, 30 Jun 2016 10:08:29 +0100 Author : Robert Osfield Added handling of null dynamic_cast Thu, 30 Jun 2016 10:03:51 +0100 Author : Robert Osfield Clean up clone Thu, 30 Jun 2016 10:01:18 +0100 Author : Robert Osfield Added handling of null pointer Thu, 30 Jun 2016 09:59:27 +0100 Author : Robert Osfield Added handling of null dynamic_cast Thu, 30 Jun 2016 09:54:13 +0100 Author : Robert Osfield Added handling of null dynamic_cast. Thu, 30 Jun 2016 09:52:10 +0100 Author : Robert Osfield Added handlng of null dynamic_cast Thu, 30 Jun 2016 09:48:44 +0100 Author : Robert Osfield Added null pointer handling Thu, 30 Jun 2016 09:46:27 +0100 Author : Robert Osfield Added better null pointer handling Thu, 30 Jun 2016 09:38:41 +0100 Author : Robert Osfield Improved error handling Thu, 30 Jun 2016 09:29:32 +0100 Author : Robert Osfield Added handling of error return type Thu, 30 Jun 2016 09:09:54 +0100 Author : Robert Osfield Removed no longer used code Thu, 30 Jun 2016 08:27:49 +0100 Author : Robert Osfield Improved check against number of bytes read Thu, 30 Jun 2016 08:23:51 +0100 Author : Robert Osfield Added handling of NULL pointer case Thu, 30 Jun 2016 08:20:31 +0100 Author : Robert Osfield Added handling of possible zero divisor Thu, 30 Jun 2016 08:16:29 +0100 Author : Robert Osfield Added handling of possible zero divisor Thu, 30 Jun 2016 08:14:48 +0100 Author : Robert Osfield Added handling of potential zero divisor Thu, 30 Jun 2016 08:13:01 +0100 Author : Robert Osfield Added handling of NULL Thu, 30 Jun 2016 08:02:29 +0100 Author : Robert Osfield Addd handling of NULL Thu, 30 Jun 2016 07:59:51 +0100 Author : Robert Osfield Added handling of NULL Thu, 30 Jun 2016 07:59:37 +0100 Author : Robert Osfield Added handling of NULL Thu, 30 Jun 2016 07:50:40 +0100 Author : Robert Osfield Added handling of out of memory Thu, 30 Jun 2016 07:50:14 +0100 Author : Robert Osfield Added better handling of nulls Wed, 29 Jun 2016 19:59:56 +0100 Author : Robert Osfield Added initializer Wed, 29 Jun 2016 18:01:29 +0100 Author : Robert Osfield Fixed handling of null pointer Wed, 29 Jun 2016 17:58:03 +0100 Author : Robert Osfield Cleaned up null pointer handling Wed, 29 Jun 2016 17:56:11 +0100 Author : Robert Osfield Moved assignment to within safe block Wed, 29 Jun 2016 17:51:32 +0100 Author : Robert Osfield Added hanlding of null value Wed, 29 Jun 2016 17:47:32 +0100 Author : Robert Osfield Added null pointer handling Wed, 29 Jun 2016 17:43:37 +0100 Author : Robert Osfield Added null pointer handling Wed, 29 Jun 2016 17:35:20 +0100 Author : Robert Osfield Added handling of null pointer Wed, 29 Jun 2016 17:33:45 +0100 Author : Robert Osfield Added null pointer check Wed, 29 Jun 2016 17:31:16 +0100 Author : Robert Osfield Added better handling of null istream Wed, 29 Jun 2016 17:29:28 +0100 Author : Robert Osfield Added null pointer handling Wed, 29 Jun 2016 17:06:48 +0100 Author : Robert Osfield Added handling of the possibility of null Options pointers Wed, 29 Jun 2016 16:07:39 +0100 Author : Robert Osfield Removed check against changed flag as check is aleady done outside the method so no need for a duplicate check Wed, 29 Jun 2016 16:53:26 +0200 Author : Julien Valentin fix in StateSet.cpp the State::DefineMap::changed flag is not resetted to false after currentDefines are updated Wed, 29 Jun 2016 15:34:11 +0100 Author : Robert Osfield Moved the scene related requiresUpdateSceneGraph() implementation details from View into Scene. Added check against the ImagePager. Wed, 29 Jun 2016 15:15:31 +0100 Author : OpenSceneGraph git repository Merge pull request #81 from filnet/checkneedtodoframe refactor common code from CompositeViewer::checkNeedToDoFrame() and Viewer::checkNeedToDoFrame() into View Wed, 29 Jun 2016 15:11:02 +0100 Author : Robert Osfield Added osg::ScissorIndexed that wraps up glScissorIndexed function Wed, 29 Jun 2016 12:28:28 +0100 Author : Robert Osfield Added osg::DepthRangeIndexed class to wrap up glDepthRangeIndexed functionality. Wed, 29 Jun 2016 11:39:44 +0100 Author : Laurens Voerman Added osgshadermultiviewport example to test and demonstrate the new osg::ViewportIndexed class Wed, 29 Jun 2016 11:36:44 +0100 Author : Robert Osfield Fixed cast Wed, 29 Jun 2016 11:35:56 +0100 Author : Robert Osfield Added build of new osg::ViewportIndexed Wed, 29 Jun 2016 11:34:20 +0100 Author : Robert Osfield Revert "Fixed incorrect cast" as commit contained more changes than intended.This reverts commit 2897ab13cb14aee914d32fa3e393f4c58bf80816. Wed, 29 Jun 2016 11:26:54 +0100 Author : Robert Osfield Added osg::ViewportIndexed that adds support for glViewportIndexed Wed, 29 Jun 2016 11:25:08 +0100 Author : Robert Osfield Fixed incorrect cast Wed, 29 Jun 2016 09:53:04 +0100 Author : Laurens Voerman Added glViewerArray, glSissorArray, glDepthRangeArray etc. GL extension support Tue, 28 Jun 2016 19:49:48 +0100 Author : Robert Osfield Fixed warnings Tue, 28 Jun 2016 19:46:14 +0100 Author : Robert Osfield Disabled -Wextra compile option for GCC + CLang as FBX headers generate lots of warnings we can't fix Tue, 28 Jun 2016 18:39:12 +0100 Author : Robert Osfield Revert "corrected syntax error in src/osgPlugins/fbx/ReaderWriterFBX.cpp"This reverts commit 7a1324800ffe3e4ddd9d7fb475f0323da6fe2f43. Tue, 28 Jun 2016 16:49:08 +0100 Author : Robert Osfield Added initializer Tue, 28 Jun 2016 16:47:11 +0100 Author : Robert Osfield Added initializers Tue, 28 Jun 2016 16:44:24 +0100 Author : Robert Osfield Added initializer Tue, 28 Jun 2016 16:42:33 +0100 Author : Robert Osfield Added initializer Tue, 28 Jun 2016 16:40:57 +0100 Author : Robert Osfield Added initializer Tue, 28 Jun 2016 16:37:58 +0100 Author : Robert Osfield Replaced unsafe strcpy Tue, 28 Jun 2016 16:34:30 +0100 Author : Robert Osfield Replaced usage c string usage Tue, 28 Jun 2016 16:33:13 +0100 Author : Robert Osfield Replaced unsafe string usage Tue, 28 Jun 2016 16:30:06 +0100 Author : Robert Osfield Replaced unsafe c string usage with std::stringstream Tue, 28 Jun 2016 16:25:21 +0100 Author : Robert Osfield Removed debug message Tue, 28 Jun 2016 16:11:14 +0100 Author : Robert Osfield Replaced unsafe c string usage with std::string Tue, 28 Jun 2016 16:03:01 +0100 Author : Robert Osfield Replaced unsafe c string usage with std::string Tue, 28 Jun 2016 15:56:39 +0100 Author : Robert Osfield Replaced unsafe strcpy Tue, 28 Jun 2016 15:52:35 +0100 Author : Robert Osfield Replaced unsafe c string usage with std::string Tue, 28 Jun 2016 15:33:06 +0100 Author : Robert Osfield Fixed leak when open returns 0 Tue, 28 Jun 2016 15:31:55 +0100 Author : Robert Osfield Fixed leak when open returns 0 Tue, 28 Jun 2016 13:44:20 +0100 Author : Robert Osfield Removed line space Tue, 28 Jun 2016 13:44:00 +0100 Author : Robert Osfield Cleaned up pointer checks Tue, 28 Jun 2016 13:38:35 +0100 Author : Robert Osfield Repplaced fscanf usage with ifstream to avoid safety issues Tue, 28 Jun 2016 09:32:38 +0100 Author : Robert Osfield Added handling of failure to reclaim file Tue, 28 Jun 2016 09:21:30 +0100 Author : Robert Osfield Removed unneccessary close Tue, 28 Jun 2016 09:11:39 +0100 Author : Robert Osfield Added better handling of reading of sizes Tue, 28 Jun 2016 08:34:02 +0100 Author : Robert Osfield Added initializers Tue, 28 Jun 2016 08:32:35 +0100 Author : Robert Osfield Fixed initializer Mon, 27 Jun 2016 17:38:32 +0100 Author : Robert Osfield Removed dead code Mon, 27 Jun 2016 17:37:11 +0100 Author : Robert Osfield Added missing break Mon, 27 Jun 2016 17:18:21 +0100 Author : Robert Osfield Added message for unhandled mode types Mon, 27 Jun 2016 17:15:28 +0100 Author : Robert Osfield Fixed incorrect value Mon, 27 Jun 2016 17:12:43 +0100 Author : Robert Osfield Removed logically dead code Mon, 27 Jun 2016 17:09:41 +0100 Author : Robert Osfield Removed logicaly dead code Mon, 27 Jun 2016 17:00:12 +0100 Author : Robert Osfield Replaced fgetc usage with custom handling that handles type and error values Mon, 27 Jun 2016 16:31:11 +0100 Author : Robert Osfield Fixed delete type Mon, 27 Jun 2016 16:29:14 +0100 Author : Robert Osfield Removed unused local variable and move declaration to make it more readable. Mon, 27 Jun 2016 16:25:40 +0100 Author : Robert Osfield Fixed override method inconsistency Mon, 27 Jun 2016 16:21:48 +0100 Author : Robert Osfield Fixed override method inconsistency Mon, 27 Jun 2016 16:20:56 +0100 Author : Robert Osfield Fixed override method inconsistency Mon, 27 Jun 2016 16:18:28 +0100 Author : Robert Osfield Fixed override method inconsistency Mon, 27 Jun 2016 16:18:01 +0100 Author : Robert Osfield Fixed override method inconsistency Mon, 27 Jun 2016 16:17:34 +0100 Author : Robert Osfield Fixed override method inconsistency Mon, 27 Jun 2016 16:16:03 +0100 Author : Robert Osfield Fixed override method inconsistency Mon, 27 Jun 2016 16:14:32 +0100 Author : Robert Osfield Added initializer Mon, 27 Jun 2016 16:08:25 +0100 Author : Robert Osfield Added initializers Mon, 27 Jun 2016 15:59:42 +0100 Author : Robert Osfield Removed dead code Mon, 27 Jun 2016 15:59:04 +0100 Author : Robert Osfield Added handling of return values Mon, 27 Jun 2016 15:22:55 +0100 Author : Robert Osfield Added handling of null malloc Mon, 27 Jun 2016 15:22:46 +0100 Author : Robert Osfield Added hanlding of return type Mon, 27 Jun 2016 15:22:10 +0100 Author : Robert Osfield Added handling of return value Mon, 27 Jun 2016 15:06:54 +0100 Author : Robert Osfield Added initializers Mon, 27 Jun 2016 14:53:32 +0100 Author : Robert Osfield Added initializers Mon, 27 Jun 2016 11:51:32 +0100 Author : Julien Valentin Rolbacked RigGeometry with the hackyfix (I just add the compute boundcallback in the copy consturctor) Modified headers of RigTransforms to comply with osg metamodel Mon, 27 Jun 2016 11:38:30 +0100 Author : Robert Osfield Added initializers and fixed float setting Mon, 27 Jun 2016 11:35:46 +0100 Author : Robert Osfield Added intializer Mon, 27 Jun 2016 11:33:55 +0100 Author : Robert Osfield Restructed the cast Mon, 27 Jun 2016 11:14:53 +0100 Author : Robert Osfield Removed redundent checks Mon, 27 Jun 2016 11:08:49 +0100 Author : Robert Osfield Added initializers Mon, 27 Jun 2016 10:51:56 +0100 Author : Robert Osfield Cleaned up clone Mon, 27 Jun 2016 10:39:58 +0100 Author : Robert Osfield Added initializers Mon, 27 Jun 2016 10:30:15 +0100 Author : Robert Osfield Added check against null Mon, 27 Jun 2016 10:10:20 +0100 Author : Robert Osfield Added initializer Mon, 27 Jun 2016 09:49:45 +0100 Author : Robert Osfield Added initializers Mon, 27 Jun 2016 09:49:04 +0100 Author : Robert Osfield Added initializers Mon, 27 Jun 2016 09:40:48 +0100 Author : Robert Osfield Added missing initializers Sat, 25 Jun 2016 18:15:57 +0100 Author : Julien Valentin MorphGeometry fixes Sat, 25 Jun 2016 17:19:00 +0100 Author : Robert Osfield Fixed warnings Sat, 25 Jun 2016 16:33:09 +0100 Author : Robert Osfield Fixed unsafe string handling Sat, 25 Jun 2016 16:32:58 +0100 Author : Robert Osfield Added extern and export Sat, 25 Jun 2016 16:13:56 +0100 Author : Robert Osfield Changed back to requiring osgDB namespace so it's clearer where function comes from. Sat, 25 Jun 2016 16:12:32 +0100 Author : Robert Osfield Replaced strcpy with more robust osgDB::stringcopyfixedsize() usage. Sat, 25 Jun 2016 16:10:56 +0100 Author : Robert Osfield Added namespace prefix Sat, 25 Jun 2016 16:08:15 +0100 Author : Robert Osfield Added osgDB::stringcopy and stringcopyfixedsize Sat, 25 Jun 2016 15:42:34 +0100 Author : Robert Osfield Added null pointer check Sat, 25 Jun 2016 15:40:30 +0100 Author : Robert Osfield Added handling of when mesh->texcos is NULL Sat, 25 Jun 2016 15:28:50 +0100 Author : Robert Osfield FIxed copy and paste error Sat, 25 Jun 2016 14:26:05 +0100 Author : Robert Osfield Added strncopy usage to avoid buffer overflow Sat, 25 Jun 2016 14:19:52 +0100 Author : Robert Osfield Removed no longer used code Sat, 25 Jun 2016 13:42:49 +0100 Author : Robert Osfield Added initializers Sat, 25 Jun 2016 13:36:18 +0100 Author : Robert Osfield Added initializers Sat, 25 Jun 2016 13:33:27 +0100 Author : Robert Osfield Added initializer Sat, 25 Jun 2016 12:39:50 +0100 Author : Robert Osfield Removed redundent pointer check Sat, 25 Jun 2016 12:35:34 +0100 Author : Robert Osfield Changed return type to unsigned int to make it more compatible with serialization Sat, 25 Jun 2016 12:24:19 +0100 Author : Robert Osfield Refactored handling of StateAttiribute's that override the StateAttiribute::getMember() so that when they change their Member value they update the StateSet parents that own them to keep the StateSet's maps coherent. Sat, 25 Jun 2016 11:05:04 +0100 Author : Robert Osfield Changed key handling to use Qt enums rather than osgGA ones Sat, 25 Jun 2016 08:00:18 +0100 Author : Robert Osfield Fixed warning Sat, 25 Jun 2016 07:58:58 +0100 Author : Robert Osfield Fixed warning Sat, 25 Jun 2016 07:57:56 +0100 Author : Robert Osfield Fixed warning Sat, 25 Jun 2016 07:49:56 +0100 Author : Cedric Pinson Submitted with fixes by Julian Valentin Fri, 24 Jun 2016 16:05:07 +0100 Author : Robert Osfield Fixed compute of numProcessors Fri, 24 Jun 2016 15:40:39 +0100 Author : Robert Osfield Added default assingment of FrameStamp Fri, 24 Jun 2016 15:36:00 +0100 Author : Robert Osfield Removed unneccessary pointer check Fri, 24 Jun 2016 15:34:52 +0100 Author : Robert Osfield Added initializer Fri, 24 Jun 2016 15:33:24 +0100 Author : Robert Osfield Restructed handling of LAST_POSITION Fri, 24 Jun 2016 15:23:57 +0100 Author : Robert Osfield Added initializer Fri, 24 Jun 2016 12:38:31 +0100 Author : Robert Osfield Added initializers Fri, 24 Jun 2016 12:34:20 +0100 Author : Robert Osfield Added initializers Fri, 24 Jun 2016 12:28:36 +0100 Author : Robert Osfield Added initializer Fri, 24 Jun 2016 12:26:16 +0100 Author : Robert Osfield Added initializer Fri, 24 Jun 2016 12:24:28 +0100 Author : Robert Osfield Added initializer Fri, 24 Jun 2016 12:14:37 +0100 Author : Robert Osfield Added initializers Fri, 24 Jun 2016 12:12:50 +0100 Author : Robert Osfield Removed unused member variable Fri, 24 Jun 2016 12:11:09 +0100 Author : Robert Osfield Added initializers Fri, 24 Jun 2016 12:10:53 +0100 Author : Robert Osfield Added initializers Fri, 24 Jun 2016 12:10:31 +0100 Author : Robert Osfield Added initializers Fri, 24 Jun 2016 12:00:54 +0100 Author : Robert Osfield Added initializers Fri, 24 Jun 2016 11:58:38 +0100 Author : Robert Osfield Added initializers Fri, 24 Jun 2016 11:52:54 +0100 Author : Robert Osfield Added handling of null dynamic_cast Fri, 24 Jun 2016 11:50:54 +0100 Author : Robert Osfield Added handling of null dynamic_cast<> Fri, 24 Jun 2016 11:50:07 +0100 Author : Robert Osfield Added handling null dynamic_cast Fri, 24 Jun 2016 11:49:14 +0100 Author : Robert Osfield Added handling or null dynamic_cast Fri, 24 Jun 2016 11:39:22 +0100 Author : Robert Osfield Fixed copy and paste error Fri, 24 Jun 2016 11:38:28 +0100 Author : Robert Osfield Fixed copy and paste error. Fri, 24 Jun 2016 11:31:15 +0100 Author : Robert Osfield Added handling of dynamic_cast<> returning NULL Fri, 24 Jun 2016 11:29:25 +0100 Author : Robert Osfield Added handling of empty slides and layers Fri, 24 Jun 2016 11:26:07 +0100 Author : Robert Osfield Added better handling of negative slideNum and layerNum values Fri, 24 Jun 2016 11:20:55 +0100 Author : Robert Osfield Added initializers Fri, 24 Jun 2016 10:51:34 +0100 Author : Robert Osfield Added initializer Fri, 24 Jun 2016 10:49:51 +0100 Author : Robert Osfield Fixed float handling Fri, 24 Jun 2016 10:46:51 +0100 Author : Robert Osfield Added handling of zero divisor Fri, 24 Jun 2016 10:45:24 +0100 Author : Robert Osfield Fixed indentation and added check against NULL Fri, 24 Jun 2016 10:32:11 +0100 Author : Robert Osfield Added restoring of std::cout format state Fri, 24 Jun 2016 10:25:17 +0100 Author : Robert Osfield Added initializer Fri, 24 Jun 2016 10:24:27 +0100 Author : Robert Osfield Added initializers Fri, 24 Jun 2016 10:22:45 +0100 Author : Robert Osfield Removed unused member variable Fri, 24 Jun 2016 10:21:05 +0100 Author : Robert Osfield Added intializer Fri, 24 Jun 2016 10:13:26 +0100 Author : Robert Osfield Fixed handling of when dynamic_cast<> returns NULL Fri, 24 Jun 2016 10:09:59 +0100 Author : Robert Osfield Restructed to handle dyanmic_cast<> being NULL Fri, 24 Jun 2016 10:06:31 +0100 Author : Robert Osfield Added initializer Fri, 24 Jun 2016 10:05:30 +0100 Author : Robert Osfield Added missing initializer Fri, 24 Jun 2016 10:04:31 +0100 Author : Robert Osfield Added initializer Fri, 24 Jun 2016 10:02:39 +0100 Author : Robert Osfield Added handling of zero points Fri, 24 Jun 2016 10:02:18 +0100 Author : Robert Osfield Cleaned up pointer usage Fri, 24 Jun 2016 09:46:19 +0100 Author : Robert Osfield Added depecated message to redundent shape classes Thu, 23 Jun 2016 17:58:35 +0100 Author : Robert Osfield Added check against null Thu, 23 Jun 2016 17:28:40 +0100 Author : Robert Osfield Fixed erronous type changes and inappropriate vector copy vs vector reference usage Thu, 23 Jun 2016 17:19:20 +0100 Author : Robert Osfield Removed redundent check Thu, 23 Jun 2016 17:17:05 +0100 Author : Robert Osfield Adde initializer Thu, 23 Jun 2016 17:14:03 +0100 Author : Robert Osfield Added initializer Thu, 23 Jun 2016 17:13:06 +0100 Author : Robert Osfield Added initializer Thu, 23 Jun 2016 17:10:18 +0100 Author : Robert Osfield Added initializers Thu, 23 Jun 2016 17:08:04 +0100 Author : Robert Osfield Added initializer Thu, 23 Jun 2016 17:04:30 +0100 Author : Robert Osfield Removed dead code Thu, 23 Jun 2016 16:53:12 +0100 Author : Robert Osfield Added minimum of 1 to make sure numProcessors is always valid Thu, 23 Jun 2016 16:52:16 +0100 Author : Robert Osfield Added minimum of 1 to make sure numProcessors is always valid Thu, 23 Jun 2016 16:50:35 +0100 Author : Robert Osfield Added minimum usage to make sure that numProcessers is always 1 or greater Thu, 23 Jun 2016 16:48:00 +0100 Author : Robert Osfield Added check for null Thu, 23 Jun 2016 16:45:22 +0100 Author : Robert Osfield Restructed use of frameNumber to avoid multiple queries Thu, 23 Jun 2016 16:42:54 +0100 Author : Robert Osfield Restructed check against null Thu, 23 Jun 2016 16:40:58 +0100 Author : Robert Osfield Added check for valid pointer Thu, 23 Jun 2016 16:39:36 +0100 Author : Robert Osfield Added check before using pointer Thu, 23 Jun 2016 16:32:45 +0100 Author : Robert Osfield Removed unused variable Thu, 23 Jun 2016 16:32:30 +0100 Author : Robert Osfield Added handling of return value Thu, 23 Jun 2016 16:32:02 +0100 Author : Robert Osfield Fixed unitialized variables Thu, 23 Jun 2016 12:35:07 +0100 Author : Robert Osfield Added initializer Thu, 23 Jun 2016 12:34:08 +0100 Author : Robert Osfield Added initializer Thu, 23 Jun 2016 12:32:15 +0100 Author : Robert Osfield Added initializer Thu, 23 Jun 2016 12:30:36 +0100 Author : Robert Osfield Added initializer Thu, 23 Jun 2016 12:25:27 +0100 Author : Robert Osfield Added initializer Thu, 23 Jun 2016 12:23:31 +0100 Author : Robert Osfield Added copying of _syncSwapBuffers Thu, 23 Jun 2016 12:19:59 +0100 Author : Robert Osfield Restructed the GLExtensions(..) constructor so that it now intializes all the variables to NULL if there is not a valid graphics context present Thu, 23 Jun 2016 11:03:38 +0100 Author : Robert Osfield Added initializers and handling of null case Thu, 23 Jun 2016 10:52:16 +0100 Author : Robert Osfield Fixed return value Thu, 23 Jun 2016 10:50:25 +0100 Author : Robert Osfield Restructured to avoid NULL reference Thu, 23 Jun 2016 10:45:48 +0100 Author : Robert Osfield Removed dead code Thu, 23 Jun 2016 10:41:58 +0100 Author : Robert Osfield Removed dead code Thu, 23 Jun 2016 10:06:12 +0100 Author : Robert Osfield Added handling of return value Thu, 23 Jun 2016 10:05:50 +0100 Author : Robert Osfield Fixed check against null Thu, 23 Jun 2016 10:01:19 +0100 Author : Robert Osfield Added handling of return values Thu, 23 Jun 2016 09:05:51 +0100 Author : Robert Osfield Restructed the handling of a null compressor Thu, 23 Jun 2016 08:55:52 +0100 Author : Robert Osfield Removed dead code Thu, 23 Jun 2016 08:53:46 +0100 Author : Robert Osfield Moved initializer to constructors Thu, 23 Jun 2016 08:53:14 +0100 Author : Robert Osfield Added handling of return value Thu, 23 Jun 2016 08:41:47 +0100 Author : Robert Osfield Moved intializers into constructor. Thu, 23 Jun 2016 08:28:25 +0100 Author : Robert Osfield Added missing handling of return value Thu, 23 Jun 2016 08:23:32 +0100 Author : Robert Osfield Fixed possible divide by zero Thu, 23 Jun 2016 08:20:27 +0100 Author : Robert Osfield Removed dead code Thu, 23 Jun 2016 07:52:14 +0100 Author : Robert Osfield Removed dead code Thu, 23 Jun 2016 07:47:40 +0100 Author : Robert Osfield Restructed setting of vertex array to avoid possible reference of null Thu, 23 Jun 2016 06:56:22 +0100 Author : Robert Osfield Added initializer Thu, 23 Jun 2016 06:51:34 +0100 Author : Robert Osfield Added checks against null pointers and removed #if 0 block. Wed, 22 Jun 2016 15:53:37 +0100 Author : Robert Osfield Fixed typo Wed, 22 Jun 2016 12:28:58 +0100 Author : OpenSceneGraph git repository Merge pull request #87 from aluaces/patch-1Fixed indentation for code snippet Wed, 22 Jun 2016 12:24:23 +0100 Author : Robert Osfield Added missing initializer Wed, 22 Jun 2016 12:22:19 +0100 Author : Robert Osfield Fixed loop for the wrong counter increment Wed, 22 Jun 2016 12:10:49 +0100 Author : Robert Osfield Added initializer Wed, 22 Jun 2016 12:08:10 +0100 Author : Robert Osfield Added initializers Wed, 22 Jun 2016 12:03:10 +0100 Author : Robert Osfield Added initializer Wed, 22 Jun 2016 11:58:45 +0100 Author : Robert Osfield Removed dead code Wed, 22 Jun 2016 11:51:04 +0100 Author : Robert Osfield Added initializer Wed, 22 Jun 2016 11:48:30 +0100 Author : Robert Osfield Added initializer Wed, 22 Jun 2016 11:41:58 +0100 Author : Robert Osfield Added initializer Wed, 22 Jun 2016 11:39:11 +0100 Author : Robert Osfield Added missing initializers Wed, 22 Jun 2016 11:27:15 +0100 Author : Robert Osfield Added initializers Wed, 22 Jun 2016 11:26:11 +0100 Author : Robert Osfield Added default_value() template to help with creating templates that need to initialize members that are floats etc. Wed, 22 Jun 2016 10:35:37 +0100 Author : Robert Osfield Added intializers Wed, 22 Jun 2016 09:49:27 +0100 Author : Robert Osfield Added initializers Wed, 22 Jun 2016 09:37:51 +0100 Author : Robert Osfield Removed info comment Wed, 22 Jun 2016 09:33:18 +0100 Author : Robert Osfield Fixed null termination Wed, 22 Jun 2016 09:24:44 +0100 Author : Robert Osfield Added initializers in case ply_get_element() doesn't overwrite the values. Tue, 21 Jun 2016 17:04:22 +0100 Author : Robert Osfield Fixed memory leak. Tue, 21 Jun 2016 17:03:33 +0100 Author : Robert Osfield Fixed line endings Tue, 21 Jun 2016 11:45:19 +0100 Author : Robert Osfield Changed the pointer arithmetic to be more explict and readable. Tue, 21 Jun 2016 11:23:33 +0200 Author : Alberto Luaces Fixed indentation for code snippetDue to incorrect indentation, the code snippet was not being formatted correctly as code. Tue, 21 Jun 2016 09:21:45 +0100 Author : Robert Osfield Removed the osgviewerGLUT as GLUT is terrible example of how to build a modern 3D graphics application. Tue, 21 Jun 2016 08:14:00 +0100 Author : Robert Osfield Reverted to C style for loop initialization Mon, 20 Jun 2016 19:06:01 +0100 Author : Robert Osfield Fixed COVERITY reported overflow defect. Mon, 20 Jun 2016 17:59:52 +0100 Author : Robert Osfield Restructed copy to avoid pointer artithmetic when only single float is being used to avoid Coverity reported defect. Mon, 20 Jun 2016 17:57:41 +0100 Author : Robert Osfield Fixed line endings Mon, 20 Jun 2016 17:39:57 +0100 Author : Robert Osfield Added string termination Mon, 20 Jun 2016 17:35:25 +0100 Author : Robert Osfield Fixed string null termination defects Mon, 20 Jun 2016 17:05:10 +0100 Author : Robert Osfield Addd explict setting of 0 string termination. Mon, 20 Jun 2016 16:50:21 +0100 Author : Robert Osfield Introduced local cursormap variable to make it clearer which containers are being worked upon. Mon, 20 Jun 2016 14:06:21 +0100 Author : Robert Osfield Removed no longer used Designer Workbench plugin.It's code quality is poor and as there has been no sign that it's used in the community decided to remove it rather than spend time trying to fix the mess it's in. Mon, 20 Jun 2016 14:04:38 +0100 Author : Robert Osfield Fixed potential memory leak Mon, 20 Jun 2016 14:00:47 +0100 Author : Robert Osfield Fixed potential memory leaks Mon, 20 Jun 2016 13:37:59 +0100 Author : Robert Osfield Fixed potential memory leak Mon, 20 Jun 2016 12:52:49 +0100 Author : Robert Osfield Moved the setUserData(new TileIdentifier(..)) so that all branches can utilize it. Mon, 20 Jun 2016 12:46:00 +0100 Author : Robert Osfield Added missing initializers Mon, 20 Jun 2016 12:40:46 +0100 Author : Robert Osfield Added missing initializers Mon, 20 Jun 2016 12:27:47 +0100 Author : Robert Osfield Added check to make sure undefined condition happens due to unitialized variables. Mon, 20 Jun 2016 12:20:44 +0100 Author : Robert Osfield Added intializer for char[] to squash Coverity "defect". Mon, 20 Jun 2016 12:25:43 +0200 Author : Ralf Habacker example_osgobjectcache: Add a check that we really get the correct nodes. Mon, 20 Jun 2016 08:14:53 +0200 Author : Ralf Habacker clang 6.0 compile fixes. Fri, 17 Jun 2016 17:48:31 +0200 Author : Ralf Habacker Fix finding object cache entries. Mon, 20 Jun 2016 10:23:05 +0100 Author : Robert Osfield Build fixes for building with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF. Added spacing to make code more readable. Fri, 17 Jun 2016 17:45:06 +0200 Author : Ralf Habacker Add osgobjectcache example. Mon, 20 Jun 2016 06:42:34 +0100 Author : OpenSceneGraph git repository Merge pull request #86 from spthaolt/mastercorrected syntax error in src/osgPlugins/fbx/ReaderWriterFBX.cpp Sun, 19 Jun 2016 21:07:37 +0700 Author : Thao Le corrected syntax error in src/osgPlugins/fbx/ReaderWriterFBX.cpp Fri, 17 Jun 2016 15:39:19 +0100 Author : Robert Osfield Replaced old slow path deprecated_osg::Geometry code Fri, 17 Jun 2016 14:13:35 +0100 Author : Robert Osfield Replaced deprecated_osg::Geometry usage Fri, 17 Jun 2016 13:04:41 +0100 Author : Robert Osfield Converted code across to using non deprecated version of osg::Geometry Fri, 17 Jun 2016 12:52:04 +0100 Author : Robert Osfield Removed pfb plugin as the Perform dependency it relies upon has long since disappeared Fri, 17 Jun 2016 12:49:44 +0100 Author : Robert Osfield Build fixes to reflect removal of deprecated_osg::Geometry Fri, 17 Jun 2016 11:53:34 +0100 Author : Robert Osfield Removed old examples that relied upon deprecated functionality Fri, 17 Jun 2016 10:57:17 +0100 Author : Robert Osfield Fixed coverity detected defect: Incorrect values read from a different memory region will cause incorrect computations. In osgDB::​base64_decode_value(char): Out-of-bounds read from a buffer Fri, 17 Jun 2016 10:51:53 +0100 Author : Robert Osfield Fixed coverity defects, two missing checks for error condition and resource leak. Fri, 17 Jun 2016 10:42:02 +0100 Author : Robert Osfield Fixed memory leak Fri, 17 Jun 2016 10:32:01 +0100 Author : Julien Valentin Added OpenGL extensions related to shader subroutine Fri, 17 Jun 2016 10:17:18 +0100 Author : Robert Osfield Merge branch 'coverity_scan' Fri, 17 Jun 2016 10:12:11 +0100 Author : Robert Osfield Removed deprecated_osg::Geometry and cleaned up the deprecated Geometry::set*Binding() calls Fri, 17 Jun 2016 09:48:21 +0100 Author : Robert Osfield Fixed indentation, replaced dynamic_cast<> with static_cast<> as we know the type and add check against null pointers Fri, 17 Jun 2016 09:40:35 +0100 Author : Robert Osfield Added missing check against null Fri, 17 Jun 2016 09:33:56 +0100 Author : Robert Osfield Added missing checks against viewer being valid and added missing break. Fri, 17 Jun 2016 09:24:13 +0100 Author : Robert Osfield Added if (texture) to fix bug when the dynamic_cast<> returns NULL. Fri, 17 Jun 2016 09:15:37 +0100 Author : Robert Osfield Merge branch 'coverity_scan' Fri, 17 Jun 2016 08:53:38 +0100 Author : Robert Osfield Changed dyanmic_cast<> to static_cast<> as code is written in a way that the type is always known. Fri, 17 Jun 2016 07:52:41 +0100 Author : Robert Osfield Fixed logically dead code detected by Coverity Fri, 17 Jun 2016 07:46:39 +0100 Author : Robert Osfield Removed logically dead code detected by Coverity Thu, 16 Jun 2016 14:15:37 +0200 Author : Jordi Torres Add coverity scan badge Thu, 16 Jun 2016 12:55:27 +0200 Author : Jordi Torres Modified coverity build command to avoid creating dirs Wed, 15 Jun 2016 19:05:35 +0100 Author : Julien Valentin Refactored osg::TextureBuffer to support assigning any type of osg::BufferData rather than just osg::Image as was previously required.Refactored osgforest and osggpucull examples to take account of changes to TextureBuffer. Added osg::DrawIndirectBufferBinding. Wed, 15 Jun 2016 18:35:25 +0200 Author : Jordi Torres Changes to travis.yml with the new token for coverity scan Wed, 15 Jun 2016 15:38:52 +0100 Author : Robert Osfield Fixed indentation Wed, 15 Jun 2016 11:42:01 +0100 Author : Robert Osfield Another attempt to resovle coverity_scan build issue Wed, 15 Jun 2016 10:49:55 +0100 Author : Robert Osfield Another rev of .travis.yml to see if we can tease Coverity scan into action. Tue, 14 Jun 2016 18:27:27 +0100 Author : Robert Osfield Removed redundent _boundingBoxComputed Tue, 14 Jun 2016 17:18:22 +0100 Author : Robert Osfield How to debug tavis script when documentation is so spartan? Tue, 14 Jun 2016 17:13:39 +0100 Author : Robert Osfield Another rev of .travis.yml to try and get things working Tue, 14 Jun 2016 16:51:07 +0100 Author : Robert Osfield As an experiment moved the coverity_scan code into the linux addons: block Tue, 14 Jun 2016 16:42:06 +0100 Author : Robert Osfield Added {} brackets around OSG_DEBUG usage to avoid issues with marco's expanding if else. Tue, 14 Jun 2016 16:40:15 +0100 Author : Robert Osfield Removed deprecated register keyword usage Tue, 14 Jun 2016 16:39:29 +0100 Author : Robert Osfield Fixed line endings Tue, 14 Jun 2016 16:37:31 +0100 Author : Robert Osfield Removed use of deprecated register keyword Fri, 27 May 2016 14:57:55 +0200 Author : Ralf Habacker Fix 'Non-static class member "yy_lp" is not initialized in this constructor nor in any functions that it calls".Coverity CID 126893: Uninitialized members (UNINIT_CTOR) Wed, 15 Jan 2014 15:33:42 +0100 Author : Ralf Habacker Identify files in object cache by filename and optional provided options.Objects with the same filename may be different from others based on the provided plugin options. Using filename *and* the provided options as object cache key helps to avoid fetching the wrong object. Tue, 14 Jun 2016 12:00:36 +0100 Author : Robert Osfield Updated SO version number to reflect changes to API Tue, 14 Jun 2016 11:43:45 +0100 Author : Julien Valentin osgDB Wrapper Associates Revision Tagging Tue, 14 Jun 2016 09:44:50 +0100 Author : Robert Osfield Changed the build to run on 3 cores. Tue, 14 Jun 2016 09:30:00 +0100 Author : Robert Osfield Added first cut of Coverity Scan support Tue, 14 Jun 2016 08:52:54 +0100 Author : OpenSceneGraph git repository Merge pull request #83 from filnet/warningsFixed various compilation warnings on msys2 Tue, 14 Jun 2016 08:50:14 +0100 Author : OpenSceneGraph git repository Merge pull request #82 from filnet/ffmpegmsys2: fix ffmpeg pluging compilation error due to spurious stdint re… Mon, 13 Jun 2016 17:10:47 +0100 Author : Robert Osfield Updated date. Mon, 13 Jun 2016 16:24:01 +0100 Author : Robert Osfield Added #include in case other headers don't include it. Sat, 11 Jun 2016 17:44:41 +0200 Author : Philippe Renon msys2: fixed ignoring #pragma warning Sat, 11 Jun 2016 17:43:49 +0200 Author : Philippe Renon msys2: fixed redefined include warnings Sat, 11 Jun 2016 17:43:07 +0200 Author : Philippe Renon msys2: fixed converting to non-pointer type 'long long int' from NULL Sat, 11 Jun 2016 17:42:19 +0200 Author : Philippe Renon msys2: fixed uninitialized variable Sat, 11 Jun 2016 17:39:52 +0200 Author : Philippe Renon msys2: fix ffmpeg pluging compilation error due to spurious stdint related includes Sat, 11 Jun 2016 17:05:00 +0200 Author : Philippe Renon make osgViewer::View::requiresUpdateSceneGraph() virtual Sat, 11 Jun 2016 16:58:51 +0200 Author : Philippe Renon refactor common code from CompositeViewer::checkNeedToDoFrame() and Viewer::checkNeedToDoFrame() into View Fri, 10 Jun 2016 19:40:15 +0100 Author : Robert Osfield Fixed unitialized member variable Fri, 10 Jun 2016 19:35:44 +0100 Author : Robert Osfield Fixed unitialized member variable Fri, 10 Jun 2016 19:33:47 +0100 Author : Robert Osfield FIxed unitialized member variables Fri, 10 Jun 2016 19:27:46 +0100 Author : Robert Osfield Fixed memory leak Fri, 10 Jun 2016 19:25:07 +0100 Author : Robert Osfield Fixed memory leak Fri, 10 Jun 2016 18:03:18 +0100 Author : Robert Osfield Updated version number of to 3.5.4 Fri, 10 Jun 2016 17:24:03 +0100 Author : Robert Osfield Fixed memory leak Fri, 10 Jun 2016 17:19:41 +0100 Author : Robert Osfield Fixed memory leak Fri, 10 Jun 2016 17:09:34 +0100 Author : Robert Osfield Fixed memory leak Fri, 10 Jun 2016 17:06:04 +0100 Author : Robert Osfield Fixed memory leak Fri, 10 Jun 2016 17:01:42 +0100 Author : Robert Osfield Fixed memory leak Fri, 10 Jun 2016 16:59:19 +0100 Author : Robert Osfield Added use of ref_ptr<> to fix memory leak Fri, 10 Jun 2016 16:54:46 +0100 Author : Robert Osfield Fixed memory leak Fri, 10 Jun 2016 16:44:50 +0100 Author : Robert Osfield Added use of ref_ptr<> to fix memory leak Fri, 10 Jun 2016 16:41:13 +0100 Author : Robert Osfield Restructed to fix memory leak Fri, 10 Jun 2016 16:36:13 +0100 Author : Robert Osfield Added use of ref_ptr<> to fix memory leak Fri, 10 Jun 2016 16:34:36 +0100 Author : Robert Osfield Added ref_ptr<> usage to address memory leaks Fri, 10 Jun 2016 16:30:21 +0100 Author : Robert Osfield Added missing intializers to address Coverity issue Fri, 10 Jun 2016 16:16:29 +0100 Author : Robert Osfield Added assert() to make it clear to Coverity that both prev and next won't be null Fri, 10 Jun 2016 15:53:58 +0100 Author : Robert Osfield Fixed memory leak detected by Coverity Fri, 10 Jun 2016 15:49:24 +0100 Author : Robert Osfield Fixed memory leak detected by Coverity Fri, 10 Jun 2016 15:24:19 +0100 Author : Robert Osfield Fixed "User after free" bugs reported by Coverity. Fri, 10 Jun 2016 14:58:42 +0100 Author : Robert Osfield Fixed potential memory leak by introducing ref counting. Fri, 10 Jun 2016 14:36:50 +0100 Author : Robert Osfield Introduced use of local std::string to work around issue of the read header.text not being null terminated and causing a problem with the strstr call. Fri, 10 Jun 2016 14:16:49 +0100 Author : Robert Osfield Fixed uninitialized member variable. Fri, 10 Jun 2016 14:09:43 +0100 Author : Robert Osfield Restructed variable ordering and added missing va_end(). Fri, 10 Jun 2016 14:09:03 +0100 Author : Robert Osfield Fixed line endings Fri, 10 Jun 2016 14:02:55 +0100 Author : Robert Osfield Restructed fgetc usage. Fri, 10 Jun 2016 13:42:13 +0100 Author : Robert Osfield Fixing some of the more glaring coding errors in DW plugin. Fri, 10 Jun 2016 13:31:51 +0100 Author : Robert Osfield Reordered paramter usage to fix coverity warning about parameter names not matching Fri, 10 Jun 2016 12:44:26 +0100 Author : Robert Osfield Fixed invalidated iterator bug pick up by Coverity. Fri, 10 Jun 2016 12:03:48 +0100 Author : Robert Osfield Fixed iterator invalidation bug picked by Covertiy scan. Thu, 9 Jun 2016 12:08:47 +0100 Author : Robert Osfield Rewrote Window::setNextFocusable() to address a bug in the management of the search iterator. Covertiy reported bug "Undefined behavior may result; the program may crash or subtly misbehave. In osgWidget::​Window::​setNextFocusable(): An invalid or past-the-end iterator is being used." Thu, 9 Jun 2016 11:41:14 +0100 Author : Robert Osfield Fixed "Using invalid iterator" bug in getTile() methods, detected by Covertity. Thu, 9 Jun 2016 11:29:03 +0100 Author : OpenSceneGraph git repository Merge pull request #80 from jtorresfabra/changeReadmeToMDChanged Readme file to markdown Thu, 9 Jun 2016 12:14:35 +0200 Author : Jordi Torres Changed Readme file to markdown Thu, 9 Jun 2016 10:59:44 +0100 Author : OpenSceneGraph git repository Merge pull request #79 from jtorresfabra/addTravisStatusAdded travis CI status label to github Thu, 9 Jun 2016 11:50:12 +0200 Author : Jordi Torres Added travis CI status label to github Thu, 9 Jun 2016 10:48:05 +0100 Author : Julien Valentin Shader subroutine related funcs added Thu, 9 Jun 2016 10:15:38 +0100 Author : Sebastian Messerschmidt OpenFlight-plugin with extended attributes. Added the addtional properties (terrain, roofline and footprint) alongside with the SMC/FID attributes. Also I added the newly added IRMaterial to the per-geode properties. Added the Texture-EffectId and the mapping index as a user-value to the texture object. Naming scheme is the same as for the per-vertex/geode attributes. Wed, 8 Jun 2016 16:48:29 +0100 Author : OpenSceneGraph git repository Merge pull request #78 from LaurensVoerman/mastervisual studio 2015 warning fixes: Wed, 8 Jun 2016 16:10:48 +0100 Author : Robert Osfield Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph Wed, 8 Jun 2016 16:10:39 +0100 Author : OpenSceneGraph git repository Merge pull request #76 from jtorresfabra/travis-addinitial travis file, support for ubuntu trusty and osx builds Wed, 8 Jun 2016 16:16:48 +0200 Author : Laurens Voerman Merge remote-tracking branch 'upstream/master' Wed, 8 Jun 2016 13:50:20 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 13:40:02 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 13:38:40 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 13:37:17 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 13:36:18 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 13:35:46 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 13:34:55 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 13:34:33 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 13:32:14 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 13:30:09 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 13:28:18 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 13:26:00 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 13:25:02 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 13:22:54 +0100 Author : Robert Osfield Disabled -Wextra as the warning it generates is bengin and fixing it would introduce warnings on other platforms Wed, 8 Jun 2016 14:22:14 +0200 Author : Laurens Voerman visual studio 2015 warning fixes: OpenSceneGraph\src\osgPlugins\dae\daeRAnimations.cpp(470): warning C4456: declaration of 'kfCntr' hides previous local declaration OpenSceneGraph\src\osgPlugins\dae\daeRAnimations.cpp(452): note: see declaration of 'kfCntr' OpenSceneGraph\src\osgPlugins\dae\daeReader.cpp(202): warning C4456: declaration of 'i' hides previous local declaration OpenSceneGraph\src\osgPlugins\dae\daeReader.cpp(188): note: see declaration of 'i' OpenSceneGraph\src\osgPlugins\dae\daeReader.cpp(226): warning C4456: declaration of 'i' hides previous local declaration OpenSceneGraph\src\osgPlugins\dae\daeReader.cpp(188): note: see declaration of 'i' OpenSceneGraph\src\osgPlugins\dae\daeReader.cpp(243): warning C4456: declaration of 'i' hides previous local declaration OpenSceneGraph\src\osgPlugins\dae\daeReader.cpp(188): note: see declaration of 'i' OpenSceneGraph\src\osgPlugins\dae\daeReader.cpp(253): warning C4456: declaration of 'i' hides previous local declaration OpenSceneGraph\src\osgPlugins\dae\daeReader.cpp(188): note: see declaration of 'i' Wed, 8 Jun 2016 13:20:07 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 12:26:40 +0100 Author : Robert Osfield Fixed -Wextra warnings Wed, 8 Jun 2016 12:24:46 +0100 Author : Robert Osfield Fixed -Wextra warnings Wed, 8 Jun 2016 12:22:27 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 12:22:12 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 12:21:51 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 12:21:29 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 12:19:53 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 12:16:58 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 12:15:51 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 12:14:35 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 12:10:00 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 12:09:00 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 12:07:14 +0100 Author : Robert Osfield Fixed -Wextra warnings Wed, 8 Jun 2016 11:50:18 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 11:48:02 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 11:41:54 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 11:40:51 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 11:39:47 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 11:38:40 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 11:35:21 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 11:34:06 +0100 Author : Robert Osfield Fixed -Wextra warnings Wed, 8 Jun 2016 11:31:11 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 11:30:35 +0100 Author : Robert Osfield Fixed -Wextra warnings Wed, 8 Jun 2016 11:18:20 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 11:07:56 +0100 Author : Robert Osfield Fixed ignored qualifiers warning Wed, 8 Jun 2016 11:06:52 +0100 Author : Robert Osfield Fixed ignored qualifiers warning Wed, 8 Jun 2016 11:05:29 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 11:04:24 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 11:02:51 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 10:59:55 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 10:58:14 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 10:55:22 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 10:54:36 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 10:52:40 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 10:51:45 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 10:46:45 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 10:45:32 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 10:43:57 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 10:42:00 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 10:34:40 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 10:21:57 +0100 Author : Robert Osfield Added -Wmaybe-uninitialized -Wextra warnings to GNU CXX build. Wed, 8 Jun 2016 10:19:57 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 10:18:23 +0100 Author : Robert Osfield Fixed -Wextra warnings Wed, 8 Jun 2016 10:17:47 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 10:16:20 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 10:15:51 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 10:14:56 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 10:00:18 +0100 Author : Robert Osfield Fixed -Wextra warning Wed, 8 Jun 2016 09:59:33 +0100 Author : Robert Osfield Disabled -Wextra for dae build as warnings in COLLADA_DOM headers can't be fixed Wed, 8 Jun 2016 09:57:57 +0100 Author : Robert Osfield Fixed -Wextra warning Wed, 8 Jun 2016 09:57:30 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 09:57:02 +0100 Author : Robert Osfield Fixed -Wextra warnings Wed, 8 Jun 2016 09:56:35 +0100 Author : Robert Osfield Fixed -Wextra warning Wed, 8 Jun 2016 09:55:33 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 09:55:15 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 09:54:10 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 09:52:09 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 09:51:50 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 09:50:38 +0100 Author : Robert Osfield Fixed -Wextra warnings Wed, 8 Jun 2016 09:49:58 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 09:49:29 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 09:49:10 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 09:48:39 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 09:48:14 +0100 Author : Robert Osfield Fixed -Wextra warnings Wed, 8 Jun 2016 09:47:30 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 09:46:58 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 09:46:09 +0100 Author : Robert Osfield Fixed -Wextra warnings Wed, 8 Jun 2016 09:44:39 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 09:43:40 +0100 Author : Robert Osfield Fixed unused parameter warnings Wed, 8 Jun 2016 09:43:05 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 09:38:22 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 09:37:43 +0100 Author : Robert Osfield Disabled the -Wextra warnin the warnings that can't be fixed due to optional code paths. Wed, 8 Jun 2016 09:34:34 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 09:33:56 +0100 Author : Robert Osfield Disabled the -Wextra warning as resolve the warnings will create other warnings under other compilers Wed, 8 Jun 2016 09:20:16 +0100 Author : Robert Osfield Fixed -Wextra warnings Wed, 8 Jun 2016 09:07:32 +0100 Author : Robert Osfield Fixed -Wextra warnings Wed, 8 Jun 2016 09:06:42 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 09:05:34 +0100 Author : Robert Osfield Fixed -Wextra warningsw Wed, 8 Jun 2016 09:04:01 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 09:01:47 +0100 Author : Robert Osfield Fixed unused parameter warning. Wed, 8 Jun 2016 08:54:43 +0100 Author : Robert Osfield Fixed -Wextra warnings Wed, 8 Jun 2016 08:52:30 +0100 Author : Robert Osfield Fixed unused parameter warning. Tue, 7 Jun 2016 09:43:36 +0100 Author : Robert Osfield Fixed shadows warnings Tue, 7 Jun 2016 08:53:42 +0100 Author : Robert Osfield Fixed "unreferenced formal parameter" warnings Mon, 6 Jun 2016 17:54:29 +0100 Author : Laurens Voerman Build and warning fixes Mon, 6 Jun 2016 14:38:15 +0100 Author : Robert Osfield Removed shadowing declaration Mon, 6 Jun 2016 14:37:33 +0100 Author : Robert Osfield Fixed line endings Mon, 6 Jun 2016 14:28:41 +0100 Author : Robert Osfield Added disabling of the C4702 as changing the code would introduce it's own warning. Mon, 6 Jun 2016 14:28:12 +0100 Author : Robert Osfield Fixed shadowing warning Mon, 6 Jun 2016 14:18:43 +0100 Author : Robert Osfield Fixed VS2015 warning Mon, 6 Jun 2016 13:12:43 +0100 Author : Björn Blissing Quitened down VS warnings Mon, 6 Jun 2016 12:05:28 +0100 Author : Robert Osfield Removed redundent _EXT Mon, 6 Jun 2016 11:59:56 +0100 Author : Jethro Leevers Added support for GL_LINE_STRIP_ADJACENCY_EXT Sat, 4 Jun 2016 18:40:37 +0100 Author : Robert Osfield Removed the use of register hint and cleaned up indentation Sat, 4 Jun 2016 18:36:36 +0100 Author : Robert Osfield Added "" around the CMAKE_CXX_FLAGS setting to fix build error Fri, 3 Jun 2016 18:53:24 +0100 Author : Robert Osfield Updated AUTHORS file Fri, 3 Jun 2016 18:24:53 +0100 Author : Robert Osfield Updated ChangeLog Fri, 3 Jun 2016 17:57:04 +0100 Author : Julien Valentin Fixed little bug in DrawArraysLength (instancing not supported). Corrected PrimitiveSet.cpp in order DrawArraysLength can be instanced. It's the only pr missing code if (_numInstances>=1) glDrawXXXInstanced(...,_numInstances); else glDrawXXX(); Fri, 3 Jun 2016 17:38:32 +0100 Author : Robert Osfield Added -Wno-deprecated-register for Clang build to quieten warnings related to lex/yacc generated files Fri, 3 Jun 2016 17:33:45 +0100 Author : Björn Blissing Last two files with fixes to the virtual inheritance warnings...I have also attached the fix to the type shadowing problem in ConvexPolyhedron.cpp Fri, 3 Jun 2016 17:30:12 +0100 Author : Björn Blissing fix for the rest of the VS2015 virtual inheritance warnings. Same as for issues as for the Operation class. Fri, 3 Jun 2016 17:22:28 +0100 Author : Björn Blissing VS2015 build fix Fri, 3 Jun 2016 13:41:19 +0200 Author : Jordi Torres initial travis file, support for ubuntu trusty and osx builds Fri, 3 Jun 2016 11:30:48 +0100 Author : Björn Blissing Fixed VS2015 compiler warnings Fri, 3 Jun 2016 11:28:10 +0100 Author : Robert Osfield Added float variants of osg::PI etc. in the form osg::PIf Converted osg::PI usage to osg::PIf in ShapeDrawable.cpp to address Windows build errors Fri, 3 Jun 2016 10:18:41 +0100 Author : Robert Osfield Fixed Clang warnings related to external dependencies Fri, 3 Jun 2016 09:33:47 +0100 Author : Robert Osfield Fixed clang warnings Thu, 2 Jun 2016 20:00:42 +0100 Author : Robert Osfield Added check against GCC version when adding the -Wshadow warning to OSG_AGGRESSIVE_WARNING_FLAGS so that it's only used in versions later than 4.9. Thu, 2 Jun 2016 17:54:24 +0100 Author : Robert Osfield Moved the REGISTER_WINDOWINGSYSTEMINTERFACE macro into the osgViewer namespace Thu, 2 Jun 2016 17:50:53 +0100 Author : Robert Osfield Removed osgViewer:: prefix to addres build error Thu, 2 Jun 2016 16:04:06 +0100 Author : Juan Hernando Vieites The current implementation of readImageFromCurrentTexture doesn't consider the texture rectangle mode. Find attached a version of the file that corrects this issue Thu, 2 Jun 2016 15:43:31 +0100 Author : Robert Osfield Fixed potential memory leak Thu, 2 Jun 2016 15:41:15 +0100 Author : Robert Osfield Fixed uninitialized variable. Thu, 2 Jun 2016 15:35:47 +0100 Author : Robert Osfield Added handling of failure to create ElementBufferObject. Thu, 2 Jun 2016 15:23:38 +0100 Author : Robert Osfield Removed debugging code Thu, 2 Jun 2016 14:56:43 +0100 Author : Robert Osfield Moved status check to quieten coverity warning Thu, 2 Jun 2016 14:53:11 +0100 Author : Robert Osfield Added missing break Thu, 2 Jun 2016 14:38:23 +0100 Author : Robert Osfield Removed debug message Thu, 2 Jun 2016 14:36:38 +0100 Author : Robert Osfield Fixed redundent checks and clean up clone usage Thu, 2 Jun 2016 14:33:32 +0100 Author : Robert Osfield Added missing break Thu, 2 Jun 2016 14:31:44 +0100 Author : Robert Osfield Fixed method to match parent class. Thu, 2 Jun 2016 14:30:58 +0100 Author : Robert Osfield Fixed method to match parent class. Thu, 2 Jun 2016 14:22:25 +0100 Author : Robert Osfield Removed redudent codepaths, standardizing on the most portable Texture2D path. Thu, 2 Jun 2016 14:18:12 +0100 Author : Robert Osfield Removed redudent code paths Thu, 2 Jun 2016 13:51:46 +0100 Author : Robert Osfield Cleaned up the cloning usage Thu, 2 Jun 2016 13:23:34 +0100 Author : Robert Osfield Fixed unitialized variables Thu, 2 Jun 2016 13:03:07 +0100 Author : Robert Osfield Set default value of OSG_USE_REF_PTR_SAFE_DEREFERENCE of OFF to avoid the check overhead polutting all OSG applications. Thu, 2 Jun 2016 12:43:09 +0100 Author : Robert Osfield Fixed typo Thu, 2 Jun 2016 12:22:51 +0100 Author : Robert Osfield Fixed build issues when OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION is set to OFF Thu, 2 Jun 2016 11:25:40 +0100 Author : Robert Osfield Bumped version number for 3.5.3 dev release Thu, 2 Jun 2016 11:06:50 +0100 Author : Robert Osfield Restructed the control of OSG_AGGRESSIVE_WARNINGS_FLAGS to make it possible to edit them in ccmake/CMakeSetup. Changed the name of OSG_USE_AGGRESSIVE_WARNINGS to OSG_AGGRESSIVE_WARNINGS to make sure it sits alongside the OSG_AGGRESSIVE_WARNINGS_FLAGS within ccmake so that it's easier to see how the two variables are coupled. Thu, 2 Jun 2016 10:06:58 +0100 Author : Davide Raccagni Fixed version of CMakeLists.txt when you check BUILD_OPENTHREAD_WITH_QT and compile with Visual Studio 2015 Thu, 2 Jun 2016 10:04:36 +0100 Author : Robert Osfield Fixed line endings Wed, 1 Jun 2016 16:22:42 +0100 Author : Robert Osfield Added _LIBRARIES var to mix Wed, 1 Jun 2016 15:51:49 +0100 Author : Robert Osfield Changed freetype plugin to utilize CMake's FindFreetype.cmake rather than use a local one. Wed, 1 Jun 2016 15:09:21 +0100 Author : Robert Osfield Fixed line endings Wed, 1 Jun 2016 14:20:14 +0100 Author : Robert Osfield Fixed doxygen warnings Wed, 1 Jun 2016 13:41:17 +0100 Author : Robert Osfield Removed no longer supported doxygen settings Wed, 1 Jun 2016 13:40:06 +0100 Author : Robert Osfield Fixed line endings Wed, 1 Jun 2016 12:49:55 +0100 Author : Robert Osfield Fixed missing " Wed, 1 Jun 2016 11:41:10 +0100 Author : Robert Osfield Added macosx10.11 to the list of supported OSX SDK's Wed, 1 Jun 2016 11:25:31 +0100 Author : Robert Osfield Added in extra search paths for FBX Wed, 1 Jun 2016 10:55:19 +0100 Author : OpenSceneGraph git repository Merge pull request #74 from susnux/fix-61Added missing stdexcept header, fixes #61 Wed, 1 Jun 2016 10:32:35 +0100 Author : Andreas Cadhalpun Replace deprecated FFmpeg API to fix build with ffmpeg-3.0.x Wed, 1 Jun 2016 10:01:44 +0100 Author : Julien Valentin Added glDrawArraysIndirect, glMultiDrawArraysIndirect, glDrawElementsIndirect and glMultiDrawElementsIndirect extensions. Wed, 6 Mar 2013 09:38:48 +0100 Author : Stephan van Alste Do not install non existant pdb file in release build mode Tue, 12 Feb 2013 13:09:00 +0100 Author : Ralf Habacker Install msvc debug files along with the binaries Tue, 31 May 2016 16:14:51 +0100 Author : Ralf Habacker Fixed bug not detecting unc pathes in osgDB::isAbsolutePath() Tue, 31 May 2016 12:58:57 +0100 Author : Alberto Luaces defines for building on Hurd and BSD kernels Tue, 31 May 2016 12:45:28 +0100 Author : Marcin Hajder Fix for nvtt plugin to support RGTC1/RGTC2 pixel format. Thanks to this simple fix it's possible to compress red/red-green channel of RGB/RGBA image to GL_COMPRESSED_RED_RGTC1_EXT/GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT pixel format. Tue, 31 May 2016 11:27:30 +0100 Author : Pjotr Svetachov small optimization to the osgb/t serializers. Tue, 31 May 2016 11:05:02 +0100 Author : Nguyen Van Truong I Use two touch screen in my App. I had a bug touch point in secondary screen ( the touch point not same mouse push point). Tue, 31 May 2016 10:54:38 +0100 Author : Robert Osfield Fixed indentation Tue, 31 May 2016 10:32:43 +0100 Author : Robert Osfield Fixed warning message Tue, 31 May 2016 10:28:08 +0100 Author : Robert Osfield Removed the redudent ive::ReadWrite base class Tue, 31 May 2016 09:46:03 +0100 Author : Robert Osfield Removed virtual methods from base class as this was breaking the casting. Ironically this fix was required as the original "fix" for issue raised by Coverity introduced a crash! Mon, 30 May 2016 13:43:09 +0100 Author : Jannik Heller Fixed typo of method name Mon, 30 May 2016 12:41:25 +0100 Author : Tony Vasile OpenFlight-plugin with Surface Material Codes. There is one additional field that may be required by an existing application in addition to the IR Code is the IR Material. I have a small fix to include the IR Material as the User Value Mon, 30 May 2016 12:30:05 +0100 Author : Alberto Luaces Typo fixes Fri, 27 May 2016 10:34:15 +0100 Author : Ralf Habacker Fix 'unterminated_case: The case for value 7U is not terminated by a 'break' statement' in jpeg plugin.Reported by Coverity: CID 86499: Missing break in switch (MISSING_BREAK) Fri, 27 May 2016 10:28:26 +0100 Author : Ralf Habacker Fix 'bad_override: Method ive::DirectionalSector::read hides but does not override ive::ReadWrite::read because some type qualifiers do not match'.Reported by Coverity: CID 86119 and 269 others Fri, 27 May 2016 09:47:07 +0100 Author : Robert Osfield Changed the RenderStageCache::RenderStageMap to use map> in place of map> to avoid problems of dynamic_cast<> on an object that is being deleted. Thu, 26 May 2016 18:07:46 +0100 Author : Robert Osfield From Wee See, "attached a small submission, which makes the option "readObjectRecordData" of OpenFlight-plugin working like documented in the Knowledge Base of OSG (52-using-the-openflight-plugin).Actually, if the option "readObjectRecordData" is set, ObjectRecordData will not be read and set. With this submission, if the option "readObjectRecordData" is set, ObjectRecordData will be read and set." Thu, 26 May 2016 17:49:06 +0100 Author : Robert Osfield From Philippe Renon and Robert Osfield, osgViewer::Viewer::checkNeedToDoFrame should return true when only the root node has an update callback.Note, from Robert, I took Philippe modifications to Viewer.cpp and reformated them slightly to avoid a double check against getSceneData()!=0 and then rolled the changes out to CompositeViewer::checkNeedToDoFrame() to ensure that both implementations work the same. Thu, 26 May 2016 15:07:02 +0100 Author : Robert Osfield Fixed shadows warning Thu, 26 May 2016 11:13:56 +0100 Author : Robert Osfield Fixed shadows warnings Thu, 26 May 2016 10:35:33 +0100 Author : Robert Osfield Fixed shadows warnigns Thu, 26 May 2016 10:24:44 +0100 Author : Robert Osfield Fixed shadows warnings Thu, 26 May 2016 10:24:31 +0100 Author : Robert Osfield Fixed shadows warnings Thu, 26 May 2016 10:01:20 +0100 Author : Robert Osfield Fixed shadows warnings Thu, 26 May 2016 09:48:16 +0100 Author : Robert Osfield Fixed shadows warnings Thu, 26 May 2016 08:25:12 +0100 Author : Robert Osfield Fixed shadows warnings Wed, 25 May 2016 18:12:43 +0100 Author : Robert Osfield Fixed shadows warnings in lwo plugin Wed, 25 May 2016 17:39:25 +0100 Author : Robert Osfield Disable -Wshadow on GNU compile as OGR headers have shadowing parameters we can't fix. Wed, 25 May 2016 17:34:59 +0100 Author : Robert Osfield Fixed shadows warnigns Wed, 25 May 2016 17:10:54 +0100 Author : Robert Osfield Fixed shadows warnings Wed, 25 May 2016 17:08:51 +0100 Author : Robert Osfield Fixed shadows warnings - txp plugin was a mess w.r.t shadowing member variables. Wed, 25 May 2016 13:58:06 +0100 Author : Robert Osfield Fixed shadows warnings Wed, 25 May 2016 13:27:35 +0100 Author : Robert Osfield Fixed shadows warnings Wed, 25 May 2016 13:22:51 +0100 Author : Robert Osfield Fixed shadows warning Wed, 25 May 2016 11:30:49 +0100 Author : Robert Osfield Fixed shadows warnings Wed, 25 May 2016 11:20:13 +0100 Author : Robert Osfield Fixed shadows warning and an associated by in osgAnimation::Statshandler::changeYposition(..) Wed, 25 May 2016 11:11:11 +0100 Author : Robert Osfield Fixed shadows warnings Wed, 25 May 2016 11:00:35 +0100 Author : Robert Osfield Fixed shadows warnings Wed, 25 May 2016 10:26:35 +0100 Author : Robert Osfield Fixed shadows warnings Wed, 25 May 2016 10:10:43 +0100 Author : Robert Osfield Fixed shadows warnings Wed, 25 May 2016 10:09:18 +0100 Author : Robert Osfield Fixed line endings Wed, 25 May 2016 09:56:40 +0100 Author : Robert Osfield Fixed shadows warnings Tue, 24 May 2016 20:46:44 +0100 Author : Robert Osfield Fixed RenderStageCache's handling of Observer functionality that was causing a crashing on exit in osgoit and osgprerender examples. Mon, 23 May 2016 20:02:36 +0100 Author : Robert Osfield Fixed shadows warnings Mon, 23 May 2016 16:22:49 +0100 Author : Robert Osfield Fixed shadows warning Mon, 23 May 2016 16:20:59 +0100 Author : Robert Osfield Fixed shadows warnings Mon, 23 May 2016 11:31:02 +0100 Author : Robert Osfield Fixed build error introduced by c3f2711b09457b550133c8564632f1d29ee3de85 Mon, 23 May 2016 11:29:07 +0100 Author : OpenSceneGraph git repository Merge pull request #73 from susnux/safeptradd safety checking when dereferencing ref_ptr Mon, 23 May 2016 11:24:50 +0100 Author : Robert Osfield Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph Mon, 23 May 2016 11:24:23 +0100 Author : OpenSceneGraph git repository Merge pull request #72 from bjornblissing/feature/gitignore-visualstudioGitIgnorePatterns for Visual Studio Mon, 23 May 2016 10:52:55 +0100 Author : Robert Osfield Fixed shadows warnings Mon, 23 May 2016 10:36:00 +0100 Author : Robert Osfield Fixed shadows warning Mon, 23 May 2016 10:31:56 +0100 Author : Robert Osfield Fixed shadows warning Mon, 23 May 2016 10:30:22 +0100 Author : Robert Osfield Removed redundent local variable Mon, 23 May 2016 10:28:45 +0100 Author : Robert Osfield Fixed shadows warning Mon, 23 May 2016 10:22:16 +0100 Author : Robert Osfield Fixed shadows warnings Sat, 21 May 2016 21:40:07 +0200 Author : Rohan Budhiraja Added missing stdexcept header, fixes #61 Sat, 21 May 2016 21:29:14 +0200 Author : rdiankov add safety checking when dereferencing ref_ptr Fri, 20 May 2016 13:38:34 +0100 Author : Robert Osfield Fixes shadows warnings Fri, 20 May 2016 14:12:09 +0200 Author : Björn Blissing GitIgnorePatterns for Visual StudioAdded patterns for visual studio generated files as well as for files generated by CMake for windows only. Fri, 20 May 2016 10:51:40 +0100 Author : Robert Osfield Added -Wshadow tp OSG_AGGRESSIVE_WARNING_FLAGS for GNU compiler Thu, 19 May 2016 18:54:11 +0100 Author : Robert Osfield Merge branch 'AdriCS-master' Thu, 2 Oct 2014 12:27:20 +0200 Author : Adri Extra header include.Removed an extra header include for Thu, 19 May 2016 18:51:58 +0100 Author : Robert Osfield Added include/osgQt/Version and src/osgQt/__ to .gitignore Thu, 19 May 2016 17:38:50 +0100 Author : Robert Osfield Removed redundent #if OSG_USE_BOUND block Thu, 19 May 2016 17:32:24 +0100 Author : Jannik Heller This submission removes the define / code path OSG_USE_BOUND that was never used. The class osg::Bound used by this code doesn't exist either. Thu, 19 May 2016 17:20:29 +0100 Author : Christian Buchner I am hereby submitting a deferred rendering code sample, originally written by Michael Kapelko in 2013. I am submitting this code with his approval.Deferred rendering is now the de-facto standard rendering technique in many modern game engines, hence I think it is important to have this technique demonstrated in an osg code example. This particular sample adds soft shadows as well as bump mapping into the rendering pipeline. The image files whitemetal_diffuse.jpg and whitemetal_normal.jpg from OpenSceneGraph-Data images folder are required (The OSG_FILE_PATH environment variable must be set correctly) Two additional osgt models are included with the demo (best to also put them into OpenSceneGraph-Data, I think. The shaders are currently defined in separate .frag and .vert files. Thu, 19 May 2016 14:26:48 +0100 Author : Robert Osfield Fixed build error associated with change of type of getInterface() Mon, 16 May 2016 16:23:21 +0100 Author : Robert Osfield Win32 Build fixesRemoved the duplicate constructor and destructor Wed, 18 May 2016 18:30:51 +0100 Author : Robert Osfield Changed osg::NodeVisitor::traverse(node) to traverse(node) to take advantage of the local travese() implementation pushing/popping any StateSet that is on the node. Mon, 16 May 2016 18:52:39 +0100 Author : Robert Osfield Replaced static ref_ptr<> with observer_ptr<> to avoid local static references hanging around. Mon, 16 May 2016 13:45:31 +0100 Author : Robert Osfield Added osg::GraphicsContext::WindowingSystemInterfaces singleton for managing multiple WIndowinSystemInterface implementations being registered at the same time.One usage case for this functionality to support usage of Wayland and X11 in the same version of the osgViewer. As part of the new functionality there is now a osg::GraphicsContext::Traits::windowingSystemPreferrence string that default to empty, but if defined will ensure that a specific WindowingSystemInterface is utilized when you do a generic call like osg::createGraphicsContext(). Also implemented is standard proxy object for registering the new contexts and removing them automatically, and declaration of standard graphicswindow_name() C entry point to help with static build linking. Fri, 6 May 2016 19:55:04 +0100 Author : Robert Osfield Added GLES3 path for setting up with EGL Fri, 6 May 2016 17:49:01 +0100 Author : Robert Osfield Added 3.4 press release to NEWS.txt Fri, 29 Apr 2016 10:39:57 +0100 Author : Robert Osfield Added using to quieten warning Wed, 27 Apr 2016 14:21:11 +0100 Author : Robert Osfield Moved the IdentifierMap from global to into osg namespace and changed to static Thu, 21 Apr 2016 14:07:22 +0100 Author : Robert Osfield Fixed copy _readBuffer bug. Mon, 18 Apr 2016 20:46:45 +0100 Author : Robert Osfield Fixed ShaderComposer::releaseGLObjects(State*) const method as it's const was missing. Rewrote the ShaderComposer::releaseGLObjects() const method to pass on the releaseGLObjects() calls to any associated Program or Shader objects. Thu, 14 Apr 2016 17:46:27 +0100 Author : Robert Osfield From Vladimir Chebaev, fixed handling of outline orientiation Thu, 14 Apr 2016 17:46:27 +0100 Author : Robert Osfield From Vladimir Chebaev, fixed handling of outline orientiation Thu, 31 Mar 2016 19:22:03 +0100 Author : Robert Osfield Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph Thu, 31 Mar 2016 17:52:29 +0100 Author : Robert Osfield added assignment of mipmap levels from source image. Thu, 31 Mar 2016 17:52:29 +0100 Author : Robert Osfield From Sherman Wilcox, added assignment of mipmap levels from source image. Thu, 31 Mar 2016 17:12:28 +0100 Author : Robert Osfield Reversed the order of some sizedInternalFormats enum entries to sync with the change in serach direction that was checked in as an earlier revision. Tue, 29 Mar 2016 20:24:05 +0100 Author : Robert Osfield Changed the default value paramter to be consistent with the non templated version of StateSet::setTextureAttributeAndModes(..) Sun, 13 Mar 2016 09:03:44 -0230 Author : Robert Osfield Added &nl; xml control character to allow one to put newlines into a single text string in Present3D presentations Fri, 11 Mar 2016 19:41:22 +0000 Author : Robert Osfield Added support for invoked an editor defined by P3D_EDITOR or EDITOR env vars when user press 'U' in Present3D. This feature makes it easier to editor an presentation that is already running in Present3D, once the edits are done pressing 'u' in Present3D then loads the file again. Fri, 11 Mar 2016 15:35:07 +0000 Author : Robert Osfield From Jannik Heller, Wrong function call in setTextureAttributeAndModes "From I think that this piece of code in StateSet::setTextureAttributeAndModes is a copy&paste mistake: OSG_NOTICE<<"Warning: non texture attribute '"<className()<<"' passed to setTextureAttributeAndModes(unit,attr,value), "< and check against getTraversalType() to utilize the new asCullVisitor() instead to improve efficiency." Tue, 1 Mar 2016 11:45:20 +0000 Author : Robert Osfield Within the #pragmatic shader composition code added platform specific line endings for WIN32 vs all other platforms to "\r\n" and "\n" respectively. Tue, 1 Mar 2016 11:06:39 +0000 Author : Robert Osfield From Wee See and Robert Osfield, Introduced StatsHandler::collectWhichCamerasToRenderStatsFor(osgViewer::ViewerBase* viewer, osgViewer::ViewerBase::Cameras& cameras) method to make it possible to customize which Cameras the handler renders stats for. Tue, 1 Mar 2016 10:37:41 +0000 Author : Robert Osfield From Jannik Heller, "This submission fixes a stuttering issue that may occur when occlusion query nodes are in view. The problem is that OSG retrieves the occlusion query result without first checking if it's available (GL_QUERY_RESULT_AVAILABLE). Thus, the driver has to sync with the GPU i.e. wait for all queued draw calls to complete. This is particularly bad in V-Synced situations where the driver may be using multi frame queueing techniques - coupled with the fact that OSG only runs an occlusion query every 5th frame, results in very unpleasant stuttering in some situations.The change I made is to check GL_QUERY_RESULT_AVAILABLE before retrieving the query, to ensure that there won't be a stall. If the query result is not available yet, we'll leave it alone and try again in the next frame. Had to make a few more changes than I'd liked, mostly because the TestResult mechanism wasn't designed for holding on to query objects for more than one frame. As well, I'm thinking that RetrieveQueriesCallback and ClearQueriesCallback could be merged together, if we wanted to go for more refactoring. For though now my strategy is to make as little changes as possible. Let me know what you think of the patch." Tue, 1 Mar 2016 10:21:14 +0000 Author : Robert Osfield From Ognjen Kostic, "Some android phones have no support for OES_element_index_uint extension that is required if glDrawElements is to be called with GL_UNSIGNED_INT for element type. In OSG 3.4, osgText::Text( ::_quadIndices) uses DrawElementsUInt that will fail on these devices and no text will appear - tested on Samsung Galaxy Trend 2 SM-G313HN.When DrawElementsUInt is replaced with DrawElementsUShort it works, although I'm not sure if this can cause other problems with some fonts. Fix: - In include\osgText\Text, line 316: replace: "osg::ref_ptr< osg::DrawElementsUInt > _quadIndices;" with: "osg::ref_ptr< osg::DrawElementsUShort > _quadIndices;" - In src\osgText\Text.cpp, line 2094: replace: "_quadIndices = new DrawElementsUInt(PrimitiveSet::TRIANGLES);" with: "_quadIndices = new DrawElementsUShort(PrimitiveSet::TRIANGLES);" " Mon, 29 Feb 2016 15:06:36 +0000 Author : Robert Osfield Refactored the parsing of #pragma to address problems handling #pragma without () usage. Wed, 24 Feb 2016 16:00:12 +0000 Author : Robert Osfield Fixed debug build Tue, 23 Feb 2016 10:12:31 +0000 Author : Robert Osfield From Jannik Heller, osgParticle freeze on cull fix, ammended by Robert Osfield to make if statements a little more readable. Mon, 22 Feb 2016 09:19:51 +0000 Author : Robert Osfield From Anish Thomas, "Underflow bug in BufferObject pool usage" Fri, 19 Feb 2016 15:01:27 +0000 Author : Robert Osfield From Bjorn Blissing, "I stumbled upon a strange ifdef-case inside Geometry.cppCurrently the code looks like this: Code: DrawElementsUByte* elems = new DrawElementsUByte(PrimitiveSet::TRIANGLES); elems->push_back(0); elems->push_back(1); elems->push_back(2); elems->push_back(2); elems->push_back(3); elems->push_back(0); geom->addPrimitiveSet(elems); geom->addPrimitiveSet(new DrawArrays(PrimitiveSet::QUADS,0,4)); The second condition looked really strange (note the ! sign), and results in pretty much all code paths uses the first code. The correct version should probably be that only people with GLES1 or GLES2 should use GL_TRIANGLES to simulate quads. And all others should use the native support for GL_QUADS. " Fri, 19 Feb 2016 12:19:12 +0000 Author : Robert Osfield To the COLLADA_INCLUDE_DIR search paths added the directories: /usr/local/include/collada-dom2.4 /usr/local/include/collada-dom2.2 /opt/local/include/collada-dom2.4 /opt/local/include/collada-dom2.2 /usr/include/collada-dom2.4 /usr/include/collada-dom2.2 To enable recent versions of the DOM to be found in their new install locations. Thu, 18 Feb 2016 19:53:36 +0000 Author : Robert Osfield Updated the AuthenticationDetails::HttpAuthentication enum to reflect current libcurl values Thu, 18 Feb 2016 10:57:19 +0000 Author : Robert Osfield Replaced (long int) with more portable (GLint64) Thu, 18 Feb 2016 10:04:04 +0000 Author : Robert Osfield From Tony Vasile, "This is a fix for the handling of OpenFlight files with switches whose children have a transformation matrix on them. It may break other things and I have only tested this with one of my models." Thu, 18 Feb 2016 09:25:48 +0000 Author : Robert Osfield From Mourad Boufarguine, "This submission fixes typos in Uniform::getTypename() method in Uniform.cpp (missing "r" in usampler names)." Thu, 18 Feb 2016 08:50:06 +0000 Author : Robert Osfield Renamed zero and one to transparentCount and opaqueCount to avoid confusion in their meaning and usage. Wed, 17 Feb 2016 17:36:10 +0000 Author : Robert Osfield Fixed warning Wed, 17 Feb 2016 17:08:07 +0000 Author : Robert Osfield Commented out unused functions and variable. Wed, 17 Feb 2016 15:59:13 +0000 Author : Robert Osfield Introduced a separate GLuint64 one variable to get around a 32bit build timer issue under Windows. Wed, 17 Feb 2016 15:09:14 +0000 Author : Robert Osfield From Laurens Voerman, "a few additions in the repository (asDrawableEventCallback / asDrawableCullCallback) made this version a bit outdated, so I get so new warnings. This update can fix those warnings." Mon, 15 Feb 2016 13:30:39 +0000 Author : Robert Osfield From Romain Ouabdelkader, "This is a fix for osgText to calculate kerning and to load glyph3D with the text's font resolution.Font::getKerning(...), Font::getGlyph3D(...) doesn't ask for a font resolution so it uses the last font resolution requested by Font:: getGlyph(...). This can leads to different results depending of the precedent call to Font::getGlyph(...). See http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2016-January/271952.html for more infos. This fix adds a font resolution parameter to Font::getKerning(...), Font::getGlyph3D(...) and to the font implementations. This was made under the base revision r15182." Mon, 15 Feb 2016 12:37:05 +0000 Author : Robert Osfield From Laurens Loerman, Fix for "Visual Studio 2013 gives me a large amount (2778) of warnings about inheritance via dominace (C4250)." Thu, 11 Feb 2016 16:25:47 +0000 Author : Robert Osfield Added support for NodeMask to osg::Drawable serializers Fri, 5 Feb 2016 20:29:22 +0000 Author : Robert Osfield From Jannik Heller , GL object deletion fix. "This submission changes deleteGLObject calls to scheduleGLObjectForDeletion, to ensure that the actual deletion happens from the correct thread (the graphics thread). This fixes the leak I reported in http://forum.openscenegraph.org/viewtopic.php?t=15567 , and possibly also http://forum.openscenegraph.org/viewtopic.php?t=15564." Thu, 4 Feb 2016 20:15:14 +0000 Author : Robert Osfield From "Jannik Heller", I just updated to the latest commit and noticed that drawable cull callbacks were no longer working. As it turns out there was a missing implementation of the asDrawableCullCallback() and asDrawableEventCallback(), after implementing these methods everything is working as expected. Thu, 4 Feb 2016 19:53:13 +0000 Author : Robert Osfield From Laurens Voerman, "E:\osg\osgSvnGit\OpenSceneGraph\include\osg/Callback(286): warning C4099: 'osg::DrawableUpdateCallback' : type name first seen using 'class' now seen using 'struct' (E:\osg\osgSvnGit\OpenSceneGraph\src\osgUtil\RenderBin.cpp) E:\osg\osgSvnGit\OpenSceneGraph\include\osg/Callback(27) : see declaration of 'osg::DrawableUpdateCallback'attached is a modified version of include/osg/Callback: changing - struct OSG_EXPORT DrawableUpdateCallback : public virtual Callback - { to + class OSG_EXPORT DrawableUpdateCallback : public virtual Callback + { + public: and the same changes for DrawableEventCallback and DrawableCullCallback" Thu, 4 Feb 2016 19:40:14 +0000 Author : Robert Osfield Added OSG_EXPORT Thu, 4 Feb 2016 19:38:23 +0000 Author : Robert Osfield From Laurens Voerman, "While compiling with Visual Studio 12 (aka 2013 update 3) I get a these errors: E:\osg\osgSvnGit\OpenSceneGraph\src\osg\PrimitiveSet.cpp(364): error C2039: 'min' : is not a member of 'std' E:\osg\osgSvnGit\OpenSceneGraph\src\osg\PrimitiveSet.cpp(364): error C3861: 'min': identifier not found E:\osg\osgSvnGit\OpenSceneGraph\src\osg\PrimitiveSet.cpp(372): error C2039: 'min' : is not a member of 'std' E:\osg\osgSvnGit\OpenSceneGraph\src\osg\PrimitiveSet.cpp(372): error C3861: 'min': identifier not found E:\osg\osgSvnGit\OpenSceneGraph\src\osg\PrimitiveSet.cpp(381): error C2039: 'min' : is not a member of 'std' E:\osg\osgSvnGit\OpenSceneGraph\src\osg\PrimitiveSet.cpp(381): error C3861: 'min': identifier not found E:\osg\osgSvnGit\OpenSceneGraph\src\osg\PrimitiveSet.cpp(436): error C2039: 'min' : is not a member of 'std' E:\osg\osgSvnGit\OpenSceneGraph\src\osg\PrimitiveSet.cpp(436): error C3861: 'min': identifier not foundI suggest to replace std::min by osg::minimum, attached is a (zipped) modified version of src/osg/PrimitiveSet.cpp applies to the git reposetory only (updated 1 Feb 2016 ae6bade641ee4d8436ef69e7a7a347be81195a47 ) " Thu, 4 Feb 2016 17:52:44 +0000 Author : Robert Osfield Added releaseGLObjects(..) and resizeGLObjectBuffers(..) to osgShadow::ShadowTechnique's Thu, 4 Feb 2016 17:36:33 +0000 Author : Robert Osfield Added 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. Thu, 4 Feb 2016 17:35:32 +0000 Author : Robert Osfield Commented out debug message Thu, 4 Feb 2016 13:12:33 +0000 Author : Robert Osfield Added NodeVisitor::g/setValueMap and g/setValueStack, and osg::PushPopObject and osg::PushPopValue helper classes for pushing/popping values to the NodeVisitor's ValueStack. Thu, 4 Feb 2016 13:10:28 +0000 Author : Robert Osfield Improved the speed of the ValueObject get/setting by utilizing typeid() and static_cast<> in place of original dynamic_cast<>'s Thu, 4 Feb 2016 13:07:55 +0000 Author : Robert Osfield Added new Identifer, ValueMap and ValueStack class to build Thu, 4 Feb 2016 13:04:40 +0000 Author : Robert Osfield Added osg::Identifer, osg::ValueMap and osg::ValueStack classes to provide a general purpose means for storing and retrieving values from map or stack containers.Typical use will be for storing and passing values between nodes during traversals. Fri, 29 Jan 2016 11:54:17 +0000 Author : Robert Osfield Fixed build with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF. Wed, 27 Jan 2016 10:06:33 +0000 Author : Robert Osfield Fixed check against Drawable::isCullingActive().Removed old code intended to check the Geode parent of a Drawable to see if it's CullingActive is true as this was broken by the change osg::Drawable being derived from osg::Node rather than osg::Object. Tue, 26 Jan 2016 09:57:26 +0000 Author : Robert Osfield Added C++ gitignore entries Mon, 25 Jan 2016 19:38:44 +0000 Author : Robert Osfield Added .gitignore to queiten down git status reports Mon, 25 Jan 2016 14:18:58 +0000 Author : OpenSceneGraph git repository Merge pull request #42 from podsvirov/topic-upgrade-doxygen-configurationFrom Konstantin Podsvirov, "Corrects an incorrect parsing of header files without an extension when used doxygen larger 1.8.3.1" Tue, 19 Jan 2016 17:39:03 +0000 Author : Robert Osfield From Jannik Heller and Robert Osfield, introduced ReadResult/WriteResult::statusMessage() method that creates a std::string from the stutus value and message string. Mon, 25 Jan 2016 11:05:40 +0000 Author : OpenSceneGraph git mirror maintainer Merge pull request #51 from scrawl/occlusionqueryfix_osgFrom Jannik Heller, "Check for presence of occlusion query extension" Mon, 25 Jan 2016 10:45:07 +0000 Author : Robert Osfield From 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." Mon, 25 Jan 2016 10:25:15 +0000 Author : Robert Osfield From Patrick Neary, "In ShaderComposer::getOrCreateProgram(), tesselation control and evaluation shaders are processed but not added to the shader program." Fri, 22 Jan 2016 10:09:00 +0000 Author : Robert Osfield Changed 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 Fri, 22 Jan 2016 09:47:49 +0000 Author : Robert Osfield Added osg::MultiDrawArrays which wraps up glMultiDrawArrays extension. Thu, 21 Jan 2016 12:40:11 +0000 Author : Robert Osfield From 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.Collada with rename option : Added an option to Collada writer, to rename uncommon IDs (geometries, materials...) to something more compatible (especially Google Earth). Characters which may be interpreted as an URI are replaced with '_'. Useful if you want to ensure names having spaces or slashes to behave correctly. This may be undesired if original naming must be somewhat kept (hence making it an option)." Wed, 20 Jan 2016 17:51:03 +0000 Author : Robert Osfield Merge branch 'master' of https://github.com/openscenegraph/osg Wed, 20 Jan 2016 17:49:10 +0000 Author : Robert Osfield Added asUpdate/Cull/EventVisitor and asCamera/asDrawable to osg::Object and usage of these within the code base to avoid dynamic_cast<> usage. Wed, 20 Jan 2016 15:13:19 +0000 Author : Robert Osfield Added 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. Tue, 19 Jan 2016 15:39:46 +0000 Author : Robert Osfield From Ravi Mathur, OSX/Clang 7.0.0 build fix Tue, 19 Jan 2016 14:49:56 +0000 Author : Robert Osfield From Jannik Heller, "This submission fixes a typo in the new GLObjectManagersheduleGLObjectForDeletion(GLuint globj); should be scheduleGLObjectForDeletion(GLuint globj)" Tue, 19 Jan 2016 14:22:12 +0000 Author : Robert Osfield From Jordi Torres, "Added TriangleLinePointIndexFunctor to osg namespace" Tue, 19 Jan 2016 14:16:58 +0000 Author : Robert Osfield From Jannik Heller, "removed a const_cast that wasn't necessary" Tue, 19 Jan 2016 11:39:28 +0000 Author : Robert Osfield Renamed DrawableUpdate/Event/Cull callbacks to use new include/osg/Callback versions Tue, 19 Jan 2016 11:35:13 +0000 Author : Robert Osfield Fixed line endings Tue, 19 Jan 2016 11:25:30 +0000 Author : Robert Osfield Fixed line endings Tue, 19 Jan 2016 09:46:20 +0000 Author : Robert Osfield Added missing OSG_EXPORT Mon, 18 Jan 2016 20:05:20 +0000 Author : Robert Osfield Added osg::Object::asStateSet() implementation and usage to avoid use of dynamic_cast<> Mon, 18 Jan 2016 19:04:28 +0000 Author : Robert Osfield Replaced dynamic_cast<*Callback> with as*Callback() implementation/usage. Mon, 18 Jan 2016 13:10:14 +0000 Author : Robert Osfield From Jannik Heller, "This submission fixes a bug introduced in commit https://github.com/openscenegraph/osg/commit/5b17e3bc2a0c02cf84d891bfdccf14f170ee0ec8 "Introduced CMake option OSG_PROVIDE_READFILE option...". The added overload for StateSet::setAttributeAndModes was ignoring the mode setting. " Mon, 18 Jan 2016 11:50:07 +0000 Author : Robert Osfield Added 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. Mon, 18 Jan 2016 11:49:18 +0000 Author : Robert Osfield Added window size, state and stats event handlers to viewer to help with QA'ing simplification results. Mon, 14 Dec 2015 17:59:45 +0000 Author : Robert Osfield From Wojciech Lewandowski, Visual Studio 2008 compatibility fixTwo fixed files: osgPlugins/osgjs/JSON_Objects osgPlugins/stl/ReaderWriterSTL.cpp. They did not compile with VS 2008 (recent master from Github). It looks like they defined stdint types (missing in VS 2008) but code using them also included header. Errors were caused by minor differences in signed int definitions. I just removed own definitions and added include instead. It solves the problem and makes the code clearer now. Sun, 6 Dec 2015 14:08:49 +0100 Author : scrawl Check for presence of occlusion query extension Mon, 23 Nov 2015 13:15:05 +0000 Author : Robert Osfield From Jordi Torres, Fix for missing header file in distributionosg/TriangleLinePointIndexFunctor was not being installed because it was not added to the CMakeLists.txt Mon, 23 Nov 2015 11:45:01 +0000 Author : Robert Osfield Added support for copying include/osgViewer/config headers on make install. Mon, 23 Nov 2015 11:01:47 +0000 Author : Robert Osfield Refactored the signal handling to be thread safe Mon, 23 Nov 2015 08:54:09 +0000 Author : Robert Osfield Fixed typo Wed, 11 Nov 2015 22:38:38 +0300 Author : Konstantin Podsvirov Upgrade Doxygen configurationThis change corrects an incorrect parsing of header files without an extension when used doxygen larger 1.8.3.1 Mon, 9 Nov 2015 16:02:09 +0000 Author : Robert Osfield Updated ChangeLog for 3.5.1 dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15181 16af8721-9629-0410-8352-f15c8da7e697 Mon, 9 Nov 2015 15:52:06 +0000 Author : Robert Osfield Cleaned up OSX option selection code.Updated version for 3.5.1 dev release git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15180 16af8721-9629-0410-8352-f15c8da7e697 Mon, 9 Nov 2015 15:13:51 +0000 Author : Robert Osfield Fixed warning message.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15178 16af8721-9629-0410-8352-f15c8da7e697 Mon, 9 Nov 2015 15:10:50 +0000 Author : Robert Osfield Addded setting of the Locator CoordinateSystemTypegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15177 16af8721-9629-0410-8352-f15c8da7e697 Mon, 9 Nov 2015 10:43:15 +0000 Author : Robert Osfield From Jannik Heller, fix typo of OSG_COMPILE_CONTEXTS.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15176 16af8721-9629-0410-8352-f15c8da7e697 Thu, 5 Nov 2015 14:38:04 +0000 Author : Robert Osfield From Mathias Froehlich, "Avoid per frame X11 roundtrips"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15173 16af8721-9629-0410-8352-f15c8da7e697 Mon, 26 Oct 2015 11:41:48 +0000 Author : Robert Osfield Restructed the setting of the RenderStage ClearColor/ClearMask to make the code more readable and to avoid double setting of the ClearMask.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15171 16af8721-9629-0410-8352-f15c8da7e697 Fri, 23 Oct 2015 15:04:13 +0000 Author : Robert Osfield From Alberto Luaces, "here are two minimal capitalization fixes for mingw cross-compilation, where case sensitivity matters."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15169 16af8721-9629-0410-8352-f15c8da7e697 Fri, 23 Oct 2015 11:07:21 +0000 Author : Robert Osfield From Sebastian Messershmidt, "The uncommented pointer type QTimerEvent */*event*/ leads to a compiler error under visual studio 2010"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15167 16af8721-9629-0410-8352-f15c8da7e697 Thu, 22 Oct 2015 13:42:19 +0000 Author : Robert Osfield Introduced 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.To ensure the OSG builds when OSG_PROVIDE_READFILE is to OFF the many cases of osgDB::read*File() usage had to be replaced with a ref_ptr<> osgDB::readRef*File() usage. The avoid this change causing lots of other client code to be rewritten to handle the use of ref_ptr<> in place of C pointer I introduced a serious of templte methods in various class to adapt ref_ptr<> to the underly C pointer to be passed to old OSG API's, example of this is found in include/osg/Group: bool addChild(Node* child); // old method which can only be used with a Node* tempalte bool addChild(const osg::ref_ptr& child) { return addChild(child.get()); } // adapter template method These changes together cover 149 modified files, so it's a large submission. This extent of changes are warrent to make use of the Object Cache and multi-threaded loaded more robust. git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15164 16af8721-9629-0410-8352-f15c8da7e697 Fri, 9 Oct 2015 08:44:45 +0000 Author : Robert Osfield updated ChangeLoggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15151 16af8721-9629-0410-8352-f15c8da7e697 Thu, 8 Oct 2015 15:58:24 +0000 Author : Robert Osfield Added osg::flushAllDeletedGLObjects to clean up of graphics context after the existing osg::deleteAllGLObjects() to catch any cases where delete doesn't flush GL objects.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15150 16af8721-9629-0410-8352-f15c8da7e697 Mon, 5 Oct 2015 10:58:32 +0000 Author : Robert Osfield Introduced usage of OSG_INIT_SINGLETON_PROXY into DatabasePager::prototype() and Registry::instance(), removing the InitRegistry proxy object in src/osgViewer/ViewerBase.cpp.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15147 16af8721-9629-0410-8352-f15c8da7e697 Fri, 25 Sep 2015 15:20:25 +0000 Author : Robert Osfield From Kristofer Tingdahl, "we had a minor shadow problem with the osg-3.4 that pollutes our continuous integration"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15143 16af8721-9629-0410-8352-f15c8da7e697 Fri, 25 Sep 2015 11:15:04 +0000 Author : Robert Osfield Added fix for case when Renderer is assigned to a Camera that has now Viewgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15141 16af8721-9629-0410-8352-f15c8da7e697 Fri, 25 Sep 2015 10:11:52 +0000 Author : Robert Osfield From Curtis Rubel, "I would like to submit the attached file for inclusion in future releases of OpenSceneGraph and the OpenThreads library.The changes in the file simply remove a few ifndef's that currently do not allow Linux systems to fully utilize the PThread real-time scheduling API. Since Linux now fully supports the PThread scheduling API it would be beneficial to have it available to use as necessary. I have been testing this change since OSG release 3.3.7 and have not seen any ill affects. The Priority scheduling api is further protected by another ifdef: #ifdef ALLOW_PRIORITY_SCHEDULING that only appears to be defined in the pthreads implementation as well. This would make it unlikely that anyone would be affected by this unless they are intentionally wanting to run with priority scheduling. In which case on Linux they would need to make these same modifications themselves to utilize it to its full extent. Attached file is for the current trunk as of this date. " git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15140 16af8721-9629-0410-8352-f15c8da7e697 Fri, 25 Sep 2015 10:09:27 +0000 Author : Robert Osfield Refactored the way that FrameStamp is managed in osgViewer::Renderer to avoid thread conflictsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15138 16af8721-9629-0410-8352-f15c8da7e697 Thu, 24 Sep 2015 14:14:37 +0000 Author : Robert Osfield From John Hedström,"Texture2DArray support for the .osg serializer"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15136 16af8721-9629-0410-8352-f15c8da7e697 Thu, 24 Sep 2015 10:52:35 +0000 Author : Robert Osfield Added support for serializing Camera::ImplicitBufferAttachmentRenderMask and ImplicitBufferAttachmentResolveMask properties.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15135 16af8721-9629-0410-8352-f15c8da7e697 Thu, 24 Sep 2015 10:48:57 +0000 Author : Robert Osfield Quietened down debug messagesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15134 16af8721-9629-0410-8352-f15c8da7e697 Thu, 24 Sep 2015 09:29:03 +0000 Author : Robert Osfield Fixed line endings.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15132 16af8721-9629-0410-8352-f15c8da7e697 Wed, 23 Sep 2015 10:41:54 +0000 Author : Robert Osfield Added missing OSG_EXPORT to fix Windows buildgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15131 16af8721-9629-0410-8352-f15c8da7e697 Wed, 23 Sep 2015 09:47:34 +0000 Author : Robert Osfield Refactored the GL object deletion management to use new osg::GraphicsObjectManager/GLObjectManager base classes, and osg::ContextData container.This approach unifies much of the code handling the clean up of OpenGL graphics data, avoids lots of local mutexes and static variables that were previously required, and enables the clean up scheme to be easily extended by users providing their own GraphicsObjectManager subclasses. git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15130 16af8721-9629-0410-8352-f15c8da7e697 Fri, 4 Sep 2015 15:35:24 +0000 Author : Robert Osfield From 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.I believe the offending lines are in the osg::Geometry copy constructor: if ((copyop.getCopyFlags() & osg::CopyOp::DEEP_COPY_ARRAYS)) { if (_useVertexBufferObjects) { // copying of arrays doesn't set up buffer objects so we'll need to force // Geometry to assign these, we'll do this by switching off VBO's then renabling them. setUseVertexBufferObjects(false); setUseVertexBufferObjects(true); } } Toggling the vertex buffer objects off then on again actually touches not only the arrays controlled by DEEP_COPY_ARRAYS, but also the PrimitiveSets which are controlled by DEEP_COPY_PRIMITIVES. This means if the user has copyflags of only DEEP_COPY_ARRAYS, we are modifying arrays that belong to the original const Geometry& we are copying from. I believe this shouldn't be allowed to happen because we are using a const& specifier for the original Geometry. In my case the osgUtil::IncrementalCompileOperation was trying to compile the geometry, while in the main thread a clone operation toggled the VBO's off and on, a crash ensues. In the attached patch, you will find a more efficient handling of VBO's in the osg::Geometry copy constructor, so that only the Arrays that were actually deep copied have their VBO assigned, and no changes are made to Arrays that already had a valid VBO assigned. In addition, the DEEP_COPY_PRIMITIVES flag is now honored so that VBO's are set up correctly should a user copy a Geometry with only that flag. " git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15129 16af8721-9629-0410-8352-f15c8da7e697 Fri, 4 Sep 2015 15:04:58 +0000 Author : Robert Osfield From 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 &&OLD _block->set((!_requestList.empty() || !_pager->_databasePagerThreadPaused)); NEW _block->set((!_requestList.empty() && !_pager->_databasePagerThreadPaused));//release the threads to run IF (work_to_be_done && not_paused) This bug is present since svn rev 8663 (just before 2.6.0 release) attached is a zip with the files: OpenSceneGraph\include\osgDB\ImagePager This file is valid for svn branch and stable 3.2 and 3.4 branches 2.6 - 3.0 have the same bug, but other differences in the file." git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15125 16af8721-9629-0410-8352-f15c8da7e697 Fri, 4 Sep 2015 14:50:39 +0000 Author : Robert Osfield From Laurens Voerman, "I crashed osgconv while compressing textures:osgconv --compressed-dxt1 cow.osg cow.ive due to different handling of the extentions in osg 3.4 and up. attached is a zip with the files: OpenSceneGraph\applications\osgconv\osgconv.cpp This file is valid for svn branch and stable3.4." git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15124 16af8721-9629-0410-8352-f15c8da7e697 Fri, 4 Sep 2015 14:34:45 +0000 Author : Robert Osfield From 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 itCode: void Geometry::setVertexAttribArrayList(const ArrayList& arrayList) { _vertexAttribList = arrayList; dirtyDisplayList(); if (_useVertexBufferObjects) { for(ArrayList::iterator itr = _vertexAttribList.begin(); itr != _vertexAttribList.end(); ++itr) { if(itr->get())//ADDED addVertexBufferObjectIfRequired(itr->get()); } } } " and "The bug i ran into is a crash reading osgt Geometry with null vertexattribs. The only thing i added is a not nul check on array passed to setVertexAttribArrayList." --------------------This line, and those below, will be ignored-- M src/osg/Geometry.cpp git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15121 16af8721-9629-0410-8352-f15c8da7e697 Fri, 4 Sep 2015 14:24:40 +0000 Author : Robert Osfield Updated SO version for svn/trunk.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15120 16af8721-9629-0410-8352-f15c8da7e697 Fri, 4 Sep 2015 14:24:11 +0000 Author : Robert Osfield Fixed warninggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15119 16af8721-9629-0410-8352-f15c8da7e697 Fri, 4 Sep 2015 14:23:55 +0000 Author : Robert Osfield Fixed warning by removing redundent checkgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15118 16af8721-9629-0410-8352-f15c8da7e697 Fri, 14 Aug 2015 15:25:08 +0000 Author : Robert Osfield Corrected the Subload::generateTextureObject() return type to make it consistent with Texture::generateTextureObject(..)git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15117 16af8721-9629-0410-8352-f15c8da7e697 Wed, 12 Aug 2015 10:18:09 +0000 Author : Robert Osfield Updated shaders from OpenSceneGraph-Data with refactor of workaround to NVidia driver buggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15110 16af8721-9629-0410-8352-f15c8da7e697 Wed, 12 Aug 2015 06:39:57 +0000 Author : Robert Osfield Added GL1 to the docs of the GL_PROFILE string Updated the date of the 3.4.0 release in the README.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15100 16af8721-9629-0410-8352-f15c8da7e697 Tue, 11 Aug 2015 20:06:38 +0000 Author : Robert Osfield Refactored workaround of NVidia nan lenght() bug.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15096 16af8721-9629-0410-8352-f15c8da7e697 Tue, 11 Aug 2015 08:43:40 +0000 Author : Robert Osfield Moved FIND_PACKAGE(Boost) to within the individual Find scripts that actually need it rather in the root CMakeLists.txt.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15093 16af8721-9629-0410-8352-f15c8da7e697 Mon, 10 Aug 2015 19:55:16 +0000 Author : Robert Osfield Removed spacesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15088 16af8721-9629-0410-8352-f15c8da7e697 Mon, 10 Aug 2015 19:40:36 +0000 Author : Robert Osfield Fixed line endingsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15085 16af8721-9629-0410-8352-f15c8da7e697 Mon, 10 Aug 2015 19:39:23 +0000 Author : Robert Osfield Updated built-in shaders from OpenSceneGraph-Data vesion that introduce #pragma(tic) shaders that resolve the NVidia loop iteration bug.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15083 16af8721-9629-0410-8352-f15c8da7e697 Mon, 10 Aug 2015 19:18:54 +0000 Author : Robert Osfield Quietened down #pragma(tic) shader composition messagesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15079 16af8721-9629-0410-8352-f15c8da7e697 Mon, 10 Aug 2015 17:42:05 +0000 Author : Robert Osfield Added support for injecting GL_VENDOR strings into GLSL shaders via the new #pragma(tic) shader compositiongit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15078 16af8721-9629-0410-8352-f15c8da7e697 Mon, 10 Aug 2015 05:04:56 +0000 Author : Robert Osfield Build fix for VS and installing Typesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15077 16af8721-9629-0410-8352-f15c8da7e697 Sun, 9 Aug 2015 09:42:31 +0000 Author : Robert Osfield Changed GLint64 and GLuint64 setup to use int64_t and uint64_t resptectivly respectively to avoid issues with compiling against Qt5git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15071 16af8721-9629-0410-8352-f15c8da7e697 Sun, 9 Aug 2015 09:07:05 +0000 Author : Robert Osfield Added #ifdef guards around SGIX specific parts to avoid build problems with GLESgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15069 16af8721-9629-0410-8352-f15c8da7e697 Sat, 8 Aug 2015 08:49:42 +0000 Author : Robert Osfield From Glenn Waldron, fix error in ZIP plugin handling of memory buffergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15067 16af8721-9629-0410-8352-f15c8da7e697 Thu, 6 Aug 2015 15:03:05 +0000 Author : Robert Osfield Added checks for the validity of chached coordinate arrays.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15060 16af8721-9629-0410-8352-f15c8da7e697 Thu, 6 Aug 2015 10:09:29 +0000 Author : Robert Osfield Updated shaders from OpenSceneGraph-Data.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15059 16af8721-9629-0410-8352-f15c8da7e697 Mon, 3 Aug 2015 19:14:09 +0000 Author : Robert Osfield From Andy Skinner, "Someone was using our code on a system that does not seem to have the SGIX symbols used in osgViewer.cpp.I used osgSetGLExtensionsFuncPtr to remove the symbols. I don't know how to test this path, but it did remove the symbols from libosgViewer.so. I have also not been able yet to see if that was sufficient for our customer. I did this by looking at other cases, and I tried to follow some of the same practices in PixelBufferX11, like using _useSGIX in a similar way to the previous _useGLX1_3." git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15041 16af8721-9629-0410-8352-f15c8da7e697 Fri, 31 Jul 2015 13:46:57 +0000 Author : Robert Osfield From Terry Welsh, "I downloaded the Android 3rdparty deps from here http://www.openscenegraph.org/index.php/download-section/dependencies but was not able to use them for a while. Attached are changes to OsgAndroidMacroUtils.cmake that allow the deps to be found by cmake.Specifically, all FIND_PATH commands require the NO_CMAKE_FIND_ROOT_PATH option to actually find paths. This is odd because if you inspect CMAKE_FIND_ROOT_PATH it appears to be empty. I would expect it to have no effect at all. I also needed to remove quotes from this line in order for headers to be found: set(FREETYPE_INCLUDE_DIRS "${FREETYPE_DIR}/include ${FREETYPE_DIR}/include/freetype/config") Assuming this script worked in the past, it seems like cmake behavior may have changed at some point. I'm using cmake version 2.8.12.2." git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15036 16af8721-9629-0410-8352-f15c8da7e697 Fri, 31 Jul 2015 13:44:39 +0000 Author : Robert Osfield From Jannik Heller, "Here is a patch for the S3TC capability check.On a Intel HD graphics Linux system with Mesa 10.1.3, I found that osg's Extensions::isTextureCompressionS3TCSupported() returned false, even though S3TC compressed textures *are* in fact working. I tested this by loading and rendering various DXT1, DXT3 and DXT5 compressed textures in the OSG. "glxinfo | grep s3tc" gives: GL_S3_s3tc Note, if I install the package "libtxc-dxtn-s2tc0", I get in addition: glxinfo | grep s3tc GL_EXT_texture_compression_s3tc GL_S3_s3tc However, S3TC compressed textures worked correctly within the OSG even without libtxc-dxtn-s2tc0 installed. I'm not sure what the differences between these extensions are, but based on the description at https://www.opengl.org/registry/specs/S3/s3tc.txt I would assume that both will work for OSG's purposes. The attached patch changes isTextureCompressionS3TCSupported() to accept either extension." git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15035 16af8721-9629-0410-8352-f15c8da7e697 Fri, 31 Jul 2015 10:59:11 +0000 Author : Robert Osfield Warning fixgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15032 16af8721-9629-0410-8352-f15c8da7e697 Fri, 31 Jul 2015 10:54:13 +0000 Author : Robert Osfield From Kristofer Tingdahl, warning fixes.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15030 16af8721-9629-0410-8352-f15c8da7e697 Fri, 31 Jul 2015 10:27:11 +0000 Author : Robert Osfield Compile fix for Mingw.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15029 16af8721-9629-0410-8352-f15c8da7e697 Thu, 23 Jul 2015 15:46:47 +0000 Author : Robert Osfield Added explicit initialization of osg::Referenced(true) to osg::Operation subclasses as it uses virtual inhertiance from osg::Referenced.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15025 16af8721-9629-0410-8352-f15c8da7e697 Thu, 23 Jul 2015 14:37:17 +0000 Author : Robert Osfield From Pjotr Svetachov, buid fixes for VS2015.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15021 16af8721-9629-0410-8352-f15c8da7e697 Thu, 23 Jul 2015 14:31:05 +0000 Author : Robert Osfield Merged VS2013 warning fixes from OSG-3.4 branchgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15020 16af8721-9629-0410-8352-f15c8da7e697 Thu, 23 Jul 2015 11:11:58 +0000 Author : Robert Osfield Warning fixes for Clang-3.6git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15016 16af8721-9629-0410-8352-f15c8da7e697 Thu, 23 Jul 2015 09:23:42 +0000 Author : Robert Osfield Added missing handling of lightnumber and associate lightsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15015 16af8721-9629-0410-8352-f15c8da7e697 Thu, 23 Jul 2015 07:39:12 +0000 Author : Robert Osfield Changed the GL_HEADER_HAS_GLINT64 and GL_HEADER_HAS_GLUINT64 to use cmakedefine to improve handling of when cmake doesn't find GLint64 and GLuint64.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15013 16af8721-9629-0410-8352-f15c8da7e697 Wed, 22 Jul 2015 17:01:03 +0000 Author : Robert Osfield Fixed AUTHORS filegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15011 16af8721-9629-0410-8352-f15c8da7e697 Wed, 22 Jul 2015 14:55:38 +0000 Author : Robert Osfield Fixed contributors listgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15009 16af8721-9629-0410-8352-f15c8da7e697 Wed, 22 Jul 2015 14:52:08 +0000 Author : Robert Osfield Updated ChangeLoggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15007 16af8721-9629-0410-8352-f15c8da7e697 Wed, 22 Jul 2015 14:03:24 +0000 Author : Robert Osfield Moved GL_ALPHA_TEST from AlphaFunc header to GLDefines headergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15002 16af8721-9629-0410-8352-f15c8da7e697 Wed, 22 Jul 2015 13:49:14 +0000 Author : Robert Osfield Added CMake test for presence of GLuint64 and GLint64 in OpenGL/GLES headers to better handle when/where GL defines the 64 bit typedefsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15001 16af8721-9629-0410-8352-f15c8da7e697 Tue, 21 Jul 2015 14:21:49 +0000 Author : Robert Osfield Added check for validity of OpenFlight shininess value.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14998 16af8721-9629-0410-8352-f15c8da7e697 Tue, 21 Jul 2015 13:42:35 +0000 Author : Robert Osfield Fixed typogit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14997 16af8721-9629-0410-8352-f15c8da7e697 Mon, 20 Jul 2015 13:23:07 +0000 Author : Robert Osfield Reduced debug message verbosity.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14993 16af8721-9629-0410-8352-f15c8da7e697 Mon, 20 Jul 2015 07:42:05 +0000 Author : Robert Osfield Changed the _MSC_VER check to <= 1700 to support VS2012.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14989 16af8721-9629-0410-8352-f15c8da7e697 Sun, 19 Jul 2015 09:51:01 +0000 Author : Robert Osfield Reinstated the TIFFSetField(image, TIFFTAG_ROWSPERSTRIP, rowsperstrip);git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14985 16af8721-9629-0410-8352-f15c8da7e697 Fri, 17 Jul 2015 18:31:22 +0000 Author : Robert Osfield From KOS, "'ve mentioned in the "osg-users" ML about build error with the newest GStreamer 1.5Please, have a look at the attached patch. CMakeModules/FindGStreamer.cmake" git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14984 16af8721-9629-0410-8352-f15c8da7e697 Fri, 17 Jul 2015 09:04:30 +0000 Author : Robert Osfield Updated ChangeLog and AUTHORSgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14977 16af8721-9629-0410-8352-f15c8da7e697 Fri, 17 Jul 2015 08:21:06 +0000 Author : Robert Osfield Added cmake version check to cmake_policy usagegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14973 16af8721-9629-0410-8352-f15c8da7e697 Fri, 17 Jul 2015 08:12:38 +0000 Author : Robert Osfield From Patrick Neary, "To the tiff plugin, add the capability to write tiff images with unsigned short data"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14969 16af8721-9629-0410-8352-f15c8da7e697 Thu, 16 Jul 2015 19:17:01 +0000 Author : Robert Osfield From Patrick Neary, "Added some lesser used tokens that we use from GL_ARB_texture_rg to computeFormatDataType(), and computeNumComponents() in src/osg/Image.cpp"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14967 16af8721-9629-0410-8352-f15c8da7e697 Thu, 16 Jul 2015 16:06:43 +0000 Author : Robert Osfield Updated ChangeLog and AUTHORSgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14965 16af8721-9629-0410-8352-f15c8da7e697 Thu, 16 Jul 2015 15:49:32 +0000 Author : Robert Osfield From Cory Slep and Robert Osfield, "When using Open Scene Graph and Qt on Android, the resulting thread that an application developer’s Q*Application is run on is different than what Qt considers the “main” thread, which can cause subtle problems. This is because Qt loads native libraries in one thread, and later runs the application in a different thread. They delay running in the second thread as long as possible as they have a nontrivial bootstrapping process. The motivation for Qt having this second thread is to allow them to remain responsive to both Java and native events, and capture events that would otherwise be “missed”.This gives arise to the requirement that a static initialization of a QObject cannot occur for the Android platform, as Qt incorrectly considers that first thread the “main” one before a client application has even begun executing in its second thread. The HeartBeat in GraphicsWindowQt.cpp is a QObject static global initialized at load time, causing the above issue. This changeset changes it to be a singleton that is constructed upon first access to its “instance” method. I have: - added the static method “instance”, - moved its constructor to be private, and - changed the one place it is accessed to access it through the “instance” method. " Changes by Robert are to adopt QPointer rather than use a C pointer to ensure that the HeartBeat object will be cleaned up automatically rather than leaked. git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14963 16af8721-9629-0410-8352-f15c8da7e697 Thu, 16 Jul 2015 11:01:35 +0000 Author : Robert Osfield Added check to catch cases where the backdrop coordinate cache is too small for the number of contexts being computed.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14961 16af8721-9629-0410-8352-f15c8da7e697 Wed, 15 Jul 2015 10:00:55 +0000 Author : Robert Osfield Added initializers and reverted OSX workaround from 2013.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14959 16af8721-9629-0410-8352-f15c8da7e697 Tue, 14 Jul 2015 13:33:12 +0000 Author : Robert Osfield Moved the cmake_policy(SET CMP0043 NEW) to work for all script paths that Qt5 usage could pass through.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14953 16af8721-9629-0410-8352-f15c8da7e697 Tue, 14 Jul 2015 13:26:40 +0000 Author : Robert Osfield Added cmake_policy(SET CMP0043 NEW) usage when compiling against Qt5 as it was causing a warning we couldn't fix on the OSG side otherwise.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14952 16af8721-9629-0410-8352-f15c8da7e697 Tue, 14 Jul 2015 08:42:36 +0000 Author : Robert Osfield Updated ChangeLog and AUTHORS.txtgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14950 16af8721-9629-0410-8352-f15c8da7e697 Tue, 14 Jul 2015 08:25:17 +0000 Author : Robert Osfield Added _defineList into the osg::StateSet::compare() implementation to address issues with osgUtil::Optimizer ignoring defines.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14948 16af8721-9629-0410-8352-f15c8da7e697 Mon, 13 Jul 2015 16:09:45 +0000 Author : Robert Osfield Added Text::GlyphQuads::release/resizeGLObjects() and handling of inconsistent contextID sizes to avoid crashes when viewers and scene graphs aren't initialized correctly to the right number of contexts.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14947 16af8721-9629-0410-8352-f15c8da7e697 Mon, 13 Jul 2015 16:03:51 +0000 Author : Robert Osfield Standardize the call to setUpThreading() in CompositeViewer/Viewer::realize().Standardize the call to scene->resizeGLObjects(). git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14944 16af8721-9629-0410-8352-f15c8da7e697 Mon, 13 Jul 2015 08:48:46 +0000 Author : Robert Osfield From Terry Welsh, "fThis fixes problem where new glClipControl feature would not compile for GLES2 profile"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14943 16af8721-9629-0410-8352-f15c8da7e697 Fri, 3 Jul 2015 06:51:09 +0000 Author : Robert Osfield Updated version number to 3.5.0 after 3.4 branch.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14941 16af8721-9629-0410-8352-f15c8da7e697 Fri, 3 Jul 2015 06:28:05 +0000 Author : Robert Osfield Updated for 3.4 branch.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14937 16af8721-9629-0410-8352-f15c8da7e697 Thu, 2 Jul 2015 11:58:49 +0000 Author : Robert Osfield Fixed repeated name in SETUP_PLUGIN.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14936 16af8721-9629-0410-8352-f15c8da7e697 Thu, 2 Jul 2015 10:25:14 +0000 Author : Robert Osfield Updated ChangeLog and AUTHORS file in prep for 3.4 branch.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14935 16af8721-9629-0410-8352-f15c8da7e697 Thu, 2 Jul 2015 08:57:08 +0000 Author : Robert Osfield Build fixgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14934 16af8721-9629-0410-8352-f15c8da7e697 Thu, 2 Jul 2015 08:52:55 +0000 Author : Robert Osfield Moved the defination of GL_MAX_VARYING_COMPONENTS to GL_3_0 block to avoid warnings of redefinition.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14933 16af8721-9629-0410-8352-f15c8da7e697 Wed, 1 Jul 2015 05:32:40 +0000 Author : Robert Osfield Updated ChangeLoggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14931 16af8721-9629-0410-8352-f15c8da7e697 Wed, 1 Jul 2015 05:10:20 +0000 Author : Robert Osfield From Mathias Froehlich, added seriliazers for new osg::ClipControlgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14930 16af8721-9629-0410-8352-f15c8da7e697 Tue, 30 Jun 2015 09:51:05 +0000 Author : Robert Osfield Updated ChangeLog and AUTHORS filesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14929 16af8721-9629-0410-8352-f15c8da7e697 Tue, 30 Jun 2015 09:11:00 +0000 Author : Robert Osfield From Mathias Froehlich, "Attached a new state attribute implementing the glClipControl that appeared with GL4.5."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14928 16af8721-9629-0410-8352-f15c8da7e697 Tue, 30 Jun 2015 08:39:33 +0000 Author : Robert Osfield Quitened down debug for ViewConfig argument parsinggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14927 16af8721-9629-0410-8352-f15c8da7e697 Tue, 30 Jun 2015 08:38:01 +0000 Author : Robert Osfield Build fix for GLDAL>=2git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14925 16af8721-9629-0410-8352-f15c8da7e697 Fri, 26 Jun 2015 09:40:37 +0000 Author : Robert Osfield From Christian Kehl, added Vec2::set(const Vec2) methodgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14924 16af8721-9629-0410-8352-f15c8da7e697 Fri, 19 Jun 2015 09:51:30 +0000 Author : Robert Osfield From Jannik Heller, fixed clearReferencesToDependentCameras() callsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14922 16af8721-9629-0410-8352-f15c8da7e697 Wed, 17 Jun 2015 16:25:47 +0000 Author : Robert Osfield Fixed handling of use GLObjectsVisitor for modifying scene graph state without compiling to OpenGL so that the visitor can be run safely without a graphics context being current.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14921 16af8721-9629-0410-8352-f15c8da7e697 Tue, 16 Jun 2015 17:18:11 +0000 Author : Robert Osfield Small tidy up to make script more readable.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14920 16af8721-9629-0410-8352-f15c8da7e697 Tue, 16 Jun 2015 17:17:50 +0000 Author : Robert Osfield Added QT_QTCORE_INCLUDE_DIR entry to qfont plugin build to fix Qt4 build under Linuxgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14919 16af8721-9629-0410-8352-f15c8da7e697 Mon, 15 Jun 2015 19:59:01 +0000 Author : Robert Osfield From Jannik Heller, "I've added the check for Qt version mismatches into osgQt as suggested in http://forum.openscenegraph.org/viewtopic.php?t=14999.When an application is built with Qt4, but osgQt was built with Qt5 (or vice versa), upon #includeing osgQt users will receive an #error aborting the build. This at least provides a proper error message rather than a crash, while we are working on better fixes for the problem." git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14918 16af8721-9629-0410-8352-f15c8da7e697 Mon, 15 Jun 2015 13:51:29 +0000 Author : Robert Osfield Experiment with how to define GLsizeiptr.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14917 16af8721-9629-0410-8352-f15c8da7e697 Mon, 15 Jun 2015 13:51:09 +0000 Author : Robert Osfield Upated version numbergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14916 16af8721-9629-0410-8352-f15c8da7e697 Fri, 12 Jun 2015 20:23:15 +0000 Author : Robert Osfield Removed old and unused windows code path to avoid confusiongit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14915 16af8721-9629-0410-8352-f15c8da7e697 Fri, 12 Jun 2015 11:28:54 +0000 Author : Robert Osfield Updated ChangeLoggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14913 16af8721-9629-0410-8352-f15c8da7e697 Fri, 12 Jun 2015 08:04:42 +0000 Author : Robert Osfield From Farshid Lashkari, "I've modified some setter methods of TextBase to avoid unnecessary calls to computeGlyphRepresentation() if the value has not changed."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14912 16af8721-9629-0410-8352-f15c8da7e697 Thu, 11 Jun 2015 08:44:26 +0000 Author : Robert Osfield Reverted the typdef GLfloat GLdouble for Andoid as this was causing conflicts.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14910 16af8721-9629-0410-8352-f15c8da7e697 Wed, 10 Jun 2015 18:22:09 +0000 Author : Robert Osfield Updated ChangeLog and AUTHORS file for 3.3.8 dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14909 16af8721-9629-0410-8352-f15c8da7e697 Wed, 10 Jun 2015 16:48:28 +0000 Author : Robert Osfield From Laurens Voerman, "attached is a zip with the files:OpenSceneGraph\CMakeModules\FindOpenEXR.cmake I introduced a bug in the previous submission pointed out by Dmitry Marakasov: looking for IlmIlf instead of IlmImf (as the previous version did - but using variable OPENEXR_IlmIlf_LIBRARY) For some reason google decided his message was spam, so I just noticed it, and I reply to confirm his remarks and attach a full file. " git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14908 16af8721-9629-0410-8352-f15c8da7e697 Wed, 10 Jun 2015 16:47:15 +0000 Author : Robert Osfield From Colin McDonald, "An earlier fix in OSG 3.2 has been inadvertently lost in 3.3.x. The glGenerateMipMap function is part of the GL_EXT_framebuffer_object extension. Just checking if the function is present before using it for texture mipmaps is not sufficient, as on remote X-windows displays the client side capability may be different from the display server. This can lead to mipmapped textures failing to render. I've restored a fbo extension check. I've also tided up the GL version checking a little."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14907 16af8721-9629-0410-8352-f15c8da7e697 Wed, 10 Jun 2015 10:00:27 +0000 Author : Robert Osfield From Philippe Renon, "Fixed potential divide by zero in NodeTrackerManipulator : The divide by zero happens when throwing a NodeTrackerManipulator. The infinite result trickles down and later causes NaN in culling.The fix was to use getThrowScale() as done everywhere else." git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14905 16af8721-9629-0410-8352-f15c8da7e697 Tue, 9 Jun 2015 16:49:20 +0000 Author : Robert Osfield Added supoort for osg::CullSettings/Camera::InheritanceMaskActionOnAttributeSetting and InheritanceMask properties.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14904 16af8721-9629-0410-8352-f15c8da7e697 Tue, 9 Jun 2015 12:51:38 +0000 Author : Robert Osfield Added namespace around typedef to avoid conflict issuesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14903 16af8721-9629-0410-8352-f15c8da7e697 Tue, 9 Jun 2015 10:49:34 +0000 Author : Robert Osfield Introduce osg::Object::asNode(), asNodeVisitor(), asStateAttribute() and asUniform() to replace dynamic_cast<> usage in Callback.cpp.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14902 16af8721-9629-0410-8352-f15c8da7e697 Tue, 9 Jun 2015 09:44:37 +0000 Author : Robert Osfield Added output of HUD scene graph to hud.osgt and hud.osgb for testing purposes.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14901 16af8721-9629-0410-8352-f15c8da7e697 Mon, 8 Jun 2015 11:33:49 +0000 Author : Robert Osfield Updated AUTHORS and ChangeLog for dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14900 16af8721-9629-0410-8352-f15c8da7e697 Mon, 8 Jun 2015 11:18:24 +0000 Author : Robert Osfield From Mike Connell, "Give ReadFileCallback access to parent location : These small changes to the database pager allow user code in the ReadFileCallback to safely determine where the file being loaded is destined to be inserted into the scenegraph. "git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14899 16af8721-9629-0410-8352-f15c8da7e697 Mon, 8 Jun 2015 10:20:53 +0000 Author : Robert Osfield Addressed race condition where SceneView::setLightingMode() was setting a shread Master Camera's StateSet.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14898 16af8721-9629-0410-8352-f15c8da7e697 Sun, 7 Jun 2015 11:13:02 +0000 Author : Robert Osfield Fixed setReferenceTime() bug where a * eather than the correct / was being used. Bug and fix suggested Benjamin Richter.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14896 16af8721-9629-0410-8352-f15c8da7e697 Thu, 4 Jun 2015 09:35:19 +0000 Author : Robert Osfield Updated AUTHORS for dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14895 16af8721-9629-0410-8352-f15c8da7e697 Thu, 4 Jun 2015 09:13:05 +0000 Author : Robert Osfield From Jannik Heller, Transform::computeBound() optimization.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14894 16af8721-9629-0410-8352-f15c8da7e697 Thu, 4 Jun 2015 09:05:24 +0000 Author : Robert Osfield From Jannik Heller, Removed unused StatsHandler::_keyEventToggleVsyncgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14893 16af8721-9629-0410-8352-f15c8da7e697 Thu, 4 Jun 2015 09:00:17 +0000 Author : Robert Osfield From Jannik Heller, "In the attachment you will find a build fix for the latest trunk. osgAnimation failed to compile when using OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION=OFF ."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14892 16af8721-9629-0410-8352-f15c8da7e697 Wed, 3 Jun 2015 10:28:34 +0000 Author : Robert Osfield Removed export that was breaking windows buildgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14891 16af8721-9629-0410-8352-f15c8da7e697 Wed, 3 Jun 2015 09:14:35 +0000 Author : Robert Osfield From KOS, "New classes for osgAnimation presented: UpdateFloatUniform, UpdateVec3fUniform and UpdateMatrixfUniform (based on UpdateUniform template)Classes operate like osgAnimation::UpdateMaterial for Material's diffuse component, but change Uniform." git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14890 16af8721-9629-0410-8352-f15c8da7e697 Wed, 3 Jun 2015 09:07:41 +0000 Author : Robert Osfield From KOS, build fix for osg::Uniform::Callback to osg::UniformCallback changegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14889 16af8721-9629-0410-8352-f15c8da7e697 Wed, 3 Jun 2015 09:06:44 +0000 Author : Robert Osfield Added doxygen comment for typedefgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14888 16af8721-9629-0410-8352-f15c8da7e697 Wed, 3 Jun 2015 08:38:18 +0000 Author : Robert Osfield Build fix for when Uniform::Callback isn't definedgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14887 16af8721-9629-0410-8352-f15c8da7e697 Tue, 2 Jun 2015 10:25:13 +0000 Author : Robert Osfield From Konstantin Matveyev, serializer support for UniformCallbackgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14886 16af8721-9629-0410-8352-f15c8da7e697 Tue, 2 Jun 2015 09:33:22 +0000 Author : Robert Osfield From Konstantin Matveyev, "I've changed osg::Uniform::Callback to osg::UniformCallback. osg::UniformCallback inherits osg::Callback now.I don't really now if this class should be inside osgWrappers/serializers because StateAttributeCallback is not presented there, but i've included it in the patch. Please see archive in the attachment. PS DEEP_COPY_UNIFORMS works for me. " Note from Robert Osfield, added typedef UniformCallback Callback for backwards compatibility. git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14885 16af8721-9629-0410-8352-f15c8da7e697 Tue, 2 Jun 2015 09:18:19 +0000 Author : Robert Osfield Changed name of UniformCallback to UniformBufferCallback to avoid conflict with changes to come to the osg::Uniform::Callback -> osg::UniformCallback.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14884 16af8721-9629-0410-8352-f15c8da7e697 Mon, 1 Jun 2015 13:40:20 +0000 Author : Robert Osfield From Albert Luaces, typo fixes.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14883 16af8721-9629-0410-8352-f15c8da7e697 Mon, 1 Jun 2015 13:11:49 +0000 Author : Robert Osfield From Jannik Heller, typo fixesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14882 16af8721-9629-0410-8352-f15c8da7e697 Mon, 1 Jun 2015 12:14:53 +0000 Author : Robert Osfield From Jannik Heller, "This patch adds a missing initialization of osgParticle::ParticleProcessor::_frameNumber in the copy constructor. I noticed this because valgrind was complaining about use of uninitialized memory."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14881 16af8721-9629-0410-8352-f15c8da7e697 Mon, 1 Jun 2015 12:07:04 +0000 Author : Robert Osfield From Frashud Lashkari, "I was getting "Unsupported wrapper class..." error messages when attempting to load osgb models simultaneously from multiple threads. I believe the problem is caused by un-synchronized access to the global osgDB::ObjectWrapperManager class. I've attached a change that adds a mutex to the class and uses it when accessing the internal wrapper/compress maps. This appears to fix the issues I was having."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14880 16af8721-9629-0410-8352-f15c8da7e697 Mon, 1 Jun 2015 10:50:44 +0000 Author : Robert Osfield From Jannik Heller, "I have added new functions Texture::generateAndAssignTextureObject mirroring the Texture::generateTextureObject functions.I have left the Texture::generateTextureObject functions intact as I'm not sure if/how it's used outside the core OSG. If you feel that compatibility isn't important in that area feel free to drop it. While testing the build with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION=OFF I found a compile error in GlyphGeometry.cpp that was entirely unrelated to the changes I've made. The fix is included in the patch. There is one thing left to fix and that is Texture2D::SubloadCallback: class OSG_EXPORT SubloadCallback : public Referenced { public: .... virtual TextureObject* generateTextureObject(const Texture2D& texture, State& state) const { return osg::Texture::generateTextureObject(&texture, state.getContextID(), GL_TEXTURE_2D); } ... }" git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14879 16af8721-9629-0410-8352-f15c8da7e697 Mon, 1 Jun 2015 10:41:43 +0000 Author : Robert Osfield From Jannik Heller, build fixgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14878 16af8721-9629-0410-8352-f15c8da7e697 Fri, 29 May 2015 07:52:27 +0000 Author : Robert Osfield From Jannik Heller, fix for race condition in orphanded BufferObject handling.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14877 16af8721-9629-0410-8352-f15c8da7e697 Tue, 26 May 2015 17:24:48 +0000 Author : Robert Osfield From Colin McDonald, "rc/osgUtl/MeshOptimizers.cpp won't compile on some systems due to a missing std:: namespace prefix."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14876 16af8721-9629-0410-8352-f15c8da7e697 Tue, 26 May 2015 17:22:05 +0000 Author : Robert Osfield From Farshid Lashkari, "attached a small change to osgUtil::SceneView that prevents unnecessary calls to glClear when the split stereo separation is 0."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14875 16af8721-9629-0410-8352-f15c8da7e697 Tue, 26 May 2015 17:17:26 +0000 Author : Robert Osfield From Thomas Hogarth, "Little fix for ClassInterface::getSupportedProperties, before if you set searchAssociates to false then it would return the same BaseSerialiser::Type for every entry in the PropertyMap as i was not being incremented on line 539. Fix attached."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14874 16af8721-9629-0410-8352-f15c8da7e697 Tue, 26 May 2015 17:12:05 +0000 Author : Robert Osfield From We See, "I found a small bug in osgUtil::RenderStage::draw() (osg 3.3.7), which crashes osg. The problem was caused by an access to the object _camera without checking whether the object is valid. So I changed the line:Code: if (_cameraRequiresSetUp || (_cameraAttachmentMapModifiedCount!=_camera->getAttachmentMapModifiedCount())) to Code: if (_cameraRequiresSetUp || (_camera.valid() && _cameraAttachmentMapModifiedCount!=_camera->getAttachmentMapModifiedCount())) " git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14873 16af8721-9629-0410-8352-f15c8da7e697 Tue, 26 May 2015 17:09:25 +0000 Author : Robert Osfield From Farshid Lashkari and Robert Osfield, "a small change to the CullVisitor class, which will use cloneType() on the root render stage when creating children render stages. This allows us to pass a custom RenderStage object to the SceneView and have it used for all sub-stages."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14872 16af8721-9629-0410-8352-f15c8da7e697 Tue, 26 May 2015 10:05:47 +0000 Author : Robert Osfield Rewrote the Text3D bevel implementation to automatically adjust bevel thickness to avoid overalapping and erronous tesselation.Added osgText::Bevel::s/getRoundedConcaveJunctions(bool) to control how the bevel should be tessellated around concave junctions on the glyph boundary. git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14871 16af8721-9629-0410-8352-f15c8da7e697 Tue, 26 May 2015 08:48:33 +0000 Author : Robert Osfield Added use of ref_ptr<>git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14870 16af8721-9629-0410-8352-f15c8da7e697 Mon, 25 May 2015 12:39:18 +0000 Author : Robert Osfield Changed the EventQueue::frame() event generation to use the generatePointerData/reprojectPointerData() methods in the same way that other events are handled.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14869 16af8721-9629-0410-8352-f15c8da7e697 Mon, 25 May 2015 11:33:04 +0000 Author : Robert Osfield Added osgGA::GUIEventAdapter* returns from various EventQueue event generation methods.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14868 16af8721-9629-0410-8352-f15c8da7e697 Thu, 21 May 2015 14:11:32 +0000 Author : Robert Osfield Fixed memory error associated with reading over the end of container due to an unbounded while loop.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14866 16af8721-9629-0410-8352-f15c8da7e697 Wed, 6 May 2015 18:39:44 +0000 Author : Robert Osfield Update ChangeLog and AUTHORS filegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14865 16af8721-9629-0410-8352-f15c8da7e697 Tue, 5 May 2015 11:05:09 +0000 Author : Robert Osfield Changed the CMP0020 check to > 2.8.10 Updated SO version numbergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14864 16af8721-9629-0410-8352-f15c8da7e697 Thu, 30 Apr 2015 14:04:51 +0000 Author : Robert Osfield From Christian Kehl, changes for making osgAndroid working with GLES1 enabledgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14862 16af8721-9629-0410-8352-f15c8da7e697 Thu, 30 Apr 2015 13:59:24 +0000 Author : Robert Osfield From Dmitriy Ogalcev, fix for crash when calling setCursor from a non GUI threadgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14861 16af8721-9629-0410-8352-f15c8da7e697 Tue, 28 Apr 2015 16:12:57 +0000 Author : Robert Osfield Replaced attempt at passing NULL Matrix with two specialized methods.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14860 16af8721-9629-0410-8352-f15c8da7e697 Mon, 27 Apr 2015 19:31:13 +0000 Author : Robert Osfield Renamed LineSegment::intersect(BoundingSphere/Box, double/float&, double/float&) methods to LineSegment::intersectAndComputeRations(..) to avoid confusion with the change in convention for the old intersect(BoundingBox&, float/double&, float/double&) method as it was inconsitent with the rest of the OSG including the intersect(BoundingSphere) method in how the ratio for the second intersection was measure from - original from the end point, but now made consistent with other places in the OSG so be based on ration from start to end of segment.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14859 16af8721-9629-0410-8352-f15c8da7e697 Thu, 23 Apr 2015 14:44:06 +0000 Author : Robert Osfield Refactoring GlyphGeometry Boundary class to facilate better bevel overlap detectiongit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14858 16af8721-9629-0410-8352-f15c8da7e697 Thu, 23 Apr 2015 12:58:27 +0000 Author : Robert Osfield Comment out debug notificationgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14857 16af8721-9629-0410-8352-f15c8da7e697 Thu, 23 Apr 2015 09:49:16 +0000 Author : Robert Osfield Removed unused methodgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14856 16af8721-9629-0410-8352-f15c8da7e697 Wed, 22 Apr 2015 14:25:34 +0000 Author : Robert Osfield From Giampaolo Vigano, "please find attached a further fix for 3ds plugin: now reflection map works also with transparent objects (I also removed a redundant setting of BlendFunc)."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14855 16af8721-9629-0410-8352-f15c8da7e697 Tue, 21 Apr 2015 17:29:15 +0000 Author : Robert Osfield From Chris Denham, "I found a couple of memory leaks in 3DS reader plugin and I have attached corrected files. I have attached an example 3DS file I used to test the leaks/fixes using osgviewer for trunk at rev [14853] and the tagged version 3.2.1.The first leak is in the lib3ds module (yeah, I know that probably should be corrected at http://code.google.com/p/lib3ds/ but I'm assuming that as no commits have happened there since 2011 that it may be better to fix the copy we have in the OSG of that project) The leak is caused by lib3d's use of realloc(ptr, 0) to free up memory allocations, but realloc, when ptr==NULL returns malloc(0) rather than NULL and thus leaks a zero byte allocation. The solution here was to adjust the 'lib3ds_util_reserve_array' function so that it realloc is not used to release a NULL pointer. The second leak is in ReaderWriter3DS.cpp and arises when any of the created StateSet objects added to the StateSetMap don't subsequently get applied to a Node. The solution here was just to simply use the osg::ref_ptr around the raw StateSet pointer that was used in the locally defined StateSetInfo struct." git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14854 16af8721-9629-0410-8352-f15c8da7e697 Mon, 20 Apr 2015 10:41:45 +0000 Author : Robert Osfield Updated AUTHORSgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14851 16af8721-9629-0410-8352-f15c8da7e697 Mon, 20 Apr 2015 10:36:42 +0000 Author : Robert Osfield Build fixgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14850 16af8721-9629-0410-8352-f15c8da7e697 Mon, 20 Apr 2015 10:19:04 +0000 Author : Robert Osfield Build fixgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14849 16af8721-9629-0410-8352-f15c8da7e697 Mon, 20 Apr 2015 09:39:00 +0000 Author : Robert Osfield Moved uniform substitution to infront of vertex attribute substituion to make sure gl_Vertex usage is replaced when required.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14848 16af8721-9629-0410-8352-f15c8da7e697 Mon, 20 Apr 2015 09:08:56 +0000 Author : Robert Osfield From Tim Moore, "The order_by_primitive_mode comparer was not providing a strict weak ordering, which was causing a crash in the sort() call in VertexAccessOrderVisitor::optimizeOrder (gcc 4.9, Fedora 21)."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14846 16af8721-9629-0410-8352-f15c8da7e697 Fri, 17 Apr 2015 14:36:05 +0000 Author : Robert Osfield Updated dev release numbergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14845 16af8721-9629-0410-8352-f15c8da7e697 Fri, 17 Apr 2015 13:33:08 +0000 Author : Robert Osfield Added implementations for the libraryName and className for the AntiSquish node.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14844 16af8721-9629-0410-8352-f15c8da7e697 Fri, 17 Apr 2015 13:24:44 +0000 Author : Robert Osfield Fixed CollectParentPaths visitor so that it sets the setNodeMaskOverride(0xffffffff) to make sure all parents are traversed to find parents, even ones that have their NodeMask set to 0x0.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14843 16af8721-9629-0410-8352-f15c8da7e697 Fri, 17 Apr 2015 13:22:07 +0000 Author : Robert Osfield Added --test-NodeMask option to test crash when a parent of osgmanipulator::AntiSquish node has a NodeMask set to 0x0.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14842 16af8721-9629-0410-8352-f15c8da7e697 Thu, 16 Apr 2015 11:19:50 +0000 Author : Robert Osfield Changed MSVC version test to <= to enable fallback for VS2010.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14841 16af8721-9629-0410-8352-f15c8da7e697 Thu, 16 Apr 2015 10:07:23 +0000 Author : Robert Osfield Fixed crash when AntiSquish node is the root of the scene graph.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14840 16af8721-9629-0410-8352-f15c8da7e697 Wed, 15 Apr 2015 18:34:16 +0000 Author : Robert Osfield Updated ChangeLoggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14839 16af8721-9629-0410-8352-f15c8da7e697 Wed, 15 Apr 2015 18:05:43 +0000 Author : Robert Osfield Updated version number of dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14837 16af8721-9629-0410-8352-f15c8da7e697 Wed, 15 Apr 2015 17:12:52 +0000 Author : Robert Osfield Added missing const to find VS2005 buildgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14836 16af8721-9629-0410-8352-f15c8da7e697 Tue, 14 Apr 2015 18:16:32 +0000 Author : Robert Osfield Added check for changes to window size during GraphicsWindowWin32::init() to fix bug that occurs when the window manage resizes the window automatically on creation.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14835 16af8721-9629-0410-8352-f15c8da7e697 Tue, 14 Apr 2015 15:50:51 +0000 Author : Robert Osfield From Philippe Renon, MingW build fixgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14834 16af8721-9629-0410-8352-f15c8da7e697 Mon, 13 Apr 2015 11:48:28 +0000 Author : Robert Osfield Fixed typo of SEPARATE enumsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14833 16af8721-9629-0410-8352-f15c8da7e697 Mon, 13 Apr 2015 10:43:56 +0000 Author : Robert Osfield From Jannik Heller, typo fixesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14832 16af8721-9629-0410-8352-f15c8da7e697 Mon, 13 Apr 2015 10:11:32 +0000 Author : Robert Osfield From Konstantin Matveyev, "I've added GLES3 profile, which also enables GLES2 features (OSG_GLES3_AVAILABLE=true => OSG_GLES2_AVAILABLE=true).If OSG_OPENGL_PROFILE="GLES3" => GraphicsWindowIOS will create gles3 context. If failed, GraphicsWindowIOS will create gles2 context. Multisampling also working. " git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14831 16af8721-9629-0410-8352-f15c8da7e697 Mon, 13 Apr 2015 09:50:27 +0000 Author : Robert Osfield From Laurens Voerman, I have modified the FindOpenEXR.cmake to find the debug libraries, and to define a variable (OPENEXR_LIBRARIES_VARS) with the variable names that might have a _DEBUG version defined.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14830 16af8721-9629-0410-8352-f15c8da7e697 Mon, 13 Apr 2015 08:55:08 +0000 Author : Robert Osfield Added passing of command line arguments to viewer construction to allow one to specify extra controls for the viewer such as window size etc.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14829 16af8721-9629-0410-8352-f15c8da7e697 Thu, 9 Apr 2015 18:42:08 +0000 Author : Robert Osfield Refactored AntiSquish::computeUnSquishedMatrix() method to use the parent node path of the AntiSquish node to compute the required matrix rather than using the NodePath provided by the NodeVistor. This is required as in osg::computeLocalToWorld() usage case the NodeVisitor pointer is NULL, so the correct matrix isn't possible to compute.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14828 16af8721-9629-0410-8352-f15c8da7e697 Thu, 9 Apr 2015 18:38:53 +0000 Author : Robert Osfield Added WindowSizeHandler to osgmanipulator examplegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14827 16af8721-9629-0410-8352-f15c8da7e697 Tue, 7 Apr 2015 18:01:12 +0000 Author : Robert Osfield From Jannik Heller, typo fixesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14826 16af8721-9629-0410-8352-f15c8da7e697 Tue, 7 Apr 2015 16:58:31 +0000 Author : Robert Osfield From Giampaolo Viganò, "you can find in the attached ZIP archive a fix for 3ds plugin transparent/diffuse textures and opacity maps and the support for reflection map"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14825 16af8721-9629-0410-8352-f15c8da7e697 Tue, 7 Apr 2015 15:53:17 +0000 Author : Robert Osfield From Janik Heller, clean up of drawable/node usagegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14824 16af8721-9629-0410-8352-f15c8da7e697 Tue, 7 Apr 2015 15:52:02 +0000 Author : Robert Osfield Removed unused ShapesToGeometriesVisitor.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14823 16af8721-9629-0410-8352-f15c8da7e697 Tue, 7 Apr 2015 15:49:06 +0000 Author : Robert Osfield Cleaned up handling of Drawables so it utilizes the Node inheritance properly.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14822 16af8721-9629-0410-8352-f15c8da7e697 Fri, 3 Apr 2015 15:43:34 +0000 Author : Robert Osfield Build fix for VS2005.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14821 16af8721-9629-0410-8352-f15c8da7e697 Fri, 3 Apr 2015 13:34:13 +0000 Author : Robert Osfield Improved the doxygen comment for the new createImageWithOrientationConversion(..) function.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14820 16af8721-9629-0410-8352-f15c8da7e697 Fri, 3 Apr 2015 13:29:31 +0000 Author : Robert Osfield Added automatic rotation of jpeg image based on EXIF rotation information provided in the header.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14819 16af8721-9629-0410-8352-f15c8da7e697 Fri, 3 Apr 2015 13:19:32 +0000 Author : Robert Osfield Implemented an osg::createImageWithOrientationConversion(...) method to aid for changing orientation of images.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14818 16af8721-9629-0410-8352-f15c8da7e697 Thu, 2 Apr 2015 16:11:22 +0000 Author : Robert Osfield Added reading of EXIF_Orientation tags when present in a jpeg file.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14817 16af8721-9629-0410-8352-f15c8da7e697 Thu, 2 Apr 2015 10:12:22 +0000 Author : Robert Osfield From Wojciech Lewandowski, Windows build fixes, "These are the tweaks I had to make. JSON_Objects / json_stream headers attached. I am not sure how these will behave on VS 2010. Someone with VS 2010 should test it. Should be okay on VS 2008 and below + VS 2012 and above, though."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14816 16af8721-9629-0410-8352-f15c8da7e697 Wed, 1 Apr 2015 09:37:44 +0000 Author : Robert Osfield From Lionel Largarde, "fix for the Image::computeNumberOfMipmapLevels method. The method did use the float version of the log function and the / operator. It works for most of the input sizes, but fails for 8192, 32768... For 8192, the method returns 13 instead of 14."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14814 16af8721-9629-0410-8352-f15c8da7e697 Tue, 31 Mar 2015 19:31:34 +0000 Author : Robert Osfield Fixed crash when using a subload callback, where the _images array is empty by _images[0] was still being accessed.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14813 16af8721-9629-0410-8352-f15c8da7e697 Tue, 31 Mar 2015 19:29:02 +0000 Author : Robert Osfield Added --subload command line option and test subload callback for testing purposesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14812 16af8721-9629-0410-8352-f15c8da7e697 Tue, 31 Mar 2015 16:23:43 +0000 Author : Robert Osfield Introduced osg::Camera::resize(..) method and associated enum thus: enum ResizeMask { RESIZE_VIEWPORT=1, RESIZE_ATTACHMENTS=2, RESIZE_PROJECTIONMATRIX=4, RESIZE_DEFAULT=RESIZE_VIEWPORT|RESIZE_ATTACHMENTS }; /** Resize, to the specified width and height, the viewport, attachments and projection matrix according to the resizeMask provided. * Note, the adjustment of the projection matrix is done if the RESIZE_PROJECTIONMATRIX mask to set and according to the rules specified in the ProjectionResizePolicy. */ void resize(int width, int height, int resizeMask=RESIZE_DEFAULT); git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14811 16af8721-9629-0410-8352-f15c8da7e697 Tue, 31 Mar 2015 15:08:13 +0000 Author : Robert Osfield Introduced Camera::resizeAttachments(int width, int height) to resize all the Texture and Image assigned the the Camera attachments.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14810 16af8721-9629-0410-8352-f15c8da7e697 Tue, 31 Mar 2015 10:41:33 +0000 Author : Robert Osfield Refactor the RTT Camera resize code into a seperate Callback method in prep for this all being done by a single Camera API call.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14809 16af8721-9629-0410-8352-f15c8da7e697 Tue, 31 Mar 2015 10:36:38 +0000 Author : Robert Osfield Added Camera::dirtyAttachmentMap(), Camera::s/getAttachmentMapModified() value and usage of this in RenderStage as a new mechanism for telling the rendering backend to update itself to reflect new values in the attachments such as new texture or image sizes.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14808 16af8721-9629-0410-8352-f15c8da7e697 Mon, 23 Mar 2015 11:36:02 +0000 Author : Robert Osfield Added StatsHandler to osgtessellationshaders example to test out rendering bug associated with stats rendering.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14807 16af8721-9629-0410-8352-f15c8da7e697 Fri, 20 Mar 2015 17:58:34 +0000 Author : Robert Osfield Added event handle to alter the RTT Camera's dimensions to follow the windows resizes.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14806 16af8721-9629-0410-8352-f15c8da7e697 Fri, 20 Mar 2015 15:49:12 +0000 Author : Robert Osfield Fixed resize dimensions of X11 windowgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14805 16af8721-9629-0410-8352-f15c8da7e697 Fri, 20 Mar 2015 11:48:21 +0000 Author : Robert Osfield From Jannik Heller, "Fix for Qt4 multi-threaded crash. This patch adds the AA_X11InitThreads flag to the QApplication setup, meaning QT will call XInitThreads for us. This also bumps the required QT version to 4.8+, because the AA_X11InitThreads flag was introduced in that version. If that is not acceptable, we could add a QT_VERSION >= 0x040800 guard, or manually call XInitThreads() instead. Let me know what you think."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14804 16af8721-9629-0410-8352-f15c8da7e697 Thu, 19 Mar 2015 10:49:17 +0000 Author : Robert Osfield Added Texture wrap setting to CLAMP_TO_EDGE to fix rendering problem when running the default osgdistortion examplegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14803 16af8721-9629-0410-8352-f15c8da7e697 Tue, 17 Mar 2015 18:10:21 +0000 Author : Robert Osfield Fixed VisualStudio warninggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14802 16af8721-9629-0410-8352-f15c8da7e697 Tue, 17 Mar 2015 14:50:34 +0000 Author : Robert Osfield From Konstantin Matveyev, "Added ComputeBoundingBoxCallback, ComputeBoundingSphereCallback and UpdateCallback implmenentations to serializers"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14801 16af8721-9629-0410-8352-f15c8da7e697 Tue, 17 Mar 2015 09:40:31 +0000 Author : Robert Osfield Updated ChangeLog and AUTHORS file for dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14800 16af8721-9629-0410-8352-f15c8da7e697 Tue, 17 Mar 2015 09:09:10 +0000 Author : Robert Osfield Fixed library wrappergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14798 16af8721-9629-0410-8352-f15c8da7e697 Tue, 17 Mar 2015 08:25:49 +0000 Author : Robert Osfield Added ComputeBoundingSphereCallback referencegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14796 16af8721-9629-0410-8352-f15c8da7e697 Tue, 17 Mar 2015 08:24:01 +0000 Author : Robert Osfield From Konstantin Matveyev, "More "LibraryWrapper" fixes for osg and osgAnimation NodeKits in the attachment (for 3.3.6 version :)Fixes: osg: Unsupported associated class osg::UpdateCallback (osg_Drawable_UpdateCallback); ComputeBoundingBoxCallback osgAnimation: Unsupported wrapper class osgAnimation::RigComputeBoundingBoxCallback " git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14795 16af8721-9629-0410-8352-f15c8da7e697 Tue, 17 Mar 2015 08:19:05 +0000 Author : Robert Osfield Changed to using osgDB::ofstream to work around Windows build issuegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14794 16af8721-9629-0410-8352-f15c8da7e697 Mon, 16 Mar 2015 17:01:57 +0000 Author : Robert Osfield Removed unneccessary library link line.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14793 16af8721-9629-0410-8352-f15c8da7e697 Mon, 16 Mar 2015 14:16:52 +0000 Author : Robert Osfield Removed the using namespace std and replaced with local std:: to make the code clearergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14792 16af8721-9629-0410-8352-f15c8da7e697 Mon, 16 Mar 2015 12:13:44 +0000 Author : Robert Osfield Refactored the command line setup to enable better control of set up. Added WindowSizeHandler to allow for adjustment of window size.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14791 16af8721-9629-0410-8352-f15c8da7e697 Mon, 16 Mar 2015 10:30:18 +0000 Author : Robert Osfield From Konstantin Matveyev, "Last update in the osgAnimation::Animation ONCE mode bug fix"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14789 16af8721-9629-0410-8352-f15c8da7e697 Mon, 16 Mar 2015 10:07:13 +0000 Author : Robert Osfield Added --play-mode [ONCE, STAY, LOOP, PPONG] to help with testing.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14788 16af8721-9629-0410-8352-f15c8da7e697 Fri, 13 Mar 2015 08:12:26 +0000 Author : Robert Osfield From Konstantin Matveyev, "Small fix for OSG 3.3.6.119 in the attachment.One line added in osg/LibraryWrapper.cpp USE_SERIALIZER_WRAPPER(Callback) " git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14786 16af8721-9629-0410-8352-f15c8da7e697 Thu, 12 Mar 2015 17:11:11 +0000 Author : Robert Osfield Refactored how the callbacks for updating geometry are managed in MorphGeometry and RigGeometry to address bugs in serialization.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14784 16af8721-9629-0410-8352-f15c8da7e697 Thu, 12 Mar 2015 15:12:29 +0000 Author : Robert Osfield From Laurens Voerman, "attached is a zip with a modified version of: OpenSceneGraph\CMakeModules\FindFBX.cmakeThis version can find fbx sdk 2015.1 and will prefer it over older versions. Tested with Visual Studio Express 2013 on 64bit windows 7" git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14782 16af8721-9629-0410-8352-f15c8da7e697 Thu, 12 Mar 2015 13:41:00 +0000 Author : Robert Osfield From Mattias Helsing, add copyright notice from other osgjs header to the json_stream headergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14781 16af8721-9629-0410-8352-f15c8da7e697 Thu, 12 Mar 2015 13:37:08 +0000 Author : Robert Osfield Added using namespace std and removed the std:: prefixes before the std::isfinte and std::isinf function calls to avoid problems with Android builds against older NDK's.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14780 16af8721-9629-0410-8352-f15c8da7e697 Wed, 11 Mar 2015 17:47:08 +0000 Author : Robert Osfield From Laurens Voerman, warning fixesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14778 16af8721-9629-0410-8352-f15c8da7e697 Wed, 11 Mar 2015 17:36:45 +0000 Author : Robert Osfield From Laurens Voerman, "The current version will not compile with SDL version 2, error OpenSceneGraph\src\osgPlugins\sdl\JoystickDevice.cpp(42): error C2664: 'const char *SDL_JoystickName(SDL_Joystick *)' : cannot convert argument 1 from 'int' to 'SDL_Joystick *' due to changes in the SDL api.Tested with Visual Studio Express 2013; SDL 2.0.1" git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14776 16af8721-9629-0410-8352-f15c8da7e697 Wed, 11 Mar 2015 17:27:08 +0000 Author : Robert Osfield Completed support for assigning 3D osg::Image to osg::Texture2DArray.Improved the osgtexture2DArray example to add --mipmap and --packed command line options to help with testing. git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14775 16af8721-9629-0410-8352-f15c8da7e697 Wed, 11 Mar 2015 15:44:23 +0000 Author : Robert Osfield Updated the comments to be more relevantgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14774 16af8721-9629-0410-8352-f15c8da7e697 Tue, 10 Mar 2015 18:15:02 +0000 Author : Robert Osfield Work in progress to allow osg::Texture2DArray to be set up with a single osg::Image containing 3D image data.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14773 16af8721-9629-0410-8352-f15c8da7e697 Tue, 10 Mar 2015 18:07:17 +0000 Author : Robert Osfield Work in progress on new osgtexture2DArray examplegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14772 16af8721-9629-0410-8352-f15c8da7e697 Mon, 9 Mar 2015 11:27:26 +0000 Author : Robert Osfield From Cedric Pinson, gles and osgjs plugins that support conversion of OSG loaded models into a form that can be used with osgjs JavaScript librarygit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14770 16af8721-9629-0410-8352-f15c8da7e697 Thu, 5 Mar 2015 19:53:17 +0000 Author : Robert Osfield Update AUTHORS file for 3.3.6 dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14768 16af8721-9629-0410-8352-f15c8da7e697 Thu, 5 Mar 2015 19:33:17 +0000 Author : Robert Osfield Updated dev release numbergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14767 16af8721-9629-0410-8352-f15c8da7e697 Thu, 5 Mar 2015 19:26:08 +0000 Author : Robert Osfield Updated ChangeLog for dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14765 16af8721-9629-0410-8352-f15c8da7e697 Thu, 5 Mar 2015 10:53:28 +0000 Author : Robert Osfield Added check for newline at end of version line, and of it's not add a '\n'git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14761 16af8721-9629-0410-8352-f15c8da7e697 Wed, 4 Mar 2015 18:39:04 +0000 Author : Robert Osfield Updated SO_VERSION after changes to osgPresentationgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14760 16af8721-9629-0410-8352-f15c8da7e697 Wed, 4 Mar 2015 18:36:44 +0000 Author : Robert Osfield Restructed the osgPresentation and present3D directories back to the structure that was present in OSG-3.2git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14759 16af8721-9629-0410-8352-f15c8da7e697 Wed, 4 Mar 2015 17:42:30 +0000 Author : Robert Osfield Removed the experiemental osgPresentation classes. These are only partially functional and not appropriate for the stable OSG-3.4 releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14758 16af8721-9629-0410-8352-f15c8da7e697 Tue, 3 Mar 2015 15:26:15 +0000 Author : Robert Osfield Updated AUTHORS for 3.3.5 dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14756 16af8721-9629-0410-8352-f15c8da7e697 Tue, 3 Mar 2015 14:59:37 +0000 Author : Robert Osfield Fixed ClusterCullingCallback parser problem due to osg::Callback not being included in inheritance listgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14755 16af8721-9629-0410-8352-f15c8da7e697 Tue, 3 Mar 2015 12:56:09 +0000 Author : Robert Osfield Restructed the checks in the CollectLowestTransformsVisitor::removeTransforms() to avoid benign case being flagged as warning.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14753 16af8721-9629-0410-8352-f15c8da7e697 Tue, 3 Mar 2015 12:03:23 +0000 Author : Robert Osfield 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 Tue, 3 Mar 2015 12:00:52 +0000 Author : Robert Osfield Re-organized the #ifdef's to avoid usage of glPolyginMode under GLESgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14751 16af8721-9629-0410-8352-f15c8da7e697 Mon, 2 Mar 2015 14:38:17 +0000 Author : Robert Osfield Updated SO_VERSION to take account of API changes in osgDBgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14749 16af8721-9629-0410-8352-f15c8da7e697 Mon, 2 Mar 2015 12:11:43 +0000 Author : Robert Osfield From Johannes Scholz, "Attached you find a patch for osgDB::OutputStream and osgDB::InputStream to include osg::Image::data() using Base64 encoding inside the ASCII OSGT, if WriteImageHint=IncludeData is set, only."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14748 16af8721-9629-0410-8352-f15c8da7e697 Mon, 2 Mar 2015 12:09:25 +0000 Author : Robert Osfield From Michael McDonnel, "The tessellation shader example has a small bug.The middle of the geometry is clipped as soon as it is tessellated. The clipping is probably caused by rounding errors because it is only in one spot. The clipping disappears when the camera is moved, and reappears when it is moved back. Expanding the the bounding box fixed the clipping bug."Tweaked by Robert Osfield to expand it to a -1 to 1 unit box. Actual clipping bug is not due to rounding errors but the shaders creating vertices outside the bounding box of the original input vertices git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14747 16af8721-9629-0410-8352-f15c8da7e697 Sun, 1 Mar 2015 15:20:37 +0000 Author : Robert Osfield Fixed StateSet::Define names to match OpenSceneGraph-Data/shaders.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14745 16af8721-9629-0410-8352-f15c8da7e697 Sun, 1 Mar 2015 11:08:58 +0000 Author : Robert Osfield From Jannik Heller, "I noticed the rotation in the OrbitManipulator depends on the framerate. To reproduce this issue, start the osganimate example, rotate the model with the left mouse button, then let go of the mouse button while still moving. You will notice that with V-Sync enabled, the model rotates slower.The OrbitManipulator calculates a scale to counteract the framerate dependency, but it turns out this scale wasn't used for the rotation yet." git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14744 16af8721-9629-0410-8352-f15c8da7e697 Fri, 27 Feb 2015 10:01:56 +0000 Author : Robert Osfield Updated version number after dev release.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14740 16af8721-9629-0410-8352-f15c8da7e697 Fri, 27 Feb 2015 09:47:58 +0000 Author : Robert Osfield Updated ChangeLog and Contributors to fix trailing spacesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14738 16af8721-9629-0410-8352-f15c8da7e697 Fri, 27 Feb 2015 09:05:04 +0000 Author : Robert Osfield Fixed Windows warningsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14737 16af8721-9629-0410-8352-f15c8da7e697 Fri, 27 Feb 2015 04:29:30 +0000 Author : Robert Osfield Fixes for warningsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14736 16af8721-9629-0410-8352-f15c8da7e697 Thu, 26 Feb 2015 20:15:36 +0000 Author : Robert Osfield Fixed build with auto ptr conversion switched offgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14735 16af8721-9629-0410-8352-f15c8da7e697 Thu, 26 Feb 2015 19:51:56 +0000 Author : Robert Osfield Updated AUTHORSgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14733 16af8721-9629-0410-8352-f15c8da7e697 Thu, 26 Feb 2015 19:14:28 +0000 Author : Robert Osfield From Bradley Baker Searles, "We had someone replace a DDS texture with a GL_RGB/GL_UNSIGNED_SHORT_5_6_6 image, which would trigger a crash in Image.cpp while flipping the mipmap chain. The code was trying to flip the mipmaps using the rowStep for the full-size image (we have "dds_flip" set in the osgDB::ReaderWriter::Options in the osgDB::Registry)."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14732 16af8721-9629-0410-8352-f15c8da7e697 Thu, 26 Feb 2015 18:06:06 +0000 Author : Robert Osfield From Bradley Baker Searles, "Small patch attached to handle DDS flip when s=4. Currently it will omit flipping and generate a warning: "Vertical flip was skipped. Image dimensions have to be multiple of 4."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14729 16af8721-9629-0410-8352-f15c8da7e697 Thu, 26 Feb 2015 17:49:36 +0000 Author : Robert Osfield From Julien Valentin and Alberto Luaces, added support for transform feedback extensionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14728 16af8721-9629-0410-8352-f15c8da7e697 Thu, 26 Feb 2015 17:18:31 +0000 Author : Robert Osfield Update AUTHORS filegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14727 16af8721-9629-0410-8352-f15c8da7e697 Thu, 26 Feb 2015 14:16:22 +0000 Author : Robert Osfield Fixed typogit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14725 16af8721-9629-0410-8352-f15c8da7e697 Thu, 26 Feb 2015 13:52:12 +0000 Author : Robert Osfield Regenerated AUTHORS.txt to fix missing special charactersgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14724 16af8721-9629-0410-8352-f15c8da7e697 Wed, 25 Feb 2015 19:59:01 +0000 Author : Robert Osfield Updated AUTHORS filegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14723 16af8721-9629-0410-8352-f15c8da7e697 Wed, 25 Feb 2015 19:52:00 +0000 Author : Robert Osfield Updated ChangeLoggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14722 16af8721-9629-0410-8352-f15c8da7e697 Wed, 25 Feb 2015 19:38:43 +0000 Author : Robert Osfield From Aitor Moreno, "Attached you will find the modified file without the lines which raises the exception. "git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14721 16af8721-9629-0410-8352-f15c8da7e697 Wed, 25 Feb 2015 19:31:20 +0000 Author : Robert Osfield From Jamie Robertson, "I've been using osgSim::ScalarBar to display fixed range color values (e.g. red from 1-2, green from 3-4 etc), by setting the _numColors the same as the number of actual colors in the ColorRange.Currently if you do this you get strange looking results as the colors are calculated for values in the centre of each color step, so if your steps are large, the colors are interpolated sigificantly (see screen grab of red, green and blue colors for illustration). I've attached a fix which just uses the original color values whenever _numColors equals the number of actual defined colors in the ColorRange. I doubt anyone would want interpolated colors in these circumstances." git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14720 16af8721-9629-0410-8352-f15c8da7e697 Wed, 25 Feb 2015 19:25:34 +0000 Author : Robert Osfield From Dmitry Marakasov, "While packaging osg-3.3.3 I've discovered that gstreamer detection is broken:-- Could NOT find GStreamer (missing: GSTREAMER_BASE_INCLUDE_DIRS GSTREAMER_BASE_LIBRARIES GSTREAMER_GSTREAMER-APP_INCLUDE_DIRS GSTREAMER_GSTREAMER-APP_LIBRARIES GSTREAMER_GSTREAMER-PBUTILS_INCLUDE_DIRS GSTREAMER_GSTREAMER-PBUTILS_LIBRARIES) (found version "1.4.5") though all required modules are installed. There are two problems: first, module names are spelled incorrectly in root CMakeLists.txt (e.g. gstreamer-app instead of app), so variables expected for them are e.g. GSTREAMER_GSTREAMER-APP_INCLUDE_DIRS instead of GSTREAMER_APP_INCLUDE_DIRS. Second, gstreamer base component is detected as GSTREAMER while checked later as GSTREAMER_BASE. I've uncommented the detection as GSTREAMER_BASE, but obviously that should be revisited and only one detection left. With this patch, gstreamer is detected properly and the plugins is successfully built and installed." git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14719 16af8721-9629-0410-8352-f15c8da7e697 Wed, 25 Feb 2015 19:19:37 +0000 Author : Robert Osfield From Jonathan Greig, "I was testing out the example and it works fine as a standalone example, but I found that it didn't work as expected when adding the class to some existing code I have to test it out. The osg widget was appearing but it didn't appear to be updating. After tweaking it to pass on the parent QWidget pointer from my code, it worked as expected. I added the WindowFlags to the attached file for good measure. If you look at the Qt Documentation for QWidget ( http://doc.qt.io/qt-5/qwidget.html#QWidget ), you'll see that is exactly where I got this from. When subclassing a widget as such, you should allow the user to pass in the parent at least, considering that has a major effect on how or if Qt may clean up the memory."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14718 16af8721-9629-0410-8352-f15c8da7e697 Wed, 25 Feb 2015 18:56:29 +0000 Author : Robert Osfield From Andreas Henne, Support for GL3 core profile in osgTextgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14717 16af8721-9629-0410-8352-f15c8da7e697 Wed, 25 Feb 2015 16:59:43 +0000 Author : Robert Osfield From Michael McDonnell, "I have changed the code so that the plus key increases both the inner and outer tessellation. The minus key decrease both the inner and outer tessellation. You can still use the arrow keys to control inner and outer tessellation separately."From Robert Osfield, clean up the code to fix warnings and make the coding style more consistent with the rest of the OSG. git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14716 16af8721-9629-0410-8352-f15c8da7e697 Wed, 25 Feb 2015 14:55:59 +0000 Author : Robert Osfield Fixed handling of NULL entries in osg::Geometry TexCoordArrayList and VertexAttribArrayList.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14715 16af8721-9629-0410-8352-f15c8da7e697 Tue, 24 Feb 2015 11:06:05 +0000 Author : Robert Osfield Fixed matrix setup.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14714 16af8721-9629-0410-8352-f15c8da7e697 Mon, 23 Feb 2015 20:28:28 +0000 Author : Robert Osfield Fixed image allocation operations.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14712 16af8721-9629-0410-8352-f15c8da7e697 Mon, 23 Feb 2015 11:43:21 +0000 Author : Robert Osfield From Miha Ravšelj and Robert Osfield, fix for serializer bug in osgText::TextBase and osg::Cameragit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14711 16af8721-9629-0410-8352-f15c8da7e697 Mon, 23 Feb 2015 11:07:03 +0000 Author : Robert Osfield From Arjun Ramamurthy, fix for use of StatsHandler in multipleviews/windowsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14709 16af8721-9629-0410-8352-f15c8da7e697 Fri, 20 Feb 2015 15:12:57 +0000 Author : Robert Osfield Changed the toggle of defines so that it works with assumed defaults now set up by the GeometryPool so that when toggling it doesn't have a delay in what the user would expectgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14708 16af8721-9629-0410-8352-f15c8da7e697 Fri, 20 Feb 2015 15:04:56 +0000 Author : Robert Osfield Removed redudent shaders, and updated remaining shaders to match OpenSceneGraph-Data/shadersgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14705 16af8721-9629-0410-8352-f15c8da7e697 Fri, 20 Feb 2015 15:02:43 +0000 Author : Robert Osfield 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::Terraingit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14704 16af8721-9629-0410-8352-f15c8da7e697 Wed, 18 Feb 2015 10:52:52 +0000 Author : Robert Osfield Moved osgTerrain::GeometryPool from osgTerrain::DisplacementMappingTechnique to the osgTerrain::Terraingit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14703 16af8721-9629-0410-8352-f15c8da7e697 Wed, 18 Feb 2015 10:23:14 +0000 Author : Robert Osfield From Sebastian Messerschmidt, "Attached you find a version of the ReaderWriterDDS with info outputs set to OSG_INFO instead of OSG_NOTICE. The old version spams the console for each loaded DDS file."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14701 16af8721-9629-0410-8352-f15c8da7e697 Tue, 17 Feb 2015 20:42:12 +0000 Author : Robert Osfield Added support for DefineList to StateSet::merge(..)git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14700 16af8721-9629-0410-8352-f15c8da7e697 Tue, 17 Feb 2015 19:40:58 +0000 Author : Robert Osfield From Stephan Wenglorz, "the attached fix corrects a small bug in OperationThread::setDone(bool), calling it had the opposite effect of what was intended, i.e. setting done to false actually finished the thread. The effect was that VPB threads would exit before starting osgdem when a task had been enqueued, because they initially set done to false."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14699 16af8721-9629-0410-8352-f15c8da7e697 Tue, 17 Feb 2015 19:22:37 +0000 Author : Robert Osfield Removed GL_ usage in definesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14697 16af8721-9629-0410-8352-f15c8da7e697 Tue, 17 Feb 2015 19:21:29 +0000 Author : Robert Osfield Removed commented out linesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14696 16af8721-9629-0410-8352-f15c8da7e697 Tue, 17 Feb 2015 10:36:41 +0000 Author : Robert Osfield Cleaned up warning generated when compiling osgocculusviewergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14695 16af8721-9629-0410-8352-f15c8da7e697 Fri, 13 Feb 2015 12:50:43 +0000 Author : Robert Osfield Improvements to the #pragma(tic) shader composition supportgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14694 16af8721-9629-0410-8352-f15c8da7e697 Fri, 13 Feb 2015 10:56:59 +0000 Author : Robert Osfield Deprecated the old ShaderComposition example code so that it's now only invoked if you add a --old to the osgshadercomposition command line.Introduced a new shader composition example based on the new #pragama and #define based GLSL shader/osg::StateSet::setDefine() functionality now built into the core OSG. git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14692 16af8721-9629-0410-8352-f15c8da7e697 Fri, 13 Feb 2015 07:45:49 +0000 Author : Robert Osfield From Farshid Lashkari, "I've attached a fix for some internal glu functions so that they use size_t for computing allocation sizes instead of GLint. I encountered some large images that were triggering integer overflows with the current code."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14690 16af8721-9629-0410-8352-f15c8da7e697 Wed, 11 Feb 2015 19:21:27 +0000 Author : Robert Osfield Fixed warninggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14689 16af8721-9629-0410-8352-f15c8da7e697 Wed, 11 Feb 2015 16:41:31 +0000 Author : Robert Osfield Added reassignment of the #version line to the first entry in the source list.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14688 16af8721-9629-0410-8352-f15c8da7e697 Wed, 11 Feb 2015 09:41:15 +0000 Author : Robert Osfield Added GL #define for Windows buildgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14687 16af8721-9629-0410-8352-f15c8da7e697 Tue, 10 Feb 2015 21:13:16 +0000 Author : Robert Osfield Windows build fixgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14686 16af8721-9629-0410-8352-f15c8da7e697 Tue, 10 Feb 2015 18:01:02 +0000 Author : Robert Osfield Added GL_LINES_ADJACENCY_EXT variants back into ObjectWraper to enable backwards compatibility.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14685 16af8721-9629-0410-8352-f15c8da7e697 Tue, 10 Feb 2015 17:53:29 +0000 Author : Robert Osfield Change for new Program APIgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14684 16af8721-9629-0410-8352-f15c8da7e697 Tue, 10 Feb 2015 17:20:26 +0000 Author : Robert Osfield Added support for new #pragam(atic) shader composition to new displacement mapping techniquegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14683 16af8721-9629-0410-8352-f15c8da7e697 Tue, 10 Feb 2015 17:04:02 +0000 Author : Robert Osfield Introduced new shader composition approach that utilizes #pragma requires(), #pragma import_defines() and #ifdef in GLSL to enable multiple different versions of shaders based on defines passed in from osg::StateSet::setDefine(..).git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14681 16af8721-9629-0410-8352-f15c8da7e697 Wed, 4 Feb 2015 15:11:00 +0000 Author : Robert Osfield Fixed typo.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14680 16af8721-9629-0410-8352-f15c8da7e697 Tue, 3 Feb 2015 16:36:19 +0000 Author : Robert Osfield Removed unncessary _EXTgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14679 16af8721-9629-0410-8352-f15c8da7e697 Mon, 2 Feb 2015 09:53:55 +0000 Author : Robert Osfield Commented out the experimental V8 and Python plugins as these plugins only existed as a proof of concept test linkage with these dependenices, and have no functionality beyond this.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14678 16af8721-9629-0410-8352-f15c8da7e697 Tue, 27 Jan 2015 15:07:53 +0000 Author : Robert Osfield Replaced _EXT defines with GL-3.2 versionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14677 16af8721-9629-0410-8352-f15c8da7e697 Fri, 23 Jan 2015 17:15:20 +0000 Author : Robert Osfield From Javier Taibo, "I have found a "bug" in the new audio decoding code (actually I think the bug is in ffmpeg, but anyway it should be wise to protect the OSG plug-in about it). I am attaching a security check in FFmpegDecoderAudio.cpp.If anybody is curious about the problem, it happens sometimes when decoding an AAC audio stream. It eventually includes a PCE block inside the AAC audio frame and then ffmpeg audio decoding function signals a "new_frame" with 1024 samples, but a null pointer instead of the audio data. It can be easily detected because in these cases number of channels is 0. Maybe this is the intended behaviour for ffmpeg, but I find it quite weird. " " It seems that libav does not have a channels attribute in AVFrame structure. This new version should do." git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14676 16af8721-9629-0410-8352-f15c8da7e697 Fri, 23 Jan 2015 13:51:09 +0000 Author : Robert Osfield Changed osgFX::MultiTextureControl so that it uses an osg::FloatArray internally to enable sharing with osg::Uniform.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14675 16af8721-9629-0410-8352-f15c8da7e697 Fri, 23 Jan 2015 13:50:12 +0000 Author : Robert Osfield Added MultiTextureControl event handling of shift 012 i.e. ')', '!', '"' and 'A' to toggle full on for each of the respective or all texture units.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14674 16af8721-9629-0410-8352-f15c8da7e697 Thu, 22 Jan 2015 16:49:00 +0000 Author : Robert Osfield Added #define GL_SEPARATE_ATTRIBS and correcte GL_INTERLEAVED_ATTRIBSgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14673 16af8721-9629-0410-8352-f15c8da7e697 Thu, 22 Jan 2015 16:41:34 +0000 Author : Robert Osfield From Alexey Pavlov, "Export fix for Windows platform"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14672 16af8721-9629-0410-8352-f15c8da7e697 Thu, 22 Jan 2015 15:08:26 +0000 Author : Robert Osfield Added GL_INTERLEAVED_ATTRIBS for windows buildgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14671 16af8721-9629-0410-8352-f15c8da7e697 Thu, 22 Jan 2015 15:07:50 +0000 Author : Robert Osfield Fixed warninggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14670 16af8721-9629-0410-8352-f15c8da7e697 Wed, 21 Jan 2015 15:35:19 +0000 Author : Robert Osfield From Andreas Henne, OpenGL core profile fixes required for OSX.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14669 16af8721-9629-0410-8352-f15c8da7e697 Wed, 21 Jan 2015 11:09:29 +0000 Author : Robert Osfield Added TextureWeights uniform support and controls to osgFX::MultiTextureControl to support usage with shaders.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14668 16af8721-9629-0410-8352-f15c8da7e697 Tue, 20 Jan 2015 18:01:10 +0000 Author : Robert Osfield Re-enabled texturing and fixed runtime warninggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14667 16af8721-9629-0410-8352-f15c8da7e697 Tue, 20 Jan 2015 17:58:56 +0000 Author : Robert Osfield Added hardwired geometry shadersgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14666 16af8721-9629-0410-8352-f15c8da7e697 Tue, 20 Jan 2015 17:40:46 +0000 Author : Robert Osfield Updated shadersgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14664 16af8721-9629-0410-8352-f15c8da7e697 Tue, 20 Jan 2015 15:23:06 +0000 Author : Robert Osfield Added key osgTerrain::GeometryPool methods virtual to make it easier to override the shadersgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14662 16af8721-9629-0410-8352-f15c8da7e697 Tue, 20 Jan 2015 11:24:31 +0000 Author : Robert Osfield Changed the reset of the GLExtensions::Set() in the State destructor so that it checks to see if the local _glExtensions pointer has been set up and taken ownership of the GLExtensions::Set() valuegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14661 16af8721-9629-0410-8352-f15c8da7e697 Mon, 19 Jan 2015 11:29:55 +0000 Author : Robert Osfield Added GeometryPool::s/getUseGeometryShader() hint, and OSG_TERRAIN_USE_GEOMETRY_SHADER env var for setting the default value.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14660 16af8721-9629-0410-8352-f15c8da7e697 Fri, 16 Jan 2015 11:03:11 +0000 Author : Robert Osfield Added support for using geometry shaders to align the quad diagonals with the local terraingit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14658 16af8721-9629-0410-8352-f15c8da7e697 Mon, 12 Jan 2015 10:31:58 +0000 Author : Robert Osfield Added a local Vec3Array cache to the HeightFieldDrawable to facilitate efficient intersection testinggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14656 16af8721-9629-0410-8352-f15c8da7e697 Mon, 12 Jan 2015 10:30:50 +0000 Author : Robert Osfield Added ability to populate a local vertex cache for when one computes final vertex position in a vertex shader but still want to the Primitive functors to work with the transformed positions.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14655 16af8721-9629-0410-8352-f15c8da7e697 Wed, 7 Jan 2015 14:14:55 +0000 Author : Robert Osfield From Javier Taibo, "I have found that since version 1.1, FFMPEG changed the way audio streams are retrieved, from packed to planar format. SDL interprets packed audio, as is used in the osgmovie example. To make the audio work when the OSGffmpeg plug-in is compiled against recent FFMPEG versions, FFmpegDecoderAudio must check for planar formats and in these cases request the samples as packed. This way all works as before. It can be checked with osgmovie example application. $ osgmovie --audio movie.avi.ffmpeg FFmpegImageStream::open audio failed, audio stream will be disabled: unknown audio format With the attached FFmpegDecoderAudio.cpp, audio sounds correctly. I am also attaching a modified version of FindFFmpeg.cmake that allows to set as FFMPEG_DIR the ffmpeg compiled in the source directory structure. It should not break anything as it only adds some additional search paths. " git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14654 16af8721-9629-0410-8352-f15c8da7e697 Wed, 7 Jan 2015 10:36:34 +0000 Author : Robert Osfield From Farshid Lashkari, "small change to osg::Image::readImageFromCurrentTexture to allow reading data from compressed cubemap textures."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14653 16af8721-9629-0410-8352-f15c8da7e697 Tue, 6 Jan 2015 17:23:26 +0000 Author : Robert Osfield Cleaned up GL_TEXTURE_BUFFER_*ARB usage as include/osg/GLDefines now provides the non ARB variantsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14652 16af8721-9629-0410-8352-f15c8da7e697 Tue, 6 Jan 2015 17:12:51 +0000 Author : Robert Osfield From Julien Valentin, "To sum up changes, I had: -some extensions in GLExtensions - GL_TEXTURE_BUFFER as target in osg::StateSet - a VBO based transform feed back example "git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14651 16af8721-9629-0410-8352-f15c8da7e697 Tue, 6 Jan 2015 17:09:44 +0000 Author : Robert Osfield Updates SO_VERSION in prep for API modifications since the 3.3.3 dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14650 16af8721-9629-0410-8352-f15c8da7e697 Tue, 6 Jan 2015 14:55:00 +0000 Author : Robert Osfield From Julien Valentin, added missing initializergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14647 16af8721-9629-0410-8352-f15c8da7e697 Tue, 6 Jan 2015 14:41:30 +0000 Author : Robert Osfield From Julien Valentin, typo fixgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14646 16af8721-9629-0410-8352-f15c8da7e697 Mon, 5 Jan 2015 17:39:44 +0000 Author : Robert Osfield From Jason Beverage, "Here is a fix to the STL plugin that fixes build errors introduced in the last commit. It's just a simple addition of the stdint.h header."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14644 16af8721-9629-0410-8352-f15c8da7e697 Wed, 24 Dec 2014 11:56:48 +0000 Author : Robert Osfield Updated ChangeLog and AUTHORSgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14643 16af8721-9629-0410-8352-f15c8da7e697 Wed, 24 Dec 2014 11:43:41 +0000 Author : Robert Osfield Removed debug messagegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14642 16af8721-9629-0410-8352-f15c8da7e697 Wed, 24 Dec 2014 11:25:46 +0000 Author : Robert Osfield From Marc Helbling, Clément Léger, Aurélien Chatelain, Paul Cheyrou-Lagrèze : "a last submission for the obj plugin * supports vertex color definition after vertex position by Clément Léger * supports zbrush vertex color definition (as #MRGB comment) by Aurélien Chatelain * adds a noReverseFace option to not mess with face definition by Aurélien Chatelain * makes material parsing case insensitive (by Paul Cheyrou-Lagrèze and me) * makes the plugin resilient to faulty vertex uv/normal definition (i.e. when a too big index is referenced) by Aurélien hatelain "git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14641 16af8721-9629-0410-8352-f15c8da7e697 Wed, 24 Dec 2014 11:02:18 +0000 Author : Robert Osfield From Aurélien Chatelain, "adds support for * quad primitives * face definition with the "vertex_index" label (previously only "vertex_indices" was supported) * replaces normal computation by the SmoothingVisitor to avoid code duplication "Submitted by Marc Helbling. git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14640 16af8721-9629-0410-8352-f15c8da7e697 Wed, 24 Dec 2014 10:55:49 +0000 Author : Robert Osfield 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. This submission adds shared array duplication (and moves the SharedArrayOptimizer declaration in MeshOptimizer to make it callable from the SmoothingVisitor)."Submitted by Marc Helbling. Edited by Robet Osfield to retain the usual OSG coding style. git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14639 16af8721-9629-0410-8352-f15c8da7e697 Wed, 24 Dec 2014 10:47:25 +0000 Author : Robert Osfield From Aurélien Chatelain, "updates the STL plugin: * fixes vertex color support * adds 'magics' color definition * cleans options to make the plugin more consistent with other plugins * adds options to not tristrip geometries"Submitted by Marc Helbling. git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14638 16af8721-9629-0410-8352-f15c8da7e697 Wed, 24 Dec 2014 10:14:03 +0000 Author : Robert Osfield Aded shaders for various combinations of layers.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14637 16af8721-9629-0410-8352-f15c8da7e697 Wed, 24 Dec 2014 10:13:42 +0000 Author : Robert Osfield Added osgDB::readShaderFileWithFallback(..) convinience functions to make it easier to set up reading external shader files with a built in fallback.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14636 16af8721-9629-0410-8352-f15c8da7e697 Tue, 23 Dec 2014 14:20:53 +0000 Author : Robert Osfield Added support for reading Vec3 colour arraysgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14634 16af8721-9629-0410-8352-f15c8da7e697 Tue, 23 Dec 2014 12:10:03 +0000 Author : Robert Osfield Changes to allow the COLLADA plugin to compile against the latest COLLADA DOM version 2.4 as well as retaining compatibility with the old 2.2 DOM.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14633 16af8721-9629-0410-8352-f15c8da7e697 Mon, 22 Dec 2014 10:35:33 +0000 Author : Robert Osfield Added comment about using -DCMAKE_DISABLE_FINDPACKAGE_* command line.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14632 16af8721-9629-0410-8352-f15c8da7e697 Mon, 22 Dec 2014 09:50:10 +0000 Author : Robert Osfield Added doxygen comment for ref_ptr<>::release().git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14630 16af8721-9629-0410-8352-f15c8da7e697 Mon, 22 Dec 2014 09:49:17 +0000 Author : Robert Osfield Updated version number after dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14628 16af8721-9629-0410-8352-f15c8da7e697 Fri, 19 Dec 2014 11:00:31 +0000 Author : Robert Osfield Windows build error and warning fixesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14626 16af8721-9629-0410-8352-f15c8da7e697 Fri, 19 Dec 2014 10:25:49 +0000 Author : Robert Osfield Updated ChangeLog and AUTHORS file for dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14625 16af8721-9629-0410-8352-f15c8da7e697 Fri, 19 Dec 2014 08:27:30 +0000 Author : Robert Osfield Added if () block to avoid script variables set to NOT-Found being used in searchinggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14624 16af8721-9629-0410-8352-f15c8da7e697 Fri, 19 Dec 2014 08:25:35 +0000 Author : Robert Osfield Fixed script warningsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14623 16af8721-9629-0410-8352-f15c8da7e697 Thu, 18 Dec 2014 17:47:08 +0000 Author : Robert Osfield From Aitor Moreno, LAS plugin - depends upon boost and liblas and liblas-cgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14622 16af8721-9629-0410-8352-f15c8da7e697 Thu, 18 Dec 2014 16:52:57 +0000 Author : Robert Osfield From Adrian Clark, build fix for recent Android NDK using the old Android build approach.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14621 16af8721-9629-0410-8352-f15c8da7e697 Thu, 18 Dec 2014 15:59:16 +0000 Author : Robert Osfield From Mattias Helsing, "CMake have release 3.0 and 3.1 and we have some bad checks for cmake major version when settings cmake policies in CMakeLists.txt. This fixes it"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14620 16af8721-9629-0410-8352-f15c8da7e697 Thu, 18 Dec 2014 11:36:16 +0000 Author : Robert Osfield Updated AUTHORSgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14617 16af8721-9629-0410-8352-f15c8da7e697 Thu, 18 Dec 2014 11:19:11 +0000 Author : Robert Osfield Updated ChangeLog in prep for dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14616 16af8721-9629-0410-8352-f15c8da7e697 Thu, 18 Dec 2014 11:09:43 +0000 Author : Robert Osfield Fixed warninggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14615 16af8721-9629-0410-8352-f15c8da7e697 Thu, 18 Dec 2014 10:59:07 +0000 Author : Robert Osfield Added DisplaySettings::s/getNvOptimusEnablement() and OSG_NvOptimusEnablement env var control to control the setting of the NvOptimusEnablement variablegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14614 16af8721-9629-0410-8352-f15c8da7e697 Thu, 18 Dec 2014 09:24:46 +0000 Author : Robert Osfield From Sukender, "Added options to the FBX writer: an ascii/binary switch, and the ability to select FBX version as the SDK handles it (Ex: "FBX201300").This allows the user to achieve backward compatibility, and debug format issues using text output." git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14613 16af8721-9629-0410-8352-f15c8da7e697 Thu, 18 Dec 2014 09:03:15 +0000 Author : Robert Osfield From Mattias Helsing, "The addition of the GStreamer cmake find script broke my build because cmake vars weren't passed correctly to find_package_handler_args, so while the find script didn't find a single required GStreamer lib or include path it still reported GSTREAMER_FOUND=TRUE (and then tried to compile the new plugin). This fixes it and correctly reports missing components."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14611 16af8721-9629-0410-8352-f15c8da7e697 Wed, 17 Dec 2014 19:21:32 +0000 Author : Robert Osfield Added support for using SDL2 to the osgmovie to enable it to handle floating point audio formatsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14610 16af8721-9629-0410-8352-f15c8da7e697 Wed, 17 Dec 2014 19:20:48 +0000 Author : Robert Osfield From Javier Taibo, " I have found that since version 1.1, FFMPEG changed the way audio streams are retrieved, from packed to planar format. SDL interprets packed audio, as is used in the osgmovie example. To make the audio work when the OSGffmpeg plug-in is compiled against recent FFMPEG versions, FFmpegDecoderAudio must check for planar formats and in these cases request the samples as packed. This way all works as before. It can be checked with osgmovie example application. $ osgmovie --audio movie.avi.ffmpeg FFmpegImageStream::open audio failed, audio stream will be disabled: unknown audio format With the attached FFmpegDecoderAudio.cpp, audio sounds correctly. I am also attaching a modified version of FindFFmpeg.cmake that allows to set as FFMPEG_DIR the ffmpeg compiled in the source directory structure. It should not break anything as it only adds some additional search paths. " Note from Robert Osfield, I have found in testing that audio quality is not good for planar floating point formats, even with adding support for SDL2 to the osgmovie example. I haven't yet tracked down the cause of these audio problems or a solution. git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14609 16af8721-9629-0410-8352-f15c8da7e697 Wed, 17 Dec 2014 10:19:02 +0000 Author : Robert Osfield From Sukender, "FBX writer was writing an empty file when the scene had a root node being a Geode. This was caused be the change in Drawable (now derived from Node) and Geode (now derived from Group). This fix simply sticks with previous behaviour. Another change could be to adapt WriterNodeVisitor. "git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14608 16af8721-9629-0410-8352-f15c8da7e697 Tue, 16 Dec 2014 17:37:03 +0000 Author : Robert Osfield Fixed warnings and memmory leaksgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14607 16af8721-9629-0410-8352-f15c8da7e697 Tue, 16 Dec 2014 17:15:21 +0000 Author : Robert Osfield Fixed warningsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14606 16af8721-9629-0410-8352-f15c8da7e697 Tue, 16 Dec 2014 17:08:01 +0000 Author : Robert Osfield Improved handling of invalid/unhandled files Added support for ImageStream::LoopigMode variable Fixed memory leak associtied with restarting videos Changed Image::setData() to Image::dirty() to avoid resetting datagit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14605 16af8721-9629-0410-8352-f15c8da7e697 Tue, 16 Dec 2014 11:20:42 +0000 Author : Robert Osfield From Julen Garcia, "Here there is a small plugin I use to play video files. It is based on GStreamer http://gstreamer.freedesktop.org and I have used the FFmpeg plugin as inspiration."From Robert Osfield, fixed handled of row widths so that they are padded to a 4 byte boundary as certain row widths were being rendered incorrectly. git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14604 16af8721-9629-0410-8352-f15c8da7e697 Tue, 16 Dec 2014 09:34:15 +0000 Author : Robert Osfield From Marc Helbling, "please find enclosed a submission that should improve the VertexAccessOrderVisitor (pre-transform) optimizer: * it sorts primitives to keep "more complex" primitives first; maybe you'll prefer to have this as an option (but usually it should make more sense to pre-transform triangles before e.g. lines) * currently, the visitor rely on TriangleIndexFunctor and does not take care of points and lines (see https://github.com/openscenegraph/osg/blob/master/include/osg/TriangleIndexFunctor#L124-130). This can lead to issues e.g. if you store the wireframe lines along with some triangles: the triangles will be reindexed but not the line. I've therefore added osg/include/TriangleLinePointIndexFunctor to index triangles, lines and points and derived VertexReorder from this class. * to avoid issues, shared arrays are duplicated. However, in some cases (e.g. an UV channel shared in the geometry only) this is not required. I'm adding a SharedArrayOptimizer to optimize this: it looks for duplicated UVs before the array duplication and deduplicate arrays after. "git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14603 16af8721-9629-0410-8352-f15c8da7e697 Mon, 15 Dec 2014 17:15:21 +0000 Author : Robert Osfield From Marc Helbling, "please find the mergeTriangleStrip code merged in osgUtil::TriStripVisitor. I've removed the references to DrawArrays as we should no longer produce any.Note that: * as the name suggest, it only works for triangle strips but could probably be easily extended to quads * the resulting primitive is not highly optimized; we could probably sort the strips in order to minimize the number of primitive restart * as we may merge DrawElementsUInt and DrawElementUShort, the code will only generate DrawElementsUInt" git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14602 16af8721-9629-0410-8352-f15c8da7e697 Wed, 10 Dec 2014 18:23:32 +0000 Author : Robert Osfield Build fixgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14601 16af8721-9629-0410-8352-f15c8da7e697 Wed, 10 Dec 2014 13:05:47 +0000 Author : Robert Osfield Added OpenGL Transform Feedback extensions.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14600 16af8721-9629-0410-8352-f15c8da7e697 Wed, 10 Dec 2014 12:23:04 +0000 Author : Robert Osfield From Marcus Hein, Added support for OpenGL SSBO and SSBB via osg::ShaderStorageBufferObject and osg::ShaderStorageBufferBinding to core OSG library, and added new osgSSBO examplegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14599 16af8721-9629-0410-8352-f15c8da7e697 Wed, 10 Dec 2014 11:44:16 +0000 Author : Robert Osfield Added GLDefines headergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14597 16af8721-9629-0410-8352-f15c8da7e697 Wed, 10 Dec 2014 11:29:54 +0000 Author : Robert Osfield From Farshid Lashkari, "The Collada loader would crash while processing textures on certain files. I've attached the fix."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14595 16af8721-9629-0410-8352-f15c8da7e697 Wed, 10 Dec 2014 10:44:58 +0000 Author : Robert Osfield Removed old GL2Extensions class, replacing it with a typedef to GL2Extensions Removed old includes to include/osg/GL2Extensionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14594 16af8721-9629-0410-8352-f15c8da7e697 Wed, 10 Dec 2014 10:38:12 +0000 Author : Robert Osfield Moved GL2Extensions functionality into the include/osg/GLExtensions header and new GLExtensions object. Moved the #defines into new include/osg/GLDefines Converted all GL2Extensions usage to GLExtensions usagegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14593 16af8721-9629-0410-8352-f15c8da7e697 Wed, 10 Dec 2014 09:11:17 +0000 Author : Robert Osfield Streamlined the extension functionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14592 16af8721-9629-0410-8352-f15c8da7e697 Tue, 9 Dec 2014 21:33:12 +0000 Author : Robert Osfield Added #ifdef's around GLsync typedefgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14591 16af8721-9629-0410-8352-f15c8da7e697 Tue, 9 Dec 2014 20:09:29 +0000 Author : Robert Osfield Windows build fixesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14590 16af8721-9629-0410-8352-f15c8da7e697 Tue, 9 Dec 2014 19:31:53 +0000 Author : Robert Osfield Added new examples to runexamples.bat scriptgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14589 16af8721-9629-0410-8352-f15c8da7e697 Tue, 9 Dec 2014 19:22:45 +0000 Author : Robert Osfield Quietened down debug messagesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14588 16af8721-9629-0410-8352-f15c8da7e697 Tue, 9 Dec 2014 19:20:05 +0000 Author : Robert Osfield From Wand Rui, "I've rewritten the osgblenddrawbuffers example to use the new BlendFunci and Capability classes. Hope it will tell others how to make use of the new functionality and why they are important in modern MRT-based applications."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14587 16af8721-9629-0410-8352-f15c8da7e697 Tue, 9 Dec 2014 18:30:28 +0000 Author : Robert Osfield Moved FBO Extensions into GL2Extensions.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14586 16af8721-9629-0410-8352-f15c8da7e697 Tue, 9 Dec 2014 14:58:34 +0000 Author : Robert Osfield Removed no longer used Extension definitiongit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14585 16af8721-9629-0410-8352-f15c8da7e697 Tue, 9 Dec 2014 14:57:25 +0000 Author : Robert Osfield Moved local Extensions structs into GL2Extensionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14584 16af8721-9629-0410-8352-f15c8da7e697 Tue, 9 Dec 2014 11:14:33 +0000 Author : Robert Osfield Moveved Stencil/StencilTwoSided::Extensions into GL2Extensionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14583 16af8721-9629-0410-8352-f15c8da7e697 Tue, 9 Dec 2014 10:37:09 +0000 Author : Robert Osfield Moved local Extensions objects to GL2Extensionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14582 16af8721-9629-0410-8352-f15c8da7e697 Tue, 9 Dec 2014 10:05:59 +0000 Author : Robert Osfield Moved Texture*::Extensions functionality into GL2Extensionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14581 16af8721-9629-0410-8352-f15c8da7e697 Mon, 8 Dec 2014 16:08:44 +0000 Author : Robert Osfield MOved VertexProgram and FragmentProgram::Extensions into GL2Extensions.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14580 16af8721-9629-0410-8352-f15c8da7e697 Mon, 8 Dec 2014 11:08:29 +0000 Author : Robert Osfield Fixed memory leak in RenderStageCache.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14578 16af8721-9629-0410-8352-f15c8da7e697 Sun, 7 Dec 2014 17:31:49 +0000 Author : Robert Osfield MOved SampleMaski::Extensions into osg::GL2Extensionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14577 16af8721-9629-0410-8352-f15c8da7e697 Fri, 5 Dec 2014 20:05:18 +0000 Author : Robert Osfield Moved TextureCubeMap::Extension functionality into GL2Extensionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14576 16af8721-9629-0410-8352-f15c8da7e697 Fri, 5 Dec 2014 17:26:42 +0000 Author : Robert Osfield Moved osg::Drawable::Extensions into osg::GL2Extensionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14575 16af8721-9629-0410-8352-f15c8da7e697 Fri, 5 Dec 2014 10:37:20 +0000 Author : Robert Osfield Fixed windows build warningsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14574 16af8721-9629-0410-8352-f15c8da7e697 Fri, 5 Dec 2014 09:52:42 +0000 Author : Robert Osfield Windows build fixgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14573 16af8721-9629-0410-8352-f15c8da7e697 Fri, 5 Dec 2014 08:58:23 +0000 Author : Robert Osfield From the GLintptr + GLsizeiptr defintions to GL2Extensions headergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14572 16af8721-9629-0410-8352-f15c8da7e697 Thu, 4 Dec 2014 19:03:16 +0000 Author : Robert Osfield Moved osg::BlenFunc::Extensions into osg::GL2Extensionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14571 16af8721-9629-0410-8352-f15c8da7e697 Thu, 4 Dec 2014 18:13:11 +0000 Author : Robert Osfield Moved GLBufferObject::Extensions structure into osg::GL2Extensionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14570 16af8721-9629-0410-8352-f15c8da7e697 Thu, 4 Dec 2014 18:12:07 +0000 Author : Robert Osfield Removed redundent spacesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14569 16af8721-9629-0410-8352-f15c8da7e697 Thu, 4 Dec 2014 17:12:55 +0000 Author : Robert Osfield Added glMemoryBarrier, glMapBufferRange and glBindBufferBase to GL2Extensionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14568 16af8721-9629-0410-8352-f15c8da7e697 Thu, 4 Dec 2014 16:28:32 +0000 Author : Robert Osfield Moved old GL2Extensions::Get(..) usage across to new osg::State::get() usagegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14567 16af8721-9629-0410-8352-f15c8da7e697 Thu, 4 Dec 2014 16:22:31 +0000 Author : Robert Osfield Ported GL2Extentions across to using the new GL extensions approach - cutting code count by 3000 lines!git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14566 16af8721-9629-0410-8352-f15c8da7e697 Thu, 4 Dec 2014 15:10:43 +0000 Author : Robert Osfield Build fix for when ref_ptr<> auto conversion is disabledgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14565 16af8721-9629-0410-8352-f15c8da7e697 Wed, 3 Dec 2014 17:31:16 +0000 Author : Robert Osfield Added osg::Capability and Cabibilityi base classes to wrap up glEnable/glDisable + glEnablei/glDisablei functionality, with osg::Enablei and osg::Disablei concrete implementations.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14564 16af8721-9629-0410-8352-f15c8da7e697 Tue, 2 Dec 2014 17:12:56 +0000 Author : Robert Osfield Added osg::BlendFunci, osg::BlendEquationi and osg::ColorMaski StateAttrirbutes that wrap the glBlendFunci, glBlendEquationi and glColorMaski functionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14563 16af8721-9629-0410-8352-f15c8da7e697 Tue, 2 Dec 2014 15:37:07 +0000 Author : Robert Osfield Moved BlendEquation across to using the new GL extension setup approach.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14562 16af8721-9629-0410-8352-f15c8da7e697 Tue, 2 Dec 2014 15:21:24 +0000 Author : Robert Osfield Fixed typogit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14561 16af8721-9629-0410-8352-f15c8da7e697 Tue, 2 Dec 2014 11:10:23 +0000 Author : Robert Osfield Added a template get and get_exisiting method into osg::State that implements a new mechanism for managing OpenGL extensions.Refactored the BendFunc::Extensions usage to simplify it utilizing the new osg::State extension mechanism. git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14560 16af8721-9629-0410-8352-f15c8da7e697 Fri, 28 Nov 2014 16:20:28 +0000 Author : Robert Osfield From Rafa Gaitan, "I'm attaching also a new version of the toolchain with support for the r10c ndk. This fixes some CMake Warnings and allows to use the toolchain in macosx."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14558 16af8721-9629-0410-8352-f15c8da7e697 Fri, 28 Nov 2014 16:10:14 +0000 Author : Robert Osfield Removed include/osg/Version and include/OpenThreads/Version headers as these are autogenerated.Changed the paths for the OpenThreads/osg Version headers to be placed in the PROJECT_BINARY_DIR. git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14557 16af8721-9629-0410-8352-f15c8da7e697 Fri, 28 Nov 2014 10:54:40 +0000 Author : Robert Osfield Standardized on defined(__ANDROID__)git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14556 16af8721-9629-0410-8352-f15c8da7e697 Fri, 28 Nov 2014 10:52:06 +0000 Author : Robert Osfield Added getlocaledecpoint() workaround for Android build of lua plugingit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14555 16af8721-9629-0410-8352-f15c8da7e697 Thu, 27 Nov 2014 15:54:24 +0000 Author : Robert Osfield Added in source shadersgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14554 16af8721-9629-0410-8352-f15c8da7e697 Thu, 27 Nov 2014 15:39:38 +0000 Author : Robert Osfield Changed the name of shader filesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14553 16af8721-9629-0410-8352-f15c8da7e697 Wed, 26 Nov 2014 20:40:57 +0000 Author : Robert Osfield From Jason Beverage, "It looks like the Callback header got accidentally removed from the CMakeLists.txt in the submission yesterday for the geometry instancing example."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14551 16af8721-9629-0410-8352-f15c8da7e697 Wed, 26 Nov 2014 19:05:09 +0000 Author : Robert Osfield Windows build fixgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14550 16af8721-9629-0410-8352-f15c8da7e697 Wed, 26 Nov 2014 17:08:16 +0000 Author : Robert Osfield Fixed warningsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14549 16af8721-9629-0410-8352-f15c8da7e697 Wed, 26 Nov 2014 17:04:12 +0000 Author : Robert Osfield Fixed warningsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14546 16af8721-9629-0410-8352-f15c8da7e697 Wed, 26 Nov 2014 16:29:53 +0000 Author : Robert Osfield Fixed deprecated warningsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14545 16af8721-9629-0410-8352-f15c8da7e697 Wed, 26 Nov 2014 16:15:37 +0000 Author : Robert Osfield Fixed warninggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14542 16af8721-9629-0410-8352-f15c8da7e697 Wed, 26 Nov 2014 16:04:33 +0000 Author : Robert Osfield Fixed warnings.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14539 16af8721-9629-0410-8352-f15c8da7e697 Wed, 26 Nov 2014 16:00:18 +0000 Author : Robert Osfield Fixed warninggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14537 16af8721-9629-0410-8352-f15c8da7e697 Wed, 26 Nov 2014 15:59:23 +0000 Author : Robert Osfield Fixed warninggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14536 16af8721-9629-0410-8352-f15c8da7e697 Wed, 26 Nov 2014 14:06:27 +0000 Author : Robert Osfield Added osgTerrain::DisplacementMappingTechnique serializergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14535 16af8721-9629-0410-8352-f15c8da7e697 Wed, 26 Nov 2014 14:04:20 +0000 Author : Robert Osfield Renamed ShaderTerrain to DisplacementMappingTechnique and moved it from the osgterrain example testbed into the osgTerrain NodeKitgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14534 16af8721-9629-0410-8352-f15c8da7e697 Wed, 26 Nov 2014 13:36:28 +0000 Author : Robert Osfield Moved osgTerrain::GeometryPool from osgterrain example into osgTerrain NodeKitgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14533 16af8721-9629-0410-8352-f15c8da7e697 Tue, 25 Nov 2014 14:37:05 +0000 Author : Robert Osfield Removed GL header as it's already included via the ${OPENSCENEGRAPH_OPENGL_HEADER} entry.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14532 16af8721-9629-0410-8352-f15c8da7e697 Tue, 25 Nov 2014 10:58:23 +0000 Author : Robert Osfield From PawelKsiezopolski, "This submission contains a new example for OSG : a geometry instancing rendering algorithm consisting of two consequent phases :- first phase is a GLSL shader performing object culling and LOD picking ( a culling shader ). Every culled object is represented as GL_POINT in the input osg::Geometry. The output of the culling shader is a set of object LODs that need to be rendered. The output is stored in texture buffer objects. No pixel is drawn to the screen because GL_RASTERIZER_DISCARD mode is used. - second phase draws osg::Geometry containing merged LODs using glDrawArraysIndirect() function. Information about quantity of instances to render, its positions and other parameters is sourced from texture buffer objects filled in the first phase. The example uses various OpenGL 4.2 features such as texture buffer objects, atomic counters, image units and functions defined in GL_ARB_shader_image_load_store extension to achieve its goal and thus will not work on graphic cards with older OpenGL versions. The example was tested on Linux and Windows with NVidia 570 and 580 cards. The tests on AMD cards were not conducted ( due to lack of it ). The tests were performed using OSG revision 14088. The main advantages of this rendering method : - instanced rendering capable of drawing thousands of different objects with almost no CPU intervention ( cull and draw times are close to 0 ms ). - input objects may be sourced from any OSG graph ( for example - information about object points may be stored in a PagedLOD graph. This way we may cover the whole countries with trees, buildings and other objects ). Furthermore if we create osgDB plugins that generate data on the fly, we may generate information for every grass blade for that country. - every object may have its own parameters and thus may be distinct from other objects of the same type. - relatively low memory footprint ( single object information is stored in a few vertex attributes ). - no GPU->CPU roundtrip typical for such methods ( method uses atomic counters and glDrawArraysIndirect() function instead of OpenGL queries. This way information about quantity of rendered objects never goes back to CPU. The typical GPU->CPU roundtrip cost is about 2 ms ). - this example also shows how to render dynamic objects ( objects that may change its position ) with moving parts ( like car wheels or airplane propellers ) . The obvious extension to that dynamic method would be the animated crowd rendering. - rendered objects may be easily replaced ( there is no need to process the whole OSG graphs, because these graphs store only positional information ). The main disadvantages of a method : - the maximum quantity of objects to render must be known beforehand ( because texture buffer objects holding data between phases have constant size ). - OSG statistics are flawed ( they don't know anymore how many objects are drawn ). - osgUtil::Intersection does not work Example application may be used to make some performance tests, so below you will find some extended parameter description : --skip-dynamic - skip rendering of dynamic objects if you only want to observe static object statistics --skip-static - the same for static objects --dynamic-area-size - size of the area for dynamic rendering. Default = 1000 meters ( square 1000m x 1000m ). Along with density defines how many dynamic objects is there in the example. --static-area-size - the same for static objects. Default = 2000 meters ( square 2000m x 2000m ). Example application defines some parameters (density, LOD ranges, object's triangle count). You may manipulate its values using below described modifiers: --density-modifier - density modifier in percent. Default = 100%. Density ( along with LOD ranges ) defines maximum quantity of rendered objects. registerType() function accepts maximum density ( in objects per square kilometer ) as its parameter. --lod-modifier - defines the LOD ranges. Default = 100%. --triangle-modifier - defines the number of triangles in finally rendered objects. Default = 100 %. --instances-per-cell - for static rendering the application builds OSG graph using InstanceCell class ( this class is a modified version of Cell class from osgforest example - it builds simple quadtree from a list of static instances ). This parameter defines maximum number of instances in a single osg::Group in quadtree. If, for example, you modify it to value=100, you will see really big cull time in OSG statistics ( because resulting tree generated by InstanceCell will be very deep ). Default value = 4096 . --export-objects - write object geometries and quadtree of instances to osgt files for later analysis. --use-multi-draw - use glMultiDrawArraysIndirect() instead of glDrawArraysIndirect() in a draw shader. Thanks to this we may render all ( different ) objects using only one draw call. Requires OpenGL version 4.3 and some more work from me, because now it does not work ( probably I implemented it wrong, or Windows NVidia driver has errors, because it hangs the apllication at the moment ). This application is inspired by Daniel Rákos work : "GPU based dynamic geometry LOD" that may be found under this address : http://rastergrid.com/blog/2010/10/gpu-based-dynamic-geometry-lod/ There are however some differences : - Daniel Rákos uses GL queries to count objects to render, while this example uses atomic counters ( no GPU->CPU roundtrip ) - this example does not use transform feedback buffers to store intermediate data ( it uses texture buffer objects instead ). - I use only the vertex shader to cull objects, whereas Daniel Rákos uses vertex shader and geometry shader ( because only geometry shader can send more than one primitive to transform feedback buffers ). - objects in the example are drawn using glDrawArraysIndirect() function, instead of glDrawElementsInstanced(). Finally there are some things to consider/discuss : - the whole algorithm exploits nice OpenGL feature that any GL buffer may be bound as any type of buffer ( in our example a buffer is once bound as a texture buffer object, and later is bound as GL_DRAW_INDIRECT_BUFFER ). osg::TextureBuffer class has one handy method to do that trick ( bindBufferAs() ), and new primitive sets use osg::TextureBuffer as input. For now I added new primitive sets to example ( DrawArraysIndirect and MultiDrawArraysIndirect defined in examples/osggpucull/DrawIndirectPrimitiveSet.h ), but if Robert will accept its current implementations ( I mean - primitive sets that have osg::TextureBuffer in constructor ), I may add it to osg/include/PrimitiveSet header. - I used BufferTemplate class writen and published by Aurelien in submission forum some time ago. For some reason this class never got into osg/include, but is really needed during creation of UBOs, TBOs, and possibly SSBOs in the future. I added std::vector specialization to that template class. - I needed to create similar osg::Geometries with variable number of vertices ( to create different LODs in my example ). For this reason I've written some code allowing me to create osg::Geometries from osg::Shape descendants. This code may be found in ShapeToGeometry.* files. Examples of use are in osggpucull.cpp . The question is : should this code stay in example, or should it be moved to osgUtil ? - this remark is important for NVidia cards on Linux and Windows : if you have "Sync to VBlank" turned ON in nvidia-settings and you want to see real GPU times in OSG statistics window, you must set the power management settings to "Prefer maximum performance", because when "Adaptive mode" is used, the graphic card's clock may be slowed down by the driver during program execution ( On Linux when OpenGL application starts in adaptive mode, clock should work as fast as possible, but after one minute of program execution, the clock slows down ). This happens when GPU time in OSG statistics window is shorter than 3 ms. " git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14531 16af8721-9629-0410-8352-f15c8da7e697 Tue, 25 Nov 2014 10:33:20 +0000 Author : Robert Osfield Removed DrawArrays optimization to simplify the code and open the door to adding primitive combining.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14530 16af8721-9629-0410-8352-f15c8da7e697 Tue, 25 Nov 2014 10:11:06 +0000 Author : Robert Osfield Commented out State::setUpVertexAttribAlias(..) debug message.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14529 16af8721-9629-0410-8352-f15c8da7e697 Mon, 24 Nov 2014 15:19:20 +0000 Author : Robert Osfield From Jan Klimke, "i noticed, that there are a couple of additional flaws when building osg for Mac OS X 10.10 Yosemite.The mac os sdk version is recognized by the current CMAKE script as 10.1 instead of 10.10 since it cuts the version string from the 4th place. I introduced a more reliable version checking based on splitting the returned version code into MAJOR MINOR and PATCH parts and reassemble the OSG sdk version afterwards. I replaced the existing CMake code against the following (returning now version 10.10 as expected): # Determine the canonical name of the selected Platform SDK EXECUTE_PROCESS(COMMAND "/usr/bin/sw_vers" "-productVersion" OUTPUT_VARIABLE OSG_OSX_SDK_NAME OUTPUT_STRIP_TRAILING_WHITESPACE) STRING(REPLACE "." ";" MACOS_VERSION_LIST ${OSG_OSX_SDK_NAME}) LIST(GET MACOS_VERSION_LIST 0 MACOS_VERSION_MAJOR) LIST(GET MACOS_VERSION_LIST 1 MACOS_VERSION_MINOR) LIST(GET MACOS_VERSION_LIST 2 MACOS_VERSION_PATCH) SET(OSG_OSX_SDK_NAME "macosx${MACOS_VERSION_MAJOR}.${MACOS_VERSION_MINOR}") Also i added the check for the new Version to some more find scripts. Additionally the nil object in Objective C now seems to be equivalent with a null_ptr that cannot be passed as GLInt anymore. So i switched this in the PixelBufferCocoa.mm to pass a zero instead of nil. " git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14527 16af8721-9629-0410-8352-f15c8da7e697 Mon, 24 Nov 2014 14:54:39 +0000 Author : Robert Osfield Added VertexAttribDivisor class to wrap up glVertexAttribDivisor functiongit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14526 16af8721-9629-0410-8352-f15c8da7e697 Mon, 24 Nov 2014 14:09:14 +0000 Author : Robert Osfield Fixed osgsimplegl3 example's set up of the main camera.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14524 16af8721-9629-0410-8352-f15c8da7e697 Mon, 24 Nov 2014 14:01:05 +0000 Author : Robert Osfield Added numTextureUnits parameter to the osg::State::resetVertexAttributeAlias(bool, unit) method, and set the default to 8.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14523 16af8721-9629-0410-8352-f15c8da7e697 Fri, 21 Nov 2014 20:16:16 +0000 Author : Robert Osfield From Alberto Luaces,"the current code uses the preprocessor for generating the plugin path in a way that when CMAKE_INSTALL_PREFIX contains something along the lines of/usr/x86_64-linux-gnu/ it gets substituted as /usr/x86_64-1-gnu/ that is, the string is preprocessed again, thereby making changes to anything that matches any defined symbol, as "linux" in this example (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763816). Quoting that path directly in CMake scripts solves that problem. " git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14522 16af8721-9629-0410-8352-f15c8da7e697 Fri, 21 Nov 2014 20:15:30 +0000 Author : Robert Osfield Added comment clarifying how Image::getColor(..) out of 0..1 range texcoords are handled - now clamped to edge.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14520 16af8721-9629-0410-8352-f15c8da7e697 Fri, 21 Nov 2014 17:22:30 +0000 Author : Robert Osfield Implemented a clamp to edge policy for the Image::g/setColor(color, texcoord).git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14519 16af8721-9629-0410-8352-f15c8da7e697 Fri, 21 Nov 2014 17:17:11 +0000 Author : Robert Osfield Added testing for Drawables in the CopyOp::operator(Node*) to replicate the old functionality.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14518 16af8721-9629-0410-8352-f15c8da7e697 Fri, 21 Nov 2014 16:27:29 +0000 Author : Robert Osfield From Sebastian Messerschmidt, "Added setColor function to modify an image based on texture coordinates, parallel to the getColor functionality."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14517 16af8721-9629-0410-8352-f15c8da7e697 Fri, 21 Nov 2014 14:46:08 +0000 Author : Robert Osfield Added --db-affinit cpuNum option to osgterrain example to illustrate how to set the thead affinity of the DatabasePager threads.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14516 16af8721-9629-0410-8352-f15c8da7e697 Fri, 21 Nov 2014 10:44:01 +0000 Author : Robert Osfield From Sebastian Messerschmidt, "Attached you find a change adding a getNumSamples() function to retrieve the value set via setNumSamples."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14515 16af8721-9629-0410-8352-f15c8da7e697 Fri, 21 Nov 2014 10:37:33 +0000 Author : Robert Osfield From Rafa Gaitan, "I finally had some time to change the build system for Android using a Toolchain, which, I think, will be easier to maintain and uses cmake standard system to build it.My changes: ------------------- - I changed the cmake files and added a toolchain for building OSG in Android. The toolchain is based on the one used at OpenCV. For building OSG for android you just need to do: mkdir build_android_static_gles2 && cd build_android_static_gles2 cmake .. -DANDROID_NDK= -DCMAKE_TOOLCHAIN_FILE=../PlatformSpecifics/Android/android.toolchain.cmake -DOPENGL_PROFILE="GLES2" -DDYNAMIC_OPENTHREADS=OFF -DDYNAMIC_OPENSCENEGRAPH=OFF -DANDROID_NATIVE_API_LEVEL=15 # optional -DANDROID_ABI=armeabim #optional -DCMAKE_INSTALL_PREFIX= #optional make -j 8 make install The OPENGL_PROFILE works as expected, changing it to "GLES1" it builds and links OSG using GLES1. The DYNAMIC_OPENTHREADS/DYNAMIC_OPENSCENEGRAPH parameters also allows to build the dynamic libraries - I also added some build fixes for android related to the texture formats and added some missing USE_OSG_SERIALIZER_WRAPPER in the osg serializer library to support loading osgb files in static." git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14514 16af8721-9629-0410-8352-f15c8da7e697 Fri, 21 Nov 2014 10:21:46 +0000 Author : Robert Osfield From Björn Blissing, fix for ambiguous defines in Atomic.cpp when compiling with MinGW and GCCgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14513 16af8721-9629-0410-8352-f15c8da7e697 Thu, 20 Nov 2014 17:37:52 +0000 Author : Robert Osfield From Claus Steuer, "XCode 6, IOs 8.1 SDK Compile fix : There are some undefined texture formats when compiling osg for IOs 8.1 with XCode 6 and OpenGLES2 enabled."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14510 16af8721-9629-0410-8352-f15c8da7e697 Thu, 20 Nov 2014 17:00:14 +0000 Author : Robert Osfield From Pjotr Svetachov, "I was experimenting with VBO's to try to get them on par with display lists when drawing lots of batches and noticed that my program generated a lot of unneeded glClientActiveTexture calls. Digging deeper I found out it came from State::disableTexCoordPointer where the function would call glClientActiveTexture but not glDisableClientState because the geometry didn't have texture coordinates for that channel. This is because in our scene there are some geometries that have move than one uv channels making State::_texCoordArrayList grow. Then the method State::applyDisablingOfVertexAttributes() will call disableTexCoordPointer multiple times.I rearrange the method a little to combat this. Now the logic has the same ordering as disableTexCoordPointersAboveAndIncluding which already combats this." git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14508 16af8721-9629-0410-8352-f15c8da7e697 Thu, 20 Nov 2014 16:38:23 +0000 Author : Robert Osfield From Farshid Lashkari, "The obj loader was overriding the existing database path list with the file path of the model, instead of prepending the file path to the path list. The latter seems to be more common behavior for most of the existing loader plugins. Also, the local options weren't actually being used when processing the scene graph for textures. I've attached the fix for both issues."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14507 16af8721-9629-0410-8352-f15c8da7e697 Thu, 20 Nov 2014 10:52:24 +0000 Author : Robert Osfield From Marc Helbling, "here is a trivial fix in the Inventor plugin. In one code path, the pointer validity is checked after dereferencing a pointer that can be null (image->valid()) instead of calling ref_ptr::valid (image.valid())."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14505 16af8721-9629-0410-8352-f15c8da7e697 Thu, 20 Nov 2014 10:45:05 +0000 Author : Robert Osfield From Marc Helbling, "I've come across scenes that contains geometries with initialized but empty vertex arrays and primitives and that would make some optimizers crash.The submission therefore only contains a test on the size of the vertex array for the VertexCacheMissVisitor and the VertexAccessOrderVisitor visitors." git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14503 16af8721-9629-0410-8352-f15c8da7e697 Thu, 20 Nov 2014 10:05:52 +0000 Author : Robert Osfield From Christian Ruzicka, "while testing this commit on our OSG 3.2 version, I observed that the changes for ETC2 brake ETC1 support. Attached you'll find the changes to get ETC1 running again"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14501 16af8721-9629-0410-8352-f15c8da7e697 Thu, 20 Nov 2014 09:55:50 +0000 Author : Robert Osfield From Sukender, "Fix for 3DS reader, which may read wrong triangles. Actually, indices may suffer a 'short int' overflow, in two places."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14500 16af8721-9629-0410-8352-f15c8da7e697 Thu, 20 Nov 2014 09:41:27 +0000 Author : Robert Osfield Fixed segfalt in Texture2DArray copy constructor where it would apply images to an uninitialzed vector.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14498 16af8721-9629-0410-8352-f15c8da7e697 Thu, 20 Nov 2014 09:32:38 +0000 Author : Robert Osfield From Marc Helbling, "patch adding support for ambient material in the FBX plugin. It's a straightfoward adaptation of the emissive support and has been tested on a proprietary model."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14495 16af8721-9629-0410-8352-f15c8da7e697 Thu, 20 Nov 2014 09:21:52 +0000 Author : Robert Osfield From Pjotr Svetachov, fix for build breakage with giflib 5.0.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14493 16af8721-9629-0410-8352-f15c8da7e697 Thu, 20 Nov 2014 08:26:34 +0000 Author : Robert Osfield From Per Nordqvist, "The README.txt is still somewhat confusing so I have updated it"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14491 16af8721-9629-0410-8352-f15c8da7e697 Wed, 19 Nov 2014 17:45:45 +0000 Author : Robert Osfield Removed configure script as it's no longer required as cmake . will now default to Releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14490 16af8721-9629-0410-8352-f15c8da7e697 Wed, 19 Nov 2014 17:42:11 +0000 Author : Robert Osfield Added CMake script to set the default CMAKE_BUILD_TYPE to Release. Approach taken from simgear.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14489 16af8721-9629-0410-8352-f15c8da7e697 Wed, 19 Nov 2014 17:29:15 +0000 Author : Robert Osfield Fixed Contributors namesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14486 16af8721-9629-0410-8352-f15c8da7e697 Wed, 19 Nov 2014 17:10:21 +0000 Author : Robert Osfield From Clement Boesch, "Fix remaining bit of Giflib5 usage"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14485 16af8721-9629-0410-8352-f15c8da7e697 Wed, 19 Nov 2014 11:37:37 +0000 Author : Robert Osfield From Laurens Voerman, "I found a new way to crach the osgviewer: osgviewer "ProxyNode { FileNameList { cow.osgt } num_children 1 }".osgsThe proxy node reader wrongly assumes options to be non NULL. fixed in attached zip: src\osgWrappers\deprecated-dotosg\osg\ProxyNode.cpp applies to both the 3.2 branch and svn trunk" git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14484 16af8721-9629-0410-8352-f15c8da7e697 Wed, 19 Nov 2014 11:30:53 +0000 Author : Robert Osfield 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."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14482 16af8721-9629-0410-8352-f15c8da7e697 Wed, 19 Nov 2014 10:43:07 +0000 Author : Robert Osfield Changed the way that the cell size is passed to the shadergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14481 16af8721-9629-0410-8352-f15c8da7e697 Wed, 19 Nov 2014 09:33:53 +0000 Author : Robert Osfield From James Turner, "Converting the loops to forward versions fixed the issue. The problem is size_t is unsigned; at the limit condition it doesn’t go negative but wraps around to 0xffffffffffffffff …. and boom."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14480 16af8721-9629-0410-8352-f15c8da7e697 Mon, 17 Nov 2014 15:43:26 +0000 Author : Robert Osfield Fixed typogit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14478 16af8721-9629-0410-8352-f15c8da7e697 Mon, 17 Nov 2014 09:19:38 +0000 Author : Robert Osfield Fixed typo in commentgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14477 16af8721-9629-0410-8352-f15c8da7e697 Fri, 14 Nov 2014 17:44:20 +0000 Author : Robert Osfield Added use of GL_TRIANGLE_STRIP to cut down the size of the primitive indices required.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14476 16af8721-9629-0410-8352-f15c8da7e697 Fri, 14 Nov 2014 16:47:32 +0000 Author : Robert Osfield Implemented skirt functionalitygit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14475 16af8721-9629-0410-8352-f15c8da7e697 Thu, 13 Nov 2014 09:40:11 +0000 Author : Robert Osfield Refactored the handling of use of the osgDB::ObjectCache in the DatabasePager to use a local thread specific ObjectCache to handle new additions and then have these additions merged with the main Registry ObjectCache during the main loop.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14474 16af8721-9629-0410-8352-f15c8da7e697 Tue, 11 Nov 2014 18:28:07 +0000 Author : Robert Osfield Moved implementation of ObjectCache functionality out of Registry into a dedicated osgDB::ObjectCache class.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14473 16af8721-9629-0410-8352-f15c8da7e697 Mon, 10 Nov 2014 16:04:43 +0000 Author : Robert Osfield To handle thread safe paging and use of the osgDB::Registry ObjectCache, moved the handling of cache into osgDB::DatabasePager.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14472 16af8721-9629-0410-8352-f15c8da7e697 Thu, 6 Nov 2014 10:44:27 +0000 Author : Robert Osfield From Pjotr Svetachov, "I tried your fix and it exposed a bug in my fix :) The problem is that the readObjectFields method will add the object to the _identifierMap. So all the other instances of that image in the same file will be replaced by the created dummy object. In my fix this was an dummy image and I didn't notice it in our scene's, probably because it covered a small part of an object. In your fix the dummy object was not an image and that leads to a crash when something tries to use it as an image. I have attached a small fix for this bug." git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14471 16af8721-9629-0410-8352-f15c8da7e697 Thu, 6 Nov 2014 10:40:54 +0000 Author : Robert Osfield Introduced use of MarkerObject to IncrmentalCompileOperation/DatabasePager as a way of marking objects that have already been processed and compiled, thus avoid potential threading conflicts when paged subgraphs are reused.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14470 16af8721-9629-0410-8352-f15c8da7e697 Wed, 5 Nov 2014 16:08:42 +0000 Author : Robert Osfield Added handling of the reading of field properties to a dummy object for cached images to avoid threading issues associated with reusing and modifying an active object.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14469 16af8721-9629-0410-8352-f15c8da7e697 Wed, 5 Nov 2014 13:38:50 +0000 Author : Robert Osfield Reinstated the original mechanism for OperationThread::cancel() that co-operatively releases blocks/barriers to make sure the thread is able to exit correctly.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14468 16af8721-9629-0410-8352-f15c8da7e697 Tue, 4 Nov 2014 20:07:40 +0000 Author : Robert Osfield Improvements to the ShaderTerrain experiemental terrain rendering technique.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14466 16af8721-9629-0410-8352-f15c8da7e697 Tue, 4 Nov 2014 20:07:15 +0000 Author : Robert Osfield Changed TerrainTile::setDirty() to use children needing update traversal mechanism to address threadng issues.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14465 16af8721-9629-0410-8352-f15c8da7e697 Tue, 4 Nov 2014 20:06:05 +0000 Author : Robert Osfield Change isRunning variable to an Atomic to address possible race condition asscoiated with reading and writing to the variable from different threads.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14464 16af8721-9629-0410-8352-f15c8da7e697 Tue, 4 Nov 2014 16:29:30 +0000 Author : Robert Osfield Build fixes for ffmpeg LIBAVCODEC_VERSION_MAJOR >= 56git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14462 16af8721-9629-0410-8352-f15c8da7e697 Tue, 4 Nov 2014 11:18:42 +0000 Author : Robert Osfield Added an InitRegistry static intiialization and destrucion static to help control the order of construction and destruction of the osgDB::Registry.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14461 16af8721-9629-0410-8352-f15c8da7e697 Tue, 4 Nov 2014 10:46:59 +0000 Author : Robert Osfield Replaced use of while(isRunning()) { YieldCurrentThread(); } style loops with use of join() to avoid false positives being reported by valgrind when using the helgrind tool for thread debugging.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14460 16af8721-9629-0410-8352-f15c8da7e697 Tue, 21 Oct 2014 15:08:44 +0000 Author : Robert Osfield Added experimental osgTerrain::ShaderTerrain TerrainTechnique to osgterrain example to flesh out new shader based displacement mapping approach to osgTerrain databases.Requires shader files place in OpenSceneGraph-Data/shaders from OpenSceneGraph-Data's svn/trunk to function. Run osgterrain example with --shader command line option to select displacement mapping shader approach. git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14458 16af8721-9629-0410-8352-f15c8da7e697 Tue, 21 Oct 2014 14:47:43 +0000 Author : Robert Osfield Removed --sync related code as it's now integrated into osg::DisplaySettings and osgViewergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14457 16af8721-9629-0410-8352-f15c8da7e697 Tue, 21 Oct 2014 14:46:12 +0000 Author : Robert Osfield Added osg::SyncSwapBuffersCallback to include/osg/GraphicsContext and support for enabling it to include/osg/DisplaySettings, and to the Viewer/CompositeViewer::realize() methods.To enable the sync of swap buffers set the env var OSG_SYNC_SWAP_BUFFERS to ON or 1, to switch off set to OFF or 0. One can also use the --sync command line option for application that pass on command line options to the osg::DisplaySettings::instance(). git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14456 16af8721-9629-0410-8352-f15c8da7e697 Tue, 21 Oct 2014 08:27:28 +0000 Author : Robert Osfield Removed checks against Drawable as these are no longer required.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14455 16af8721-9629-0410-8352-f15c8da7e697 Wed, 17 Sep 2014 17:40:07 +0000 Author : Robert Osfield Added support for writing the file path of a script to the lua package.path to help with loading scripts within lua.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14451 16af8721-9629-0410-8352-f15c8da7e697 Tue, 16 Sep 2014 17:40:13 +0000 Author : Robert Osfield Changed osgvolume example to use the new tf plugin rather than having local code for reading transfer functiongit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14450 16af8721-9629-0410-8352-f15c8da7e697 Tue, 16 Sep 2014 11:00:01 +0000 Author : Robert Osfield Added write supportgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14449 16af8721-9629-0410-8352-f15c8da7e697 Mon, 15 Sep 2014 17:53:44 +0000 Author : Robert Osfield Added .tf & .tf-255 plugin for reading ascii 1D transfer functon files in support for volume rendering.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14448 16af8721-9629-0410-8352-f15c8da7e697 Fri, 12 Sep 2014 14:16:08 +0000 Author : Robert Osfield Added basic frame rendering for TabWidgetgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14446 16af8721-9629-0410-8352-f15c8da7e697 Wed, 10 Sep 2014 17:03:27 +0000 Author : Robert Osfield Improved the alignment and sizing of TabWidget tab headersgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14445 16af8721-9629-0410-8352-f15c8da7e697 Wed, 10 Sep 2014 11:59:51 +0000 Author : Robert Osfield Implemented the selection of tabs by clicking, using mouse wheel or arrow keys.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14443 16af8721-9629-0410-8352-f15c8da7e697 Tue, 9 Sep 2014 16:12:59 +0000 Author : Robert Osfield Improved the handling of the dialog title textgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14442 16af8721-9629-0410-8352-f15c8da7e697 Tue, 9 Sep 2014 15:14:35 +0000 Author : Robert Osfield Moved the diaglog title bar widgets into the Widget::GraphicsSubgraph map to avoid them poluting the Dialog's children list and to prevent them from being serialized.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14441 16af8721-9629-0410-8352-f15c8da7e697 Tue, 9 Sep 2014 13:37:33 +0000 Author : Robert Osfield Introduced Widget::WidgetStateSet to help localize the StateSet set up by Widget implementations from being serialized or affecting what end users apply via the standard Node::s/getStateSet().Further work on TabWidget. git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14440 16af8721-9629-0410-8352-f15c8da7e697 Mon, 8 Sep 2014 08:53:23 +0000 Author : Robert Osfield Build fixgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14439 16af8721-9629-0410-8352-f15c8da7e697 Fri, 5 Sep 2014 16:04:11 +0000 Author : Robert Osfield Added shell of new osgUI::TabWidget classgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14438 16af8721-9629-0410-8352-f15c8da7e697 Fri, 5 Sep 2014 11:05:43 +0000 Author : Robert Osfield Introduced support for specifying whether a serializer supports different types of usage - one or more of READ_WRITE_PROPERTY, GET_PROPERTY and SET_PROPERTY.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14437 16af8721-9629-0410-8352-f15c8da7e697 Wed, 3 Sep 2014 15:54:47 +0000 Author : Robert Osfield Added setting of the IsoSurfaceProperty in VolumeSettingsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14436 16af8721-9629-0410-8352-f15c8da7e697 Wed, 3 Sep 2014 12:28:04 +0000 Author : Robert Osfield Added close button on Dialog title bargit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14435 16af8721-9629-0410-8352-f15c8da7e697 Tue, 2 Sep 2014 17:01:44 +0000 Author : Robert Osfield Refactored the handling of ComboBox item picking to make it faster and more reliablegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14433 16af8721-9629-0410-8352-f15c8da7e697 Tue, 2 Sep 2014 10:00:33 +0000 Author : Robert Osfield Improved handling of ComboBox popup togglinggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14432 16af8721-9629-0410-8352-f15c8da7e697 Tue, 2 Sep 2014 09:14:08 +0000 Author : Robert Osfield Added support for scaling widgets via the scoll wheel.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14431 16af8721-9629-0410-8352-f15c8da7e697 Tue, 2 Sep 2014 08:41:31 +0000 Author : Robert Osfield Removed debugging messagegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14430 16af8721-9629-0410-8352-f15c8da7e697 Mon, 1 Sep 2014 19:13:35 +0000 Author : Robert Osfield Added DragCallback class to help dialog dragging support. Introduced a new Widget::computeExtentsPositionInLocalCoordinates() method that intersects with a ray through mouse pointer and the extents of the widget.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14429 16af8721-9629-0410-8352-f15c8da7e697 Thu, 28 Aug 2014 15:11:29 +0000 Author : Robert Osfield Improved support for controlling the ShadingModel via the VolumeSettings objectgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14428 16af8721-9629-0410-8352-f15c8da7e697 Thu, 28 Aug 2014 09:42:01 +0000 Author : Robert Osfield Improved handling of VolumeSettingsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14427 16af8721-9629-0410-8352-f15c8da7e697 Wed, 27 Aug 2014 15:08:48 +0000 Author : Robert Osfield Changed the osgUI behaviour so that events are set to be handled by Widgets that have focus even if they don't directly use them.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14425 16af8721-9629-0410-8352-f15c8da7e697 Wed, 27 Aug 2014 15:07:47 +0000 Author : Robert Osfield Changed the NodeVisitor::apply(Drawable&) to call apply(Node&)git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14424 16af8721-9629-0410-8352-f15c8da7e697 Wed, 27 Aug 2014 09:25:54 +0000 Author : Robert Osfield Added support for getting osgVolumre::Property::ModifieCountgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14422 16af8721-9629-0410-8352-f15c8da7e697 Mon, 25 Aug 2014 16:56:47 +0000 Author : Robert Osfield Added Property::getModifiedCount() + dirty() to help with tracking changes. Added VolumeSettings serializers for Property objectsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14421 16af8721-9629-0410-8352-f15c8da7e697 Mon, 25 Aug 2014 13:43:11 +0000 Author : Robert Osfield Changed StateSet::ParentList from vector to vector to reflect that Drawable is now a Node.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14420 16af8721-9629-0410-8352-f15c8da7e697 Fri, 22 Aug 2014 19:00:53 +0000 Author : Robert Osfield Improved handling of setting of the depth of the UI.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14418 16af8721-9629-0410-8352-f15c8da7e697 Wed, 20 Aug 2014 14:15:36 +0000 Author : Robert Osfield Reordered method implemenations to make it easier to compare similar methodsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14417 16af8721-9629-0410-8352-f15c8da7e697 Tue, 19 Aug 2014 16:58:02 +0000 Author : Robert Osfield Added toggling on/off of the VolumeSettings ui via the 'E' key.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14416 16af8721-9629-0410-8352-f15c8da7e697 Tue, 19 Aug 2014 16:37:20 +0000 Author : Robert Osfield Updated VolumeSettings.lua reference to use ui prefix to work with the new OpenSceneGraph-Data/ui/VolumeSettings.lua file.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14415 16af8721-9629-0410-8352-f15c8da7e697 Tue, 19 Aug 2014 09:27:46 +0000 Author : Robert Osfield Fixed MD2 danglng pointer crash.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14413 16af8721-9629-0410-8352-f15c8da7e697 Tue, 19 Aug 2014 09:00:42 +0000 Author : Robert Osfield Fixed buildgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14411 16af8721-9629-0410-8352-f15c8da7e697 Tue, 19 Aug 2014 08:57:23 +0000 Author : Robert Osfield Fixed buildgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14410 16af8721-9629-0410-8352-f15c8da7e697 Thu, 14 Aug 2014 19:00:37 +0000 Author : Robert Osfield Added support for ComboBox::currentIndexChanged*(uint) callback API.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14409 16af8721-9629-0410-8352-f15c8da7e697 Wed, 13 Aug 2014 09:24:38 +0000 Author : Robert Osfield Resert default value to 1.0git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14408 16af8721-9629-0410-8352-f15c8da7e697 Fri, 8 Aug 2014 16:42:32 +0000 Author : Robert Osfield From Ryan Kawicki, "There is an issue where the model insets of a terrex terrain are being removed during the loading process. The issue is described below. - the issue here is that the plugin is removing group nodes if that group node only has one child. becuase transforms are also group nodes, there were cases when the transform would have only one child under it and would cause it to remove the translation portion. this would cause all the vertex data to be loaded around the last matrix operation, which in our case was the origin (0,0,0). We work off of OSG 2.8.1 but see that this has not been addressed on latest yet. I’ve tested this against 2.8.1 and have cleanly applied it to my local repository off of latest." git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14407 16af8721-9629-0410-8352-f15c8da7e697 Fri, 8 Aug 2014 16:34:12 +0000 Author : Robert Osfield From Tim George, "Currently there is a problem with using a camera with a viewport with a non 0 offset and also using an FBO. The problem is that only area made up of the viewports width and height is drawn based on an offset of 0,0 instead of using the viewports offset.It is caused by line 991 in RenderStage.cpp: Code: fbo_ext->glBlitFramebuffer( 0, 0, static_cast(_viewport->width()), static_cast(_viewport->height()), 0, 0, static_cast(_viewport->width()), static_cast(_viewport->height()), blitMask, GL_NEAREST); which is not taking into account the viewport x and y when performing the blit. It probably should be: Code: fbo_ext->glBlitFramebuffer( static_cast(_viewport->x()), static_cast(_viewport->y()), static_cast(_viewport->width()) + static_cast(_viewport->x()), static_cast(_viewport->height()) + static_cast(_viewport->y()), static_cast(_viewport->x()), static_cast(_viewport->y()), static_cast(_viewport->width()) + static_cast(_viewport->x()), static_cast(_viewport->height()) + static_cast(_viewport->y()), blitMask, GL_NEAREST); " Note from Robert Osfield, made small tweak to above on merge, changing the width+x to x+width to make it read more naturally. git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14405 16af8721-9629-0410-8352-f15c8da7e697 Fri, 8 Aug 2014 16:09:39 +0000 Author : Robert Osfield From Marc Helbling, "please find a fix for the vertex pretransform visitor (VertexAccessOrderVisitor). The issue with current code is that arrays are collected *before* duplicating shared arrays which leads to arrays that are correctly duplicated but that are not reordered.Also the submitted patch contains a small cleaning in GeometryArrayGathrer as the _useDrawElements variable is not used; it is only set in the GeometryArrayGathrer constructor and VertexAccessOrderVisitor already checks that primitives have indexed type." git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14403 16af8721-9629-0410-8352-f15c8da7e697 Fri, 8 Aug 2014 15:45:54 +0000 Author : Robert Osfield From Glen Waldron, "Node: patch for remove*Callback() methods to resolve a crash"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14401 16af8721-9629-0410-8352-f15c8da7e697 Fri, 8 Aug 2014 09:28:26 +0000 Author : Robert Osfield Changes to support building against ANDROID under OSX.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14399 16af8721-9629-0410-8352-f15c8da7e697 Tue, 5 Aug 2014 18:32:45 +0000 Author : Robert Osfield Implemented osgUI::Validator, IntValidator and DoubleValidator classes that manage validation/specialization of LineEdit widgets to work with just integer or double values.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14398 16af8721-9629-0410-8352-f15c8da7e697 Fri, 1 Aug 2014 13:07:38 +0000 Author : Robert Osfield Implemented callbacks for validate(), textChanged() and returnPressed()git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14397 16af8721-9629-0410-8352-f15c8da7e697 Fri, 1 Aug 2014 10:57:24 +0000 Author : Robert Osfield Moved responsiblity for checking current event focus onto Widget::handleImplementations().Added support for closing CombinBox popup when the mouse is clicked outside the popup or combobox widget. git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14396 16af8721-9629-0410-8352-f15c8da7e697 Thu, 31 Jul 2014 18:29:31 +0000 Author : Robert Osfield Added NodeVisitor::INTERSECTION_VISITOR VisitorTypegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14395 16af8721-9629-0410-8352-f15c8da7e697 Wed, 30 Jul 2014 12:48:28 +0000 Author : Robert Osfield Fixed rendering of Popupsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14394 16af8721-9629-0410-8352-f15c8da7e697 Wed, 30 Jul 2014 12:47:45 +0000 Author : Robert Osfield Update SO version to account for new changes to osg::StateSet and osgUIgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14393 16af8721-9629-0410-8352-f15c8da7e697 Wed, 30 Jul 2014 12:47:16 +0000 Author : Robert Osfield Added StateSet::RenderBinMode::PROTECTED_RENDERBIN_DETAILS and OVERRIDE_PROTECTED_RENDERBIN_DETAILS options.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14392 16af8721-9629-0410-8352-f15c8da7e697 Tue, 29 Jul 2014 15:50:55 +0000 Author : Robert Osfield Added preliminary icon to ComboBox.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14391 16af8721-9629-0410-8352-f15c8da7e697 Tue, 29 Jul 2014 15:50:37 +0000 Author : Robert Osfield Fixed debug commentgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14390 16af8721-9629-0410-8352-f15c8da7e697 Tue, 29 Jul 2014 15:50:07 +0000 Author : Robert Osfield Implemented prelimary icon support allowing UI widget to place image and model based icons on widgetsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14389 16af8721-9629-0410-8352-f15c8da7e697 Tue, 29 Jul 2014 15:47:55 +0000 Author : Robert Osfield Added catch for NULL Transform pointers getting into the _transformMap.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14388 16af8721-9629-0410-8352-f15c8da7e697 Mon, 28 Jul 2014 16:19:44 +0000 Author : Robert Osfield Added handling of Drawables added directly to scene graph without Geode decorating them.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14386 16af8721-9629-0410-8352-f15c8da7e697 Thu, 24 Jul 2014 14:14:35 +0000 Author : Robert Osfield Added support for changing background colour of LineEdit widget when focus changesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14385 16af8721-9629-0410-8352-f15c8da7e697 Thu, 24 Jul 2014 13:25:49 +0000 Author : Robert Osfield Refined the colouring of widget to be more in sync with the defaults used in Qt.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14384 16af8721-9629-0410-8352-f15c8da7e697 Wed, 23 Jul 2014 16:36:17 +0000 Author : Robert Osfield Added VolumeSettings::Filename property.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14383 16af8721-9629-0410-8352-f15c8da7e697 Wed, 23 Jul 2014 15:57:35 +0000 Author : Robert Osfield Changed the default text colour to blackgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14382 16af8721-9629-0410-8352-f15c8da7e697 Wed, 23 Jul 2014 14:50:42 +0000 Author : Robert Osfield Added writeFile supportgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14381 16af8721-9629-0410-8352-f15c8da7e697 Wed, 23 Jul 2014 10:49:27 +0000 Author : Robert Osfield Added Node:getNumParents() and Node:getParent(index) supportgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14380 16af8721-9629-0410-8352-f15c8da7e697 Tue, 22 Jul 2014 16:02:33 +0000 Author : Robert Osfield Removed State::AppliedProgramObjectSet container and Obsever usage from osg::State to address threading bug crash.The State::AppliedProgramObjectSet wasn't ever being used actively in the current rev of the OSG so populating and clearing was no longer neccessary, allowing the code to be removed completely. git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14377 16af8721-9629-0410-8352-f15c8da7e697 Mon, 21 Jul 2014 16:36:47 +0000 Author : Robert Osfield Centralized the calling of #include and VS fallback into include/osg/Types headergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14376 16af8721-9629-0410-8352-f15c8da7e697 Mon, 21 Jul 2014 14:32:40 +0000 Author : Robert Osfield From Pjotr Svetachov, "I think I spotted some unneeded ref_ptrs in the cullvisitor. The call pushModelViewMatrix or pushProjectionMatrix will already keep the reference when adding it to the MatrixStack. In CullVisitor::apply methods for the billboard and the camera you already take a pointer instead of a ref_ptr."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14375 16af8721-9629-0410-8352-f15c8da7e697 Mon, 21 Jul 2014 13:45:58 +0000 Author : Robert Osfield Added setting of glPixelStore before glTexSubImage2D call.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14374 16af8721-9629-0410-8352-f15c8da7e697 Mon, 21 Jul 2014 13:43:11 +0000 Author : Robert Osfield From Jaap Gas, "I want to submit a bugfix for a crash occurring in osgText/Glyph.cpp if the scene tree contains (large) 2D textures from images with STRIDE.============================================================================ #0 0x00007fffe8ea4350 in __memmove_ssse3 () from /lib64/libc.so.6 #1 0x00007fffe52ced76 in ?? () from /usr/lib64/libnvidia-glcore.so.310.44 #2 0x00007fffe52d8e86 in ?? () from /usr/lib64/libnvidia-glcore.so.310.44 #3 0x00007fffe53dd8be in ?? () from /usr/lib64/libnvidia-glcore.so.310.44 #4 0x00007fffe53c2643 in ?? () from /usr/lib64/libnvidia-glcore.so.310.44 #5 0x00007fffe53c7fdd in ?? () from /usr/lib64/libnvidia-glcore.so.310.44 #6 0x00007fffe53cbabf in ?? () from /usr/lib64/libnvidia-glcore.so.310.44 #7 0x00007fffe53cc1fa in ?? () from /usr/lib64/libnvidia-glcore.so.310.44 #8 0x00007ffff30092fd in osgText::GlyphTexture::apply (this=0x1bb8cf0, state= ...) at /d43/jaap/dev/jaapOSG/build/OpenSceneGraph3.3.1/src/osgText/Glyph.cpp:234 #9 0x00007ffff56c30b6 in osg::State::applyAttributeOnTexUnit (this=0x125f180, unit=0, attribute=0x1bb8cf0, as=...) at /d43/jaap/dev/jaapOSG/build/OpenSceneGraph3.3.1/include/osg/State:1713 #10 0x00007ffff56c2f3f in osg::State::applyTextureAttribute (this=0x125f180, unit=0, attribute=0x1bb8cf0) at /d43/jaap/dev/jaapOSG/build/OpenSceneGraph3.3.1/include/osg/State:411 #11 0x00007ffff30204da in osgText::Text::drawTextWithBackdrop (this=0x1baed70, state=..., colorMultiplier=...) ============================================================================== The crash disappears if I either (1) disable the use of images with stride in the (public) osgGeo-library, or (2) add the following bugfix to Glyph.cpp. This combination gives me the confidence that I understand where this problem originates from, without trying to understand the full OpenGL details. =============================================================================== @@ -221,7 +223,12 @@ imageData[i] = 0; } + glPixelStorei(GL_UNPACK_ALIGNMENT,1); + #if !defined(OSG_GLES1_AVAILABLE) && !defined(OSG_GLES2_AVAILABLE) + glPixelStorei(GL_UNPACK_ROW_LENGTH,getTextureWidth()); + #endif + // allocate the texture memory. glTexImage2D( GL_TEXTURE_2D, 0, GL_ALPHA, getTextureWidth(), getTextureHeight(), 0, ================================================================================ I have copied (and adapted) the added lines above from the same source file, where they were used in front of a similar call to glTexSubImage2D(.) around line 515. " git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14372 16af8721-9629-0410-8352-f15c8da7e697 Mon, 21 Jul 2014 12:21:42 +0000 Author : Robert Osfield Initial work on integtasting osgUI into Present3Dgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14370 16af8721-9629-0410-8352-f15c8da7e697 Mon, 21 Jul 2014 12:18:43 +0000 Author : Robert Osfield Fixed indentationgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14369 16af8721-9629-0410-8352-f15c8da7e697 Mon, 21 Jul 2014 09:35:00 +0000 Author : Robert Osfield Added debug messagesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14368 16af8721-9629-0410-8352-f15c8da7e697 Fri, 18 Jul 2014 17:17:01 +0000 Author : Robert Osfield Added serailizer support for NodeVisitor, UpdateVisitor, CullVisitor and EventVisitorgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14367 16af8721-9629-0410-8352-f15c8da7e697 Mon, 14 Jul 2014 15:59:06 +0000 Author : Robert Osfield Added readScript/writeScript methods to ReaderWritergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14366 16af8721-9629-0410-8352-f15c8da7e697 Mon, 14 Jul 2014 14:09:08 +0000 Author : Robert Osfield Renamed osgDB::PropertyInterface to osgDB::ClassInterface to better reflect it's functionalitygit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14365 16af8721-9629-0410-8352-f15c8da7e697 Fri, 4 Jul 2014 16:45:05 +0000 Author : Robert Osfield Added preliminary support for writing VolumeSettings to disk from within Present3D in response to pressing and releasing 'Ctrl-S'.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14363 16af8721-9629-0410-8352-f15c8da7e697 Thu, 3 Jul 2014 16:36:02 +0000 Author : Robert Osfield Updated iso and mip shaders from OpenSceneGraph-Data.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14358 16af8721-9629-0410-8352-f15c8da7e697 Thu, 3 Jul 2014 13:06:23 +0000 Author : Robert Osfield Added virtual destructorsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14351 16af8721-9629-0410-8352-f15c8da7e697 Thu, 3 Jul 2014 13:05:09 +0000 Author : Robert Osfield Fixed line endingsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14350 16af8721-9629-0410-8352-f15c8da7e697 Thu, 3 Jul 2014 13:01:05 +0000 Author : Robert Osfield Changed enum usage to use the new osgVolume::VolumeSettings versions and added support for reading a VolumeSettings file.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14349 16af8721-9629-0410-8352-f15c8da7e697 Thu, 3 Jul 2014 10:01:46 +0000 Author : Robert Osfield Refactor VolumeSettings so that it's subclassed from osgVolume::Propertygit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14348 16af8721-9629-0410-8352-f15c8da7e697 Wed, 2 Jul 2014 16:26:18 +0000 Author : Robert Osfield Added osgVolume::VolumeSettings objectgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14347 16af8721-9629-0410-8352-f15c8da7e697 Wed, 2 Jul 2014 15:34:37 +0000 Author : Robert Osfield Changed the default image output format to .osgb as .dds isn't able to represent signed byte, short and int data correctly.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14346 16af8721-9629-0410-8352-f15c8da7e697 Wed, 2 Jul 2014 14:14:53 +0000 Author : Robert Osfield fixed handlng of file type of nested files within a .osgx, .osgt and .osgb file.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14344 16af8721-9629-0410-8352-f15c8da7e697 Wed, 2 Jul 2014 10:25:29 +0000 Author : Robert Osfield From Laurens Voerman, "just like ClusterCullingCallback (fixed in r14322) visual studio likes an explicit implementation of run() for InteractiveImageHandler.The warning is (14 times): include\osgViewer/ViewerEventHandlers(542): warning C4250: 'osgViewer::InteractiveImageHandler' : inherits 'osgGA::EventHandler::osgGA::EventHandler::run' via dominance (src\osgViewer\StatsHandler.cpp) include\osgGA/EventHandler(45) : see declaration of 'osgGA::EventHandler::run' attached a zipped version of include\osgViewer\ViewerEventHandlers" git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14343 16af8721-9629-0410-8352-f15c8da7e697 Tue, 1 Jul 2014 07:31:46 +0000 Author : Robert Osfield Added #include to address compile issue on some Linux distro's.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14341 16af8721-9629-0410-8352-f15c8da7e697 Mon, 30 Jun 2014 15:31:36 +0000 Author : Robert Osfield Add dds no flip on write option to prevent output of .dds volume from being flipped by the dds plugin.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14339 16af8721-9629-0410-8352-f15c8da7e697 Mon, 30 Jun 2014 13:24:41 +0000 Author : Robert Osfield REmoved debug coutgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14338 16af8721-9629-0410-8352-f15c8da7e697 Mon, 30 Jun 2014 10:13:19 +0000 Author : Robert Osfield From Mikhail Izmestev, "Attached fix to avoid vector reallocs on push_back in StateGraph::moveStateGraph."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14334 16af8721-9629-0410-8352-f15c8da7e697 Mon, 30 Jun 2014 09:12:14 +0000 Author : Robert Osfield Updated ChangeLog and AUTHORS filegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14332 16af8721-9629-0410-8352-f15c8da7e697 Mon, 30 Jun 2014 08:56:08 +0000 Author : Robert Osfield Updated version numbergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14331 16af8721-9629-0410-8352-f15c8da7e697 Mon, 30 Jun 2014 08:46:54 +0000 Author : Robert Osfield From Pjotr Svetachov, "Here is a small fix for a overflow when editing large 3d volume data."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14329 16af8721-9629-0410-8352-f15c8da7e697 Mon, 30 Jun 2014 08:20:30 +0000 Author : Robert Osfield Removed space from #include.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14326 16af8721-9629-0410-8352-f15c8da7e697 Mon, 30 Jun 2014 07:37:06 +0000 Author : Robert Osfield From Alexander Sinditskiy, build fix to allow building against versions older than librsvg-2.36.2git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14323 16af8721-9629-0410-8352-f15c8da7e697 Sat, 28 Jun 2014 06:22:47 +0000 Author : Robert Osfield Replaced using NodeCallback::run with explict run() implementation.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14322 16af8721-9629-0410-8352-f15c8da7e697 Fri, 27 Jun 2014 15:57:34 +0000 Author : Robert Osfield From Pjotr Svetachov, "I made a small change to DataOutputStream.cpp which makes saving Geodes possible again. This is only half a fix as it only will save a Drawable that is part of a Geode. But this change does not require a version bump of the .ive format. I tried it with a few datasets we have here with the 3.2 stable branch and the trunk with this patch and there was no difference in the .ive files that were produced."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14319 16af8721-9629-0410-8352-f15c8da7e697 Fri, 27 Jun 2014 15:55:05 +0000 Author : Robert Osfield Removed unused method.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14318 16af8721-9629-0410-8352-f15c8da7e697 Fri, 27 Jun 2014 15:48:38 +0000 Author : Robert Osfield From Laurens Voerman, "attached is a modified version of src/osgUtil/Tessellator.cpp current code checks for a Nullpointer and on notify level info or above will inform you with a crash, by dereferencing it."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14315 16af8721-9629-0410-8352-f15c8da7e697 Fri, 27 Jun 2014 15:39:05 +0000 Author : Robert Osfield Updated AUTHORS filegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14313 16af8721-9629-0410-8352-f15c8da7e697 Fri, 27 Jun 2014 15:38:52 +0000 Author : Robert Osfield Added an OSG_INIT_SINGLETON_PROXY to make sure that the ApplicationUsage singleton gets intialized before usage.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14312 16af8721-9629-0410-8352-f15c8da7e697 Fri, 27 Jun 2014 15:36:47 +0000 Author : Robert Osfield Updated AUTHORS filegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14310 16af8721-9629-0410-8352-f15c8da7e697 Fri, 27 Jun 2014 15:30:56 +0000 Author : Robert Osfield Added a render order sort to the list of Cameras being tested by the *Viewer::generatePointerData(..) method to ensure that the highest Camera gets focus.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14309 16af8721-9629-0410-8352-f15c8da7e697 Thu, 26 Jun 2014 15:54:47 +0000 Author : Robert Osfield Update ChangeLog for dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14306 16af8721-9629-0410-8352-f15c8da7e697 Thu, 26 Jun 2014 14:16:11 +0000 Author : Robert Osfield Revised KdTreeBuilder so that is used the new apply(osg::Geometry&) method rather than expanding an osg::Geode.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14303 16af8721-9629-0410-8352-f15c8da7e697 Thu, 26 Jun 2014 11:49:59 +0000 Author : Robert Osfield From Sebastian Messerschmidt, "I've applied a simple fix for the backward animation support in osg::Sequence. It will simply use the sign of the speed set in the getNextValue. Attached file is against trunk."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14302 16af8721-9629-0410-8352-f15c8da7e697 Thu, 26 Jun 2014 11:11:59 +0000 Author : Robert Osfield From Lauren Voerman, "In order to speed up loading large scenes (especially from network disk) I added code to our viewer to setup multiple database-pagers and request the files trough a database-request: databasePager->setUpThreads(16, 1);We experienced problems with multiple databasepagers loading files in parallel, when two threads start to load the same file (usually a texture referenced by multiple models). The second thread to add the file to the cache (sometimes) manages to do so while the refcount from the cached object still is zero, causing the object loaded to be destroyed. Sometimes the second thread manages to ref() the object before Referenced::signalObserversAndDelete does the final recount check, causing a warning: "Warning Referenced::signalObserversAndDelete(,,) doing delete with _refCount=1" With a deleted object added to the scenegraph we get some undesired results, I think the program only crashes if the object was a Node, and just has some untextured surfaces if it was a texture, but I'm not completely sure. Attached is a modified version of the Registry.cpp, returning the object in cache and let the duplicate loaded object to be destroyed. A more efficient option would be to add some sort of blocking entry to the objectcache to stop the second thread from reading the file, and just wait until the first thread added it to the cache. If you think that's worthwile we would be happy to implement that version. A bit tricky to implement and test, that's why I submit a simple version that stops my program from crashing." git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14300 16af8721-9629-0410-8352-f15c8da7e697 Thu, 26 Jun 2014 11:09:46 +0000 Author : Robert Osfield Removed erroneous charactergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14298 16af8721-9629-0410-8352-f15c8da7e697 Thu, 26 Jun 2014 10:53:18 +0000 Author : Robert Osfield From Farshid Lashkari, "I noticed that Text3D objects would change there z alignment depending on the alignment mode. I'm not sure if this was intentional or just a simple mistake. My expectation was that the front of the object would always stay aligned to the 0 z-plane, regardless of the alignment mode. I've attached an updated version that retains a consistent z-alignment." "I just now noticed another issue with Text3D objects. It was not properly computing the bounding box when non-axis aligned rotations were being applied. In this case all corners of the bounding box need to be transformed in order to get the correct containing box. I've attached the updated file." "The incorrect bounding box problem also applies to regular Text objects. I've attached the fix for that as well as the original Text3D fix."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14296 16af8721-9629-0410-8352-f15c8da7e697 Thu, 26 Jun 2014 10:45:07 +0000 Author : Robert Osfield From Pjotr Svetachov, "For a scene with a lot of animated agents I did some small optimizations to reduce cpu overhead: 1) Avoid a load-hit-store in UpdateBone. b->getMatrixInBoneSpace() returns the same matrix that was just stored with b->setMatrix() 2) Avoid calling element->isIdentity() for the whole transform stack (can be expensive is element is a matrix) 3) Make the key frame interpolator use binary search instead of a linear one. This is very noticeable in scenes where some geometry has long repeating animations that start at the same time, you will see the update time grow then reset and grow again."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14294 16af8721-9629-0410-8352-f15c8da7e697 Thu, 26 Jun 2014 10:24:41 +0000 Author : Robert Osfield From Laurens Voerman, "while debugging ImageSequence I had a crash, due to the very large frametimes caused by halting the program. The problem is that when the frame time exceeds the length of the entire image sequence, a looping sequence will try to read it's _imageDataList beyond its size. fix attached for src/osg/ImageSequence.cpp"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14293 16af8721-9629-0410-8352-f15c8da7e697 Thu, 26 Jun 2014 10:05:53 +0000 Author : Robert Osfield From Laurens Voerman, "while testing databasepager stuff I noticed that the various loaders (osg/ive/osgx) do not pass the current options to the imagePager, therefore the images cannot be found if not in the global OSG_FILE_PATH. Attached is a fix, containing modified versions ofFrom Robert Osfield, add check to only apply Options object when a valid Option object is assigned. git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14290 16af8721-9629-0410-8352-f15c8da7e697 Thu, 26 Jun 2014 09:38:56 +0000 Author : Robert Osfield From Farshid Lashkari, "I've attached a small fix for the ply loader to support Windows style line endings when reading the header."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14288 16af8721-9629-0410-8352-f15c8da7e697 Thu, 26 Jun 2014 09:33:56 +0000 Author : Robert Osfield From Aurelien Albert, "This submission fix all my problems with reading / writing "osgb" files inside "osga" archive with final archive size > 2 Go, with Windows OS (didn't tested with Linux)"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14287 16af8721-9629-0410-8352-f15c8da7e697 Wed, 25 Jun 2014 16:05:56 +0000 Author : Robert Osfield From Riccardo Corsi, "there's an inconsistency between the behavior of the method and the debug message it prints out on the console.Around line 1040 of Registry.cpp (see code below) the method returns "simpleFileName" but prints about returning "filename". In attachment the modified file, based on osg 3.2.0 ricky if(fileExists(simpleFileName)) { OSG_DEBUG << "FindFileInPath(" << filename << "): returning " << filename << std::endl; return simpleFileName; } " git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14285 16af8721-9629-0410-8352-f15c8da7e697 Wed, 25 Jun 2014 15:55:21 +0000 Author : Robert Osfield From Auelien Albert, "I'm working on an application which use 3ds file format as input and use the name of the material to "map" specific data with 3d geometry.The osg 3ds plugin modify the exported materials name in the same way it modifies the node names. I've added an option to preserve originals materials names, with the assurance of unique material names are preserved." git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14283 16af8721-9629-0410-8352-f15c8da7e697 Wed, 25 Jun 2014 15:47:59 +0000 Author : Robert Osfield Refactored the way that hole are pruned from the occluder hole list.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14282 16af8721-9629-0410-8352-f15c8da7e697 Wed, 25 Jun 2014 11:07:59 +0000 Author : Robert Osfield From Laurens Voerman, "a minor patch for osgconv to make sure the helptext is printed if you run "osgconv -h" with OSG_NOTIFY_LEVEL set too low. applys to both trunk and stable branch."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14280 16af8721-9629-0410-8352-f15c8da7e697 Wed, 25 Jun 2014 10:45:18 +0000 Author : Robert Osfield From Mikhail Izmestev, "Attached fix to avoid vector usage in StateGraph::prune and reduce heap allocations."Notes from Robert Osfield, ammended the erase so that it explictly increments the iterator before the erase call. git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14277 16af8721-9629-0410-8352-f15c8da7e697 Wed, 25 Jun 2014 09:58:49 +0000 Author : Robert Osfield changed debug message to use OSG_DEBUGgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14276 16af8721-9629-0410-8352-f15c8da7e697 Wed, 25 Jun 2014 09:57:36 +0000 Author : Robert Osfield From Alexander Sinditskiy, "My changes added support for gltexstorrage2d for texture2d.Initially I described issue in message: http://forum.openscenegraph.org/viewtopic.php?t=13820 It solves issue with compiling texture using ico from image with mipmaps I added enviroment variable OSG_GL_TEXTURE_STORAGE_ENABLE to control usage of glTexStorage2d. Initially it is disabled. It used only if image have mipmaps. Another issue is converting from internalFormat + type to sized internal format. I created sizedInternalFormats[] struct where sized internal formats are ordered from worse->best. also this struct have commented lines. Commented formats are listed in http://www.opengl.org/wiki/GLAPI/glTexStorage2D but looks like not using in osg." Note from Robert Osfield. Changed the env var control to OSG_GL_TEXTURE_STORAGE and made it's value true by default when the feature is supported by the OpenGL driver. To disable to use of glTexStorage2D use OSG_GL_TEXTURE_STORAGE="OFF" or "DISABLE" git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14275 16af8721-9629-0410-8352-f15c8da7e697 Wed, 25 Jun 2014 08:21:13 +0000 Author : Robert Osfield From Björn Blissing, "I found a minor error in documentation in include/osg/Math. Function: absolute() had the same description as the function minimum()I removed the erroneous text." git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14273 16af8721-9629-0410-8352-f15c8da7e697 Wed, 25 Jun 2014 08:18:05 +0000 Author : Robert Osfield From Björn Blissing, "Fix to support correct shininess and transparency in FBX plugin"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14272 16af8721-9629-0410-8352-f15c8da7e697 Tue, 24 Jun 2014 19:57:19 +0000 Author : Robert Osfield From Pjotr Svetachov, "There were some modes missing when exporting to .ogst so I added them."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14269 16af8721-9629-0410-8352-f15c8da7e697 Tue, 24 Jun 2014 14:58:13 +0000 Author : Robert Osfield From Farshid Lashkari, "I've attached a small for the osg ReaderWriter. It was performing a case sensitive comparison to the file extension to determine whether to write the file in ascii or binary. This meant that if the filename was "model.OSGT" it would be treated as binary, instead of ascii. I've updated the plugin to ignore case."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14267 16af8721-9629-0410-8352-f15c8da7e697 Tue, 24 Jun 2014 11:24:13 +0000 Author : Robert Osfield Merged fix to merge geometries.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14265 16af8721-9629-0410-8352-f15c8da7e697 Mon, 23 Jun 2014 12:02:41 +0000 Author : Robert Osfield Fixed nested callback calling.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14264 16af8721-9629-0410-8352-f15c8da7e697 Mon, 16 Jun 2014 16:16:10 +0000 Author : Robert Osfield Fixed check against totaly number of verticesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14262 16af8721-9629-0410-8352-f15c8da7e697 Mon, 16 Jun 2014 08:54:54 +0000 Author : Robert Osfield From Aurelien Albert, "I've got some issues using osgb files within an big osga archive (file size > 2Go).Issue is described here : http://forum.openscenegraph.org/viewtopic.php?t=13914 Here is a fix, using "std::streampos" standard type for stream positions up to 64bits. " git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14261 16af8721-9629-0410-8352-f15c8da7e697 Fri, 13 Jun 2014 17:17:09 +0000 Author : Robert Osfield Added osgUI::ColorPalette classgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14259 16af8721-9629-0410-8352-f15c8da7e697 Fri, 13 Jun 2014 17:16:51 +0000 Author : Robert Osfield Fixed typo in parameter namegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14258 16af8721-9629-0410-8352-f15c8da7e697 Thu, 12 Jun 2014 16:00:21 +0000 Author : Robert Osfield Removed generation of scroll event on the X11 button release event as X11 was generating both a pair of press/release events for a single scroll when movement.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14257 16af8721-9629-0410-8352-f15c8da7e697 Thu, 12 Jun 2014 15:24:34 +0000 Author : Robert Osfield Added if () blocks to State::convertVertexShaderSourceToOsgBuiltIns() to ensure that only parts of the shader than need replacing are replaced.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14255 16af8721-9629-0410-8352-f15c8da7e697 Thu, 12 Jun 2014 14:12:30 +0000 Author : Robert Osfield Improved positioning of combo box popup itemsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14253 16af8721-9629-0410-8352-f15c8da7e697 Thu, 12 Jun 2014 14:05:28 +0000 Author : Robert Osfield Added frame support to ComboBox.Improved the alingment support for text git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14252 16af8721-9629-0410-8352-f15c8da7e697 Wed, 11 Jun 2014 16:31:17 +0000 Author : Robert Osfield Added handling of AligmentSettings of Text layoutgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14251 16af8721-9629-0410-8352-f15c8da7e697 Wed, 11 Jun 2014 10:55:33 +0000 Author : Robert Osfield Implemented more robust intersection handling for mouse interactions. Wired up even handling of ComboBox popup.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14250 16af8721-9629-0410-8352-f15c8da7e697 Tue, 10 Jun 2014 08:50:42 +0000 Author : Robert Osfield Added using Callback::run() method to Drawable::CullCallbackgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14249 16af8721-9629-0410-8352-f15c8da7e697 Mon, 9 Jun 2014 13:46:44 +0000 Author : Robert Osfield Fixed handling of Drawable callbacks and NumChildrenRequiringEventTraversalgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14248 16af8721-9629-0410-8352-f15c8da7e697 Fri, 6 Jun 2014 15:05:31 +0000 Author : Robert Osfield Removed redudent NodeVisitor::s/getUserData() as osg::Object provide this.Added using run entry to InteractiveImageHandler to quieten warning git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14247 16af8721-9629-0410-8352-f15c8da7e697 Fri, 6 Jun 2014 09:12:43 +0000 Author : Robert Osfield Added using NodeCallback::run() to avoid warningsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14246 16af8721-9629-0410-8352-f15c8da7e697 Fri, 6 Jun 2014 09:01:25 +0000 Author : Robert Osfield Added missing OSG_EXPORTgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14245 16af8721-9629-0410-8352-f15c8da7e697 Thu, 5 Jun 2014 16:26:13 +0000 Author : Robert Osfield Refactored Callback system in osg::Node, osg::Drawable, osg::StateSet and osg::StateAttribute to use a new osg::Callback base class.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14244 16af8721-9629-0410-8352-f15c8da7e697 Wed, 4 Jun 2014 08:59:31 +0000 Author : Robert Osfield Updated shaders from OpenSceneGraph-Data sources Tue, 3 Jun 2014 15:05:51 +0000 Author : Robert Osfield From Pjotr Sventachov and Robert Osfield, added callback unit test to osgcallback example, to use test run osgcallback --test, if everything is functioning then test1 to test7 messages should be reported to the console. Tue, 3 Jun 2014 09:52:55 +0000 Author : Robert Osfield Reverted change of Node::ParentList from being a vector back to a vector Tue, 3 Jun 2014 09:23:24 +0000 Author : Robert Osfield Refactor osg::Geode to subclass from osg::Group and reuse the NodeList children container Mon, 2 Jun 2014 16:20:39 +0000 Author : Robert Osfield Removed OSG_USE_BOUND and associated osg::Bound adapter class to avoid problems with BoundingBox::expandBy/expandByRadius() implementation choosing a null BoundingBox from the osg::Bound class causing crashes. Mon, 2 Jun 2014 08:13:39 +0000 Author : Robert Osfield From Roni Zanolli, build fix for iPhone Fri, 30 May 2014 16:44:36 +0000 Author : Robert Osfield Implemented basic frame graphic Thu, 29 May 2014 15:21:42 +0000 Author : Robert Osfield Futher work on ComboBox/Popup Thu, 29 May 2014 10:51:26 +0000 Author : Robert Osfield Added beginnings of ComboBox popup functionality. Wed, 28 May 2014 10:18:57 +0000 Author : Robert Osfield Added cached Depth and ColorMask to reduce the amount of duplicate state in the osgUI subgraph Wed, 28 May 2014 10:06:14 +0000 Author : Robert Osfield Replaced Widget::GraphicsSubgraph with GraphicsSubgraphMap to allow finer control of when the rendering subgraphs are done. Tue, 27 May 2014 14:14:51 +0000 Author : Robert Osfield Improved handling of text Mon, 26 May 2014 16:32:20 +0000 Author : Robert Osfield Removed Dialog/Popup::open/close() methods as they are replaced by the setVisible() method Mon, 26 May 2014 16:27:33 +0000 Author : Robert Osfield Implemented Widger::Visible and Enabled usage Mon, 26 May 2014 16:15:33 +0000 Author : Robert Osfield Added Visible and Enalbed properties to Widget Mon, 26 May 2014 16:15:12 +0000 Author : Robert Osfield Fixed missing initilaizer Mon, 26 May 2014 15:58:18 +0000 Author : Robert Osfield Added item serializer Fri, 23 May 2014 18:59:16 +0000 Author : Robert Osfield Implemented clipping of widget to the widgets extents. Fri, 23 May 2014 15:00:49 +0000 Author : Robert Osfield Implemented scheme for making sure nested widgest overdraw parent widgets graphics Fri, 23 May 2014 15:00:09 +0000 Author : Robert Osfield Added wrappers for open and close methods Thu, 22 May 2014 10:02:35 +0000 Author : Robert Osfield Added osgUI::Widget::set/getGraphicsSubgraph() to hold the subgraph that does the rendering portion of widgets Wed, 21 May 2014 16:15:02 +0000 Author : Robert Osfield Addd method implementation in serializers Wed, 21 May 2014 10:17:31 +0000 Author : Robert Osfield Fixed handling of traverse Wed, 21 May 2014 09:45:11 +0000 Author : Robert Osfield Improved handling of callback object to open the door to use of general osg::CallbackObject as mechnisms for something simialr to Qt's signal/slot mechanism. Wed, 21 May 2014 09:07:25 +0000 Author : Robert Osfield Added osg::runNamedCallbackObjects(..) convinience method for run all named osg::CallbackObjects attached to an osg::Object Wed, 21 May 2014 09:06:17 +0000 Author : Robert Osfield Renamed callbacks to avoid overlap with Node callbacks Tue, 20 May 2014 16:09:34 +0000 Author : Robert Osfield Moved the _boundingSphere set method into the update section of the Drawable::getBoundingBox() methodAdded an UpdateVisitor::apply(Drawable&) implementation. Tue, 20 May 2014 15:34:12 +0000 Author : Robert Osfield From Pjotr Svetachov, "I stumbled on a little bug with the new drawables. I was distributing points data into different drawables that I used in a LOD later. When simplifying the system to not use geodes anymore I came upon the following bug: If Drawable::getBoundingBox would compute an invalid bounding box (if it was for example empty) it would make a bounding sphere with a infinite radius which counts as a valid sphere in osg.Attached is a small fix." Tue, 20 May 2014 08:35:39 +0000 Author : Robert Osfield Improved the handling of updating of text Tue, 20 May 2014 08:35:19 +0000 Author : Robert Osfield Added shell of Popup class Tue, 20 May 2014 08:34:32 +0000 Author : Robert Osfield Added check against whether an event has been handled or not before actioning escape/quit. Mon, 19 May 2014 10:11:50 +0000 Author : Robert Osfield Add shell of Dialog class Mon, 19 May 2014 09:30:36 +0000 Author : Robert Osfield Added handling of up/down key to ComboBox Fri, 16 May 2014 19:24:58 +0000 Author : Robert Osfield Added initial cut of ComboBox Fri, 16 May 2014 10:38:40 +0000 Author : Robert Osfield Added initial shell of PushButton implementation Thu, 15 May 2014 16:30:17 +0000 Author : Robert Osfield Added support for intesecting Drawable that are attached directly to the scene graph without an osg::Geode Thu, 15 May 2014 14:57:28 +0000 Author : Robert Osfield From Sebastian Messerschmidt, "There was some small error due to MS non-conformity handling comments correctly." Thu, 15 May 2014 14:45:28 +0000 Author : Robert Osfield From Pjotr Svetachov, build fixes for VisualStudio Thu, 15 May 2014 13:34:50 +0000 Author : Robert Osfield Added osgGA dependency Thu, 15 May 2014 13:22:47 +0000 Author : Robert Osfield Placed the #include within #ifdef OSG_USE_BOUND to prevent unncessary inclusion of Node header when OSG_USE_BOUND is false. Thu, 15 May 2014 09:26:59 +0000 Author : Robert Osfield Added Node::asDrawable() and Node::asGeometry() methods to provide a low cost way of casting a node to Drawable and Geoemtry.Changed the Group::computeBound() method so that it takes account of the a Drawable's BoundingBox. Wed, 14 May 2014 16:52:18 +0000 Author : Robert Osfield Fixed the bounding sphere computation and handling of Drawable as the root of the scene graph Wed, 14 May 2014 16:01:40 +0000 Author : Robert Osfield Further work on Bound class/Node::getBound() and Drawable::getBound() and usage in OSG codebase Wed, 14 May 2014 16:00:08 +0000 Author : Robert Osfield Cleaned up code Wed, 14 May 2014 10:19:43 +0000 Author : Robert Osfield Tue, 13 May 2014 08:43:07 +0000 Author : Robert Osfield Changed the Node::ParentList to be a list of osg::Node rather than osg::Group, and added addChild, removeChild, replaceChild virtual method to Node to enable code to user code compile with minimal modifications to account for the new change to the Node ParentList. Mon, 12 May 2014 12:10:35 +0000 Author : Robert Osfield From Farshid Lashkari, "As discussed, I've added the ability to handle Drawable objects within the NodeVisitor class. Here is an overview of the changes:- Added apply(Drawable) and apply(Geometry) to NodeVisitor - Added accept(NodeVisitor) method to Drawable/Geometry - Added traverse(NodeVisitor) to Geode which calls accept(NodeVisitor) on all Drawables - Updated CullVisitor to use new apply(Drawable) to handle drawables. The apply(Billboard) method still manually handles the drawables since it is depends on the billboard settings. I needed to disable the traverse within billboard to prevent duplicate traversal of drawables. - Update other osgUtil node visitors (GLObjectsVisitor, IncrementalCompileOperation, ..) to use new apply(Drawable) method. " Mon, 12 May 2014 11:27:54 +0000 Author : Robert Osfield Added beginnings of new osgUI library, a replacement for osgWidget that works fully in 3D/stereo and is scriptable. Tue, 6 May 2014 16:38:57 +0000 Author : Robert Osfield Replaced obsolete __linux usage. Tue, 6 May 2014 09:43:32 +0000 Author : Robert Osfield From Stephan Huber, "Xcode changed the default std-lib-implementation again. Now it’s GNU++98 instead of C++11. I adapted the cMakeList.txt files accordingly to add this new option so we can set it explicitly and link against 3rdparty-c++-libs." Tue, 6 May 2014 08:37:39 +0000 Author : Robert Osfield From Stephan Huber, "Please revert the change to FindQuickTime.cmake as this breaks compilation for IOS and possibly OS X." Fri, 2 May 2014 09:12:36 +0000 Author : Robert Osfield From Farshid Lashkari, "fix for the Collada loader where it would access a null string in some cases" Fri, 2 May 2014 09:11:16 +0000 Author : Robert Osfield From Ali Botorabi, "recently I ran into a problem with Microsoft's Appverifier while using OpenThreads on win32 platform. The Appverifier complained about an invalid thread handle during starting of a new thread. After looking closer into the problem it seemed that indeed a potential root of problem may be in the thread startup code. See the line below in Win32Thread.cpp (line number 347): pd->tid.set( (void*)_beginthreadex(NULL,static_cast(pd->stackSize),ThreadPrivateActions::StartThread,static_cast(this),0,&ID)); the method "pd->tid.set" sets the thread id, however via the startup function "ThreadPrivateActions::StartThread" that thread id is used (see further down the call hierarchy the line "int status = SetThreadPriority( pd->tid.get(), prio);". Until now I never ran into any problem in debug or release builds, though. It seems that furtunately the tid.set method was executed always before the tid.get method in the startup code. However, this may make trouble in the furture. A simple solution is the following: just replace the line above with following two lines: pd->tid.set( (void*)_beginthreadex(NULL,static_cast(pd->stackSize),ThreadPrivateActions::StartThread,static_cast(this),CREATE_SUSPENDED,&ID)); ResumeThread(pd->tid.get()); The trick is just starting the thread in suspended mode so the StartThread function does not get executed and we can safely store the tid by pd->tid.set. Then start the Thread by calling ResumeThread." Thu, 1 May 2014 15:50:14 +0000 Author : Robert Osfield From Stephan Huber, fix for OSX build Wed, 30 Apr 2014 13:19:22 +0000 Author : Robert Osfield Renamed the new include/osg/OpenGL automatically configured header file to include/osg/GL replacing the original hand built GL header Wed, 30 Apr 2014 11:51:40 +0000 Author : Robert Osfield From Sebastian Messerschmidt, "attached is the compile/linker fix for multiple definitions of getTypeEnum when compiling the Lua with VisualStudio and potentially other compilers. " Tue, 29 Apr 2014 15:14:39 +0000 Author : Robert Osfield From Pjotr Svetachov, "have added some missing serializers for RigGeomery. Withouth them I ran into two issues.At first you get a bunch of warnings that osg::ComputeBoundCallback and osg::UpdateCallback were unsupported wrapper classes when converting fbx models with skeletal animation to osg(t/b). The second issue was that when reading, the readers fail to read the ComputeBoundCallback and UpdateCallback and set them to NULL which messes up the RigGeometry. Because a RigGeometry makes his own classes in the constructor it might be preferable to not write them at all, because now those classes are being made two times when reading a RigGeometry. But after thinking about this that would place too much limits on them (you won't be able to share or name them and save that information or make a new inherited class from them and write that one) So I ended up thinking the best way was to just write the files. " Tue, 29 Apr 2014 13:41:35 +0000 Author : Robert Osfield From Pjotr Svetachov, "Today I found a bug in the IutputStream class when saving array attributes in vec3b format. It looks like my compiler takes the wrong overload and outputs integers instead of characters. The problem is that vec3b is of type signed char and that is not the same as char ( see http://stackoverflow.com/questions/436513/char-signed-char-char-unsigned-char ) and visual studio 2013 will promote it to integer when choosing an overload. It looks like that the InputStream class already takes care of this issue (if it didn't it would have read everything ok and I would have not even stumbled upon this bug. :) )" Tue, 29 Apr 2014 12:19:21 +0000 Author : Robert Osfield From Mattias Helsing, "I finally got to fix the cmake Modules that have duplicates in later version of cmake. See attached submission. I have tested the ones that I compile myself (GDAL, Freetype, ZLIB) on ubuntu 12.04 with cmake-2.8.7." Tue, 29 Apr 2014 12:18:51 +0000 Author : Robert Osfield From Paul Martz, "There is no standard place for gl/glcorearb.h on Windows. Previously, the only way to get OSG to build for core profile was to append an additional include directory ("/I") onto the CFLAGS variables This submission adds a FindGLCORE.cmake script so that the path to gl/glcorearb.h can be specified with a variable, GLCORE_ROOT, either in CMake or the environment.Currently this submission is Windows-only. I don't think OSX or Linux require any help in locating gl/glcorearb.h. But if they do, this submission can be easily modified. Files: - "CMakeLists.txt" is the top-level file. - FindGLCORE.cmake" and "OsgMacroUtils.cmake" go in CMakeModules. " Mon, 28 Apr 2014 14:58:36 +0000 Author : Robert Osfield From Pjotr Svetachov, "I had the osgvolume example crash on me when loading large volume datasets due to an overflow in image.cpp after a unneeded cast from unsigned int to int. Here is a small fix." Mon, 28 Apr 2014 14:57:05 +0000 Author : Robert Osfield From Jason Beverage, "Here is a fix for a small race condition in osgDB::makeDirectory. It attempts to create all the directories in the given path and stops attempting to make directories when one of them fails. I've added a check to see if the failure occurred b/c the directory was created by another thread or process.We were running into issues occasionally in osgEarth where multiple threads were writing out files like /1/2/3.jpg and /1/3/4.jpg. Both threads would try to create the /1 directory and only one of them would succeed. So the first thread would write out the full /1/2/3.jpg while the second thread wouldn't create the /1/3 directory b/c /1 was already created and the writing of /1/3/4.jpg would fail. " Mon, 28 Apr 2014 11:53:58 +0000 Author : Robert Osfield Fixed type error Fri, 25 Apr 2014 08:57:27 +0000 Author : Robert Osfield From Pjotr Svetachov, "For me osgviewer.cpp and Renderer.cpp were not compiling (visual studio 2013 with profile GL2) because they were still using GLuintEXT. So I changed that, see the attached files.I also noticed that the generated OpenGL header were not copied to the installation directory so my own application could not find it." Fri, 25 Apr 2014 08:56:53 +0000 Author : Robert Osfield Reordered the configuiration file blocks to make it more understandable Fri, 25 Apr 2014 08:18:03 +0000 Author : Robert Osfield From Paul Martz, fixed placement of OpenGL header so that it gets generated and placed in the build directory as per the Config file Thu, 24 Apr 2014 17:26:46 +0000 Author : Robert Osfield From Farshid Lashkari, "I've attached a small fix to the Collada loader which prevents a null pointer access in some cases." Thu, 24 Apr 2014 17:23:16 +0000 Author : Robert Osfield From Lionel Lagarde, "In the ::apply method, when the image data need to be re-uploaded, the Texture2DArray checks if the TextureObject can be re-used. The test was made using the constant 1 instead of the real texture depth, so the TextureObject was never re-used." Thu, 24 Apr 2014 17:14:54 +0000 Author : Robert Osfield From Kristofer Tingdahl, "I and my team have gone over the code again, and we feel that we are comfortable in our current proposal for change. It goes deeper than it did before, and I explain why:There was code in the osgViewer/Viewer.cpp and osgViewer/CompositeViewer.cpp that transformed the Y-coordinates of an event. The code in the composite viewer did however miss the touch-data of the event. I thought that it should really be the GUIEventAdapter that should know about this, and hence I added the GUIEventAdapter::setMouseYOrientationAndUpdateCoords which is re-computing the coordinates. First I simply added a boolean to the setMouseYOrientation function: setMouseYOrientation( MouseYOrientation, bool updatecooreds=false ); but then the serializer complained. This function is called from both the Viewer and the CompositeViewer. We have not tested from the viewer, but I cannot see it would not work from visual inspection. The other change is in MultiTouchTrackballManipulator::handleMultiTouchDrag. I have removed the normalisation. The reason for that is that it normalised into screen coordinates from 0,0 to 1,1. The problem with that is that if you have a pinch event and you keep the distance say 300 pixels between your fingers, these 300 pixels represent 0.20 of the screen in the horizontal domain, but 0.3 of the screen in the vertical domain. A rotation of the pinch-fingers will hence result in a zoom in, as the normalised distance is changing between them. A consequence of this is that I have changed the pan-code to use the same algorithm as the middle-mouse-pan. The rest of it is very similar from previous revision, and there has been some fine-tuning here and there. " Thu, 24 Apr 2014 10:49:57 +0000 Author : Robert Osfield From Mattias Helsing, "Seems I was only half right given what you asked for. CMP0017 only says that modules that are found and ran from cmake modules dir should prefer cmake-provided modules. find_package() and include() still look in CMAKE_MODULE_PATH first.After some investigating I've come up with a proposal examplified in the attached FindGDAL.cmake script. It simply calls the cmake provided FindGDAL.cmake if it exists and returns if it succeeds in finding GDAL using that, otherwise continue with our local cmake code. Pro: Wont clutter our root CMakeLists.txt Con: If we begin to write more advanced Findxxx modules (using COMPONENTS, REQUIRED etc.) we may have to revise this scheme. " Thu, 24 Apr 2014 10:38:58 +0000 Author : Robert Osfield Fixed reference invalidation bug. Thu, 24 Apr 2014 07:22:55 +0000 Author : Robert Osfield Fixed typo in OPENSCENEGRAPH_OPENGL_HEADER name Thu, 24 Apr 2014 07:20:44 +0000 Author : Robert Osfield Removed header as this CMake generated configuration file is not required to be part of svn repository Wed, 23 Apr 2014 19:30:33 +0000 Author : Robert Osfield Added src/osg/OpenGL.in configuration file and include/osg/OpenGL header files Wed, 23 Apr 2014 09:08:26 +0000 Author : Robert Osfield Introduced new scheme for setting up which version of OpenGL/OpenGL ES the OSG is compiled for.To select standard OpenGL 1/2 build with full backwards and forwards comtability use: ./configure make OR ./configure -DOPENGL_PROFILE=GL2 To select OpenGL 3 core profile build using GL3/gl3.h header: ./configure -DOPENGL_PROFILE=GL3 To select OpenGL Arb core profile build using GL/glcorearb.h header: ./configure -DOPENGL_PROFILE=GLCORE To select OpenGL ES 1.1 profile use: ./configure -DOPENGL_PROFILE=GLES1 To select OpenGL ES 2 profile use: ./configure -DOPENGL_PROFILE=GLES2 Using OPENGL_PROFILE will select all the appropriate features required so no other settings in cmake will need to be adjusted. The new configuration options are stored in the include/osg/OpenGL header that deprecates the old include/osg/GL header. Mon, 14 Apr 2014 16:16:08 +0000 Author : Robert Osfield Fixed comment Sun, 13 Apr 2014 16:04:27 +0000 Author : Robert Osfield Renamed FindFreeType.cmake to FindFreetype.cmake to enable CMake build to pick up on CMake's own FindFreetype.cmake when it's available. Wed, 9 Apr 2014 17:40:27 +0000 Author : Robert Osfield From Paul Cheyrou-Lagreze, "Attached is fix/feature for FBX osgplugins against latest trunk:- ReaderWriterFBX.cpp: add "z up scene axis" support: FBX provides facility to convert model scene axis during conversion. Currently fbx plugin convert axis to fbx:opengl axis system (which is arbitrarily at Y up, as opengl is in reality axis agnostic) and sometimes what is needed is Z up so added an option for Z up conversion - FindFBX.cmake: add support for latest fbx sdk ( 2014.2 )" Wed, 9 Apr 2014 17:20:26 +0000 Author : Robert Osfield Disabled warnings to address issues in FBX headers that generate lots of warnings that we can't fix. Tue, 8 Apr 2014 19:42:05 +0000 Author : Robert Osfield Added extra search paths to add compatibility with Kubuntu/Ubuntu 14.04 now locaton for freetype Tue, 8 Apr 2014 17:45:21 +0000 Author : Robert Osfield Updated ChangeLog and fixed Contributors list Tue, 8 Apr 2014 12:00:52 +0000 Author : Robert Osfield From Remo Eichenberger, "I have extended the TIFF plugin that allows you to write LZW or JPEG compressed TIFF's. Options are:tiff_compression = lzw | jpeg" Tue, 8 Apr 2014 11:48:34 +0000 Author : Robert Osfield From Sebastian Messerschmidt, "n the trunk version the osgGA::GUIActionAdapter has additional functions for lineIntersection which use osgGA::GUIEventAdapter&, but the class declaration is neither forwarded, nor is the header included. Using the trunk together with osgEarth 2.5 will fail to build, due to the missing type.Attached is the file forward declaring osgGA::GUIEventAdapter." Tue, 8 Apr 2014 11:17:59 +0000 Author : Robert Osfield From Pjotr Svetachov, "We had a small problem converting skeleton animations from fbx to osgt format. Turned out that the serializer didn't handle bone names with spaces very well (the 3ds studio max biped for instance has spaces by default). Here is a small fix for the problem." Tue, 8 Apr 2014 11:08:05 +0000 Author : Robert Osfield From Pjotr Svetachov, previous obj "commit broke compilation under visual studio 2013. To use std::not1 you need to include the functional header. Here is a fix." Mon, 7 Apr 2014 15:04:34 +0000 Author : Robert Osfield Fixed build when using of double BoundingBox/BoundingSphere Mon, 7 Apr 2014 14:17:57 +0000 Author : Robert Osfield From Jan Peciva, "I am sending four fixes to obj plugin:- materialName used to be not stripped of whitespace, making number of models fail to load materials; now fixed - stripping was considering spaces only, thus models using tabs had problems to load correctly; fixed - fixed references to textures; they did not performed conversion to native directory separators - make d (dissolve) takes precedence over Tr (transparency); there seems to be a confusion about the Tr item - some claiming 1 to be opaque and 0 transparent, while number of models uses exactly the opposite. d (dissolve), if present in the model, does not suffer from this confusion, thus using it instead fixes the problem for many many models. I put many comments to the file concerning d and Tr item as others may further investigate. Let me know in the case of any problems." Mon, 7 Apr 2014 14:11:14 +0000 Author : Robert Osfield From Marcel Pursche, "The problem is that when OpenThreads is build with the Linux pthreads implementation all threads inherit the processor affinity from their parent thread. This behavior is also described in the pthreads man page (http://man7.org/linux/man-pages/man3/pthread_create.3.html):> > Linux-specific details > The new thread inherits copies of the calling thread's capability > sets (see capabilities(7)) and CPU affinity mask (see > sched_setaffinity(2)). > To prevent this behaviour I wrote a patch that explicitly sets the affinity mask to all cores of the system, if no specific affinity was defined with PThread::setProcessorAffinity(unsigned int) . Thank you! " Mon, 7 Apr 2014 14:03:40 +0000 Author : Robert Osfield From Bjorn Blessing, "I got bored of the constant reports of “missing chunk 0xA08A” when reading 3ds-files. After a bit of research I discovered that this property is related to the advanced transparency settings for the material in 3D studio. In this case the falloff parameter. These controls affect the opacity falloff of a transparent material. And the property chooses whether falloff is in or out. I have added the property to the file reader BUT no changes are made to make this property propagate into the osgMaterial. But at least we get rid of this annoying error message." Mon, 7 Apr 2014 13:52:01 +0000 Author : Robert Osfield From Bjorn Hein, "please find attached a small fix for RayIntersector.cpp.* Changes are made against trunk * Reason: crashes when using specific constructor from RayIntersector * Info: Line 42: added in constructor RayIntersector::RayIntersector(const Vec3d& start, const Vec3d& direction) missing initialisation of _parent " Mon, 7 Apr 2014 13:48:15 +0000 Author : Robert Osfield From Paul Martz, "We discussed the issue of GL_RED_SNORM and GL_RG_SNORM some time ago, but the issue was never completely resolved. Please see the attached submission to fix the issue.osg/GL2Extensions was incorrectly defining GL_RED_SNORM and GL_RG_SNORM as part of the definitions for OpenGL v3.1. However, a quick review of the 3.1 spec indicates that these are not part of the 3.1 standard. My attached change moves these definitions out of the #ifndef GL_VERSION_3_1 conditional block, and defines them conditionally if not already defined. This allows the DDS plugin to build for GL3. " Fri, 4 Apr 2014 11:25:51 +0000 Author : Robert Osfield Fixed iso surface shaders Tue, 1 Apr 2014 18:56:57 +0000 Author : Robert Osfield Improved the setting of sample density/ratio so that they are consistent Tue, 1 Apr 2014 18:33:02 +0000 Author : Robert Osfield Fixed handling of volume tiles with a region. Thu, 27 Mar 2014 12:47:44 +0000 Author : Robert Osfield Added cube and hull rendering support Wed, 19 Mar 2014 17:56:40 +0000 Author : Robert Osfield Restructured the handling of TileData to make it more extensible and flexible. Tue, 18 Mar 2014 18:14:15 +0000 Author : Robert Osfield Addd ExteriorTransparencyFactorProperty for support of upcomming functionality of rendering a cube volume with a hull volume inside it. Mon, 17 Mar 2014 15:54:52 +0000 Author : Robert Osfield Added support for animating volume hulls. Thu, 13 Mar 2014 14:02:50 +0000 Author : Robert Osfield From Stephan Huber, "attached is a fix for the rest-http-plugin which should fix the font-issue reported by Phil. The old implementation did forward all requests to the internal http-server via user-events. This prevented error-reporting for missing files, as the request was accidentally handled by the plugin. As a request for missing font-file succeeds and returned an empty file, the curl-plugin hands the data happily to the freetype-plugin which failed trying to load an empty font-file, obviously.My fix was to rename the standard request handler to a specialized user-event-handler which handles only requests for "/user-event“ So fonts should work on iOS when loaded remotely, even when a local file is available and with the resthttp-plugin serving the presentation. " Thu, 13 Mar 2014 13:59:34 +0000 Author : Robert Osfield From Stephan Huber, fix for building lua plugin from local source Thu, 13 Mar 2014 10:28:18 +0000 Author : Robert Osfield Added support for directly invoking scripts using and to enable scripts to interact with each other. Wed, 12 Mar 2014 11:01:09 +0000 Author : Robert Osfield Improved support for passing events between scripts and Present3D application Tue, 11 Mar 2014 10:52:10 +0000 Author : Robert Osfield Added PresentationInterface class to make it more convinient to access the current presentation from scripting languages Mon, 10 Mar 2014 19:08:46 +0000 Author : Robert Osfield Added scripting support for JumpData, KeyPosition, HomePosition and parts of SlideEventHandler that enable dispatching of user created events. Fri, 7 Mar 2014 11:09:25 +0000 Author : Robert Osfield Added ability to replace callback objects via lua scripts to allow one to override callbacks.Added fallback for osgGA::Widget::Extents. Thu, 6 Mar 2014 10:27:26 +0000 Author : Robert Osfield Added support for osg::Image to the lua plugin. Tue, 4 Mar 2014 13:36:13 +0000 Author : Robert Osfield Implement add, set and get methods for StateSet. Tue, 4 Mar 2014 13:35:27 +0000 Author : Robert Osfield Relaxed the handling of Image objects Tue, 4 Mar 2014 13:34:23 +0000 Author : Robert Osfield Fixed handling of OverrideValue Fri, 28 Feb 2014 17:38:36 +0000 Author : Robert Osfield From Stephan Huber, fix for handling font paths on a local machine when other files have been source from a remote machine. Thu, 27 Feb 2014 10:02:55 +0000 Author : Robert Osfield Added MapReverseIterator implementation. Wed, 26 Feb 2014 18:18:08 +0000 Author : Robert Osfield Added MapIteratorObject and support for it in the lua plugin to provide map iterator functionality. Wed, 26 Feb 2014 11:01:35 +0000 Author : Robert Osfield Added Map serializer size() method and support for it in the lua plugin. Renamed functions in lua plugin to be more consistent. Wed, 26 Feb 2014 08:26:51 +0000 Author : Robert Osfield Added support for vector and map containers in osgDB::Serailizer's and lua plugin. Mon, 24 Feb 2014 10:19:48 +0000 Author : Robert Osfield Added Vector serialization and support in lua plugin top enable script users to set/get vector properties such as osg::Array, osg::PrimitiveSet and children lists. Thu, 13 Feb 2014 18:52:41 +0000 Author : Robert Osfield Fixed handling of enums in Lua plugin.Fixed computation of getNumPrimitives() so that it returns 0 when PrimitiveSet is zero. Added missing properties to PrimitiveSet serializers Thu, 13 Feb 2014 11:01:36 +0000 Author : Robert Osfield Added inital cut of PrimitiveSetSet wrappers to scripting Wed, 12 Feb 2014 18:10:52 +0000 Author : Robert Osfield Added full range of Array subclasses to wrappers Wed, 12 Feb 2014 18:03:53 +0000 Author : Robert Osfield Added initial support for wrapping osg::Array in a way that can be used via scripting. Tue, 11 Feb 2014 18:18:48 +0000 Author : Robert Osfield Fixed handling of assignment of User Object's that replace existing Object with the specified propertyName. Tue, 11 Feb 2014 18:07:37 +0000 Author : Robert Osfield Improved support for setting/getting properties via the osg::UserDataContainer. Tue, 11 Feb 2014 10:56:51 +0000 Author : Robert Osfield Quitened down debug messages Tue, 11 Feb 2014 09:43:08 +0000 Author : Robert Osfield Changed implementation of enums to use strings as lua type to make it easier to do comparisons and track values Mon, 10 Feb 2014 18:07:26 +0000 Author : Robert Osfield Implemented Widget::handle, handleImplementation, traverse and travseImplementation() wrappers to enable them to be extended via scripting Mon, 10 Feb 2014 16:44:13 +0000 Author : Robert Osfield Added support for serailizing and scripting BoundingBox and BoundingSphere objects Sat, 8 Feb 2014 17:53:51 +0000 Author : Robert Osfield Fixed handling of setting member variables via the Serializers when the value is the default.Added support for more features of the osgDB::Widget class. Fixed handling of boolean values in the Lua plugin Sat, 8 Feb 2014 10:39:20 +0000 Author : Robert Osfield Added support for enum's in the Lua script integration Sat, 8 Feb 2014 10:38:51 +0000 Author : Robert Osfield Fixed export Fri, 7 Feb 2014 16:06:57 +0000 Author : Robert Osfield Fixed handling of returns when invoking a script, removed some debug messages, added a warning message when detecting erronous types.Added FocusBehaviour enum to osgGA::Widget serialization Fri, 7 Feb 2014 10:46:16 +0000 Author : Robert Osfield Added initial Widget wrapper Thu, 6 Feb 2014 17:32:41 +0000 Author : Robert Osfield Moved experimental Widget class to osgGA Add computeIntersections() to the osgGA::GUIActionAdapter base class to enable intersection tests without needing to directly link to osgViewer. Thu, 6 Feb 2014 17:04:40 +0000 Author : Robert Osfield Added osg::CallbackObject suport to the experiment Widget base class to enable script language extension of widgets Thu, 6 Feb 2014 11:25:37 +0000 Author : Robert Osfield Added support for casting objects to allow one to access a parent classes methods. Wed, 5 Feb 2014 11:08:39 +0000 Author : Robert Osfield Tweaked the detection of when the position transform for the hull is required. Wed, 5 Feb 2014 11:07:03 +0000 Author : Robert Osfield Added support for a tag that can be used within tag. Wed, 5 Feb 2014 11:04:29 +0000 Author : Robert Osfield Improved the white space trimming Tue, 4 Feb 2014 16:49:13 +0000 Author : Robert Osfield Added lua-5.2.3 as source code so it can be optinally built as part of the lua plugin, making it possible to work out of the box across all platforms with needing lua as an external dependency.Added the Cmake option OSG_USE_LOCAL_LUA_SOURCE to control whether to build and use the Lua source code in the lua plugin, or look for lua as an external dependency. Tue, 4 Feb 2014 16:46:33 +0000 Author : Robert Osfield Added test code for nesting a within a volume tag. Tue, 4 Feb 2014 11:24:01 +0000 Author : Robert Osfield From Stephan Huber, added support for compile source code of lua with the lua plugin Mon, 3 Feb 2014 15:35:22 +0000 Author : Robert Osfield Fixed error in the computation of tex coords of Maximum Intensity Projection + Transfer Function rendering. Fri, 31 Jan 2014 19:18:18 +0000 Author : Robert Osfield Replaced C cast to long with a static_cast() to avoid a build error under Mingw 64. Fri, 31 Jan 2014 16:20:29 +0000 Author : Robert Osfield Added osg::CallbackObject to be used to extend C++ class from scripting languages by providing callback objects assigned to the osg::Object UserDataContainer, with the CallbackObject's Name used to map the "method" provided by the CallbackObject. The CallbackObject is implemented by the script engine to provide the neccessary glue to invoking the script with the appropriate input parameters and handling the output parameters.To the Lua plugin added support for assigned lua functions to C++ osg::Objects via the new osg::CallbackObject mechanism. To invoke the scripts function from C++ one must get the CallbackObject and call run on it. Renamed ScriptCallback to ScriptNodeCallback to avoid possibly confusion between osg::CallbackObject and the ScriptNodeCallback. Wed, 29 Jan 2014 11:01:24 +0000 Author : Robert Osfield Updated ChangeLog Tue, 28 Jan 2014 16:49:20 +0000 Author : Robert Osfield From Kristofer Tingdahl, made method virtual Tue, 28 Jan 2014 16:48:47 +0000 Author : Robert Osfield Fixed MingW build's handling of debug d postfix. Tue, 28 Jan 2014 15:28:17 +0000 Author : Robert Osfield Removed the invocation of gcc on all platforms Tue, 28 Jan 2014 11:01:28 +0000 Author : Robert Osfield From Kristofer Tingdahl, "the vertical bar is upside down, and hence not as the documentation says it should be. This is corrected with this patch"From Robert Osfield, changed the example so that the vertical and horizon scalar bars are rotated to the XZ plane so you can see them with the default viewer's camera orientation. Tweaked the positioning of title text of vertic scalar bar to avoid overlap of text. Mon, 27 Jan 2014 15:43:36 +0000 Author : Robert Osfield Removed unimplemented method Fri, 24 Jan 2014 17:31:09 +0000 Author : Robert Osfield From Laurens Voerman, "I experienced a crash in Geometry::fixDeprecatedData(), on certain files, and brought the problem down to a very simple test file, attached as test3.zip.There are two problems: 1> for DrawElementsUShortPrimitiveType (and UInt) the source_pindex still equals -1 and causes a crash in DrawElementsUBytePrimitiveType source_pindex is incremented, and in DrawElementsU(Short/Int)PrimitiveType primitiveNum is incremented, but never used 2> The drawelements need to be rewritten as the vertices are reordered. created a patch for osg stable branch(r14038): attached as Geometry-osg-3.2.zip and for svn brach(r14044): attached as Geometry_osg_svn.zip" Fri, 24 Jan 2014 17:06:32 +0000 Author : Robert Osfield From Aurelien Albert, "In the "apply" method of osg::FrameBufferObject, the draw buffers are always enabled, even if the target is only "READ_FRAMEBUFFER".This can lead to inconsistency if you bind a framebuffer with multiple attachments in DRAW mode and then a framebuffer with different attachment count in READ mode (for example to manually "blit" from a FBo to another). On some ATI cards (at least RADEON HD) this also leads to an "incomplete " FBO status I've added a test to enable drawbuffers only if target is "DRAW" or "READ_DRAW", this solves my problems on ATI cards." Fri, 24 Jan 2014 16:45:45 +0000 Author : Robert Osfield From Michael Schanne, "small fix for a duplicate OR operand in KdTree.cpp." Fri, 24 Jan 2014 16:28:34 +0000 Author : Robert Osfield From Torben Dannahuer, "modified findcollada.cmake which can now detect Boost 1.55 libraries, which are used by Collada in my 3rdParty package" Fri, 24 Jan 2014 16:24:59 +0000 Author : Robert Osfield From Torben Dannhauer, VisualStudio 2013 build fixes Fri, 24 Jan 2014 16:19:38 +0000 Author : Robert Osfield From Kristofer, "The osgSim::ScalarBar has a problem in that if the scalarbar has a color in one end that co-incides with the background color, one cannot see where the scalarbar ends. With this patch, we add a line around the perimiter of the bar to mark it.Secondly, we thought the text-annotation missed ticks that mark out precisely where on the bar the texts relate to, so we added that as well." Fri, 24 Jan 2014 16:01:59 +0000 Author : Robert Osfield From Marc Helbling, "I am sending a small fix in the PLY pseudo-loader; the extension was checked in plyfile.cpp thus preventing the loading of any .PLY file (extension in uppercase). The extension filtering is already handled by ReaderWriter::acceptsExtension in a case unsensitive way." Fri, 24 Jan 2014 15:40:18 +0000 Author : Robert Osfield Fixed warnings Fri, 24 Jan 2014 14:26:25 +0000 Author : Robert Osfield Changed the handling of single window configurations so that simply reuse the View::getCamera() instead of creating a slave. Fri, 24 Jan 2014 12:01:37 +0000 Author : Robert Osfield Added a getModeUsage() method that prevents any mode being automatically associated with these Texture types that are only usable using non fixed function pipeline. Fri, 24 Jan 2014 11:37:35 +0000 Author : Robert Osfield Fixed crash when reading a viewer configuration file where the EventVisitor was being re-assigned but left a dangling pointer Fri, 24 Jan 2014 10:10:43 +0000 Author : Robert Osfield From Stephan Huber, "attached is a new zip containing two small fixes: * forwarded touch-events do have a correct input-range from 0 .. 1 * I refactored sending touch-events per osc so the receiver can detect a TOUCH_ENDED better" Thu, 23 Jan 2014 19:55:37 +0000 Author : Robert Osfield Fixed warnings Thu, 23 Jan 2014 16:48:29 +0000 Author : Robert Osfield From Kristofer Tingdahl,"we have a bunch of classes that inherit osg::Node, and they create their own, internal geometry which is passed into the render bucket at the cull-traversal. Last week, we realised that these classes are not accounted for when doing an ComputeBoundVisitor- traversal, as there is no specialization in ComputeBoundVisitor for them.One solution is naturally to create a new class that would inherit the osg::ComputeBoundVisitor, and use that. I don't like that idea as the ComputeBoundVisitor does actually have what I need - it is only hidden in a protected function. I am therefor suggesting a slight generalization of the ComputeBoundVisitor with the attached patch, which is tested. The patch has two parts: we add applyBBox() so that one can use that in a customized traverse-function and add a bbox to the visitor. I considered calling this function expandByBBox(), but I though applyBBox was better. The MatrixStack is made available to the outside world. That enables a traverse-function to do whatever it wishes. I do actually only need one of the two, as I can implement what I wish either way, but adding getMatrixStack() will make more generic expansions possible. " From Robert Osfield, changed the name of the new applyBBox(..) method to applyBoundingBox(..) to keep it's naming more consistent with the rest of the OSG. Thu, 23 Jan 2014 15:37:48 +0000 Author : Robert Osfield From Stephan Huber, "attached are some fixes to the osc-plugin and the touch-implementations for iOS and os x and other small bugfixes. These fixes will normalize the orientation of the touch points, and transmitting the touch points over osc via the TUIO-protocol works now more robustly between two osg-applications.I added a new tag to p3d called forward_touch_event_to_device and renamed the existing forward_event_to_device to forward_mouse_event_to_device. This new tag will transmit touches to the virtual trackpad as touch events. I added the MultitouchTrackball to the p3d-app so zooming and moving a model remotely should now work, if you use forward_touch_event_to_device. I kept (and fixed) forward_mouse_event_to_device for background compatibility, so old presentations works as in previous versions, without the ability to zoom + scale. of course. forward_touch_event_to_device needs some more testing, (e.g. with image-streams and keystone, afaik there’s no support for touch-events...) but for a first version it works nice. " Thu, 23 Jan 2014 10:56:17 +0000 Author : Robert Osfield Removed debug message Thu, 23 Jan 2014 10:50:55 +0000 Author : Robert Osfield Changed the TransprencyProperty range to 0 to 2.0 to enable forcing opaque qualities on fragments Thu, 23 Jan 2014 10:11:15 +0000 Author : Robert Osfield Cleaned up debug message. Thu, 23 Jan 2014 10:09:53 +0000 Author : Robert Osfield Cleaned up the Qt find package, and made changed the default threading model to SingleThreaded when using Qt5 to avoid crash due to regresssion since Qt4. Thu, 23 Jan 2014 09:41:09 +0000 Author : Robert Osfield Added clean up of osg::Program that are applied by the GLObjectsVisitor, which addresses a state leak that creates GL error once the main scene graph is rendered. Thu, 23 Jan 2014 07:59:46 +0000 Author : Robert Osfield Added GL_TEXTURE_2D_MULTISAMPLE to texture mode list. Wed, 22 Jan 2014 17:29:44 +0000 Author : Robert Osfield Made protected methods virtual to allow subclassing to customize more aspects of the window setup. Wed, 22 Jan 2014 16:29:45 +0000 Author : Robert Osfield Refactored .p3d loader to make it less strict about the tag, property and value strings when matching them to supported values.Examples of supported matches are: and will be treated the same WHITE and White will be treated the same and , will all be treated the same Wed, 22 Jan 2014 11:25:54 +0000 Author : Robert Osfield Added support for sampleRatio and sampleRatioWhenMoving properties Tue, 21 Jan 2014 18:58:52 +0000 Author : Robert Osfield Build fixes for when ref_ptr<> automatic type conversion is turned off Tue, 21 Jan 2014 18:48:53 +0000 Author : Robert Osfield Added support for osgVolue::SampleRatioProperty. Fixed build errors when compiling with ref_ptr<> automatic type conversion. Tue, 21 Jan 2014 18:31:20 +0000 Author : Robert Osfield Build fixes for when ref_ptr<> has no auto type conversion Tue, 21 Jan 2014 17:27:21 +0000 Author : Robert Osfield Fixed build error Tue, 21 Jan 2014 17:00:56 +0000 Author : Robert Osfield Fixed build error due to typo. Mon, 20 Jan 2014 17:23:11 +0000 Author : Robert Osfield Integrated multipass volume rendering shaders from OpenSceneGraph-Data Mon, 20 Jan 2014 17:03:29 +0000 Author : Robert Osfield Changed the default directory for the output files to be the current working directory, with the --write-to-source-file-directory added to allow one to have the original behaviour of writing to the same directory as the original source file. Mon, 20 Jan 2014 16:21:24 +0000 Author : Robert Osfield Removed nolonger used code paths Mon, 20 Jan 2014 15:54:48 +0000 Author : Robert Osfield Disable depth test for rendering of hull backface Mon, 20 Jan 2014 15:10:49 +0000 Author : Robert Osfield From Stephan Huber, "recent commits regarding GLuint64EXT broke the build for GLES1 and GLES2. Attached you’ll find a fix which hopefully work for every platform." Mon, 20 Jan 2014 11:00:09 +0000 Author : Robert Osfield From Kristofer Tingdahl, reimplement of AntiSquish node to avoid the use of an update callback.From Robert Osfield, small ammendments to clean up header. Mon, 20 Jan 2014 10:40:49 +0000 Author : Robert Osfield From Roni Zanolli,Added use of Qt's new devicePixelRatio() method to assist with handling the upscalling of resolution on iPhone for "retina" displays.From Robert Osfield, changed Roni's code to use a #define GETDEVICEPIXELRATIO to access the versioned Qt devicePixelRatio() method to avoid duplication of the Qt version checking. Fri, 17 Jan 2014 18:20:39 +0000 Author : Robert Osfield Fixed warning Fri, 17 Jan 2014 18:20:28 +0000 Author : Robert Osfield From Stephan Huber, fix for OSX build issue Fri, 17 Jan 2014 14:02:30 +0000 Author : Robert Osfield From Kristoger Tingdahl, "the patch I sent to src/osgQt/CMakeModules.txt did not do the work on windows. I have fixed that, and also made it more generic so there is no special handling of qt5.2, but all qt5 are the same.I have tested this on: mac/qt5.2 linux/qt5.2 windows/qt5.2, and mac/qt5.1 All platforms perform as expected. The previous fix removed the -f flag to the moc-pre-processor, but on windows, it turned out that -f "osgQt/QGraphicsViewer" was needed. This becomes an include-statement in the file generated by moc which is needed for compiling it. I ask you consider this patch for the trunk and the 3.2 branch. Secondly, I wonder if it would be possible to apply my patch for FindRSVG.cmake from 22nd November in the 3.2 branch. In short, the version of librsvg must be equal or higher to 2.35: PKG_CHECK_MODULES(RSVG librsvg-2.0>=2.35) " Fri, 17 Jan 2014 13:59:29 +0000 Author : Robert Osfield From Jordi Torres, "We have a code using gcc with -Wextra flag and using OSG as a third party library. It does not compile when importing failing in EventHandler and GUIEventHandler:.... GUIEventHandler: In copy constructor 'osgGA::GUIEventHandler::GUIEventHandler(const osgGA::GUIEventHandler&, const osg::CopyOp&)': /include/osgGA/GUIEventHandler:56:9: error: base class 'class osg::Object' should be explicitly initialized in the copy constructor [-Werror=extra] It seems the diamond problem: A = osg::Object / \ / \--> Virtual inheritance B C \ / \ / D = EventHandler | | E = GUIEventHandler The most derived class(E) handles the instantiation of A (osg::Object), but all have to be responsible in case they are the ones instantiated. In case A is not initialized in the copy constructor of derived classes the default constructor will be called, which seems a bug. I've added osg::Object to the initalization list of EventHandler and GUIEventHandler copy constructors, because both classes are instantiables. " Fri, 17 Jan 2014 13:54:14 +0000 Author : Robert Osfield From Jordi Torres, "Fixed a typo in ReaderWriterCURL::ReaderWriterCURL() changed Psuedo for Pseudo." Fri, 17 Jan 2014 12:40:58 +0000 Author : Robert Osfield Fixed handling of background colours. Thu, 16 Jan 2014 17:26:35 +0000 Author : Robert Osfield Removed old redundent TexGen usage. Thu, 16 Jan 2014 17:17:37 +0000 Author : Robert Osfield Added hull="hul-filename" property support to tag that can used thus: CardiacCT Thu, 16 Jan 2014 16:08:43 +0000 Author : Robert Osfield Added support for controlling the extents of the volume rendering by nesting the hull underneath VolumeTile. Currently only supported by the new osgVolume::MultipassTechnique Thu, 9 Jan 2014 11:13:09 +0000 Author : Robert Osfield From Paul Martz, build fix for Windows GL3 build Thu, 9 Jan 2014 09:41:43 +0000 Author : Robert Osfield Added per TileData RTT Camera in prep for rendering backface of volume to a depth texture Wed, 8 Jan 2014 15:56:43 +0000 Author : Robert Osfield Changed near/far values to use CullVisitor::value_type and use std::numeric_limits<>. Wed, 8 Jan 2014 10:33:00 +0000 Author : Robert Osfield From Farshid Lashkari, "I've attached a fix for the Collada loader that prevents a crash with some files containing textures. I also converted an OSG_NOTICE to OSG_INFO to be consistent with other log messages within the loader." Wed, 8 Jan 2014 10:31:36 +0000 Author : Robert Osfield Removed more odd characters Wed, 8 Jan 2014 10:28:24 +0000 Author : Robert Osfield Removed more odd characters Wed, 8 Jan 2014 10:24:43 +0000 Author : Robert Osfield Removed odd characters Wed, 8 Jan 2014 10:16:39 +0000 Author : Robert Osfield Moved destructor to protected Tue, 7 Jan 2014 19:06:44 +0000 Author : Robert Osfield Refined the GLint64 definitions Tue, 7 Jan 2014 18:32:45 +0000 Author : Robert Osfield Removed duplicated instances of GLint64EXT declarations Tue, 7 Jan 2014 16:43:07 +0000 Author : Robert Osfield Removed execute properties via svn propdel svn:executable file Tue, 7 Jan 2014 16:29:22 +0000 Author : Robert Osfield From Farshid Lashkari, "I've attached a small change to the DAE writer to support writing out unknown transform types. It will essentially treat it as a matrix transform, using the the local to world matrix value." Tue, 7 Jan 2014 16:18:05 +0000 Author : Robert Osfield Bumped SO_VERSION number of OpenThreads to avoid conflicts with Debian SO_VERSION bump Tue, 7 Jan 2014 16:15:50 +0000 Author : Robert Osfield From Sebastian Messerschmidt, "Original shader was not running on various NVidia cards due to old syntax in shader." Tue, 7 Jan 2014 11:01:32 +0000 Author : Robert Osfield Added State::getMaxTextureCoords() and State::getMaxTextureUnits() inline methods. Mon, 6 Jan 2014 17:19:21 +0000 Author : Robert Osfield Added support for Switch::set/getValue() Mon, 6 Jan 2014 16:58:07 +0000 Author : Robert Osfield Added Group::setChild(..) and Geode::setDrawable(..) MethodObjects Mon, 6 Jan 2014 15:46:36 +0000 Author : Robert Osfield Removed the prototype MethodObject classes Mon, 6 Jan 2014 15:45:46 +0000 Author : Robert Osfield Moved osgDB::MethodObject from lua plugin into osgDB, added support for running methods via the osgDB::PropertyInterface class.Updated lua plugin to use new osgDB::PropertyInterface to run methods. Added addChild/removeChild() etc to Group.cpp, and addDrawable/removeDrawable() etc. to Geode.cpp serializers. Mon, 6 Jan 2014 10:23:26 +0000 Author : Robert Osfield Renamed the OSGSIM cmake variable to OSGSIM_LIBRARY to be consistent with the rest of the variables. Fri, 3 Jan 2014 14:36:58 +0000 Author : Robert Osfield Fixed build of V8 and Python plugins Wed, 25 Dec 2013 17:36:32 +0000 Author : Robert Osfield Preliminary support for wrapping methods in the lua script plugin. Fri, 20 Dec 2013 09:57:35 +0000 Author : Robert Osfield Added tag to .p3d to allow one to provide multiple ways to render children within a layer. Thu, 19 Dec 2013 17:13:24 +0000 Author : Robert Osfield From Kristofer Tingdahl, "the syntax of the moc executable has changed between 5.1.1 and 5.2.0 versions of qt (see below). The difference is that the argument has become mandatory after the -f option.Hence, moc will complain when osg throws in a -f without anything after it. Hence I propose removing the -f on Qt5 builds. I have tested building without -f on both qt520 and qt511, and that works well. The attached src/osgQt/CMakeLists.txt that can be patched into 3.2 safely. For the trunk, I would consider dropping the check on the version, and simply remove the option on qt5. I have tested that on qt5.1.1, and that worked fine. Question is however if it works on qt5.0. Probably it does, so the question is simplicity of CMakeList.txt vs safety." Thu, 19 Dec 2013 15:10:28 +0000 Author : Robert Osfield From Sylvain Marie, When compiling OSG for the iOS simulator, providing both -miphoneos-version-min and -mios-simulator-version-min doesn’t please clang (tested on OS X 10.9.0 with Xcode 5.0.1). Here is a small change (against commit da597ab16945c572a2ad2f4f26fcef38ed21b074) in the CMakeLists.txt to avoid this situation. Thu, 19 Dec 2013 13:53:40 +0000 Author : Robert Osfield From Michal Durkovic, "I’m building current trunk on Mac OS X 10.9 and have encountered this error during linking of osgdb_lua plugin:Undefined symbols for architecture x86_64: "lua::LuaScriptEngine::pushValue(osg::Quat const&) const", referenced from: PushStackValueVisitor::apply(osg::Quat const&) in LuaScriptEngine.o "lua::LuaScriptEngine::pushValue(osg::Plane const&) const", referenced from: PushStackValueVisitor::apply(osg::Plane const&) in LuaScriptEngine.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) Looks like LuaScriptEngine was missing implementation of those 2 member functions. Fixed src/osgPlugins/lua/LuaScriptEngine.cpp file in attachment. " Thu, 19 Dec 2013 13:49:27 +0000 Author : Robert Osfield From Stephan Hunber, "attached you’ll find some changes to osg/p3d:* a new command-line-option to present3d and a new option to the p3d-plugin to suppress any found tags * a new command-line-option to present3d to forward mouse-events via osgGA::Device (defaults to off) so we can test the interface-files with present3d better * I added a new attribute forward_to_devices for click_to_event to forward the event to all attached devices instead of handling the event locally. This will fix the annoyance with the new interface-files when toggling polygon-mode or switching light on/off. Here’s an example: 0x72 " Thu, 19 Dec 2013 13:44:42 +0000 Author : Robert Osfield From Stephan Hunber, "I found some time and ported osgDB::FileUtils and DarwinUtils across new apis to fix the warnings about deprecated api-usage.* osgDB::FileUtils uses now the Cocoa-API to determine the paths of the application-support-folder * DarwinUtils uses now modern functions of the quartz-api to get and set screen-resolutions. Removed some of the osg-deprecated stuff. " Thu, 19 Dec 2013 10:02:16 +0000 Author : Robert Osfield Implemented support for calling scripts from with Present3D. Tue, 17 Dec 2013 12:18:06 +0000 Author : Robert Osfield Added support for new osgVolume::MultiPassTechnique to Present3D. To use add property renderer="MultiPass": MyVolumeData Tue, 17 Dec 2013 10:52:50 +0000 Author : Robert Osfield Added experimental image 3d downsample function. Mon, 16 Dec 2013 11:28:10 +0000 Author : Robert Osfield Removed the unused Texture::Extensions::numTextureUnits() Fri, 13 Dec 2013 12:38:01 +0000 Author : Robert Osfield Implemented ability to switch between different shaders with new MultipassTechnique Thu, 12 Dec 2013 09:53:24 +0000 Author : Robert Osfield Added SampleRatioWhenMoving property and support to new osgVolume::MultipassTechnique. Thu, 12 Dec 2013 09:51:30 +0000 Author : Robert Osfield Applied unquie CullVisitor::Identifier rather than reusing the cloned one. Wed, 11 Dec 2013 17:20:14 +0000 Author : Robert Osfield Changed epsilon to 1e-5 to address picking problems with planaer objects Wed, 11 Dec 2013 12:00:27 +0000 Author : Robert Osfield Added initial support for 1D transfer functions to MultipassTechnique Tue, 10 Dec 2013 13:38:27 +0000 Author : Robert Osfield Added support for handling viewports with offset origins, and with it split stereo. Tue, 10 Dec 2013 10:43:48 +0000 Author : Robert Osfield Introduced SampleRatioValueProperty for more intuitive control of how many samples to take when volume rendering Mon, 9 Dec 2013 10:39:01 +0000 Author : Robert Osfield Improvements to new MultipassTechnique Fri, 6 Dec 2013 19:31:12 +0000 Author : Robert Osfield Further work on new MultipassTechnique/VolumeScene. Fri, 6 Dec 2013 09:35:57 +0000 Author : Robert Osfield From Mike Krus, compile fix to enable compiling across a wider set of versions. Tue, 26 Nov 2013 19:03:46 +0000 Author : Robert Osfield Added support for using shaders to render the RTT textures with depth Tue, 26 Nov 2013 10:38:35 +0000 Author : Robert Osfield Replaced readShaderFile() usage to readRefShaderFile() Mon, 25 Nov 2013 17:36:17 +0000 Author : Robert Osfield Added initial render to texture functionality into osgVolume::VolumeScene Fri, 22 Nov 2013 10:27:15 +0000 Author : Robert Osfield Warning fixes Fri, 22 Nov 2013 09:48:02 +0000 Author : Robert Osfield From Kristofer Tingdahl, Build fix for svg plugin that makes sure the version of librsvg is at sufficient, and fixed a missing virtual destructor warning. Fri, 22 Nov 2013 09:38:50 +0000 Author : Robert Osfield Removed trailing spaces, added missing return to last lines Thu, 21 Nov 2013 18:17:44 +0000 Author : Robert Osfield Added new osgVolume::VolumeScene and osgVolume::MultipassTechnique class shells that will be filled out to provide multi-pass volume rendering that handles mixing of 3D meshes with volume rendering and segmentation of volumes via a user defined hull mesh. Thu, 21 Nov 2013 14:21:55 +0000 Author : Robert Osfield From Stephan Huber, "CLang / LLVM on OS X seems to have a problem compiling the osgGA-serializer. (It was reported before on the list, but the error is hard to track as it shows up only sometimes)I fixed the compile-error with a dedicated destructor of osgGA::GUIEventHandler" Thu, 21 Nov 2013 14:08:01 +0000 Author : Robert Osfield From Farshid Lashkari, " recently encountered an issue attempting to load an IVE file generated by an older version of OSG. The file contained dxt1 compressed image data with mipmaps. The loaded model would cause crashes when passing the mipmap data to glCompressedTexImage2D. It seems that the size of the data array within the IVE file did not match the computed size from Image::getTotalSizeInBytesIncludingMipmaps(). This essentially made the mipmap offsets invalid within the Image object.I'm not sure if the IVE was simply generated incorrectly, or if the Image::getTotalSizeInBytesIncludingMipmaps() was modified since the file was generated. Either way, I added a simple check in the IVE loader so that it clears the mipmap offsets if the actual data size does not match the computed data size. This seems like a safe fallback since the mipmap data can be automatically generated, and it fixes the problem in my case. Also, while looking into this issue, I noticed that the osgDB::InputStream class applies the serialized image allocation mode. However, since the serializer is allocating the image data itself, it seems like it should force the allocation mode to USE_NEW_DELETE. " Thu, 21 Nov 2013 13:59:00 +0000 Author : Robert Osfield From Farshid Lashkari, "I recently encountered an issue attempting to load an IVE file generated by an older version of OSG. The file contained dxt1 compressed image data with mipmaps. The loaded model would cause crashes when passing the mipmap data to glCompressedTexImage2D. It seems that the size of the data array within the IVE file did not match the computed size from Image::getTotalSizeInBytesIncludingMipmaps(). This essentially made the mipmap offsets invalid within the Image object.I'm not sure if the IVE was simply generated incorrectly, or if the Image::getTotalSizeInBytesIncludingMipmaps() was modified since the file was generated. Either way, I added a simple check in the IVE loader so that it clears the mipmap offsets if the actual data size does not match the computed data size. This seems like a safe fallback since the mipmap data can be automatically generated, and it fixes the problem in my case. Also, while looking into this issue, I noticed that the osgDB::InputStream class applies the serialized image allocation mode. However, since the serializer is allocating the image data itself, it seems like it should force the allocation mode to USE_NEW_DELETE. " Thu, 21 Nov 2013 11:02:08 +0000 Author : Robert Osfield Converted std::max to osg::maximum to fix VS2013 build error Thu, 21 Nov 2013 10:31:34 +0000 Author : Robert Osfield Added Geometry::drawVertexArraysomplemetation(..) and drawPrimitivesImplemenation(..) methods that are called from drawImplementation(..). These new vertex methods allow subclasses from osg::Geometry to specialize the vertex array setup or how the primitives are dispatched to OpenGL. Mon, 18 Nov 2013 14:21:06 +0000 Author : Robert Osfield From Stephan Huber, "minor ios-fixes/-enhancements* force _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC for IOS device + simulator as the test does not pick the right implementation * fixed a small compile-bug for iphone-example * added a check to prevent multiple realization of a GraphicsWindowIOS-object " Mon, 18 Nov 2013 13:31:44 +0000 Author : Robert Osfield From Stephan Huber, compile fix for OpenGL ES on iOS. Mon, 18 Nov 2013 13:25:55 +0000 Author : Robert Osfield From Stephan Huber, * GUIEventAdapter: add support for getting normalized touch points * MultiTouchTrackball: some code cleanup and support for normalized touch-points * oscdevice: receiving and sending multi-touch-events via the Cursor2D-profile from TUIO * added some documentation Mon, 18 Nov 2013 12:46:00 +0000 Author : Robert Osfield Added panning and zooming functionality to transfer function UI prototype code. Mon, 18 Nov 2013 12:45:04 +0000 Author : Robert Osfield Added BoundingBox::contains(const vec_type& v, value_type epsilon) method with new epsilon parameter to make it easier to test for containment in the presence of numerical errors Fri, 15 Nov 2013 16:15:09 +0000 Author : Robert Osfield Moved Handled propety from GUIEventAdapter to Event base class.Added CameraManipulator::finishAnimation() method to allow application code to stop any animation/throw of manipulators. Tue, 12 Nov 2013 14:21:00 +0000 Author : Robert Osfield Restored the rescaleToZeroToOneRange() to address rendering issues. Mon, 11 Nov 2013 10:55:51 +0000 Author : Robert Osfield Removed unused variables Fri, 8 Nov 2013 12:28:51 +0000 Author : Robert Osfield From Stepan Huber, "attached are my changes for the osc, zeroconf and resthttp-plugin to use the new event-class. I refactored the osgoscdevice-example so that it’s working again. " Fri, 8 Nov 2013 12:26:14 +0000 Author : Robert Osfield Added support for assinging and display transfer functions Fri, 8 Nov 2013 12:25:35 +0000 Author : Robert Osfield Quietened down debug messages Thu, 7 Nov 2013 12:37:10 +0000 Author : Robert Osfield Changed the LineSegmentIntersector to RayIntersector to provide more reliable intersections with flat meshes. Thu, 7 Nov 2013 12:35:34 +0000 Author : Robert Osfield Added osgUtil::Intersector::PrecisionHint member and set it's default to USE_DOUBLE_COMPUTATIONS, and implemented support for use double or float maths internally in LineSegmentIntersector and RayIntersector classes Wed, 6 Nov 2013 09:50:16 +0000 Author : Robert Osfield Re-enabled the disable of the transfer function Wed, 6 Nov 2013 09:49:51 +0000 Author : Robert Osfield Fixed handling of web cams Wed, 6 Nov 2013 09:23:21 +0000 Author : Robert Osfield Introduced a cast(T) method into the ImageUtils template functor to allow code reading images to handle casting from source data to a form that a user can use more conviently Wed, 6 Nov 2013 09:20:35 +0000 Author : Robert Osfield Restructed the call to avformat_open_input to provide more information. Tue, 5 Nov 2013 15:23:32 +0000 Author : Robert Osfield Fixed typo Fri, 1 Nov 2013 14:40:50 +0000 Author : Robert Osfield From Stephan Huber, "Build Problem with osgGA at MacOS with Xcode 5"..."attached you'll find a possible solution for the issue. This will add a new option to cmake called OSG_CXX_LANGUAGE_STANDARD which defaults to C++11. If you set it to C++98 it will setup the project accordingly." Mon, 28 Oct 2013 17:46:07 +0000 Author : Robert Osfield Added initial shell of new osgtransferfunction example that will be tested bed for upcomming transfer function editing UI. Mon, 28 Oct 2013 12:03:55 +0000 Author : Robert Osfield From Likasz Izebski, "added support for etc2/eac compression" Fri, 25 Oct 2013 15:47:41 +0000 Author : Robert Osfield Added explict setting of the PolygonMode to over the distion mesh being toggled to wireframe. Fri, 25 Oct 2013 14:54:15 +0000 Author : Robert Osfield Introduce new osgGA::Event and osgGA::EventHandler base classes that the old GUIEventAdapter and GUIEventHandler now subclass from.The new osgGA::Event is written to support more generic events than the original GUIEventAdapter which are written for keyboard and mouse events. Fri, 25 Oct 2013 14:46:37 +0000 Author : Robert Osfield Remoed -fpermissive Fri, 25 Oct 2013 09:02:39 +0000 Author : Robert Osfield Fixed warning Thu, 24 Oct 2013 20:22:13 +0000 Author : Robert Osfield Fixed warning Thu, 24 Oct 2013 19:56:04 +0000 Author : Robert Osfield Removed depreated glib call Thu, 24 Oct 2013 19:32:00 +0000 Author : Robert Osfield Fixed FileInfo self intialization bug Thu, 24 Oct 2013 17:43:02 +0000 Author : Robert Osfield Fixed build problems with the OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION off Thu, 24 Oct 2013 12:15:37 +0000 Author : Robert Osfield From Stephan Huber, "attached you’ll find a small enhancement for present3d. Now you can get advanced help via —help-all etc (similar to osgviewer)" Thu, 24 Oct 2013 10:10:16 +0000 Author : Robert Osfield From Stephan Huber, add support for controlling the OSXMenubarBehavior set by DisplaySettings. Thu, 24 Oct 2013 09:06:52 +0000 Author : Robert Osfield Cleaned up addChild/getChild/setChild/getNumChildren methods and added readNodeFile, readImageFile and readObjectFile functions Wed, 23 Oct 2013 16:17:26 +0000 Author : Robert Osfield Added support for Group::addChild/setChild/getChild/getNumChildren. Tue, 22 Oct 2013 19:12:34 +0000 Author : Robert Osfield Merged changes to DisplaySettings from Stephan Huber in prep for controlling the menu hiding behaviour under OSX.Added new WindowSystemInterface::setDisplaySettings() method to provide a mechanism for passing settings onto the WindowSystemInterface so it can then set up the system appropriately. Added assignment of the DisplaySettings to the WindowSystemInterface in Viewer/ComppsiteViewer::realize(). Tue, 22 Oct 2013 18:58:15 +0000 Author : Robert Osfield Preliminary remapping of internalFormat for GL3 core profile Tue, 22 Oct 2013 16:28:20 +0000 Author : Robert Osfield Fixed warnings Tue, 22 Oct 2013 11:32:21 +0000 Author : Robert Osfield From Colin McDonald, "The osgt/osgb file formats output a scenegraph node with the type set to "SCENE" in the file header. But if the file is stored and then extracted again from an osga archive this header info is lost, and the resulting file is just an "OBJECT". Possibly other plugin operations would have the same effect. The osgt/osgb plugin won't then return the scenegraph contents.I have updated the osgt/osgb plugin to return a node from an "OBJECT" file." Tue, 22 Oct 2013 11:26:45 +0000 Author : Robert Osfield From Colin McDonald, "The osgb file reader uses seek to position within the file. But the nested stream implementation for osga archive files doesn't support seeking. So osgb files can't currently be used in an osga archive e.g. if osgdem is used to output a osgb format database it can't be packaged in an archive file, in the same manner that ive files could.I've added seek support to the osga nested stream implementation." Tue, 22 Oct 2013 11:18:28 +0000 Author : Robert Osfield Fixed handling of osg::Program so that it's not overriden by shader composition when enabled Mon, 21 Oct 2013 16:35:12 +0000 Author : Robert Osfield Added State::releaseGLObjects() and ShaderComposer::releaseGLObjects() to avoid problems with cleanup of graphics context Mon, 21 Oct 2013 09:54:41 +0000 Author : Robert Osfield Build fixes for clang Fri, 18 Oct 2013 09:57:49 +0000 Author : Robert Osfield From Farshid Lashkari, "previously discussed change to the dae loader which applies the node ID as a "dae_node_id" user value." Fri, 18 Oct 2013 08:37:18 +0000 Author : Robert Osfield From Vladimir Chebeav, fix for removal of nested callbacks Fri, 18 Oct 2013 07:55:26 +0000 Author : Robert Osfield From Konstantin Matveyev, "Multiple light fix in FBX-importer" Fri, 18 Oct 2013 07:52:18 +0000 Author : Robert Osfield From Colin McDonald, "Some missing updates to the serializer static build support." Fri, 18 Oct 2013 07:31:22 +0000 Author : Robert Osfield From Andreas Henne, "in my application I use the TrackballDragger, the ScaleAxisDragger and the TranslateAxisDragger. Unfortunately these draggers are very thin and they do not provide methods to change their visual appearance. Another problem that I noticed is that lighting on the cones and boxes of the TranslateAxisDragger and ScaleAxisDragger is incorrect when the draggers are scaled due to not normalized normals. This small patch adresses these problems, providing methods to make the draggers thicker. I have attached a zip archive containing the corresponding files and also a modified osgManipulator example that makes use of the modifications. I don't want to retain any copyright." Thu, 17 Oct 2013 18:29:39 +0000 Author : Robert Osfield Fix for error in getting the uniform block max name length, fix suggested by Christopher Fennell. Thu, 17 Oct 2013 14:02:15 +0000 Author : Robert Osfield From Stephan Huber, build fix Thu, 10 Oct 2013 20:43:03 +0000 Author : Robert Osfield Added set/get to the ImageSerializer and removed some redudent comments Thu, 10 Oct 2013 20:42:24 +0000 Author : Robert Osfield From Pjotr Svetachov, "With the new osg::Geometry the binding for arrays now default to undefined. This breaks previously working code in osgAnimation::RigTransformHardware where the arrays got an undefined bounding and because of this the bone indices and weights were not loaded by the shader. Here is a little patch to fix this." Thu, 10 Oct 2013 14:45:57 +0000 Author : Robert Osfield From Laurens Voerman, compile fix for VisualStudio Thu, 10 Oct 2013 14:41:41 +0000 Author : Robert Osfield Laurens Voerman, "my cmake (2.8.10.2 generating for Visual Studio 11 Win64) doesn't like include(${CMAKE_MODULE_PATH}/FindPackageHandleStandardArgs.cmake) in CMakeModules/FindLua52.cmake changing to a more common include(FindPackageHandleStandardArgs) solves my problem." Thu, 10 Oct 2013 09:28:26 +0000 Author : Robert Osfield Added get/set method to Serializer to allow pointer passing without going through InputStream/OutputStream. Wed, 9 Oct 2013 15:32:56 +0000 Author : Robert Osfield Implemented preliminary readNode/readImage support in the lua plugin allow a lua script to create a scene graph as return it. Mon, 7 Oct 2013 10:05:09 +0000 Author : Robert Osfield From Stephan Huber, "attached you’ll find a bunch of fixes + enhancements for iOS and OS X based on current trunk. I incorporated + tested the submission from Colin Cochran, so his submission is not needed anymore.* fixed a bug with multi-touch and touch-id-generation on iOS and OS X. (will fix a bug reported by Colin Cochran, without ditching the existing logic) * removed unnecessary warning-flagss when generating xcode-projects via cmake, will enable the usage of OSG_AGGRESSIVE_WARNING_FLAGS * added support for 10.9 (OS X) * new cmake-variable: IPHONE_VERSION_MIN, this will set the deployment-target (previously hard-coded) If you set the IPHONE_VERSION_MIN to something like 7.0 osg gets compiled also for 64bit (amd64) * cmake defaults now to the clang compiler if IPHONE_VERSION_MIN > 4.2 * cmake now sets some xcode-settings so the compiler uses the c++98-standard (clang defaults to c++11, w/o this I got a lot of linking errors) * removed include-dir for avfoundation-plugin as not needed on OSX/IOS. * enhanced the ios-example, will now show multitouch-information on a hud (similar to the osgmultitouch-example), and more importantly, will compile + link out of the box * small enhancements for the osc-device-plugin (send only one msg for MOVE/DRAG, even if multiple msgs/event is enabled) * better memory-handling for the zeroconf-plugin * fixed a possible bug in the rest-http-plugin when receiving mouse-events. * incorporated a fix from Colin Cochran "forwarded touch events are not transformed into the GL UIView“ " Mon, 7 Oct 2013 09:33:46 +0000 Author : Robert Osfield Cleaned up line endings Fri, 4 Oct 2013 20:42:23 +0000 Author : Robert Osfield Added support for automatically select Lua 5.2 is it's available, then falling back to checking for Lua 5.1 otherwise. Fri, 4 Oct 2013 19:48:03 +0000 Author : Robert Osfield Moved code across to use lua_userdata to manage pointer to osg::Object that is ref()/unref() Fri, 4 Oct 2013 16:30:25 +0000 Author : Robert Osfield Added support for Lua 5.2 and osg::Object creation from within Lua scripts. Fri, 4 Oct 2013 16:29:45 +0000 Author : Robert Osfield Added createObject() interface Fri, 4 Oct 2013 16:28:49 +0000 Author : Robert Osfield Updated version number after 3.3.0 dev release Thu, 3 Oct 2013 16:20:29 +0000 Author : Robert Osfield Fixed errors in Contributors list Thu, 3 Oct 2013 08:45:57 +0000 Author : Robert Osfield From Jan Peciva, RayIntersector implementation Wed, 2 Oct 2013 13:59:00 +0000 Author : Robert Osfield From Colin McDonald and Robert Osfield, "When a serializer shared library is loaded it registers all of the wrappers it contains. The registration creates a prototype object for all of the wrapped classes. For some of the higher-level classes this can be a bit heavy.I noticed a problem with a model which required a single class from osgSim. When osgdb_serializers_osgsim.so was loaded it registered wrappers and created prototype objects for all of the osgSim classes, including osgSim::ScalarBar. The constructor for that class creates several drawables, and loads arial.ttf using the freetype plugin. I don't need that, and don't even ship the font or plugin with my application, resulting in an unexplained warning message loading the model. I've modified the ObjectWrapper class to defer the prototype object creation until if & when actually required." Wed, 2 Oct 2013 11:29:58 +0000 Author : Robert Osfield From Dmitry Marakasov, "These are FreeBSD bits for src/osgPlugins/osc/osc/OscHostEndianness.h, required to build newever OSG on this OS. Also corrects file name in the error message - I was confused not to find OSCHostEndianness.h after I've got this error.Tested by successfully building OSG 3.2.0 with this patch on FreeBSD 9.1." Wed, 2 Oct 2013 11:28:38 +0000 Author : Robert Osfield Re-ordered the public/protected sections to keep the public section all together Wed, 2 Oct 2013 11:09:29 +0000 Author : Robert Osfield From Björn Hein, "it seems that for generating "per vertex normals" as stated in the comment, two of them are missing. This results in wrong display of STL-files regarding normals. Following simple fix seems to work:Index: ReaderWriterSTL.cpp =================================================================== --- ReaderWriterSTL.cpp (Revision 13797) +++ ReaderWriterSTL.cpp (Arbeitskopie) @@ -108,6 +108,8 @@ ++itr) { perVertexNormals->push_back(*itr); + perVertexNormals->push_back(*itr); + perVertexNormals->push_back(*itr); } geom->setNormalArray(perVertexNormals.get(), osg::Array::BIND_PER_VERTEX); " Tue, 1 Oct 2013 19:34:21 +0000 Author : Robert Osfield Fixed build with no automatic ref_ptr<> conversion Tue, 1 Oct 2013 19:31:48 +0000 Author : Robert Osfield Updated AUTHORS files Tue, 1 Oct 2013 19:00:02 +0000 Author : Robert Osfield Updated ChangeLog in prep for dev release Tue, 1 Oct 2013 17:01:21 +0000 Author : Robert Osfield From Aurelien Albert, "I'm working with OSG and a customer low-level OpenGL library.To make easier "lazy apply" on the customer OpenGL shaders, the easiest way was to add an accessor to current OSG state's UniformMap. I've also added accessors for modes and texture, since it could be usefull in the same way. All methods are const, so I think there is no side-effects." Tue, 1 Oct 2013 16:20:20 +0000 Author : Robert Osfield From Björn Blissing, "I propose making the following outputs a little bit more silent. In my mind it would suffice with OSG_DEBUG (compared to OSG_NOTICE) for these information messages." Tue, 1 Oct 2013 09:37:56 +0000 Author : Robert Osfield From Christopher Baker, submitted by Alberto Luacas, "there is a bug report in the Ubuntu tracker that points to a bug when loading multiple VRML files in parallel. Christopher R. Baker has detected this bug and crafted a patch. In addition, libcoin has to be also built with the "--enable-threadsafe" option.I copy here his report, extracted from (https://bugs.launchpad.net/ubuntu/+source/openscenegraph/+bug/1211993) and attach his fix. All credit is due to him: « There are three instances of a classical method-local-static multithreaded initialization bug in the Inventor plugin for OSG that trigger various memory faults when reading multiple VRML files in parallel via osgDB::readNodeFile. These bugs are of the form: static std::map myHandyMap; static bool once = true; if(once) { ...fill myHandyMap; once = false } ... use myHandyMap; To repeat: try loading multiple VRML files from multiple threads. The liklihood of the bug depends on many factors, but my application, which parallel-loads some dozens of small (<100K) VRML files on startup, triggers this problem 25% of the time or more. The attached patch (inventor-plugin-multithread.patch) rectifies this problem by: 1 - Inheriting MyHandyMap from std::map, then 2 - Moving the map initialization into the derived constructor, which 3 - Is intrinsically protected from multithread issues by g++ (and is part of the C++ standard), unless you pass -fno-threadsafe-statics, which is strongly discouraged by the man page. » " Tue, 1 Oct 2013 09:11:26 +0000 Author : Robert Osfield From Adrien Grandemange, "On Windows 7 and 8, mouse messages are generated in addition to touch messages, which leads to duplicate PUSH, DRAG and RELEASE events in OSG. Besides, the mouse and touch messages referring to the same user input are not necessarily sent at the same time, due to gesture translation done by Windows by default, such as double-tap => double-click and long-push => right-click. The delay between the 2 types of messages is more noticeable on Windows 8 and leads to serious disruptions in our application.Mouse messages generated by touch input are only present for legacy support. I think they should be filtered out by OSG (real click events originating from a physical mouse will of course still go through). This is what this patch does, according to this suggestion: http://msdn.microsoft.com/en-us/library/dd693088%28v=VS.85%29.aspx (third issue in this page)." Tue, 1 Oct 2013 09:05:18 +0000 Author : Robert Osfield From Thomas Hogarth, "Attached is a small build fix for PointSprite when compiling under GLES2 (r13788)GL_POINT_SPRITE_OES does not exist in GLES2, instead you just draw using GL_POINTS then use gl_PointSize in a vertex shader to set the size." Mon, 30 Sep 2013 18:32:41 +0000 Author : Robert Osfield From Jeffrey Kinross, "I ran into an issue with case sensitivity on OS X and the OSXAVFoundation code. In CMakeList.txt there is a case sensitivity issue which a fix was posted by Robert Osfield in the users forum.I also had to rename the files OSXAvFoundationCoreVideoTexture.h and OSXAvFoundationCoreVideoTexture.cpp to OSXAVFoundationCoreVideoTexture.h and OSXAVFoundationCoreVideoTexture.cpp Finally in OSXAvFoundationCoreVideoTexture.cpp the include OSXAVFoundationVideo.H was updated to OSXAVFoundationVideo.h" Mon, 30 Sep 2013 18:15:51 +0000 Author : Robert Osfield From Farshid Lashkari, "I have a scene that makes heavy use of the StateSet::compare method and my profiler showed that a lot of time was being spent inside it. I made a small change to the method so that it performs a quick size comparison between the attribute/mode lists and bin mode before iterating through all the attributes. This made a noticeable improvement in my scene. I've attached the change." Mon, 30 Sep 2013 10:28:14 +0000 Author : Robert Osfield Fri, 27 Sep 2013 18:43:35 +0000 Author : Robert Osfield Unified Vec/Plane/Quat handling code. Fri, 27 Sep 2013 13:04:04 +0000 Author : Robert Osfield Added support for getting Vec* and Matrix objects from Lua stack and assigning them as OSG object properties. Thu, 26 Sep 2013 17:27:49 +0000 Author : Robert Osfield Initial cut of setting and getting osg::Object properties within Lua scripts Tue, 24 Sep 2013 15:17:42 +0000 Author : Robert Osfield Added support for passing parameters in and out of scripts.Implemented support for osg::ValueObject in LuaScriptEngine. Tue, 24 Sep 2013 15:08:23 +0000 Author : Robert Osfield Changed NodeVisitor so that is subclasses from osg::Object rather than osg::Referenced to enable it to be used with serialization and scripting Tue, 24 Sep 2013 08:56:47 +0000 Author : Robert Osfield Removed redundent spaces Mon, 23 Sep 2013 14:10:36 +0000 Author : Robert Osfield Added test for osgGA::GUIEventAdapter Fri, 20 Sep 2013 15:43:24 +0000 Author : Robert Osfield Removed unnceccesary setNumChildrenRequiringUpdateTraversal from VolumeTile constructor. Fri, 20 Sep 2013 10:44:24 +0000 Author : Robert Osfield Added initial cut of white and black lists Fri, 20 Sep 2013 10:25:23 +0000 Author : Robert Osfield Added compoundClassName() convinience method to standardize the generation of the compoundClassName. Fri, 20 Sep 2013 10:04:50 +0000 Author : Robert Osfield Added type maps to help with querrying supported type names Thu, 19 Sep 2013 16:19:32 +0000 Author : Robert Osfield Introduce osgDB::PropetyInterface class that provided a generic interface for get/setting properties on scene graph objects, utilizing the osgDB serializers to do the actual interface query and set/gets. Thu, 19 Sep 2013 16:18:20 +0000 Author : Robert Osfield Removed unneccessary return Wed, 11 Sep 2013 15:44:08 +0000 Author : Robert Osfield Added access methods to Serializer to help with using wrappers for other purposes such as script integration.Added Vec*i and Vec*ui support to serializers Tue, 10 Sep 2013 15:17:59 +0000 Author : Robert Osfield From Giuseppe Donvito, "I'm using OSG 320 and I need to flush a DDS 3D texture on disk. I found a bug on DDS ReaderWriter that generates a false positive on a guard for the size check on writing operation. This is due to a wrong imageSize computation that uses img->getImageSizeInBytes() method instead of img->getTotalSizeInBytes(), that actually ignores the r() dimension, contrariwise taken into account by the function ComputeImageSizeInBytes() later.The line 1062 on file ReaderWriterDDS.cpp should be fixed with: [code]unsigned int imageSize = img->getTotalSizeInBytes();[/code] " Tue, 10 Sep 2013 13:29:28 +0000 Author : Robert Osfield From Giuseppe Donvito, Fixed typo of "CLEAR_GLOBAL_STATESET = 0x16," to indended "CLEAR_GLOBAL_STATESET = "0x10". Tue, 10 Sep 2013 09:23:30 +0000 Author : Robert Osfield Added osgPresentation::Show node and implementations with basic property reporting for various internal nodes of presentation graph Mon, 9 Sep 2013 16:02:32 +0000 Author : Robert Osfield From Wang Rui, "The Python header will look for its libraries using "#pragma comment(lib,"python32_d.lib")" for MSVC. So user-specified libraries will not really be set for the osgdb_python plugin. This small fix may help locate the Python libraries after putting the CMakeLists.txt into src/osgPlugins/python" Mon, 9 Sep 2013 14:58:25 +0000 Author : Robert Osfield From Colin Cochran, OES support for point sprites Mon, 9 Sep 2013 13:33:13 +0000 Author : Robert Osfield From Colin McDonald, "Add test for GL_EXT_framebuffer_object extension : osg uses osg::FBOExtensions to check if Frame Buffer Objects are available. But this just checks if the fbo functions can be called. It doesn't check if the OpenGL renderer supports fbos. For indirect rendering on linux the client side capability may be different from the display server, which can lead to mipmapped textures failing to render. I've added a fbo extension check. " Mon, 9 Sep 2013 12:44:36 +0000 Author : Robert Osfield From Ulrich Hertlein, "Patch for FindAVFoundation to work with OS X 10.9" Mon, 9 Sep 2013 12:37:52 +0000 Author : Robert Osfield From Wang Rui, "Some developers report that the osgviewerMFC example is broken in 3.2, in which depth test is not enabled by default so all models loaded look awkward. I submit this patch to make it work again. I haven't gone deep to check why previous example goes wrong in newer version but I believe the problem was because the newly created camera object missed some important global statesets before set as the main camera." Mon, 9 Sep 2013 12:33:18 +0000 Author : Robert Osfield From Laurens Voerman, "two minor fixes, both in a CMakeList.txt file,1> osgmultiplemovies example does not use SDL so needs no link to SDL 2> Added header files to "Plugins osg" project, so visual studio can find the source of OSG_WARN << "AsciiInputIterator::readProperty(): Unmatched property " " Fri, 6 Sep 2013 09:35:56 +0000 Author : Robert Osfield Initial cut of Audio/Volume/Movie/Image presentation objects Thu, 5 Sep 2013 10:23:05 +0000 Author : Robert Osfield From Colin McDonald, "Attached are some fixes to build osg using the Solaris Studio compiler. I've also checked the modified files still build ok with other compilers (Linux gcc, Windows Visual Studio).osgDB/OutputStream.cpp and osgPlugins/lws/SceneLoader.cpp require stdlib.h for atoi use. In osg/Uniform.cpp the compiler complains that base_class is unknown unless I add a class name qualifier. Not a build fix, but I spotted a typo in osgUtil/SceneView." Thu, 5 Sep 2013 10:08:09 +0000 Author : Robert Osfield From Laurens Voerman, "like the "Bug in ProxyNode serializer" Farshid Lashkari found (svn submit 13754) the PagedLOD serializer attempts to read begin and and brackets. Fix is identical (don't read brackets when num_chidren is zero) and applies both to trunk and 3.2 branch." Thu, 5 Sep 2013 10:04:56 +0000 Author : Robert Osfield Fixed warnings Thu, 5 Sep 2013 08:42:00 +0000 Author : Robert Osfield From Alberto Luaces, "current versions of ffmpeg render «url_feof» macro as obsolete. The fix is very simple and it is contained in the attached file." Thu, 5 Sep 2013 08:22:27 +0000 Author : Robert Osfield Added missing Model.cpp Wed, 4 Sep 2013 17:27:26 +0000 Author : Robert Osfield Moved the property test from the model to presentation to test out the property inheritance scheme Wed, 4 Sep 2013 16:25:18 +0000 Author : Robert Osfield Added PrintProperties visitor Wed, 4 Sep 2013 15:39:17 +0000 Author : Robert Osfield Added PrintPropertiesAction to osgPresentation Wed, 4 Sep 2013 10:33:11 +0000 Author : Robert Osfield Added Action class NodeVisitor that supports osgPresentation nodes. Tue, 3 Sep 2013 15:50:28 +0000 Author : Robert Osfield Added test for osgPresentatation::Group::getSupportedProperties() Tue, 3 Sep 2013 10:17:06 +0000 Author : Robert Osfield Added beginings of Text implementation Mon, 2 Sep 2013 10:56:48 +0000 Author : Robert Osfield From Farshid Lashkari, "The ProxyNode serializer was not correctly reading the "Children" field. It conditionally writes the begin/end brackets, depending on whether it has children. However, during input it unconditionally attempts to read the begin/end brackets. I've modified the code to only read the brackets if it has children." Mon, 2 Sep 2013 10:56:14 +0000 Author : Robert Osfield Refactored the use of epsilon in the clamping of the start/end points of the LineSegmentIntersector to better handle numerical precision issues. Mon, 2 Sep 2013 09:12:24 +0000 Author : Robert Osfield Fixed double copy in StackedTransform copy constructor Mon, 2 Sep 2013 08:29:09 +0000 Author : Robert Osfield Added IO test for new osgPresentation nodes Sun, 1 Sep 2013 17:24:35 +0000 Author : Robert Osfield Added Audio, Image, Movie, Model and Volume class to osgPresentation. Fri, 23 Aug 2013 16:47:27 +0000 Author : Robert Osfield Fixed build Fri, 23 Aug 2013 11:42:52 +0000 Author : Robert Osfield Added color property to FontData parsing Thu, 22 Aug 2013 13:39:36 +0000 Author : Robert Osfield Quitened down debug message Thu, 22 Aug 2013 12:37:49 +0000 Author : Robert Osfield Removed debug messages Thu, 22 Aug 2013 12:07:55 +0000 Author : Robert Osfield Quitened down debug message Thu, 22 Aug 2013 11:18:45 +0000 Author : Robert Osfield Quitened down debug message Thu, 22 Aug 2013 10:09:21 +0000 Author : Robert Osfield Added warning when model file has not be found Thu, 22 Aug 2013 10:05:29 +0000 Author : Robert Osfield Reduced debug message level, and added a notify message for when an image isn't loaded Thu, 22 Aug 2013 07:49:22 +0000 Author : Robert Osfield Added test for serializers and fixed serializers Wed, 21 Aug 2013 19:54:03 +0000 Author : Robert Osfield Added initial classes for present3D refactor Sun, 18 Aug 2013 18:10:39 +0000 Author : Robert Osfield Moved old osgPresentation source files to osgPresentation/deprecated subdirectory. Sun, 18 Aug 2013 16:59:11 +0000 Author : Robert Osfield Moved old present3D sources into local deprecated directory to clean up the main present3D source directory for future refactored present3D Fri, 9 Aug 2013 16:51:06 +0000 Author : Robert Osfield Added initial cut of basic scripting support, introducing an osg::Script object to wrap up the individual scripts, osg::ScriptCallback for assigning a Script as node callback and an osg::ScriptEngine base class that plugins implement to provided support for specific scripting languages.Provided are lua, python and V8 (for javascript) plugins that just open up enough of a link to the respective libs to run a script, there is no scene graph <-> script communication in current implementation. Fri, 9 Aug 2013 11:00:55 +0000 Author : Robert Osfield Removed CameraNode reference Fri, 9 Aug 2013 07:46:22 +0000 Author : Robert Osfield Removed unused includes Fri, 9 Aug 2013 07:38:32 +0000 Author : Robert Osfield Removed old cursor code Thu, 8 Aug 2013 17:21:20 +0000 Author : Robert Osfield Added translucent version of cushion which isn't depth tested to enable one to see the cursor even when it's behind other objects Thu, 8 Aug 2013 16:49:33 +0000 Author : Robert Osfield Added osgPresentation::Cursor class to wrap up 3D cursor in the scene functionality Wed, 7 Aug 2013 17:08:38 +0000 Author : Robert Osfield Added osgpresentation example as a test bed for new osgPresentation object model.First cut of example test bed is to test how easy it is to build against Lua, V8 and Python for purposes of running embedded scripts. Mon, 5 Aug 2013 12:00:34 +0000 Author : Robert Osfield From Aurelien Albert, "I've go some problem with the method "State_Utils::replace" : if the original_phrase is empty, it leads to an infinite loop.Here is a path to prevent this." Thu, 1 Aug 2013 17:38:34 +0000 Author : Robert Osfield Added missing initializer for _epsilon Thu, 1 Aug 2013 11:25:02 +0000 Author : Robert Osfield From Anish Thomas, added catch for to an empty DrawElementsUInt creation. Thu, 1 Aug 2013 10:38:02 +0000 Author : Robert Osfield Updated ChangeLog and AUTHORS file Thu, 1 Aug 2013 10:28:12 +0000 Author : Robert Osfield From Ulrich Hertlein, "Based on the exchange on osg-users I went ahead and reworked shp/XBaseParser to avoid weird behaviour (closing stdin) and leaking file descriptors, as well as some const-ness." Thu, 1 Aug 2013 10:04:05 +0000 Author : Robert Osfield From Sebastian Messerschmidt, "Seems like your re-factoring didn't really produces the correct results. You can check with the tester2.flt provided earlier and check with the result image. I double checked this with OpenFlight creator, and it seems the yaw is broken.With my initial quaternion version is seems correct and if I change the float cos_yaw = cosf(osg::inDegrees(yaw)); float sin_yaw = sinf(osg::inDegrees(yaw)); to be float cos_yaw = cosf(osg::inDegrees(-yaw)); float sin_yaw = sinf(osg::inDegrees(-yaw)); it seems to work as well." Thu, 1 Aug 2013 10:00:31 +0000 Author : Robert Osfield From Tom Jolley, "I found a couple more bugs after closely looking at the small piece of deprecated geometry in my model. There were problems with more than one primitive in a couple places. The first was the number of vertices were not being accumulated for DrawArraysPrimitiveType (caused another crash). The second is I had to move target_vindex and source_pindex before the PrimitiveSetList loop so they don't get reset on the next primitive (otherwise you end up with a lot of zeros in per vertex lists)." Thu, 1 Aug 2013 07:19:45 +0000 Author : Robert Osfield Added osg::RenderInfo::pushRenderBin()/popRenderBin() and RenderInfo::getRenderBinStack() and getCameraStack() access methods for getting access to the current RenderBin/RenderStage. Wed, 31 Jul 2013 13:11:49 +0000 Author : Robert Osfield Added Intersector::get/setEpsilon(double) to allow users to control what epsilon is used by the LineSegmentIntersector when doing testing of itersections with bounding boxes Wed, 31 Jul 2013 07:11:07 +0000 Author : Robert Osfield From Aurelien Albert, "Here is the code to get access to OpenGL handle of an osg::FrameBufferObject" Wed, 31 Jul 2013 06:56:31 +0000 Author : Robert Osfield From Tom Jolly, "I ran across this error reading one of our older files. An iterator was being changed inside a loop that caused a crash." Wed, 31 Jul 2013 06:42:49 +0000 Author : Robert Osfield From Sergey Kurdakov, fixed GLES2 invalid enumerant warning by disabling the check against GL_MAX_TEXTURE_COORDS under GLES. Tue, 30 Jul 2013 06:39:33 +0000 Author : Robert Osfield Changed default cull mask to match the left cull mask so that mono rendering of presentations with left/right stereo images/movies works fine. Tue, 30 Jul 2013 06:36:49 +0000 Author : Robert Osfield Removed trailing spaces Tue, 30 Jul 2013 06:12:31 +0000 Author : Robert Osfield Merged from OSG-3.2 branch the removal of check for Asio under Windows Wed, 24 Jul 2013 17:30:46 +0000 Author : Robert Osfield Changed default of serialize draw to off Wed, 24 Jul 2013 14:24:33 +0000 Author : Robert Osfield Pulled in READE, NEWS and AUTHORS changes from OSG-3.2 branch. Wed, 24 Jul 2013 13:02:32 +0000 Author : Robert Osfield Added GL2Extensions::isDrawBuffersSupported() and usage of this in FrameBufferObject.cpp to prevent crash under GLES2 when users attempt to use MRT when it's not supported Wed, 24 Jul 2013 12:51:13 +0000 Author : Robert Osfield Updated NEWS from OSG-3.2 branch Wed, 24 Jul 2013 12:48:59 +0000 Author : Robert Osfield Fixed warning Wed, 24 Jul 2013 12:25:18 +0000 Author : Robert Osfield Updated SO version for post 3.2 era. Wed, 24 Jul 2013 12:17:06 +0000 Author : Robert Osfield Added getCallbacks() methods Tue, 23 Jul 2013 18:11:35 +0000 Author : Robert Osfield From Rocco Martino, build fix for compiling against ffmpeg/trunk Tue, 23 Jul 2013 15:28:31 +0000 Author : Robert Osfield Added NOT ANDROID to force use of posix API when building for Android under Windows Tue, 23 Jul 2013 10:24:28 +0000 Author : Robert Osfield Added lazy setting of the UserDataContainer to avoid unncessarily create a UserDataContain when an empty description list is passed to Node::setDescriptions(..) Tue, 23 Jul 2013 09:54:25 +0000 Author : Robert Osfield Fixed crash when open(..) returns an error. Tue, 23 Jul 2013 05:25:39 +0000 Author : Robert Osfield From Torben Dannhauer, "Please find attached further changes to make library auto detection functional again for some libraries:Find3rdPa..: Fix to find libxml2 FindCollada: Rearranged to handle different MSVC versions more effective. This file is already prepared for the upcoming VS 2013. FindNVTT: introduced management of debug libraries (also auto detected). " Mon, 22 Jul 2013 13:31:32 +0000 Author : Robert Osfield From Andreas Ekstrand, "Attached is a small modification of the Collada writer that protects from crashes due to valArray being NULL in some situations." Mon, 22 Jul 2013 10:15:59 +0000 Author : Robert Osfield Added FRAME_BUFFER_OBJECT enum Mon, 22 Jul 2013 10:15:44 +0000 Author : Robert Osfield Updated OpenThreads version Fri, 19 Jul 2013 21:05:54 +0000 Author : Robert Osfield From Christian Ruzicka, "with the current touch implementation on iOS the touches are not forwarded to parent views because the base implementation is not called. Also see the "Best Practices" in the iOS documentation for event handling:http://developer.apple.com/library/ios/#documentation/EventHandling/Conceptual/EventHandlingiPhoneOS/multitouch_background/multitouch_background.html "If you handle events in a subclass of any other UIKit responder class: - You do not have to implement all of the event handling methods. - In the methods you do implement, be sure to call the superclass implementation. For example, [super touchesBegan:touches withEvent:event]." I added the missing lines and tested it with OSG 3.1.9 and iOS SDK 6.1." Fri, 19 Jul 2013 20:59:09 +0000 Author : Robert Osfield Added default setting of BIND_PER_VERTEX when applying Geometry::setTexCoordArray() Fri, 19 Jul 2013 17:00:24 +0000 Author : Robert Osfield Updated OpenThreads version to be in sync with OSG version Fri, 19 Jul 2013 14:55:36 +0000 Author : Robert Osfield Updated version number for svn/trunk to 3.3.0 for all new feature development Fri, 19 Jul 2013 14:07:17 +0000 Author : Robert Osfield Updated AUTHORS file for new 3.2 branch Fri, 19 Jul 2013 14:06:11 +0000 Author : Robert Osfield Updated version number to 3.2.0-rc1 in prep for create the 3.2 branch, and 3.2.0-rc1 Fri, 19 Jul 2013 10:31:45 +0000 Author : Robert Osfield Update ChangeLog and AUTHORS files for 3.1.10 dev release Fri, 19 Jul 2013 10:17:26 +0000 Author : Robert Osfield Updater version for 3.1.10 dev release Fri, 19 Jul 2013 10:11:42 +0000 Author : Robert Osfield Removed #if 0 #endif block Fri, 19 Jul 2013 09:43:54 +0000 Author : Robert Osfield Fixed problem with the osgviewerQt code override the default View::Camera without setting it's default state on it's StateSet like View does by default. Fri, 19 Jul 2013 06:56:13 +0000 Author : Robert Osfield From Johannes Scholz, "as we need to dynamically add and remove Effects to and from our Application, I created a small patch for osgFX/Registry to add the osgFX::Registry::removeEffect(effect*) method and extended osgFX::Registry::Proxy to call removeEffect upon its destruction." Fri, 19 Jul 2013 06:39:06 +0000 Author : Robert Osfield From Wang Rui, "A very small clerical error in the src/osgViewer/CMakeLists.txt makes MinGW/Cygwin builds fail. Now it is fixed and now OSG works well again with Cygwin. :-) The OSC plugin also needs a small fix to compile with Cygwin, as attached file src/osgPlugins/osc/osc/OscHostEndianness.h shows." Fri, 19 Jul 2013 06:20:46 +0000 Author : Robert Osfield From Mathieu Marache, "we found that events where not caught when running in ON_DEMAND frame scheme : GraphicsWindow::checkEvents() always return false and GraphicsWindowQt doesn't overload it.here is a simple fix that will return if the list is empty or not and will match the comment in checkEvents() Thu, 18 Jul 2013 20:17:48 +0000 Author : Robert Osfield Added a dirty() call to Image::setData(..) Thu, 18 Jul 2013 16:29:13 +0000 Author : Robert Osfield From Torben Dannhauer, "after being absent for more than 12 month, I'm very pleased to present my new 3rdparty package (V8). This package is compiled with Visual Studio 2012 Update 3. Some community members complained that these package is very large (indeed), so I introduced 2 versions: - The small version contains the dependencies for several image file formats ( tiff, png, gif, jpeg), as well as zlib, minizip, curl, freetype, glut, gdal and openSSL - The full version will include all libraries which were include in the previous releases of my 3rd party package. Some of the included libraries are released in newer versions, so I adapted the attached CMake module to find these renamed files. I hope you can merge this minor changes soon, since I plan to publish the small 3rdparty package today. " Thu, 18 Jul 2013 16:27:17 +0000 Author : Robert Osfield From Lionel Lagarde, "The extension name is misspelled. It conflicts with GLEW." Tue, 2 Jul 2013 19:24:10 +0000 Author : Robert Osfield Updated AUTHORS and ChangeLog for 3.1.9 dev release Tue, 2 Jul 2013 14:35:29 +0000 Author : Robert Osfield From Laurens Voerman, "With fstream inheritaince now removed the warning can be enabled again." Tue, 2 Jul 2013 14:17:44 +0000 Author : Robert Osfield From Laurens Voerman, "some of my ive files now generate a warning: Warning, can't assign attribute binding as no has been array assigned to set binding for.I think those are ive's with bumpmaps, but I have not checked yet. The problem is in OpenSceneGraph\src\osgPlugins\ive\Geometry.cpp where the code tries to set Normalize and Binding for a missing Array. I think that code can safely be skipped, considering the write function has a hardcoded write when the array is missing. (introduced in svn rev 13488) modified file (OpenSceneGraph\src\osgPlugins\ive\Geometry.cpp) attached in Zip" Tue, 2 Jul 2013 14:02:06 +0000 Author : Robert Osfield From Laurens Voerman, "Recent changes cause a few warnings in MSVC 2012 svn 13587 From David Callu, warning fixes and removal of spaces at end of lines.this can be fixed by adding a space before the comment opening /*. full modified file (openscenegraph\src\osgplugins\osg\BinaryStreamOperator.h) attached in zip Regards, Laurens. openscenegraph\src\osgplugins\osg\BinaryStreamOperator.h(71): warning C4138: '*/' found outside of comment (OpenSceneGraph\src\osgPlugins\osg\ReaderWriterOSG2.cpp) openscenegraph\src\osgplugins\osg\BinaryStreamOperator.h(73): warning C4138: '*/' found outside of comment (OpenSceneGraph\src\osgPlugins\osg\ReaderWriterOSG2.cpp) openscenegraph\src\osgplugins\osg\BinaryStreamOperator.h(211): warning C4138: '*/' found outside of comment (OpenSceneGraph\src\osgPlugins\osg\ReaderWriterOSG2.cpp) openscenegraph\src\osgplugins\osg\BinaryStreamOperator.h(213): warning C4138: '*/' found outside of comment (OpenSceneGraph\src\osgPlugins\osg\ReaderWriterOSG2.cpp)" Tue, 2 Jul 2013 13:45:23 +0000 Author : Robert Osfield Restructed handling of the _currentShaderCompositionUniformList in State::apply() and State::apply(const StateSet*) so that it can be used even when shader composition isn't enabled. Tue, 2 Jul 2013 10:32:53 +0000 Author : Robert Osfield From Aurelien Albert, "Recently I had to integrate a client OpenGL library with OSG. For textures and other StateAttribute I've done that by subclassing osg::StateAttribute and this works well.But for glPrograms, in order to get all osg's uniform management system to work, I had to subclass osg::program::PerContextProgram. Here is a modified version of this class, which add some "virtual" method to allow easy subclassing." Tue, 2 Jul 2013 09:44:46 +0000 Author : Robert Osfield From Pjotr Svetachov, "The binding of arrays is always set to BIND_UNDEFINED when using the array constructor because the binding parameter is ignored. Here is a fix." Tue, 2 Jul 2013 09:27:14 +0000 Author : Robert Osfield Added SceneView::Options enum enetries APPLY_GLOBAL_DEFAULTS and CLEAR_GLOBAL_STATESET to control whether a _globalStateSet->clear() and _globalStateSet->setGlobalDefaults() should be called.osgViewer::Renderer doesn't use these enum settings so now no longer has a calls StateSet::clear() or StateSet::setGlobalDefaults() on the osg::Camera's StateSet. Previously these were being called and breaking the ability to attached state to Camera's StateSet. Mon, 1 Jul 2013 16:15:25 +0000 Author : Robert Osfield From Pjotr Svetachov, "In a submission on June 27th a lot of new array types were added. This modified the osg::Array::Type enum. Because of this s_ArrayNames array in Array.cpp is now not in sync. This can lead to corrupt exports or crashes when writing .osg files because the change added new types in the middle of the enum instead of at the end.Attached is a new Array.cpp to reflect the new array types." Mon, 1 Jul 2013 12:16:32 +0000 Author : Robert Osfield Updated AUTHORS, ChangeLog for dev release Mon, 1 Jul 2013 10:22:34 +0000 Author : Robert Osfield Removed BIND_INSTANCE_DIVISOR as they don't yet have any implementation backend to support them. Mon, 1 Jul 2013 09:12:11 +0000 Author : Robert Osfield From David Callu, "Here a fix for FindFBX.cmakeunder linux, library name to look for must be fbxsdk instead of libfbxsdk." Mon, 1 Jul 2013 09:10:11 +0000 Author : Robert Osfield From David Callu, "Here a CMakeLists.txt modified with OSG_AGGRESSIVE_WARNING_FLAGS defined when Clang compilator is used" Mon, 1 Jul 2013 09:09:49 +0000 Author : Robert Osfield Fixed debug build compile problem Mon, 1 Jul 2013 08:21:13 +0000 Author : Robert Osfield Reverted the usage of OSG_UNUSED and OT_UNUSED as in hindsight these should never have been merged. Adding code to quieten inappropriate warnings is a bad programming practice and does not desrve a place in the OSG code base. Fri, 28 Jun 2013 15:44:04 +0000 Author : Robert Osfield From John Kaniarz, "This patch modifies ReaderWriterPNG.cpp to 1. Check the bit depth of the passed Image and return an error if not 8 or 16. (not fully featured, but still an improvement over hard coded 8bit for everything) 2. Endian swap 16bit image data when on a little endian architecture. " Fri, 28 Jun 2013 14:47:02 +0000 Author : Robert Osfield From Alberto Luaces, "Documentation for -p and --speed options in osgviewer" Fri, 28 Jun 2013 14:38:45 +0000 Author : Robert Osfield From Marcel Pursche, fixed checking of destination dimensions in osg::copyImage. Fri, 28 Jun 2013 14:32:12 +0000 Author : Robert Osfield From Lilin Xiong, "When writing proxyNode to ive file, we forget "LoadingExternalReferenceMode ". Add some code to fix this.if (out->getVersion() >= VERSION_0045) { out->writeInt(getLoadingExternalReferenceMode()); } if (in->getVersion() >= VERSION_0045) { setLoadExternalReferenceFiles( (osg::ProxyNode::LoadingExternalReferenceMode)in->readInt() ); } " Fri, 28 Jun 2013 14:21:43 +0000 Author : Robert Osfield From Gill Peacegood, "fix for a memory leak in the DelaunayConstraint class" Fri, 28 Jun 2013 14:08:36 +0000 Author : Robert Osfield From Laurens Voerman, "the current version of BufferObject causes a huge amount of warnings in Visual Studio 2012 like:OpenSceneGraph/include\osg/BufferObject(701): warning C4138: '*/' found outside of comment (E:\osg\osgSvn\OpenSceneGraph\src\osg\Array.cpp) adding a space before /* fixes the problem void removeClient(osg::Object * /*client*/) { --_numClients; } " Fri, 28 Jun 2013 14:07:31 +0000 Author : Robert Osfield Fixed handling of DISPLAY=127.0.0.1:2 usage. Fri, 28 Jun 2013 13:43:46 +0000 Author : Robert Osfield From Aurelien Albert, Added support for glPrimitiveRestartIndex."The idea of this new OpenGL feature is : - set RestartIndex = "n" - draw elements strip -> when the index is "n", the strip is "stopped" and restarted It's very usefull for drawing tiles with a single strip and a "restart" at the end of each row. The idea a an OSG StateAttribute is : Usually we use to build geometry from code, because software modelers rarely support it (and 3d file formats doesn't support it) : -RootNode <= "PrimitiveRestartIndex=0" // So now, we know that our restart index is 0 for all drawables under this node | - Drawable 1 : triangles => as usual | - Drawable 2 : triangles strip => as usual | - Drawable 3 : triangles strip + "GL_PRIMITIVE_RESTART" mode = ON => use the restart index | - Drawable 4 : triangles strip + "GL_PRIMITIVE_RESTART" mode = ON => use the restart index | - Drawable 5 : triangles strip => as usual With a StateAttribute, it's easy for the developper to say "0 will be my restart index for all this object" and then activate the mode only on some nodes. The main problem is if you set and restart index value which is not included in the vertex array (for exemple set restart index = 100 but you have only 50 vertex). There is no problem with OpenGL, but some OSG algorithms will try to access the vertex[100] and will segfault. To solve this, I think there is two ways : 1/ add restart index in osg::PrimitiveSet and use this value in all algorithms. It's a lot of work, maybe dangerous, and it concern only a few situations : developpers who use this extension should be aware of advanced OpenGL (and OSG) data management 2/ use a StateAttribute, and choose a "correct" restart index. In my applications, I always use "0" as a restart index and duplicate the first vertex (vertex[0] = vertex[1]). So there is no difference for OpenGL and all OSG algorithms works properly. " Fri, 28 Jun 2013 12:45:39 +0000 Author : Robert Osfield Added handling of an odd number rows in the capsule rendering and primitive calculation. Fri, 28 Jun 2013 12:00:43 +0000 Author : Robert Osfield From David Callu, warning fixes and removal of spaces at end of lines. Fri, 28 Jun 2013 10:59:01 +0000 Author : Robert Osfield From David Callu, "in osgViewer::WoWVxDisplay::WoWVxDisplay(unsigned int type=20, unsigned int screenNum=0) screenNum is unused.fix attached. " Fri, 28 Jun 2013 10:51:22 +0000 Author : Robert Osfield From David Callu, added support for glVertexAttribLPointer and glVertexAttribIPointer, utilized via osg::Array::setPreserveDataType(true); Fri, 28 Jun 2013 08:57:42 +0000 Author : Robert Osfield From David Callu, serializer support for new Vec* and Vec*Array classes Fri, 28 Jun 2013 08:11:46 +0000 Author : Robert Osfield Thu, 27 Jun 2013 17:37:03 +0000 Author : Robert Osfield From David Callu, "Added Vec3ub, Vec3us, Vec4us, Vec2ub and Vec2us classes" Thu, 27 Jun 2013 16:44:32 +0000 Author : Robert Osfield From Lionel Lagarde, "Support for paging and shared PBO""The attached file contains: - a per-context read counter in GLBufferObject::BufferEntry - a global client counter in BufferData - the glue between Texture* and Image client counter " Thu, 27 Jun 2013 15:18:38 +0000 Author : Robert Osfield From Aurelien Albert, added passing on of the gl array normalize to OpenGL when uses vertex attribute aliasing. Thu, 27 Jun 2013 14:46:16 +0000 Author : Robert Osfield Replaced deprecatated osg::Geometry::get*Binding() calls. Thu, 27 Jun 2013 13:37:26 +0000 Author : Robert Osfield Added Geometry::containsDeprecatedData() / fixDeprecatedData() Thu, 27 Jun 2013 10:58:26 +0000 Author : Robert Osfield Removed deprecated usage of osg::Geometry::get*Binding() Thu, 27 Jun 2013 09:59:33 +0000 Author : Robert Osfield Replaced deprecated osg::Geometry::set*Binding() usage. Thu, 27 Jun 2013 09:54:45 +0000 Author : Robert Osfield Replaced deprecated osg::Geometry::set*Binding() usage Thu, 27 Jun 2013 09:54:12 +0000 Author : Robert Osfield Replaced deprecated osg::Geometry::set*Binding() usage. Thu, 27 Jun 2013 08:44:15 +0000 Author : Robert Osfield Replaced deprecated osg::Geometry::set*Binding() usage Thu, 27 Jun 2013 08:30:51 +0000 Author : Robert Osfield Replaced deprecated Geometry::set*Binding() Wed, 26 Jun 2013 18:06:09 +0000 Author : Robert Osfield Replaced deprecated Geometry::set*Binding() usage Wed, 26 Jun 2013 17:58:57 +0000 Author : Robert Osfield Removed deprecated Geometry::set*Binding() usage Wed, 26 Jun 2013 17:54:35 +0000 Author : Robert Osfield Added osg::getBinding(osg::Array* array) convinience function that returns the Array::getBinding() is the array is not NULL, otherwise returns BIND_OFF. Wed, 26 Jun 2013 17:45:19 +0000 Author : Robert Osfield Replaced deprecated osg::Geometry::set*Binding() usage Wed, 26 Jun 2013 17:44:30 +0000 Author : Robert Osfield Replaced deprecated osg::Geometry::set*Binding() calls. Wed, 26 Jun 2013 16:16:23 +0000 Author : Robert Osfield From Sebastian Messerschmidt, "I've taken some time and refactored some places where the old set*Binding were used." Wed, 26 Jun 2013 13:00:12 +0000 Author : Robert Osfield From Aurelien Albert, "This submission allow the user to specify how to setup VertexAttributeAliasing.I think this is necessary on OpenGL 3.2+ since this is no more "default" locations in the OpenGL specs. The default behaviour stay the same. There is a few new methods on osg::State : - resetVertexAttributeAlias : reset all vertex alias to osg's default ones - set**Alias : set a vertex attribute alias configuration - setAttributeBindingList : set the attribute binding list (allow to specify an empty list if you're using "layout" qualifier in glsl code to specify the bindings. This save some CPU operations)" Wed, 26 Jun 2013 12:59:40 +0000 Author : Robert Osfield Removed unused methods Wed, 26 Jun 2013 12:33:40 +0000 Author : Robert Osfield Removed spaces from end of line Wed, 26 Jun 2013 12:33:14 +0000 Author : Robert Osfield Fixed bug in TemplateTargetAttributeDispatch that was causing a crash with the osgsimplegl3 example Wed, 26 Jun 2013 09:04:20 +0000 Author : Robert Osfield From Pjotr Svetachov and Robert Osfield, "the index mesh and vertex pre-transform optimizers can rearrange or change the size of arrays assigned to a geometry. This leads to crashes or corrupt geometry when using shared arrays.Attached a fix that duplicates shared geometry arrays." Wed, 26 Jun 2013 08:53:56 +0000 Author : Robert Osfield Removed Geometry::fixDeprecatedData() as it won't work on const Geometry Wed, 26 Jun 2013 07:08:26 +0000 Author : Robert Osfield From Mathias Froehlich, "The attached file replaces the deprecated geometry use in osgSim. The per primitive use is changed to full per vertex arrays." Tue, 25 Jun 2013 16:19:00 +0000 Author : Robert Osfield Removed #include as it's nolonger required in the header Tue, 25 Jun 2013 16:10:24 +0000 Author : Robert Osfield With assistance from Sukender, moved the depreacted osg::Geometry vertex indices and AttributeBinding definitions out into a separated namespace/class so to use deprecated features you should now use deprecated_osg::Geometry in place of osg::Geometry. Tue, 25 Jun 2013 11:13:50 +0000 Author : Robert Osfield From Christian Buchner, "Here is a strongly overhauled version of the original osgoit ("order independent transparency") by Mathias Fröhlich. I called this version myosgoit. It looks very nice, just build and run it!This version adds: - an encapsulation of the entire Depth Peeling procedure into a class (not currently a scene graph node) for easier integration in other projects. - compositing with opaque (solid) geometry is possible and the opaque model is only rendered once. This needs to performs some depth buffer blitting between FBOs. - mix and match with GLSL shaders in the transparent objects is possible, as demonstrated with a 3D heat map intersecting an opaque truck model. Some Drawbacks: - the display framebuffer does not receive any depth information from the compositing camera. This could be fixed by compositing with a GLSL shader and writing to FragDepth." From Robert Osfield, ported the code to work under Linux and without the automatic ref_ptr to C* conversion. Tue, 25 Jun 2013 09:52:38 +0000 Author : Robert Osfield From Alberto Luacas, "current Doxygen warns against the use of obsolete fields: DETAILS_AT_TOP, SHOW_DIRECTORIES, HTML_ALIGN_MEMBERS.I have removed those in the configuration files." Mon, 24 Jun 2013 12:51:02 +0000 Author : Robert Osfield From Cedric Pinson, "I fixed a little issue with the lightwave scene loader. On the version 5 there are id on the command LoadObjectLayer in the scene file and of this version the current code use this field as a part of the filename, and it fails because the file is not found. I just added a field version_ to read it at the beginning and added extra code to check it and read the extra field if needed and read the good filename" Mon, 24 Jun 2013 12:31:48 +0000 Author : Robert Osfield From Christian Ruzicka, "when MSAA is activated on iOS, the stencil attachment is not added (Stencil buffer is not working at all). Attached are the needed changes to make MSAA + stencil working on iOS.Tested with OSG 3.1.7 and iOS SDK 6.1." Mon, 24 Jun 2013 12:30:08 +0000 Author : Robert Osfield Updatd SO_VERSION to reflect changes in ABI from merging submissions. Mon, 24 Jun 2013 12:27:19 +0000 Author : Robert Osfield From Sukender, "I recently pulled from the GIT mirror and found that "OSG_USE_DEPRECATED_GEOMETRY_METHODS=OFF" hides a little mistake: there is a "#include " inside the "osg" namespace, in inlude/osg/Geometry. " Mon, 24 Jun 2013 11:40:16 +0000 Author : Robert Osfield From Mourad Boufarguine, "Attached is a fix for the ply reader to use the output of osgDB::findDataFile." Mon, 24 Jun 2013 11:39:26 +0000 Author : Robert Osfield From Luc Frauciel, "You'll find attached a modification of DXWriter to support Material color: If a material is present, the diffuse color is affected to current layer." Mon, 24 Jun 2013 11:14:13 +0000 Author : Robert Osfield From Lars Nillson, "The change in this submission is to take care of the setting given by a call to setMaximumNumOfObjectsToCompilePerFrame(…).Sometimes if you give a low number, more than the expected number of objects are compiled." Mon, 24 Jun 2013 11:03:59 +0000 Author : Robert Osfield Convert usage to use const versions of containers Mon, 24 Jun 2013 09:59:22 +0000 Author : Robert Osfield From Frederic Morin, "Current behaviour uses SDKSettings.plist to determine osx version but this file is only available when XCode is installed.This version works also when Command Line Tools for XCode are installed (minimum build env for osx without XCode) See https://github.com/openscenegraph/osg/pull/8 for patch details Patch: https://github.com/openscenegraph/osg/pull/8/files" Mon, 24 Jun 2013 09:51:30 +0000 Author : Robert Osfield From Farshid Lashkari, "I've attached a small patch that extends the Image::readImageFromCurrentTexture method to support more depth texture pixel formats (16, 24, 32, 32F). In order to compile, I moved some depth pixel format definitions from FrameBufferObject to Image. " Mon, 24 Jun 2013 09:31:34 +0000 Author : Robert Osfield From Christian Noon, "Got a simple patch for correcting a problem with the USE_COMPRESSOR_WRAPPER() macro in the osgDB::Registry. The problem is that the wrapper declaration doesn't match the one defined in the REGISTER_COMPRESSOR() method in the osgDB::ObjectWrapper method. This patch fixes the wrapper declaration so they both match properly. I ran into this problem using compressed files in an iOS application where all the libraries and plugins need to be built statically." Mon, 24 Jun 2013 09:12:58 +0000 Author : Robert Osfield From Nick Black, "Hey there! avcodec_open() has been deprecated for some time, and indeed has been removed in the most recent versions of libavcodec/ffmpeg. You're already using avcodec_open2() elsewhere, but one appears to have been missed. The change is trivial:[skynet](0) $ svn diff Index: src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp =================================================================== --- src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp (revision 13355) +++ src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp (working copy) @@ -109,7 +109,7 @@ // m_context->flags |= CODEC_FLAG_TRUNCATED; // Open codec - if (avcodec_open(m_context, p_codec) < 0) + if (avcodec_open2(m_context, p_codec, NULL) < 0) throw std::runtime_error("avcodec_open() failed"); } [skynet](0) $ I've applied similar changes this year to many other packages, including cheese, blender, linphone, ad nauseam. It's been tested by verifying that with my patch, OSG builds against the newest libavcodec and ffmpeg, whereas otherwise it does not. The modified src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp is attached. It originates in svn trunk revision 13355. Thanks!" Mon, 24 Jun 2013 09:02:32 +0000 Author : Robert Osfield Introduced typedef's to make the code more readble and maintanable Mon, 24 Jun 2013 08:48:55 +0000 Author : Robert Osfield From Wang Rui, "The file attached includes two new features for the serialization IO functionality. First, custom serializer version control should work now, just by defining a new REGISTER_CUSTOM_OBJECT_WRAPPER macro. For example:// A custom class namespace CustomDomain { class MyGroup : public osg::Group { public: META_Node( CustomDomain, MyGroup ); void setMyName( const std::string& n ); const std::string& getMyName() const; void setMyID( int id ); int getMyID() const; ... }; } // The serialization wrapper using a custom domain name REGISTER_CUSTOM_OBJECT_WRAPPER( MyDomain, CustomDomain_MyGroup, new CustomDomain::MyGroup, CustomDomain::MyGroup, "osg::Object osg::Node osg::Group CustomDomain::MyGroup" ) { ADD_STRING_SERIALIZER( MyName, std::string() ); { UPDATE_TO_VERSION_SCOPED( 1 ); // Updated for a new domain version ADD_INT_SERIALIZER( MyID, 0 ); } } Save the class instance as follows: osgDB::writeNodeFile( *myGroup, "serializer_test.osgt", new osgDB::Options("CustomDomains=MyDomain:1") ); The output file will include the domain version definition and all the class data, and can be read back. We can also force setting the domain version by the CustomDomains option while reading the saved files. If we save the class instance without any options, MyID will be ignored because the default domain version is 0. This may help third-party libraries like osgEarth to maintain their own serializers without regarding to the OSG soversion changes. Another feature added is a more robust binary format, which in fact adds a size-offset at each block's beginning. When there are problems or unsupported data types while reading, we can now directly jump to the block end indicated by the offset value. So a .osgb file will automatically ignore bad data and read remains as normal (at present it will fail at all). This feature will not break the backward compatibility, and can be disabled by setting "RobustBinaryFormat=false" while writing out. Hope these changes can work smoothly with present and future community projects. Maybe we should also consider have an osgserializer example to test and demonstrate all things we can do now." Mon, 24 Jun 2013 08:22:50 +0000 Author : Robert Osfield From Wang Rui, "Sorry for my very slow response because of some personal issues. I found that new Geometry serializers can't work with old .osgb files. The modified FastPathHint serializer doesn't correctly read from the stream and thus jumbles following inputs. The file attached can be placed in osgWrappers/serializers/osg to fix that problem." Mon, 24 Jun 2013 08:19:34 +0000 Author : Robert Osfield From Wang Rui, "The osgdb_ffmpeg plugin may not work with latest ffmpeg windows sdk and will say "The procedure entry point xxx could not be located in xxx.dll" instead. The following link describes the reason (maybe a certain optimization problem of the VS compiler): http://forum.videolan.org/viewtopic.php?f=32&t=98097After adding the /OPT:NOREF, the problem has gone. " Mon, 24 Jun 2013 08:18:08 +0000 Author : Robert Osfield From Farshid Lashkari, "In many game engines it is common to set the W component of the tangent vector to -1 if the UVs are mirrored and 1 if not. I've updated the osgUtil::TangentSpaceGenerator class to do the same." Fri, 21 Jun 2013 19:35:56 +0000 Author : Robert Osfield Updated version number after dev release Fri, 21 Jun 2013 19:35:26 +0000 Author : Robert Osfield Removed spaces from end of lines Fri, 21 Jun 2013 14:37:35 +0000 Author : Robert Osfield Fixed author name error introduced by xxdiff Fri, 21 Jun 2013 14:30:45 +0000 Author : Robert Osfield Reapplied AUTHORS changes Fri, 21 Jun 2013 14:29:00 +0000 Author : Robert Osfield Update ChangeLog and AUTHORS.txt for release Fri, 21 Jun 2013 14:17:42 +0000 Author : Robert Osfield Removed unneccessary handling of BIND_PER_PRIMITIVE on output code Fri, 21 Jun 2013 13:59:18 +0000 Author : Robert Osfield From Pjotr Svetachov, introduced use of osg::observer_ptr in place of osg::Camera* Fri, 21 Jun 2013 13:41:03 +0000 Author : Robert Osfield From Stephan Huber, "attached you'll find the missing readObject-implementations for the imageio-plugin as suggested by Remo Eichenberger." Fri, 21 Jun 2013 12:10:44 +0000 Author : Robert Osfield From Laurens Voerman, build fix Fri, 21 Jun 2013 10:59:03 +0000 Author : Robert Osfield Build fixes for new osg::Geometry Fri, 21 Jun 2013 10:14:18 +0000 Author : Robert Osfield Converted osg::Geometry::ArrayData usage across to osg::Array. Fri, 21 Jun 2013 10:03:49 +0000 Author : Robert Osfield From Laurens Voerman, "I just tested openGL quadbuffered stereo with the osgviewer, the mouse works again, so does the keystonecorrection, but the right-eye render to texture camera appears not to clear it's color buffer. I found the problem in src\osgViewer\View.cpp, fix attached." Fri, 21 Jun 2013 09:53:57 +0000 Author : Robert Osfield From Mathieu Marache, I needed to modify the FindCOLLADA.cmake to enable its compilation under macosx. Fri, 21 Jun 2013 09:47:04 +0000 Author : Robert Osfield Converted ArrayData usage across to set*Array() usage with new binding parameter Fri, 21 Jun 2013 09:43:15 +0000 Author : Robert Osfield Added new osg::Array::Binding parameter to osg::Geometry::set*Array(osg::Array* array, osg::Array::Binding binding=osg::Array::BIND_UNDEFINED) methods to make it easier for the user to set the binding without the need to call the deprecated osg::Geometry::set*Binding(osg::Geometry::AttributeBinding) Fri, 21 Jun 2013 09:40:43 +0000 Author : Robert Osfield Removed spaces at ends of lines Fri, 21 Jun 2013 09:17:28 +0000 Author : Robert Osfield From FrancoisTigeot, "OpenSceneGraph 3.0.1 doesn't build out of the box on DragonFly and needs a few modifications to these files: - applications/present3D/Cluster.cpp - src/osgDB/FileUtils.cppThe changes are needed to fix a few platform specific things such as the absence of stat64, int/socklen_t differences, etc... and are in the same line as Linux, Apple and FreeBSD specific checks. I have attached the modified files; the original patches to 3.0.1 are also visible here if you find it more convenient: http://dl.wolfpond.org/dports/graphics.osg/dragonfly/patch-applications_present3D_Cluster.cpp http://dl.wolfpond.org/dports/graphics.osg/dragonfly/patch-src_osgDB_FileUtils.cpp With these changes, osg 3.0.1 is able to be built and packaged on DragonFly whereas it previously failed to compile." Fri, 21 Jun 2013 08:56:24 +0000 Author : Robert Osfield From Matthias Helsing, "Here is the changed source to prefer using _NET_WM_STATE_ABOVE but fall back to XRaiseWindow should the Atoms not be supported. I'm not sure how many might be using the raiseWindow feature but I needed it for a splash on Ubuntu 12.04." Fri, 21 Jun 2013 08:37:47 +0000 Author : Robert Osfield From Farshid Lashkari, "I've updated the dds, png, and jpeg plugins to support writing images with the GL_DEPTH_COMPONENT pixel format. They will simply treat it the same as the GL_LUMINANCE pixel format." Fri, 21 Jun 2013 08:03:56 +0000 Author : Robert Osfield From Jan Ciger, " I have put there in the comment a nicer way of doing version checks, but that needs at least CMake 2.6.2." Thu, 20 Jun 2013 16:44:14 +0000 Author : Robert Osfield Fixed the handling the mouse min/max ranges of slave Cameras that have a parent Camera with a viewport. Thu, 20 Jun 2013 15:48:14 +0000 Author : Robert Osfield Temporarily commented out call to view.assignStereoOrKeystoneToCamera() for implementing stereo as this was causing problem in trackball manipulation Thu, 20 Jun 2013 15:18:51 +0000 Author : Robert Osfield Added local namespace for util functions, and fixed the return type of checkDeprecatedData() Thu, 20 Jun 2013 12:15:57 +0000 Author : Robert Osfield From Vladimir Chebaev, "I worked with osg::Particle and see that this class has setter osgParticle::setTextureTileRange and has no getters for startTile and endTile. This can be very uncomfortable. I attached file with two getters." Thu, 20 Jun 2013 10:59:00 +0000 Author : Robert Osfield Commented out verbose debug messages for shader composition Thu, 20 Jun 2013 10:42:24 +0000 Author : Robert Osfield Updated ChangeLog and AUTHORS file Thu, 20 Jun 2013 10:05:56 +0000 Author : Robert Osfield From Juan Manuel Alvarez, "When handling keyboard events on osgQt, if a key is kept pressed, multiple sequences of KEYDOWN -> KEYUP events are fired.This is because Qt auto repeats keyboard events, so multiple calls are made to GLWidget::keyPressEvent and GLWidget::keyReleaseEvent by Qt, and subsequently translated to OSG events. The way to solve this is ignoring key released auto repeated events (see http://qt-project.org/doc/qt-4.8/qkeyevent.html#isAutoRepeat), so multiple KEYDOWN events are fired, but only one KEYUP. I attach a modified osgQt/GraphicsWindowQt.cpp with this change." Thu, 20 Jun 2013 09:30:31 +0000 Author : Robert Osfield From Jan Ciger, compilation fix for Qt 5.0.2 Thu, 20 Jun 2013 09:27:50 +0000 Author : Robert Osfield From Laurens Voerman, build fix for VS. Wed, 19 Jun 2013 17:28:28 +0000 Author : Robert Osfield Removed svn:executable property. Wed, 19 Jun 2013 17:26:59 +0000 Author : Robert Osfield Removed svn:executable property Wed, 19 Jun 2013 17:25:55 +0000 Author : Robert Osfield Removed svn:executable property. Wed, 19 Jun 2013 16:24:59 +0000 Author : Robert Osfield Cleaned up usage of BIND_PER_PRIMITIVE where possible. Wed, 19 Jun 2013 12:32:40 +0000 Author : Robert Osfield From Magnus Kessler, typo fixes to doxygen docs and comments Wed, 19 Jun 2013 12:28:06 +0000 Author : Robert Osfield From Magnus Kessler, "gcc-4.8 flagged this:src/osgUtil/tristripper/src/tri_stripper.cpp:375:40: warning: typedef ‘tri_node_iter’ locally defined but not used [-Wunused-local-typedefs] typedef triangle_graph::node_iterator tri_node_iter; ^ --- src/osgUtil/tristripper/src/tri_stripper.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/osgUtil/tristripper/src/tri_stripper.cpp b/src/osgUtil/tristripper/src/tri_stripper.cpp index 2f5a7f3..3396881 100644 --- a/src/osgUtil/tristripper/src/tri_stripper.cpp +++ b/src/osgUtil/tristripper/src/tri_stripper.cpp @@ -372,7 +372,6 @@ inline tri_stripper::const_link_iterator tri_stripper::BackLinkToNeighbour(const void tri_stripper::MarkTriAsTaken(const size_t i) { - typedef triangle_graph::node_iterator tri_node_iter; typedef triangle_graph::out_arc_iterator tri_link_iter; // Mark the triangle node" Wed, 19 Jun 2013 12:27:28 +0000 Author : Robert Osfield Converted tabs to four spaces Wed, 19 Jun 2013 12:19:28 +0000 Author : Robert Osfield From Jan Ciger, "I have found a problem when building OSG with Qt 5 support. Qt has the following in the qopengl.h header:# include # ifndef GL_DOUBLE # define GL_DOUBLE GL_FLOAT # endif # ifndef GLdouble typedef GLfloat GLdouble; # endif Unfortunately, when building for normal OpenGL (not GL/ES!) on Windows with MSVC2012, GLdouble is not defined (it is not a macro but typedef) and the code above produces a conflicting definition, making the compile fail. I am attaching a bit hackish workaround for this problem in osg/GL " Wed, 19 Jun 2013 10:56:31 +0000 Author : Robert Osfield Build fixes for new deprecated osg::Geometry functions Tue, 18 Jun 2013 19:09:33 +0000 Author : Robert Osfield Added #define OSG_USE_DEPRECATED_GEOMETRY_METHODS usage into code to allow code to compile enen when CMake configuration has set the #define to off in include/osg/Config. Tue, 18 Jun 2013 17:49:57 +0000 Author : Robert Osfield Moved the assignment of the normal binding to after the setNormalArray call Tue, 18 Jun 2013 17:48:43 +0000 Author : Robert Osfield Moved the Geometry::set*Binding to after the set*Array() to prevent problems when using the deprecated functionality. Tue, 18 Jun 2013 15:54:38 +0000 Author : Robert Osfield Removed BIND_PER_PRIMITIVE reference Tue, 18 Jun 2013 15:03:26 +0000 Author : Robert Osfield Moved the set binding and normalize for VertexAttrib to after the VertexAttrib array assignment Tue, 18 Jun 2013 14:52:26 +0000 Author : Robert Osfield Changed header guard back to original, and removed deprecated enum Tue, 18 Jun 2013 14:22:43 +0000 Author : Robert Osfield Fixed order of binding. Tue, 18 Jun 2013 11:49:03 +0000 Author : Robert Osfield Removed experiment GeometryNew as it's no longer required. Tue, 18 Jun 2013 11:18:28 +0000 Author : Robert Osfield Clean up up osg::Geometry, removing long deprecated support for array indices and BIND_PER_PRIMITIVE binding that forced OpenGL slow paths. osg::Geometry is now smaller and only supports OpenGL fasts paths. New methods osg::Geometry::containsDeprecatedData() and osg::Geometry::fixDeprecatedData() provide a means for converting geometries that still use the array indices and BIND_PER_PRIMITIVE across to complient versions.Cleaned up the rest of the OSG where use of array indices and BIND_PER_PRIMITIVE were accessed or used. Fri, 14 Jun 2013 09:43:04 +0000 Author : Robert Osfield Fixed TextBase::computeBound() so it take into account all corners of the text box thus ensuring proper handling of rotated text Wed, 12 Jun 2013 12:49:18 +0000 Author : Robert Osfield From Martin Naylor, replace osgDB::fstream with an osgDB::open() call. Tue, 11 Jun 2013 10:52:37 +0000 Author : Robert Osfield Introduced new osg::PatchParameter StateAttribute class to wrap up glPatchParameter associated state. Note, osg::Program::setParameter(GL_PATCH_VERTICES,num); is nolonger support and should be replaced by using the new PatchParameter class. Tue, 11 Jun 2013 10:49:57 +0000 Author : Robert Osfield Fixed indentation Tue, 11 Jun 2013 09:05:35 +0000 Author : Robert Osfield Refactored the way the ReadResult/WriteResult lists are handled, with them now being sorted so that the Read/WriteResult with highest numerical value ReadStatus/WriteStatus is returned. Changed the enum order of ReadStatus/WriteStatus to ensure that the more relevant errors are last and with the highest numerical value Mon, 10 Jun 2013 14:34:25 +0000 Author : Robert Osfield From Kristofer Tingdahl, with additions from Riccardo Corsi and Robert Milharcic, support for Qt5 build Mon, 10 Jun 2013 10:37:08 +0000 Author : Robert Osfield Fixed remove and add callback so they properly handle nested callbacks Fri, 7 Jun 2013 10:54:55 +0000 Author : Robert Osfield From Marcin Prus, "I don't know if you seen my second reply to your information about merging my Image and dds plugin changes. I found one problem in your latest submit. In ReaderWriterDDS::ComputeImageSizeInBytes pixelFormat and pixelType are not passed into osg::Image::computeImageSizeInBytes.It's return osg::Image::computeImageSizeInBytes(width, height, depth, packing, slice_packing, image_packing); but I think it should be return osg::Image::computeImageSizeInBytes(width, height, depth, pixelFormat, pixelType, packing, slice_packing, image_packing);" Fri, 7 Jun 2013 10:52:29 +0000 Author : Robert Osfield From Mathias Froehlich, "attached is a change to osgsharedarray to move completely to the fast geometry path. Also the arrays are moved back to static storage since this is the data that is actually referenced in draw. So the change moving this onto the stack that happend somewhere before broke this." Thu, 6 Jun 2013 08:23:37 +0000 Author : Robert Osfield Replaced OpenThreads::Mutex with a OpenThreads::ReentrantMutex to allow draw callbacks to use Renderer. Wed, 5 Jun 2013 07:55:05 +0000 Author : Robert Osfield Reorder member variables to ensure better packing in memory. Wed, 5 Jun 2013 07:27:35 +0000 Author : Robert Osfield Moved the Array::AttribDivisor into the Array::Binding enum to avoid conflicts in settings between Binding and AttribDivisor.Removed the vertify bindings/shared arrays handling from GeometryNew Tue, 4 Jun 2013 19:04:26 +0000 Author : Robert Osfield Updates to GeometryNew, Array and ArraDispatchers to clean up GeometryNew so that is no longer uses ArrayData. Tue, 4 Jun 2013 14:55:57 +0000 Author : Robert Osfield Added s/getNormalize(), s/getPreserveDataType(), s/getAttribDivisor() and s/getBinding() to osg::Array base class in preperation for refactor of osg::Geometry and introduction of new features. Tue, 4 Jun 2013 14:43:19 +0000 Author : Robert Osfield Removed now redundent osggeodemo Tue, 4 Jun 2013 13:29:44 +0000 Author : Robert Osfield Removed geo plugin as the modelling tool it was assocaited is long defunct. Tue, 4 Jun 2013 10:06:19 +0000 Author : Robert Osfield Cleaned up BIND_PER_PRIMITIVE and array indice usage Tue, 4 Jun 2013 09:32:59 +0000 Author : Robert Osfield Introduced GeometryNew which is a cleaned up version of Geometry that removes support for array indices. GeometryNew is only temporary and will be renamed to Geometry on the completion of refactoring work and feedback from community. Ported osggeometry across to use GeometryNew. Tue, 4 Jun 2013 09:29:37 +0000 Author : Robert Osfield Removed deprecated usage of osg::Geometry indices and BIND_PER_PRIMITIVE Mon, 3 Jun 2013 15:10:53 +0000 Author : Robert Osfield From Aurelien Albert, Added support for texture swizzle. Mon, 3 Jun 2013 14:38:23 +0000 Author : Robert Osfield Updated version and so_version in prep for 3.1.8 developer release Mon, 3 Jun 2013 14:27:14 +0000 Author : Robert Osfield From Laurens Voerman, "Autodesk released a new version of their FBX Software Development Kit (web page http://usa.autodesk.com/adsk/servlet/pc/item?siteID=123112&id=10775847). The API has changed quite a bit, so lots of changes had to be made in the osg readerwriter. The preious version of the FBX SDK (2013.3) already deprecated a lot of the names and functions. The code I submit now still compiles against 2013.3 (possibly needs a #define FBX_NEW_API). Not sure if that's useful, but it might ease the transition." Mon, 3 Jun 2013 14:04:02 +0000 Author : Robert Osfield From Laurens Voerman, "while updating dependencies I found a problem with libgif 5 from http://sourceforge.net/projects/giflib/ a change in version 5.0.0 required a call to the fuction "DGifOpen" to pass an int ref for an error code. My fix ignores the error, just fixes the compile." Mon, 3 Jun 2013 14:01:13 +0000 Author : Robert Osfield From Sergey Polischuk, "this patch fixes light id in gl modes for osg::LightSource's readed from fbx (previously all lightsources were setting GL_LIGHT0 mode, while osg::Lights were using different id's), and enables GL_LIGHT# on root node for all lights contained in model " Mon, 3 Jun 2013 13:13:18 +0000 Author : Robert Osfield Added Vec*b, Vec4ub, Vec*s, Vec*i, Vec*ui serializers Mon, 3 Jun 2013 12:19:06 +0000 Author : Robert Osfield Added Vec2i, Vec2ui, Vec3i, Vec3ui, Vec4i and Vec4ui headers to CMake header list Mon, 3 Jun 2013 11:38:20 +0000 Author : Robert Osfield From Art Tevs, int and uint Vec classes Mon, 3 Jun 2013 09:19:46 +0000 Author : Robert Osfield From Aurelien Albert, "This submission is made against trunk version and add the loading of "glVertexAttribDivisor" extension." Fri, 31 May 2013 10:28:39 +0000 Author : Robert Osfield From Laurens Voerman, "I made some changes to the top level CMakeLists.txt that might be usefull to other visualstudio users. 1> Disable project grouping for VCExpress users: the version I proposed previously in Re: [osg-submissions] Cmake patch to support folders in IDE (29 Feb 2012)2> Remove FIND_PACKAGE(OpenAL): not used in any project 3> add /wd4250 for Visual Studio 2012: suppress the errors caused by a microsoft fix for a bugfix. ref: "Warning messages VS2012..." on osg-users (30 May 2012) " Fri, 31 May 2013 10:23:49 +0000 Author : Robert Osfield From Ulrich Hertlein, "attached is a patch that fixes another clang++ compiler warning when returning std::vector::size() as 'unsigned int'. " Thu, 30 May 2013 09:07:46 +0000 Author : Robert Osfield From Wang Rui, "The osgdb_nvtt plugin needs to be updated to work with the latest NVTT library, which changes the interface slightly (adding a new pure virtual method endImage()). I've modified the source file and attached it here." Tue, 28 May 2013 19:16:59 +0000 Author : Robert Osfield Renamed PanoramicSphericalDisplay.cpp to fix a typo Tue, 28 May 2013 16:39:48 +0000 Author : Robert Osfield Updated ChangeLog and Contributors list Tue, 28 May 2013 15:43:12 +0000 Author : Robert Osfield From Farshid Lashkari, "The logic for handling opacity maps in the 3ds reader seems to be incorrect. It checks whether the diffuse texture contains transparency, instead of the opacity texture. If the diffuse does not contain an alpha channel it outputs the warning:The plugin does not support images without alpha channel for opacity This seems to indicate that the check for alpha should be against the opacity map. I've attached the updated file. " Tue, 28 May 2013 15:40:28 +0000 Author : Robert Osfield From Michael Bach Jensen and Robert Osfield, "As discussed (http://forum.openscenegraph.org/viewtopic.php?t=12027) here is my submission :-)The following change to State.cpp fixes the case where textures in a stateset along with a compute shader program did not make those textures available to the shader, since it got evaluated before the texture bind(s)." Note from Robert, Michael only change State::apply(StateSet*) so I also applied the same reversal in apply of texutre modes/state into the State::apply() method for consistency. Tue, 28 May 2013 15:18:59 +0000 Author : Robert Osfield Replaced the initialization of the strarray to use reseve instead of a initial size provided in the constructor as this was leading to a bug in output. Tue, 28 May 2013 14:40:36 +0000 Author : Robert Osfield Fixed date typo Tue, 28 May 2013 14:35:44 +0000 Author : Robert Osfield From Farshid Lashkari, "I just started looking into the shader composition feature. I enabled shader composition on the osg::State object and noticed a 6x increase in draw time. I figured that the default composer might have performance issues, so I created a custom ShaderComposer that overrides "getOrCreateProgram" and does nothing. This still resulted in a performance drop.I looked into the "State::applyShaderComposition" method and noticed that it will print debug information to the osg::INFO stream. I commented that line out and the performance drop was gone. I'm not sure if the printing was accidentally left in or is meant to be enabled. I've modified the function to only call the print function if INFO logging is enabled. I've attached the change." Tue, 28 May 2013 14:14:45 +0000 Author : Robert Osfield From Marcin Prus and Robert Osfield, moved the key parts of the .dds plugins computeRowWidthInBytes implementation into the osg::Image::computeImageSizeInBytes(..) to address bugs in the computation of image size. Tue, 28 May 2013 11:47:08 +0000 Author : Robert Osfield From Sukender, "Added ".dds" file deletion on writing failure." Tue, 28 May 2013 11:46:01 +0000 Author : Robert Osfield From Sukender, "Added vertical flipping to the writer depending on the Image::getOrigin() value (= flip the image when Image::BOTTOM_LEFT). Most of the time this will not change DDS writing (= no v-flip), as it seems images are rarely "BOTTOM_LEFT". To skip this behaviour, the "ddsNoAutoFlipWrite" option was added. I also moved a few lines of code about "dds_flip" option, and made options reading more like in other ReaderWriters." Tue, 28 May 2013 11:44:36 +0000 Author : Robert Osfield From Diane Delallée & Sukender, "Added some support of non-modulus-4 dimensions in S3TC-DXTC images (previous implementation seem just not to handle these properly). - Added missing packing value on S3TC images. Images are coded with 4x4 blocs, whatever the image size. So there is an horizontal packing of 4 pixels (2 bytes in DXT1, 4 bytes in DXT2-5). - Added crash guard against writing corrupted S3TC images. Notes: - What is missing is a support of "lines packing" in osg::Image (see code comments). - S3TC-DXTC vertical flipping crashes (access violation) with some unusual dimensions (see code). I could not implement missing cases, so I added guards to avoid crashing." Tue, 28 May 2013 11:25:13 +0000 Author : Robert Osfield From Diane Delallée and Sukender, "1. Image.cpp Failure to perform a vertical flip on S3TC-DXTC now simply leaves the original image instead of corrupting it. Image.cpp was sometimes performing a "normal" (= for uncompressed images) vertical flip on S3TC-DXTC images, producing weird results. Actually, code was trying a "DXTC vertical flip" and relied on the result to call a "normal vertical flip". But when the "DXTC v-flip" encounters an error, this is is not necessarily because the image is not S3TC (ex: unhandled image dimensions)! So now the code simply does "if dxtc, then flip_dxtc; else flip_normal;".Note from Robert Osfield, moved the isDXT function into the dxt_tool file and namespace. Tue, 28 May 2013 10:46:47 +0000 Author : Robert Osfield Fixed the computation of the spot light direction. Tue, 28 May 2013 09:20:48 +0000 Author : Robert Osfield Fixed View::setUpViewInWindow() parameter Tue, 28 May 2013 08:38:09 +0000 Author : Robert Osfield Added an OSG_INIT_SINGLETON_PROXY(..) to initialize the static s_GLExtensionDisableString variable Mon, 27 May 2013 09:10:18 +0000 Author : Robert Osfield Updated AUTHORS file Mon, 27 May 2013 09:07:53 +0000 Author : Robert Osfield Updated AUTHORS file Mon, 27 May 2013 09:05:14 +0000 Author : Robert Osfield Updated ChangeLog and AUTHORS file Mon, 27 May 2013 08:13:23 +0000 Author : Robert Osfield From Martin Naylor, "I am receiving 1 build error whilst building the SVN, its in osgforest as follows:error C2065: 'GL_RGBA32F' : undeclared identifier Shoudlnt that be GL_RGBA32F_ARB as defined in texture header? Attached is the easy fix :)." Mon, 27 May 2013 08:10:42 +0000 Author : Robert Osfield Moved quad buffer definitions into include/osg/Camera Sun, 26 May 2013 10:44:11 +0000 Author : Robert Osfield Updated AUTHORS file Sun, 26 May 2013 10:27:07 +0000 Author : Robert Osfield Updated ChangeLog Sat, 25 May 2013 10:09:23 +0000 Author : Robert Osfield From Farshid Lashkari, " small update to TangentSpaceGenerator to support QUAD_STRIP primitive types." Fri, 24 May 2013 17:16:57 +0000 Author : Robert Osfield Resrtuctured the use of static's in the Uniform::getNameID() method to avoid problems under Android. Fri, 24 May 2013 17:06:08 +0000 Author : Robert Osfield From Jordi Torres, "We must use JNI_FALSE instead of false in JNI code. Otherwise the examples will not compile. This patch should be applied to osgAndroidExampleGLES1/jni and osgAndroidExampleGLES2/jni. the osgNativeLib.cpp is the same. " Fri, 24 May 2013 09:43:08 +0000 Author : Robert Osfield Removed redudent code Fri, 24 May 2013 09:35:58 +0000 Author : Robert Osfield Fixed panning bug, when using RUN_ON_DEMAND, that resulted in the camera being thrown off towards infinity.The solution for to refactor the way that events are checked so I add a bool return type to checkEvents() method across osgViewer::GraphcisWindow, osgGA::Devive and osgViewer::Viewer/CompositeViewer classes Thu, 23 May 2013 18:29:47 +0000 Author : Robert Osfield Added repolation of the _deadparts stack which would otherwise been invalidatd by the depth sort of particles. Thu, 23 May 2013 15:55:22 +0000 Author : Robert Osfield From Pawel Ksiezopolski, Added example of using osg::TextureBuffer + GLSL to render forest. Thu, 23 May 2013 14:14:51 +0000 Author : Robert Osfield From David Fries, "This updates the CMakeLists.txt instructions for the commands to make the doxygen documentation." Thu, 23 May 2013 12:29:55 +0000 Author : Robert Osfield Refactored the idle mechanism to fix problems with the vnc thread going idle when it shouldn't have. Thu, 23 May 2013 10:25:03 +0000 Author : Robert Osfield Added assigned of the InteractiveImageHandler as a cull callback to enable the interactive image to know when it's being actively used as part of rendering a frame. Wed, 22 May 2013 15:48:42 +0000 Author : Robert Osfield Quitened down debug messages Wed, 22 May 2013 13:16:44 +0000 Author : Robert Osfield Removed debug messages Wed, 22 May 2013 13:09:38 +0000 Author : Robert Osfield From Nico Kruithof, "For the VNC server, it seems that the wrong include path is used.Instead of INCLUDE_DIRECTORIES(${LIBVNCCLIENT_INCLUDE_DIR}) the CMake variable INCLUDE_DIRECTORIES(${LIBVNCSERVER_INCLUDE_DIR}) should be used. Attached is a fix for src/osgPlugins/vnc/CMakeLists.txt" Wed, 22 May 2013 12:49:46 +0000 Author : Robert Osfield From Pawel Ksiezopolski, first email: "This submission adds texture buffer object ( defined in GL_ARB_texture_buffer_object extension ) to the osg::Texture* family.TextureBuffer objects may use osg::Texture::bindToImageUnit(), so GLSL shaders are able to use not only texelFetch() function , but also functions defined in GL_ARB_shader_image_load_store extension : imageLoad(), imageStore(), imageAtomicAdd() etc." second email: "After a while I found that osg::Texture::applyTexParameters() used with TextureBuffer may cause some OpenGL errors ( applying texture filters and wraps to TextureBuffer makes no sense ) so I fixed it." Wed, 22 May 2013 11:06:12 +0000 Author : Robert Osfield From Jan Ciger, "Here is a little patch to fix a bug in the InfluenceMap serialization. The names of the maps weren't quoted properly and therefore it was breaking loading of rigged models exported from e.g. Blender. Also names that contained spaces wouldn't have been parsed properly. " Wed, 22 May 2013 10:28:07 +0000 Author : Robert Osfield From David Callu, "ust a simple IF ENDIF mismatch in last commit (I use git so no available SVN commit number ) :CMake Warning (dev) in CMakeLists.txt: A logical block opening on the line /home/ledocc/work/perso/osg_Workspace/osg/CMakeLists.txt:823 (IF) closes on the line /home/ledocc/work/perso/osg_Workspace/osg/CMakeLists.txt:893 (ENDIF) with mis-matching arguments. I remove ENDIF argument, it is no longer needed by cmake" Tue, 21 May 2013 17:41:07 +0000 Author : Robert Osfield From Farshid Lashkari, "I'm working on a custom ShaderComposer and I need access to the full StateSetStack of the State object within the getOrCreateProgram() method. The problem is that "State::apply(const StateSet* dstate)" does not add the specified stateset to the stack. I'm not sure if this was intentional, but I've updated the function to push/pop the stateset.I hope the change seems reasonable. I searched the entire code base for code that accesses the StateSetStack, and noticed RenderBin and RenderStage use it. However, I don't think that code would ever be called from within the State::apply() function, so I'm fairly confident the change should be safe." Tue, 21 May 2013 10:22:54 +0000 Author : Robert Osfield From Valeriy Dubov, fix for Android build under OSX Tue, 21 May 2013 09:48:16 +0000 Author : Robert Osfield From Alexander Sinditskiy, "I just noticed that Dragger allways handle events even when handle(const PointerInfo&, const osgGA::GUIEventAdapter&, osgGA::GUIActionAdapter&) returns false.I think it is not correct...i think handled should be changed only when it is really handled." Tue, 21 May 2013 09:44:26 +0000 Author : Robert Osfield Added use of SingleWindow for when only one screen is used Mon, 20 May 2013 19:24:34 +0000 Author : Robert Osfield Refactored the support for stereo and keystone RTT setup so that it can be applied to an existing Camera. Mon, 20 May 2013 14:17:43 +0000 Author : Robert Osfield Added support for controlling border and override redirect to the SingleWindow View::Config Mon, 20 May 2013 10:23:03 +0000 Author : Robert Osfield Added a dedicated RTT texture for each of the left and right eyes when doing ANAGLYPHIC stereo to avoid issues with scene graphs containing ClearNode's such as when using in Present3D Thu, 16 May 2013 15:52:29 +0000 Author : Robert Osfield Added support for setting the left/right cull masks Thu, 16 May 2013 14:51:07 +0000 Author : Robert Osfield Changed the default of OSG_SPLIT_STEREO_AUTO_ADJUST_ASPECT_RATIO to OFF Thu, 16 May 2013 14:11:23 +0000 Author : Robert Osfield Fixed stereo offsets of HORIZONTAL_SPLIT and VERTICAL_SPLIT stereo modes Thu, 16 May 2013 14:07:35 +0000 Author : Robert Osfield Reverted back to changes before experiements with ViewConfig Thu, 16 May 2013 10:28:01 +0000 Author : Robert Osfield Cleaned up the WoWVxDisplay command line parsing Thu, 16 May 2013 10:11:06 +0000 Author : Robert Osfield Renamed osgViewer::Config osgViewer::ViewConfig and moved it's declaration into include/osgViewer. Thu, 16 May 2013 09:08:27 +0000 Author : Robert Osfield Added WoWVxDisplay view config Wed, 15 May 2013 16:15:38 +0000 Author : Robert Osfield Created a dedicated include/osgViewer/config and src/osgViewer/config directories to place all the Config classes. Wed, 15 May 2013 12:50:38 +0000 Author : Robert Osfield Added support for osgViewer::Config in osgViewer::Viewer command line parsing Wed, 15 May 2013 11:31:49 +0000 Author : Robert Osfield Introduced osgViewer::Config base class and beginnigs of various Config implementations. Introduced osgViewer serializers plugin for serialization support for osgViewer::Config implementations and Keystone Tue, 14 May 2013 16:23:53 +0000 Author : Robert Osfield From Lionel Lagarde, "When a function do:OSG_DEBUG << "Hello world!\n"; the underlying stream is not automatically flushed. It is flushed if endl is queued instead of \n: OSG_DEBUG << "Hello world!" << std::endl; The notify macros do: stream->setCurrentSeverity(severity); return *stream; So, if a function do: OSG_DEBUG << "This is a debug message\n"; OSG_NOTICE << "This is a notice message" << std::endl; the debug message will be classified as a notice message. It is a problem when the application uses a NotifyHandler. The notify method of the handler is called with: severity = NOTICE message = "This is a debug message\nThis is a notice message" The attached Notify.cpp contains an automatic flush of the stream when the current severity changes. " Tue, 14 May 2013 16:18:41 +0000 Author : Robert Osfield From Michael Kapelko, "The provided patch (against SVN revision 13380) adds missing constness to returning calls (without it the user code does not compile)." Tue, 14 May 2013 16:15:01 +0000 Author : Robert Osfield From Farshid Lashkari, "The tga image loader was not properly reading in 16-bit images. Fix is attached." Tue, 14 May 2013 16:12:21 +0000 Author : Robert Osfield From Ulrich Hertlein, "Attached is a patch that introduces 'static_cast' on some instances where the code returns '.size()' of a std::vector. This caused some warnings when using clang++ on OS X." Tue, 14 May 2013 13:35:10 +0000 Author : Robert Osfield Updated ChangeLog Tue, 14 May 2013 13:34:54 +0000 Author : Robert Osfield Updated version after dev release Mon, 13 May 2013 13:12:13 +0000 Author : Robert Osfield Added OSGUTIL_EXPORT for Windows build Mon, 13 May 2013 12:08:05 +0000 Author : Robert Osfield Updated version number for dev release Mon, 13 May 2013 11:59:34 +0000 Author : Robert Osfield Updated ChangeLog for dev release Mon, 13 May 2013 11:51:44 +0000 Author : Robert Osfield Updated links to svn repository Mon, 13 May 2013 11:02:40 +0000 Author : Robert Osfield Fixed build for when automatic type conversion isn't enabled for ref_ptr<> Mon, 13 May 2013 09:53:54 +0000 Author : Robert Osfield Fixed the render order to the Render To Texture cameras used in stereo keystoning. Mon, 13 May 2013 09:49:54 +0000 Author : Robert Osfield Improved the use of the Keystone's defined in the DisplaySettings object. Mon, 13 May 2013 09:18:37 +0000 Author : Robert Osfield Added to Viewer::realize() automatic setup using Keystone when available and enabled, and when no other window setup has been selected. Fri, 10 May 2013 17:59:07 +0000 Author : Robert Osfield Added DisplaySettings::KeystoneHint flag that can be set via --keystone-on and --keystone-off command line parameters, and the OSG_KEYSTONE env var Fri, 10 May 2013 16:06:10 +0000 Author : Robert Osfield Added keystone file handling Fri, 10 May 2013 11:56:09 +0000 Author : Robert Osfield Added --keystone command line support into DisplaySettings, and added OSG_KEYSTONE_FILES env var support into osg::DisplaySettings. Fri, 10 May 2013 10:00:38 +0000 Author : Robert Osfield Moved Keystone support from osgkeystone example into osgViewer::View Thu, 9 May 2013 15:18:14 +0000 Author : Robert Osfield Moved Keystone class into osgViewer library. Tue, 7 May 2013 14:43:36 +0000 Author : Robert Osfield Cleaned up event handler and namespaces in prep for integrating keystone functionality into osgViewer Tue, 7 May 2013 13:34:47 +0000 Author : Robert Osfield Added keystone support for left eye, right eye and quad buffer stereo Tue, 7 May 2013 11:13:50 +0000 Author : Robert Osfield Added keystone setup to vertical split stereo suport and cleaned up the horizontal split stereo code Fri, 3 May 2013 20:12:15 +0000 Author : Robert Osfield Commented out debug output Fri, 3 May 2013 19:26:27 +0000 Author : Robert Osfield Introduced new scheme for handling mouse events with osgViewer. The new scheme enables robust event handling even when using distortion correction render to texture Cameras. Fri, 26 Apr 2013 10:00:16 +0000 Author : Robert Osfield As a test of new repository updated date in README.txt Thu, 18 Apr 2013 17:02:57 +0000 Author : Robert Osfield Refactored Keystone setup as a step toward integrating Keystone correction with stereo Thu, 18 Apr 2013 09:47:28 +0000 Author : Robert Osfield Implemented stereo support into osgkeystone as a testbed for moving stereo support from SceneView into osgViewer Wed, 17 Apr 2013 11:04:12 +0000 Author : Robert Osfield Implemented initial cut of anaglyphic stereo Tue, 16 Apr 2013 09:26:40 +0000 Author : Robert Osfield Changed point to osg::ref_ptr<> to prevent memory leaks. Mon, 15 Apr 2013 14:21:32 +0000 Author : Robert Osfield Preperation for adding stereo support direclty into osgViewer. Fri, 12 Apr 2013 13:01:51 +0000 Author : Robert Osfield Added support for enable/disabling the keystone editing using the Ctrl-g key to toggle the UI and grid on/off. Fri, 12 Apr 2013 09:05:11 +0000 Author : Robert Osfield Moved keystone event handler onto the keystone distortion Camera. Fri, 12 Apr 2013 08:52:21 +0000 Author : Robert Osfield Refactoed the grid rendering so that it's now implemented as part of the distortion mesh pass, leaving the main scene graph alone. Thu, 11 Apr 2013 17:12:32 +0000 Author : Robert Osfield Add support for a finer grained mesh on the distortion mesh for higher quality results. Thu, 11 Apr 2013 16:07:49 +0000 Author : Robert Osfield Moved the keystone geometry computation into a Keystone::compute3DPositions(..) method Wed, 10 Apr 2013 16:36:49 +0000 Author : Robert Osfield Removed old experimental keystone code to clean up the example Thu, 28 Mar 2013 10:46:24 +0000 Author : Robert Osfield Changed the way that the keystone geometry is calculated. Wed, 27 Mar 2013 16:29:01 +0000 Author : Robert Osfield Added keypad control of corner points Tue, 26 Mar 2013 17:03:22 +0000 Author : Robert Osfield Moved local variable into local scope to avoid it being created when not used. Tue, 26 Mar 2013 16:47:52 +0000 Author : Robert Osfield Introduced shearing of the image Tue, 26 Mar 2013 11:00:05 +0000 Author : Robert Osfield Improved the setup of the keystone distortion correction mesh. Thu, 21 Mar 2013 16:42:09 +0000 Author : Robert Osfield Updated developer release number Thu, 21 Mar 2013 16:22:30 +0000 Author : Robert Osfield Added check against isVertexBufferObjectSupported() in set*Pointer() methods Thu, 21 Mar 2013 11:35:21 +0000 Author : Robert Osfield Added keystone grid to aid editing Wed, 20 Mar 2013 14:03:28 +0000 Author : Robert Osfield Added arrow key support. Added support for using ctrl and shift keys to modulate how senstive the mouse and key movement is when modifying the keystone parameters. Tue, 19 Mar 2013 16:43:27 +0000 Author : Robert Osfield Improve corner point tracking/keystone computation Tue, 19 Mar 2013 12:44:03 +0000 Author : Robert Osfield Added event handle for interactive setting of keystone variables Fri, 15 Mar 2013 17:35:43 +0000 Author : Robert Osfield Experiments with modifying the projection matrix to provide keystoning. Thu, 14 Mar 2013 16:24:22 +0000 Author : Robert Osfield Initial skeleton of new osgkeystone example Mon, 11 Mar 2013 17:16:32 +0000 Author : Robert Osfield From Aurelien Albert, "There is a little bug in the osg::Group::insertChild method :If the index is more than the size of _children vector, the new child is pushed at the end of the vector, but the index value is unmodified, so an incorrect value is passed to the "childInserted" method." Fri, 22 Feb 2013 17:42:47 +0000 Author : Robert Osfield From Chris Hanson, " Adds missing copy for _bbox member variable to copy constructor:LightPointNode::LightPointNode(const LightPointNode& lpn,const osg::CopyOp& copyop): osg::Node(lpn,copyop), _bbox(lpn._bbox), _lightPointList(lpn._lightPointList), _minPixelSize(lpn._minPixelSize), _maxPixelSize(lpn._maxPixelSize), _maxVisibleDistance2(lpn._maxVisibleDistance2), _lightSystem(lpn._lightSystem), _pointSprites(lpn._pointSprites) { } Lacking this causes _bbox to be uninitialized after LOD changes when paged databases refer to shared subgraphs. " Wed, 13 Feb 2013 16:29:03 +0000 Author : Robert Osfield From Lukasz Izdebski,"added support for gl_SampleMaski." Wed, 13 Feb 2013 16:03:35 +0000 Author : Robert Osfield From Jordi Torres, "This error occurs when compiling current OSG with the NDK >=r8c:android-ndk-r8d/build/gmsl/__ gmsl:512: *** non-numeric second argument to `wordlist' function: ''. Stop. This is discussed in this thread[1]. The solution is to add to the manifest as the OSG library will only run in devices with Android>=2.2 (Froyo) with API level 8 [2]. The fix does not affect to older sdk's. Thanks to Jan Ciger for spotting the bug and find a possible solution. " Tue, 12 Feb 2013 15:44:52 +0000 Author : Robert Osfield From Jordi Torres, Android build fix Tue, 12 Feb 2013 15:40:21 +0000 Author : Robert Osfield From Jordi Torres, fix for Android build Tue, 12 Feb 2013 15:18:06 +0000 Author : Robert Osfield From Stephan Huber, fixed bug in setting _numMessagesPerEvent and added more debug information Thu, 7 Feb 2013 19:16:07 +0000 Author : Robert Osfield From Mike Connell, "3 smaller fixes for the 3DS loader (against trunk)1. Respect "noMatrixTransforms" option for matrices attached to meshes, not only those attached to nodes 2. traverse_nodes variable did the exact opposite of it's description. 3. Always try to load referenced textures, even if we can't find the files (in order to the the registry's ReadFileCallback have a stab at it) " Thu, 7 Feb 2013 11:10:24 +0000 Author : Robert Osfield From Lukasz Izdebski , "I added write and read numInstances in PrimitiveSet." Thu, 7 Feb 2013 11:08:34 +0000 Author : Robert Osfield Updated SO version in prep for serialization foramt change Thu, 7 Feb 2013 08:46:44 +0000 Author : Robert Osfield Updated AUTHORS list Wed, 6 Feb 2013 16:04:13 +0000 Author : Robert Osfield From Wee See, Support for importing OpenFlight Surface Material Codes using osg::Object::UserValue. Notes from Wee See:See attached my ported code, which fulfills: - using of setUserValue()/getUserValue() - user-value will be attached to Geode or Drawable - actually 3 values will be added: SMC (surface), FID (feature) and IRC (IRcolor). Its UserValue-names are < UA:SMC >, < UA:FID > and < UA:IRC > (without spaces!) - user-value will be attached to Geode or Drawable - has an option (named preserveNonOsgAttrsAsUserData) for control whether the UserValues should be attached (Default: no UserValues will be attached) Reading out this values is very simple. Here is an example (uservalue-name without spaces!): signed short smc; if (myGeode.getUserValue("< UA:SMC >", smc)) { doSomethingWithTheGeodeAndItsSmc(myGeode, smc); } else { // geode has no SMC } Wed, 6 Feb 2013 14:50:37 +0000 Author : Robert Osfield From Aurelien Albert, "This line,I use the "useVertexAttributeAliasing" mode in my application, and color arrays are not normalized, so shaders get [0.0-255.0] values instead of [0.0-1.0] values. This patch fix this."and those below, will be ignored ---- M include/osg/State Wed, 6 Feb 2013 14:49:48 +0000 Author : Robert Osfield Added TODO note about RGB -> RGBA Wed, 6 Feb 2013 12:46:03 +0000 Author : Robert Osfield From David Longest, "I have updated the FFmpeg plugin to support the 1.0 release version of FFmpeg. The files attached were modified in order to facilitate the update. Below are the details for all changes made.Header update FindFFmpeg.cmake has been changed in order to support the new header include format for FFmpeg. In the 1.0 release, a new file had been added with the name “time.h” in the avutil library. The previous method of adding includes caused conflicts with the ANSI C “time.h” file. Now the include directive will only use the main include folder. All files using the old include format have been updated to reflect the change. Added __STDC_CONSTANT_MACROS define to CMakeLists.txt Since there is no guarantee that FFmpegHeaders.hpp will be included before stdint.h is included, the define has been moved from FFmpegHeaders.hpp to be part of the CMakeLists.txt for the FFmpeg plugin. This will allow the define to work on all compilers regardless of include order. Replaced AVFormatParameters with AVDictionary AVFormatParameters is no longer supported in FFmpeg and has been replaced with a key/value map of strings for each setting. FFmpegParameters and FFmpegDecoder has been updated to reflect this. Replaced av_open_input_file with avformat_open_input FFmpeg now opens files using avformat_open_input. Since the av_open_input_file method is deprecated, the FFmpegDecoder class has been updated to reflect this change. Added custom AVIOContext field to options Since some formats and inputs may not be supported by FFmpeg, I have added a new parameter that allows a user to allocate their own AVIOContext. This class will allow for creating a read, seek, and write callback if they desire. Checking for start_time validity It is possible for some file formats to not provide a start_time to FFmpeg. This would cause stuttering in the video since the clocks class would be incorrect. Removed findVideoStream and findAudioStream The new FFmpeg release already has a function that will find the best audio and video stream. The code has been replaced with this function. Updated error reporting Some functions would not log an error when opening a file or modifying a file failed. New logs have been added as well as a function to convert error numbers to their string descriptions. decode_video has been replaced The old decode_video function would remove extra data that some decoders use in order to properly decode a packet. Now av_codec_decode_video2 has replaced that function. Picture format changed from RGBA32 to RGB24 Since most video will not contain an alpha channel, using a 24 bit texture will use less memory." Wed, 6 Feb 2013 12:02:05 +0000 Author : Robert Osfield Simplified include/osg/Math to use Standard C++ maths headers - and Wed, 6 Feb 2013 11:16:29 +0000 Author : Robert Osfield Fixed warning Wed, 6 Feb 2013 09:20:10 +0000 Author : Robert Osfield From Stephan Huber, fixed for Windows 64bit build Tue, 5 Feb 2013 18:22:46 +0000 Author : Robert Osfield Added .get()'s to fix compilation when ref_ptr<> type conversion is disabled Mon, 4 Feb 2013 16:25:52 +0000 Author : Robert Osfield Updated ChangeLog Mon, 4 Feb 2013 14:42:44 +0000 Author : Robert Osfield Updated version number after 3.1.4 developer release Mon, 4 Feb 2013 13:28:45 +0000 Author : Robert Osfield From Jordi Torres, "The info about cdash reports was outdated. Now it points to the right URL. BTW I have checked it out and the cdash server is working ok again. " Mon, 4 Feb 2013 13:28:05 +0000 Author : Robert Osfield Fixed warning Mon, 4 Feb 2013 13:27:46 +0000 Author : Robert Osfield Fixed warnings Mon, 4 Feb 2013 13:11:13 +0000 Author : Robert Osfield Fixed warning Mon, 4 Feb 2013 12:50:51 +0000 Author : Robert Osfield Fixed warning and converted tabs to four spaces Mon, 4 Feb 2013 12:38:08 +0000 Author : Robert Osfield Fixed warnings Mon, 4 Feb 2013 12:01:26 +0000 Author : Robert Osfield Fixed warning Thu, 31 Jan 2013 16:26:06 +0000 Author : Robert Osfield Standardized use of GL_HALF_FLOAT_NV and GL_HALF_FLOAT_ARB to GL_HALF_FLOAT Thu, 31 Jan 2013 11:09:03 +0000 Author : Robert Osfield From Stephan Huber, introduction of message id scheme were osc messages are sent with an unique id, and can be dispatched multiple times to workaround network packet losses. Wed, 30 Jan 2013 11:31:27 +0000 Author : Robert Osfield Added handling of movies into Timeout Wed, 30 Jan 2013 10:49:18 +0000 Author : Robert Osfield Added disabling of the traversal of the Timeout in update when the timout is not displayed and disabled traversal by the SlideEventHandler. Wed, 30 Jan 2013 10:40:26 +0000 Author : Robert Osfield Fixed the erronous header so that it is OSGPL like the rest of the osgAnimation. Wed, 30 Jan 2013 10:21:45 +0000 Author : Robert Osfield From Stephan Huber, "As I have not all referenced image-data, SlideShowConstructor crashed on my end. Attached is a fix for that crash." Mon, 28 Jan 2013 14:56:52 +0000 Author : Robert Osfield From Wang Rui, "I've fixed the bug of writing/reading scenes including the ImageSequence serializer. Current trunk version will fail when handing image sequences because it forces to set className to "osg::Image" in InputStream.cpp. I have to read a value saved in file instead so I must add a hardhanded version checking for backward compatibility.Now we can work with ImageSequence objects, in both osgt and osgb files." Mon, 28 Jan 2013 14:30:21 +0000 Author : Robert Osfield From Laurens Voerman, "I have implemented and tested (on windows only) your suggestion for resetCullingMask(), it's far less intrusive than my previous submission. attached are the changes to current svn (28 Jan 2013 / rev :13312). " Fri, 25 Jan 2013 16:54:30 +0000 Author : Robert Osfield From Thomas Hogarth, "Attached are two minor modifications to the master CMakeLists.txt file.It now points to sdk version 6.0 (I do intend to make this configurable my command line) It also added a search for libtiff to Apple builds mainly for use with osg earth." Fri, 25 Jan 2013 11:54:03 +0000 Author : Robert Osfield From Wang Rui, "In the attached files I've added the Compute Shader support for OSG, as well as serializer updates and a new osgcomputeshaders example. My submission also include a setComputeGroups() function in Program for setting compute-shader work groups, and a bindToImageUnit() function in Texture for binding textures as image variables in shaders.All code are tested on Windows 7 + NVIDIA GFX 570 with the latest GeForce 310.70 Driver (BETA), which could support OpenGL 4.3. Compute shader information can be found at "http://www.opengl.org/registry/specs/ARB/compute_shader.txt" " Fri, 25 Jan 2013 11:08:32 +0000 Author : Robert Osfield From Lukasz Izdebski, "Adding this GL mode makes possibly to use this GL Modes (added in core OpenGL 3.2) in Windows." Fri, 25 Jan 2013 10:36:42 +0000 Author : Robert Osfield Fixed compile warning Fri, 25 Jan 2013 10:24:11 +0000 Author : Robert Osfield Added debug message for Timout Thu, 24 Jan 2013 18:48:34 +0000 Author : Robert Osfield Fixed usage of META_NodeVisitor so it doesn't include "" Wed, 23 Jan 2013 17:38:28 +0000 Author : Robert Osfield From Pjotr Svetachov, "when you restart threading with startThreading/stopThreading the _drawQueue and _availableQueue are not reset properly. This can lead to a deadlock when threading is started again. So before threading is started again the queues must be reset. This deadlock is also reported earlier by someone else in here: http://forum.openscenegraph.org/viewtopic.php?p=43415#43415" Wed, 23 Jan 2013 17:37:26 +0000 Author : Robert Osfield From Pjotr Svetachov, "small bug which I have found in the FlattenStaticTransformsDuplicatingSharedSubgraphsVisitor: the visitor will replace part of the tree when visiting the nodes but it does not update the current node path to reflect this. If you then have multiple nested transform nodes it will usually crash and sometimes it won't crash but the resulting mesh will miss some nodes." Wed, 23 Jan 2013 16:27:22 +0000 Author : Robert Osfield From Mathias Froehlich, "I have extended the dds loader by some newer DX10 texture formats. Especially the float texture formats. I need a few of these formats somewhere but have extended everything that I found plausible and was easy to find a GL texture type/format for. For some float32 type of texture the files the implementation seem to work fine. The rest lacks testing. The writer side is not implemented." Wed, 23 Jan 2013 16:22:45 +0000 Author : Robert Osfield From Wang Rui with edits from Robert Osfield, additional GLenums for cross platform build Wed, 23 Jan 2013 15:54:20 +0000 Author : Robert Osfield From Lionel Lagarde, fixed typo bug Wed, 23 Jan 2013 11:50:45 +0000 Author : Robert Osfield Removed redundent code block Wed, 23 Jan 2013 11:45:31 +0000 Author : Robert Osfield From Lukasz Izdebski, "I found problem with rgb plugin. Internal format of rgb image is wrongly set ( diffrent then in other images type plugin ), because of that using rgb images in osg::Texture2DArray causes a bug." Wed, 23 Jan 2013 11:20:00 +0000 Author : Robert Osfield From Mathias Froehlich, "Attached is a patch that includes the stereo cameras in Renderer::*etCameraRequiresSetUp.I am not sure if the getter needs to be changed, but this is currently included for consistency." Tue, 22 Jan 2013 16:53:50 +0000 Author : Robert Osfield From Alessandro Terenzi, "I've modified the avfoundation plugin to copy the preferredTransform matrix into the UserData property of the corresponding imagestream: by doing so, we can realize if the video should be transformed when applied as a texture (this should be the case, for instance, when we record a movie using an iOS device with any orientation different than 'landscape left')." Tue, 22 Jan 2013 16:13:59 +0000 Author : Robert Osfield Added and functionality to .p3d functionality. Tue, 22 Jan 2013 10:33:19 +0000 Author : Robert Osfield Added extra check against whether node needs to be traversed in update and event traversals to prevent osgPresentation::Timeout being classified as a node that can be removed. Fri, 18 Jan 2013 17:11:49 +0000 Author : Robert Osfield Added Options support to ImageSequence LOAD_* functionality Fri, 18 Jan 2013 16:30:55 +0000 Author : Robert Osfield Update SO_VERSION to reflect new API changes Fri, 18 Jan 2013 16:21:17 +0000 Author : Robert Osfield Added LOAD_AND_RETAIN_IN_UPDATE_TRAVERSAL and LOAD_AND_DISCARD_IN_UPDATE_TRAVERSAL ImageSequence::Mode's to allow for ImageSequence usage without using background paging threads, instead loading all the images on demand in the update traversal. Thu, 17 Jan 2013 13:51:52 +0000 Author : Robert Osfield Added and support to to allow the different timeout statges to be broadcast. Thu, 17 Jan 2013 11:57:18 +0000 Author : Robert Osfield Changed the defaults of the Timeout to be DBL_MAX by default. Thu, 17 Jan 2013 11:48:20 +0000 Author : Robert Osfield Completed support, to use it with p3d use it along the lines: Test 3.0 5.0 A S D w t Images/lz.rgb cow.osg Thu, 17 Jan 2013 09:51:15 +0000 Author : Robert Osfield Added support for to Timeout support. Wed, 16 Jan 2013 16:13:30 +0000 Author : Robert Osfield Implemented basic Timeout display and timing codes Tue, 15 Jan 2013 11:31:44 +0000 Author : Robert Osfield Added shell of Timeout class Fri, 11 Jan 2013 11:30:44 +0000 Author : Robert Osfield Added movie volume animation control to and tags to be used in the form: 0.20 0.0 1.0 1.0 0.0 big_buck_bunny_1080p_stereo.ogg Thu, 10 Jan 2013 19:55:50 +0000 Author : Robert Osfield Added support for properties that works in conjunction with the start="time" property support checked in in previous submission, together these control the delay, start position and stop position of movies. Thu, 10 Jan 2013 14:37:52 +0000 Author : Robert Osfield Added support for property that tells a video to start specificied number of sections into a video. Thu, 10 Jan 2013 10:53:22 +0000 Author : Robert Osfield From Stephan Huber, "thanks for your input, unfortunately I could not get it working with packing, but setting the row-length works now. Seems I had it wrong the first time.Attached are both files. This should fix the video-bug mentioned on the dlf-wiki. " Wed, 9 Jan 2013 16:29:28 +0000 Author : Robert Osfield Changed the named colours back to having a alpha value of 1.0 to avoid problems with text not appearing. Wed, 9 Jan 2013 16:03:22 +0000 Author : Robert Osfield Added reset of the cursorFileName when hideCursor is activated to prevent the custom cursor being enabled. Tue, 8 Jan 2013 10:21:13 +0000 Author : Robert Osfield Added case for FORWARD_EVENT to address warning Mon, 7 Jan 2013 15:03:22 +0000 Author : Robert Osfield From Aurelien Albert, "I get a compile error on Windows VS2008 wih new DAE plugin, here is a fix : _document = _dae->openFromMemory(fileURI, buffer.data()); "data" method is unknow for std::vector with VS2008 I've replaced it with : _document = _dae->openFromMemory(fileURI, &buffer[0]); " Mon, 7 Jan 2013 12:41:16 +0000 Author : Robert Osfield Added support for --show-cursor and --hide-cursor command line options, and P3D_SHOW_CURSOR env var that can be set to YES or NO. Mon, 7 Jan 2013 12:17:26 +0000 Author : Robert Osfield From Stephan Huber, "* osgGA: fixed a small bug regarding emulating mouse-events from touch-events * resthttp/osc: encapsulate RequestHandler-classes in their own namespaces to prevent class-name-lookup-errors in the debugger/code (had some weird crashes) * QTKit: fixed a compile-bug for gcc and blocks * osgPresentation: click_to_* will fire on RELEASE, only if the drawable received a PUSH beforehand * p3d/osgPresentation: implemented "forward_mouse_event_to_device"-tag, which will forward mouse-events to all registered devices of a viewer, if an intersection occurs. The mouse-coordinates get reprojected * present3d: all devices get registered with the viewer * osgViewer: only devices which are capable of receiving events are queried for new events. * GraphicWindowIOS: added a flag to GraphicWindowIOS::WindowData to set up a retained backing buffer (defaults to false) This will enable read-back of the render-buffer with glReadPixels even after the renderbuffer got presented * curl: added an optimized check for file-existance, now only the headers are requested and checked, instead of reading the whole file and handle it with a ReaderWriter * p3d: fixed a bug, where the existence of a local file may prevent the remote loading of a file with the same name." Thu, 20 Dec 2012 16:16:07 +0000 Author : Robert Osfield Made UpdateVisitor::TravesalMode default to TRAVERSE_ACTIVE_CHILDREN Thu, 20 Dec 2012 12:14:53 +0000 Author : Robert Osfield Added region="$xmin $ymin $zmin $xmax $ymax $zmax" support to tag, along with animation support via the support. Wed, 19 Dec 2012 17:14:29 +0000 Author : Robert Osfield Removed lighting of trk lines Wed, 19 Dec 2012 12:38:17 +0000 Author : Robert Osfield Changed the colour calculation and added gl_ClipVertex to enable clipping. Tue, 18 Dec 2012 11:20:20 +0000 Author : Robert Osfield Removed erroneous region setting Tue, 18 Dec 2012 09:49:01 +0000 Author : Robert Osfield From Juergen Rensen, "This is a fix for the latest SVN version (rev 13269). The ‘destroyFrameBuffer’ method in ‘GraphicsWindowIOS.mm’ had ‘glDeleteFramebuffersOES’ calls for the stencil buffer, MSAA render buffer and MSAA depth buffer instead of ‘glDeleteRenderbuffersOES’. The fix changes the mismatched calls to ‘glDeleteRenderbuffersOES’.The impact of the bug was a memory leak that would affect multi-sampling iOS apps that allow for device rotation or window resizing in general. For our app, the leak ranged from ca. 10 MB to 40 MB per device rotation, depending on device, for the MSAA buffers. I have not been able to confirm impact for the stencil buffer. " Mon, 17 Dec 2012 15:58:57 +0000 Author : Robert Osfield Added support for RGBA colour buffer in osgframerenderer using the --rgba command line option (--rgb selects the standard non colour frame buffer which is the default). Sun, 16 Dec 2012 17:10:37 +0000 Author : Robert Osfield Added handling of aspect ratio for vertical/horizontal split stereo. Fri, 14 Dec 2012 16:31:07 +0000 Author : Robert Osfield From Stephan Hunber, "* now you can create a transparent opengl-view (see GraphicWindowIOS::WindowData) * changes of the view's bound are reported via osg's event-system more reliably" Fri, 14 Dec 2012 16:30:28 +0000 Author : Robert Osfield Updated SO version Thu, 13 Dec 2012 17:35:27 +0000 Author : Robert Osfield From Lionel Lagarde, "Here is a correction on the PixelBufferObject getter methods of Image.The set method modify the buffer object of the BufferData while the get method returned the buffer object of the Image. I've also removed the _bufferObject member of Image (not used anymore)." --This line, Lionel Lagardeand those below, will be ignored-- M include/osg/Image Thu, 13 Dec 2012 16:23:38 +0000 Author : Robert Osfield Added colouring and lighting of track using shader Tue, 11 Dec 2012 17:45:20 +0000 Author : Robert Osfield Fixed handling of image colour space conversion when pixel format changes Tue, 11 Dec 2012 17:27:22 +0000 Author : Robert Osfield Added automatic conversion of RGB to RGBA when doing REPLACE_ALPHA_WITH_LUMINANCE colour space conversion. Tue, 11 Dec 2012 10:44:00 +0000 Author : Robert Osfield Disabled lighting and set the colour to white Tue, 11 Dec 2012 09:55:48 +0000 Author : Robert Osfield First cut of generating lines from .trk data Mon, 10 Dec 2012 11:11:19 +0000 Author : Robert Osfield Added setting of the fusion distance. Sat, 8 Dec 2012 16:11:00 +0000 Author : Robert Osfield Added --flip and --no-flip command line options to enable/disable a vertical flip of the captured image before writing out to disk. Fri, 7 Dec 2012 19:05:47 +0000 Author : Robert Osfield From Stephan Huber, "attached you'll find a zip containing some bug-fixes and some refactored + new code.* ZeroConfDevice does now return FILE_NOT_HANDLED instead of FILE_NOT_FOUND * present3D supports multiple devices per env-var P3D_DEVICE, separate multiple device with a space I refactored parts the p3d-plugin, the curl-plugin and parts of Registry and ReaderWriter. Currently the p3d-plugin tries to open all remote files with the help of the curl-plugin. I added a new method to Registry called getReaderWriterForProtocolAndExtension. which will return a ReaderWriter which is capable in handling the remote file for the given protocol and extension. If no readerwriter is found for the given extension, a list is built of all readerwriters supporting the given protocol and this list is checked for support of wildcards (extension = "*"). If anything matches it get returned. I added this principle also to the Registry, so now it's possible to register a generic ReaderWriter which can handle all filetypes for a given protocol, similar what curl is doing. All you have to do is to load the plugin at startup. The curl-fallback is still in place. With these changes it is now possible to reference a movie inside a presentation without a server-address, read the presentation (with curl) and stream the movie with the correct plugin (e.g. QTKit) " Fri, 7 Dec 2012 19:04:49 +0000 Author : Robert Osfield Added template swapBytes method Fri, 7 Dec 2012 13:59:57 +0000 Author : Robert Osfield Added naming of root of presentation and used this in the setup of the position of the camera. Fri, 7 Dec 2012 12:47:42 +0000 Author : Robert Osfield Fixed handling of window size/projection matrix Fri, 7 Dec 2012 10:19:05 +0000 Author : Robert Osfield From Stephan Huber, attached is a fix for the bug of present3D not loading fonts across http. I pass SlideShowConstructor's options-object to readFontFile when constructing any text-objects so freetype can pick up the font-data from the curl-plugin. It works fine now on my end. Thu, 6 Dec 2012 19:09:17 +0000 Author : Robert Osfield Intial shell of .trk plugin Thu, 6 Dec 2012 18:12:00 +0000 Author : Robert Osfield From Stephan Huber, build fix Thu, 6 Dec 2012 14:42:36 +0000 Author : Robert Osfield Added default value for initialization of port number Thu, 6 Dec 2012 11:36:35 +0000 Author : Robert Osfield Fixed typo Thu, 6 Dec 2012 11:36:13 +0000 Author : Robert Osfield Added creation of directory path for ouput if one is required Thu, 6 Dec 2012 08:02:08 +0000 Author : Robert Osfield From Stephan Huber, ZerConfDevice plugin for Windows and Apple Wed, 5 Dec 2012 17:15:53 +0000 Author : Robert Osfield From Stephan Huber, "* imageio: removed ReaderWriterImageIO_IOS.cpp, refactored ReaderWriterImageIO to work on OS X and IOS * avfoundation: added support for IOS (CoreVideo-support is still in development, works only for SDK >= 6.0, set IPHONE_SDKVER in cMake accordingly) * zeroconf: added ZeroConf-device-plugin (Mac/Win only, linux implementation missing) to advertise and discover services via ZeroConf/Bonjour, on windows you'll need the Bonjour SDK from Apple * osgosc: modified the example to demonstrate the usage of the ZeroConf-plugin (start the example with the command-line-argument --zeroconf) * SlideShowConstructor: enable/disable CoreVideo via a environment variable (P3D_ENABLE_CORE_VIDEO) * RestHttp: mouse-motion-events get interpolated * RestHttp: unhandled http-requests get sent as an user-event to the event-queue, all arguments get attached as user-values to the event * modified some CMakeModules to work correctly when compiling for IOS * fixed a compile-error for IOS in GraphicsWindowIOS * some minor bugfixes" Wed, 5 Dec 2012 11:41:27 +0000 Author : Robert Osfield Added --screen-distance , --screen-height and --screen-width command line support and associated settings to the configuration file. Wed, 5 Dec 2012 10:13:51 +0000 Author : Robert Osfield Moved the expansion of the key codes into ApplicationUsage so that help is only generated for non zero keycodes. Tue, 4 Dec 2012 19:02:45 +0000 Author : Robert Osfield Fixed default camera position Tue, 4 Dec 2012 18:51:21 +0000 Author : Robert Osfield Changed the -w and -h options to --width and --height respectively. Tue, 4 Dec 2012 18:30:33 +0000 Author : Robert Osfield Cleaned up command line usage Tue, 4 Dec 2012 18:28:28 +0000 Author : Robert Osfield Tidied up command line docs. Tue, 4 Dec 2012 18:21:53 +0000 Author : Robert Osfield Tidied up CaptureSettings and added command line docs Tue, 4 Dec 2012 12:47:46 +0000 Author : Robert Osfield Added CameraProperty and associated command line parameters for controlling camera position and animation. --center x y z --eye x y z --up x y z --rotation-center x y z --rotation-axis x y z --rotation-speed degreesPerSecond Tue, 4 Dec 2012 09:11:17 +0000 Author : Robert Osfield Added missing break; Mon, 3 Dec 2012 16:49:47 +0000 Author : Robert Osfield From Stephan Huber, "I've found a bug in SlideShowConstructor::findFileAndRecordPath which does return an empty string if the file was not found, and this empty string got added to the fileNames-vector, so the curl-plugin tried to load only an empty file-name, the directory-prefix. I fixed findFileAndRecordPath, so it returns the unmodified filename, which can then be loaded by the curl-plugin. Please review my fix, as I am not sure if it has any side effects, as I know the code not that well.The file includes another small compile-fix when using float-matrices." Mon, 3 Dec 2012 11:31:13 +0000 Author : Robert Osfield Renamed souce file Mon, 3 Dec 2012 10:10:46 +0000 Author : Robert Osfield From Wang Rui, "I've found a very covert bug in current VDSM implementation. It makes the computation of positional texgen incorrect if the shadow scene is under one or more child cameras with view/proj offsets. Using current stage instead will fix it." Mon, 3 Dec 2012 09:50:41 +0000 Author : Robert Osfield Fixed error in Unfiform set method Mon, 3 Dec 2012 09:35:12 +0000 Author : Robert Osfield Added include of osc plugin directory to help with Windows build Sun, 2 Dec 2012 11:45:57 +0000 Author : Robert Osfield From Wang Rui, build fix Fri, 30 Nov 2012 20:03:31 +0000 Author : Robert Osfield Fixed crash when no CameraManipulator is assigned to the viewer Fri, 30 Nov 2012 16:52:59 +0000 Author : Robert Osfield Added support for 0x and numeric defintion of keys to be used with functionality. Fri, 30 Nov 2012 15:43:31 +0000 Author : Robert Osfield Added support for pausing and restart the property_animation. Fri, 30 Nov 2012 14:21:45 +0000 Author : Robert Osfield Added xml defined property/property animation to .p3d format for propeties: alpha="$alphaname" cutoff="$cutoffname" region="$minx $miny $minz $maxx $maxy $maxz" sampleDensity="$densityname" sampleDensityWhenMoving="$densityname" Wed, 28 Nov 2012 13:28:20 +0000 Author : Robert Osfield From Stephan Huber, New OscSendingDevice and OscReceivingDevice classes Wed, 28 Nov 2012 10:43:58 +0000 Author : Robert Osfield From Stephan Huber, added event sending support into osgGA::Device along with implementation on this into the osc plugin. Added osgoscdevice example to demonstate this in action. Tue, 27 Nov 2012 16:00:43 +0000 Author : Robert Osfield Added support for tag for , and scope to compliment the scope of Tue, 27 Nov 2012 15:09:44 +0000 Author : Robert Osfield Added preliminary support for Thu, 22 Nov 2012 15:13:46 +0000 Author : Robert Osfield From Stephan Huber, "Attached you'll find a new ImageSequence.cpp which will fix an issue I had when moving the mouse cursor over the left window-border, as the index becomes negative. And I added a UdpSocket.cpp-file with more debuggin-output via some sprinkled printf-calls. " Thu, 22 Nov 2012 11:55:38 +0000 Author : Robert Osfield Simplified CMakeLists and adjusted OscHostEndianness to automatically detect the endian at compile time Thu, 22 Nov 2012 11:47:03 +0000 Author : Robert Osfield From Stephan Huber, updates to explictly set the HOST Endian using Cmake Thu, 22 Nov 2012 09:49:24 +0000 Author : Robert Osfield Added explict handling of osg::Image, osg::HeightField, osg::Shader and osg::Node when doing writes to the archive. Wed, 21 Nov 2012 15:19:58 +0000 Author : Robert Osfield From Stephan Huber, further work on osc plugin Wed, 21 Nov 2012 14:27:54 +0000 Author : Robert Osfield Moved static for local to global scope in Uniform.cpp and removed the local static usage in Registry.cpp Wed, 21 Nov 2012 13:38:11 +0000 Author : Robert Osfield Refactored osgDB::Input::readObjectOfType to use a template, and updated associated wrappers to avoid using local static's Tue, 20 Nov 2012 18:41:30 +0000 Author : Robert Osfield From Paul Martz, fix for Windows build Tue, 20 Nov 2012 13:01:57 +0000 Author : Robert Osfield From Stephan Huber, added missing windows dependency Tue, 20 Nov 2012 10:37:42 +0000 Author : Robert Osfield Added ws2_32 library to Win32 build Mon, 19 Nov 2012 11:25:52 +0000 Author : Robert Osfield From Paul Martz, build fixes Mon, 19 Nov 2012 10:48:37 +0000 Author : Robert Osfield Frm Stephan Huber, osc plugin that supports send and recieving events via UDP packets. Fri, 16 Nov 2012 15:40:41 +0000 Author : Robert Osfield Added first cut implememtation of PropertyAnimation class Thu, 15 Nov 2012 12:11:19 +0000 Author : Robert Osfield Moved PropertyManager related classes out from SlideEventHandler into their own dedicated header/source file. Tue, 13 Nov 2012 16:15:20 +0000 Author : Robert Osfield Added support for P3D_UPDATE env var for setting the UpdateVisitor::TRAVERSAL_MODE. Accepted settings are "active", "Active", "ACTIVE", or "all", "All", "ALL". Tue, 13 Nov 2012 15:26:06 +0000 Author : Robert Osfield Added --update-active and --update-all command line options that set the UpdateVisitor::TraversalMode to TRAVERSE_ACTIVE_CHILDREN and TRAVERSE_ALL_CHILDREN respecively. Tue, 13 Nov 2012 14:22:37 +0000 Author : Robert Osfield Added support for to allow user definition of when to enable OpenGL blending for an image or not. Tue, 13 Nov 2012 13:52:33 +0000 Author : Robert Osfield From Stephan Huber, fixed warning Tue, 13 Nov 2012 13:32:01 +0000 Author : Robert Osfield Changed COLOUR to COLOR to be consistent with OpenGL spelling Tue, 13 Nov 2012 13:16:10 +0000 Author : Robert Osfield Moved colour space conversion of volumes from the osgvolume example into osg/ImageUtils and added support for colorSpaceConversion="MODULATE_ALPHA_BY_LUMINANCE","MODULATE_ALPHA_BY_COLOUR","REPLACE_ALPHA_WITH_LUMINANCE" and "REPLACE_RGB_WITH_LUMINANCE" to .p3d tag Tue, 13 Nov 2012 11:45:20 +0000 Author : Robert Osfield Added first step to adding pruning of expired image requests. Tue, 13 Nov 2012 11:20:36 +0000 Author : Robert Osfield From Stephan Huber, introduced syncornization of osgGA::Device Mon, 12 Nov 2012 16:46:08 +0000 Author : Robert Osfield Cleaned up reported of events and added assigned of tag region properities when using the wildcard definition of the volume. Mon, 12 Nov 2012 15:26:30 +0000 Author : Robert Osfield Added osgframerenderer example Mon, 12 Nov 2012 10:36:21 +0000 Author : Robert Osfield Changed the default settings to fix a jump problems Sat, 10 Nov 2012 12:12:24 +0000 Author : Robert Osfield Added missing files in support of key_jump and key_run tags Fri, 9 Nov 2012 21:32:54 +0000 Author : Robert Osfield Added support for naming slides and layers with slide_name and layer_name properties respectively. Added support for creating events based on key presses using a and tags. Fri, 9 Nov 2012 21:23:42 +0000 Author : Robert Osfield Added Node::getName() and getUserDataContainer() to check to see if an node can be removed or not. Thu, 8 Nov 2012 17:19:51 +0000 Author : Robert Osfield From Alexander Sinditskiy, "I found issue with capturing mouse buttons. This issue can be reproduced: 1. Create osgViewer window, 2. Push right&left mouse buttons on the osgViewer window, 3. Move mouse out of window, and release right&left mouse buttons.osgViewer window handle only first mouse release, as result window thinks that we did not released second mouse button. I attached fix for this issue." Thu, 8 Nov 2012 15:45:23 +0000 Author : Robert Osfield Added support for Thu, 8 Nov 2012 15:28:24 +0000 Author : Robert Osfield Changed the way the mouse position is update to handle the remote device control. Thu, 8 Nov 2012 14:15:59 +0000 Author : Robert Osfield Added check to avoid doing update when the imagesequence is empty. Thu, 8 Nov 2012 11:19:31 +0000 Author : Robert Osfield Refactored ImageSequence to better handle random access usage. Tue, 6 Nov 2012 17:49:32 +0000 Author : Robert Osfield Tweaked casts/types to fix build under Linux Tue, 6 Nov 2012 14:25:28 +0000 Author : Robert Osfield Added f qualifer to 1.0 to fix build problem under MSVS Tue, 6 Nov 2012 11:18:33 +0000 Author : Robert Osfield From Stephan Huber, improved performance by using native apple functions for flipping image Mon, 5 Nov 2012 17:22:34 +0000 Author : Robert Osfield From Stephan Huber, "Attached you'll find a fix for the image-io-plugin to handle out-of-memory situations more gracefully as before (don't crash)" Mon, 5 Nov 2012 12:21:34 +0000 Author : Robert Osfield Quitened down debug output Mon, 5 Nov 2012 12:03:50 +0000 Author : Robert Osfield From Stephan Huber, updated to debug output to RestHttpDevice and tweaks to ImageIO and QTKit plugins Mon, 5 Nov 2012 09:36:00 +0000 Author : Robert Osfield Added static cast to float to avoid compile error under MSV Thu, 1 Nov 2012 18:06:46 +0000 Author : Robert Osfield From David Longest, "When drawing, a transform with an absolute reference frame will ignore the calculated model / view matrices up to that point. The IntersectionVisitor would instead keep the view matrices calculated up to that point even though the Transform class will throw out the calculated model matrix via “computeLocalToWorldMatrix.”The change I made will push an identity matrix as the view matrix when running into a transform with an absolute reference frame and will pop the matrix off after the traverse. To test this, I created a camera with a perspective view and added a transform with some geometry in it. Afterwards, I set the transform’s reference frame to ABSOLUTE_RF and spun the camera around using the trackball manipulator. When trying to pick with a LineSegmentIntersector, it would not pick the geometry in the transform with the reference frame set to ABSOLUTE_RF." Thu, 1 Nov 2012 16:11:13 +0000 Author : Robert Osfield Changed the PropertyEventCallback to only respond to mouse releated events. Thu, 1 Nov 2012 14:29:26 +0000 Author : Robert Osfield Wed, 31 Oct 2012 17:06:29 +0000 Author : Robert Osfield Added reading of the P3D_DEVICE env var for setting up the --device entry. Wed, 31 Oct 2012 16:07:23 +0000 Author : Robert Osfield Added event and update callbacks to pass up changes to the mouse position to the ImageSequence::seek() to control which images is selected based on mouse x position Tue, 30 Oct 2012 12:31:27 +0000 Author : Robert Osfield From Stephan Huber, RestHttpDevice plugin for support of remote application control via Rest http. Mon, 29 Oct 2012 15:58:02 +0000 Author : Robert Osfield Intial work towards support an interaction tag in Present3D. Fri, 26 Oct 2012 15:31:18 +0000 Author : Robert Osfield From Luc Frauciel, "Compile Fix - KTX plugin with Visual Studio, not defined under MSVC" Wed, 24 Oct 2012 16:10:38 +0000 Author : Robert Osfield Fixed bug in click_to_run feature where events would be handled by hidden labels Wed, 24 Oct 2012 10:43:01 +0000 Author : Robert Osfield From Stephan Huber, "attached you'll find the latest versions of the QTKit + the AVFoundation-plugin, some changes to osgPresentation and a small enhancement für ImageIO.I fixed some bugs and did some more tests with both of the video-plugins. I integrated CoreVideo with osgPresentation, ImageStream has a new virtual method called createSuitableTexture which returns NULL for default implementations. Specialized implementations like the QTKit-plugin return a CoreVideo-texture. I refactored the code in SlideShowConstructor::createTexturedQuad to use a texture returned from ImageStream::createSuitableTexture. I did not use osgDB::readObjectFile to get the texture-object, as a lot of image-related code in SlideShowConstructor had to be refactored to use a texture. My changes are minimal and should not break existing code. There's one minor issue with CoreVideo in general: As the implementation is asynchronous, there might be no texture available, when first showing the video the first frame. I am a bit unsure how to tackle this problem, any input on this is appreciated. Back to the AVFoundation-plugin: the current implementation does not support CoreVideo as the QTKit-plugin supports it. There's no way to get decoded frames from AVFoundation stored on the GPU, which is kind of sad. I added some support for CoreVideo to transfer decoded frames back to the GPU, but in my testings the performance was worse than using the normal approach using glTexSubImage. This is why I disabled CoreVideo for AVFoundation. You can still request a CoreVideoTexture via readObjectFile, though. " Tue, 23 Oct 2012 16:15:03 +0000 Author : Robert Osfield Added osgGA::Device class for integration of both physical and virtual devices.Added template readFile(..) function to make it more convinient to cast to a specific object type. Added support for osgGA::Device to osgViewer. Added sdl plugin to provides very basic joystick osgGA::Device integration. Mon, 22 Oct 2012 16:21:04 +0000 Author : Robert Osfield Added mutex lock to Uniform::addParent()/removeParent(). Fri, 12 Oct 2012 14:51:08 +0000 Author : Robert Osfield Added serializers for osgGA Tue, 9 Oct 2012 16:14:21 +0000 Author : Robert Osfield Removed the insert of requests in the ImageSequence::_filesRequested data structure so that it always requests files, leaving it up the ImagePager to decide to track duplicates Tue, 9 Oct 2012 16:05:50 +0000 Author : Robert Osfield From Wang Rui, "I modified the Serializer header to add a UPDATE_TO_VERSION_SCOPED macro, which could set version within brackets and reset it after that. All related serializers are also modified so that the backward-compatibility bug reported by Farshid can be fixed. "From Robert Osfield, removed the use of osg::Referenced and creating the proxy object on the heap. Mon, 8 Oct 2012 16:14:23 +0000 Author : Robert Osfield From Wang Rui, "I've added CDATA tag support to XmlParser so that we can keep user data (e.g., GLSL shader texts) in XML files without parsing them. This will be necessary for the coming-soon effect compositor submission. :-)" Mon, 8 Oct 2012 16:12:59 +0000 Author : Robert Osfield Added a static_cast to avoid build issues under Windows Mon, 8 Oct 2012 16:03:16 +0000 Author : Robert Osfield Fixed warning Mon, 8 Oct 2012 15:10:56 +0000 Author : Robert Osfield From Aurelein Albert, "Under some Visual Studio configuration, I get compile error on "lib3ds_io.c" due to use of these kind of conversion : b[1] = uint8_t((w & 0xFF00) >> 8); I replaced it with : b[1] = (uint8_t)((w & 0xFF00) >> 8); And it compiles fine " Mon, 8 Oct 2012 12:00:53 +0000 Author : Robert Osfield From Gill Peacegood, "In the attached file I have changed the colour space used for writing images to match the one used for reading images. Also this color space does not make subtle changes to the original colours which i think is probably what most people intend when writing an image and is more consistent with other plugins.The effect is that an image that is written does not have a noticeably different colour when it is read back." Mon, 8 Oct 2012 11:54:40 +0000 Author : Robert Osfield From Oren Fromberg, "" --This line, and thosAttached is an update to ReaderWriterDAE.cpp/h and daeReader.cpp/h that implementsosgDB::ReaderWriter::ReadResult ReaderWriterDAE::readNode (std::istream&, const osgDB::ReaderWriter::Options*) This virtual function had never been implemented in ReaderWriterDAE. I implemented this function because the DAE plugin could not load files from other ReaderWriter derived objects that use protocol handlers. I have updated function declarations in the header to have identical signatures with the base class declarations that include the default parameter. readNode (std::istream&, …) is nearly identical to readNode(const std::string &, …) except it uses a new private function to convert the file from standard input: bool daeReader::convert( std::istream& fin ) When this function is called fileURI is the string “from std::istream” to make the user aware where the file is coming from. Then instead of calling _dae->open(fileURI) we call _dae->openFromMemory(fileURI, buffer.data()) Where buffer.data() is a pointer to the dae file text in memory. Other changes include private functions to clear caches and to consolidate redundant code that appears between the two convert functions. e below, will be ignored-- M src/osgPlugins/dae/ReaderWriterDAE.cpp M src/osgPlugins/dae/daeReader.cpp M src/osgPlugins/dae/ReaderWriterDAE.h M src/osgPlugins/dae/daeReader.h Mon, 8 Oct 2012 11:10:25 +0000 Author : Robert Osfield From James Athey, "I've attached a new osgDB ReaderWriter that can read Khronos Texture Files (KTX). The KTX file format is straightforward and designed to be easy to use in OpenGL.http://www.khronos.org/opengles/sdk/tools/KTX/file_format_spec/ http://www.khronos.org/opengles/sdk/tools/KTX/ The attached plugin can read: * 1D, 2D, and 3D textures * uncompressed and compressed images * mipmapped and non-mipmapped textures * little-endian and big-endian files * textures from files as well as seekable istream objects It does not handle: * array textures (not supported by the ReaderWriter API) * cubemap textures (not supported by the ReaderWriter API) * the "KTXorientation" key-value pair; support could be added later (see the file format spec for more information) * non-seekable istream objects (would require more complicated memory management) " Fri, 5 Oct 2012 16:31:23 +0000 Author : Robert Osfield Made TouchData and osg::Object to aid with serialization. Fri, 5 Oct 2012 10:37:36 +0000 Author : Robert Osfield Improved ImageSequence's handling of seek() and added a simply hack to ImagePager to prevent the number of requests accumulating. Fri, 5 Oct 2012 10:35:06 +0000 Author : Robert Osfield From Stephan Huber and Robert Osfield, addded interactive setting of the ImageSequence::seek() based on the mouse x position. Fri, 5 Oct 2012 10:07:09 +0000 Author : Robert Osfield Added set methods to assist with serialization support Thu, 4 Oct 2012 13:45:54 +0000 Author : Robert Osfield From Stephan Huber, "attached you'll find a fix for Registry.cpp not using the QTKit-plugin for video-files. W/o this fix you had to preload the plugin to open movie-files." Tue, 2 Oct 2012 14:07:12 +0000 Author : Robert Osfield From Stephan Huber, OSX and iOS Video support via a QTKit plugin from OSX 10.7 and before, and an AVFoundation plugin for iOS and OSX10.8 and later. Fri, 28 Sep 2012 16:36:42 +0000 Author : Robert Osfield From Leigh Stivers, "We had this problem which shows up with nVidia's latest Quadro driver, 305.93 - and older drivers when the nVidia's setting "Thread Optimization" was turned on, running Windows 7. The symptom, is that after creating a first view and using it, and then creating a second view, the first view will never render anything but black.What happens is this: A view is created, and then the viewers thread is created and runs. The setReleaseContextAtEndOfFrameHint is true. To create a second view, the viewer is setDone(true), and we wait for the thread exit. At this point, inside the ViewerBase::RenderingTraversals code, there are places where it reads "if(_done) return;" The problem, is that it won't reach the code that will releaseContext(). Apparently, this driver won't let any other thread to makeCurrent(), if another thread (dead or not) has ownership. So when the Viewers is re-started, the first view won't be able to use the gc. The change attached (against rev 13153) corrects this." Thu, 27 Sep 2012 08:34:56 +0000 Author : Robert Osfield From Thomas Hogarth, "Apple have decided in their eternal wisdom to do away with separate depth and stencil buffers on iOS from version 5 and above.Attached are changes to GraphicsWindowIOS.mm to support setting up the new buffer type when compiling for iOS5, also attached is a small change to FrameBufferObject.cpp to report support for packed depth stencil via the GL_OES_packed_depth_stencil extension. For anyone reading this you can attach a packed depth stencil to your FBO like so _rttCamera->attach( osg::Camera::PACKED_DEPTH_STENCIL_BUFFER, GL_DEPTH24_STENCIL8_EXT ); Luckily GL_DEPTH24_STENCIL8_EXT happens to have the same value as iOSs GL_DEPTH24_STENCIL8_OES" Wed, 26 Sep 2012 08:42:04 +0000 Author : Robert Osfield From Paul Martz, "This change to include/osg/GL correctly includes the OpenGL header on OSX 10.7 when building OSG trunk for GL3. It also adds some CPP defines for compatibility." Tue, 25 Sep 2012 11:04:11 +0000 Author : Robert Osfield Changed dispatch to virtual Mon, 24 Sep 2012 10:10:28 +0000 Author : Robert Osfield From Frederic Bouvier, "fix PNG write for images with bits per components different than 8 that was hard coded." Thu, 20 Sep 2012 14:06:01 +0000 Author : Robert Osfield From Aurelien Albert, "In the DXF plugin, DXF layers are decoded and each layer is added in a separate group, which is very usefull to retrieve a layer or display a list of all layers in the aplication.But the layers are not always children of the "model root" node : there can be a matrix transform between "model root" and "layers parent", so I've added the name "Layers" on the node which contains all layers to easily retrieve the layers groups from application code." Thu, 20 Sep 2012 14:03:47 +0000 Author : Robert Osfield From Luc Frauciel, Added sRGB FrameBuffer string Thu, 20 Sep 2012 11:27:57 +0000 Author : Robert Osfield From Vladimir Cheaev, " I worked with a osg::Constraint and found strange part of code: class OSGMANIPULATOR_EXPORT Constraint : public osg::Referenced { public: ... virtual bool constrain(ScaleUniformCommand& command) const { return constrain((MotionCommand&)command); } virtual bool constrain(const Rotate3DCommand& command) { return constrain((MotionCommand&)command); } ...If i use osgManipulator::Rotate3DCommand then method Rotate3DCommand::accept(const Constraint& constraint) calls Constraint::constrain(MotionCommand&) instead Constraint:: constrain(const Rotate3DCommand&). If you replace virtual bool constrain(const Rotate3DCommand& command) { return constrain((MotionCommand&)command); } on to virtual bool constrain(Rotate3DCommand& command) const { return constrain((MotionCommand&)command); } then all works correctly. " Thu, 20 Sep 2012 11:18:19 +0000 Author : Robert Osfield From Farshid Lashkari, Added GLBeginEndAdapter::reset(), and _overallNormalAssigned, _overallColorAssigned flags to avoid the GLBeginEndAdapter adapter setting colour and normals when none has been assigned. Thu, 20 Sep 2012 11:16:02 +0000 Author : Robert Osfield From Ulrich Hertlein, "attached is a patch to src/osgViewer/CMakeLists.txt that inverts the logic of when to use Cocoa and when to use the old Carbon interface for the windowing system.The old code had to be modified for every new OS X release to default to Cocoa. The new code uses Carbon for <= OS X 10.4 and Cocoa on everything else." Thu, 20 Sep 2012 11:14:10 +0000 Author : Robert Osfield Added ReadQueue::size() method to help with debugging. Wed, 12 Sep 2012 16:35:12 +0000 Author : Robert Osfield Added handling of directory names in osgimagesequence commandline.From Stephan Huber, added support for controlling the ImageSequence seek position via mouse x position, toggled on/off via 'i' key. Wed, 12 Sep 2012 16:02:02 +0000 Author : Robert Osfield Added osgDB::getSortedDirectoryContents and osgDB::FileNameComparator to help with sorting directory contents into alphabetic and numerical order. Wed, 12 Sep 2012 11:09:41 +0000 Author : Robert Osfield Converted sorting of directory contents across to use the new osgDB::FileNameComparator and osgDB::getSortedDirectoryContents() Mon, 10 Sep 2012 08:24:49 +0000 Author : Robert Osfield Updated version after 3.1.3 dev release Fri, 7 Sep 2012 17:04:31 +0000 Author : Robert Osfield Updated ChangeLog for 3.1.3 dev release Fri, 7 Sep 2012 14:55:09 +0000 Author : Robert Osfield From Wojciech Lewandowski, "With current trunk I had an error while compiling osg/Image.cpp for IOS simulator / GLES2. Symbol GL_RGBA16 was missing. Adding #define GL_RGBA16 0x805B to Image header solves the problem. " Fri, 7 Sep 2012 09:31:26 +0000 Author : Robert Osfield Added setting of the input range of the event state based on the master cameras viewport. Fri, 7 Sep 2012 08:33:24 +0000 Author : Robert Osfield Added check so not intialization is down when you select the current camera manipulator Thu, 6 Sep 2012 13:53:58 +0000 Author : Robert Osfield From Piotr Domagalski, "I've added reading of node names ('DEF' element) to the VRML reading plugin. The changes were based on trunk's version of the plugin." Thu, 6 Sep 2012 13:48:17 +0000 Author : Robert Osfield From Piotr Domagalski, "I've rewritten some bits of the STL plugin in order to support ASCII STL files with multiple named solids (reading and writing). The names are also used as OSG nodes names.- Also, a 'dontSaveNormals' was added. It allows to ignore normals when writing an STL file. For example, it is useful for me when writing an STL file for CFD simulations. - Some comments and code formatting were improved (to be consistent with the formatting already used in the plugin). - With 'separateFiles' option files are now named fooX.stl instead of foo.stlX The changes have been tested on various STL, both ASCII and binary found on the net. The change was based on the trunk branch." From Robert Osfield, changed assert in Piotr's code to a runtime check warning report. Thu, 6 Sep 2012 10:52:28 +0000 Author : Robert Osfield From Piotr Domagalski, "Currently, code using OpenSceneGraph doesn't build with clang due to the way __sync_bool_compare_and_swap() is used in OpenThreads/Atomic header file.I tested it with clang 3.1 and it seems that clang is enforcing the use of the same type for all parameters in this builtin. Looking at the function declaration [1] bool __sync_bool_compare_and_swap (type *ptr, type oldval type newval, ...) it seems to be doing the right thing: here the same type is used for *ptr, oldval and newval. [1] http://gcc.gnu.org/onlinedocs/gcc/_005f_005fsync-Builtins.html#g_t_005f_005fsync-Builtins " Thu, 6 Sep 2012 10:32:07 +0000 Author : Robert Osfield From Fredric Bouvier, fix to CMake build selection of FLTK Wed, 5 Sep 2012 21:03:41 +0000 Author : Robert Osfield From Colin McDonald and Robert Osfield, converted Traits::sharedContext from GraphicsContext* to osg:observer_ptr to prevent dangling pointer issues. Wed, 5 Sep 2012 13:51:34 +0000 Author : Robert Osfield Fixed inappropriate comment Wed, 5 Sep 2012 13:48:23 +0000 Author : Robert Osfield Moved the OSG_INIT_SINGLETON_PROXY macro into include/osg/Object to make it more generally useful and added it's usage into the RenderBinPrototypeList initialization. Wed, 5 Sep 2012 10:27:08 +0000 Author : Robert Osfield From Thomas Hogarth, "I submitted a change for the IOS CMake system a few weeks back which hasn't made it into the trunk. I've just made the modifications again against the latest trunk and have attached the fileIt basically accounts for the fact that XCode has changed it's default install location. " Wed, 5 Sep 2012 10:24:10 +0000 Author : Robert Osfield From Andreas Ekstrand, The attached ESRIShape.cpp contains fixes for comparing calculated byte sizes with the content length from the record header. According to the ESRI Shape documentation (http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf), the content length is specified in 16 bit words, which is why I have multiplied it by 2 when comparing to byte sizes. Note that the comparison in line 813 is made with a fix number of 16-bit words so it hasn't been changed.This fixes problems with PolygonZ records where the previous code was reading past the end of the record since it thought it had M values even if it didn't. I suspect the problem that James McGlone had back in 2006 was the same but reversed, when he tried to simply comment out the check, which was a (correctly) refused submission."" Wed, 5 Sep 2012 10:19:01 +0000 Author : Robert Osfield From Nico Kruithof, "There is a small typo in the ShapeDrawable code for a sphere. There was a gl.Begin(GL_QUAD_STRIP) that was never closed, nor used." Wed, 5 Sep 2012 09:30:33 +0000 Author : Robert Osfield Updated SO version number to avoid collision with new additions to serializers Wed, 5 Sep 2012 09:08:25 +0000 Author : Robert Osfield Added GL_RGBA8 and GL_RGBA16 entries to the Image::computePixelFormat() and improved he readability of the method by inserting line spacing. Wed, 5 Sep 2012 08:48:10 +0000 Author : Robert Osfield From Ulrich Hertlein, "fixes a typo and adds support for OS X 10.8" Wed, 5 Sep 2012 08:42:14 +0000 Author : Robert Osfield Added deprecated note to indices entry. Tue, 4 Sep 2012 08:21:09 +0000 Author : Robert Osfield From Brad Christiansen, changed OSG_INFO to OSG_DEBUG to quieten down volume of messages in INFO Mon, 3 Sep 2012 15:19:00 +0000 Author : Robert Osfield From Brad Christiansen, "fix for the NVTTImageProcessor. When the code was updated in revision 12912 a couple of typos where made. These cause a crash when compressing transparent images and mangled colours when compressing rgb images. " Mon, 3 Sep 2012 09:08:16 +0000 Author : Robert Osfield Adjusted the #define's to help GLES2 build Mon, 3 Sep 2012 08:30:01 +0000 Author : Robert Osfield From Lilin Xiong, " there is a small bug in osgDB::readNodeFiles(std::vector& fileList,const Options* options) in file ReadFile.cpp line 85: osg::Node *node = osgDB::readNodeFile( *itr , Registry::instance()->getOptions() ); It should be: osg::Node *node = osgDB::readNodeFile( *itr , options );" Fri, 31 Aug 2012 16:00:55 +0000 Author : Robert Osfield Added a fix for a multi-threading bug that occured when TerrainTiles were accessed via the Terrain::_updateTerrainTileSet that were being deleted at the same time by the DatabasePager thread. Wed, 29 Aug 2012 16:48:27 +0000 Author : Robert Osfield From Wang Rui, "This patch fixes a problem of the osg::Program serializers that can't save/load GeometryInputType data correctly. The bug is initially found by John Kelso." Fri, 24 Aug 2012 15:05:03 +0000 Author : Robert Osfield From Johannes Scholz, fix for writing out of hexidecimal numbers Thu, 23 Aug 2012 15:06:27 +0000 Author : Robert Osfield Fixed bug in GLBufferObjectSet::discardAllDeletedGLBufferObjects() and GLBufferObjectSet::flushDeletedGLBufferObjects(double currentTime, double& availableTime) where the NumberActiveGLBufferObjects was errneously being incremented by numDiscarded.M osg/BufferObject.cpp Wed, 22 Aug 2012 16:39:47 +0000 Author : Robert Osfield Fixed typo Tue, 21 Aug 2012 09:45:24 +0000 Author : Robert Osfield Added check against the Camera NodeMask to decide whether it's appropriate to test for events on that camera. Wed, 15 Aug 2012 12:40:48 +0000 Author : Robert Osfield Added ShadowSettings::s/getMaximumShadowMapDistance(double) property, usage of these property in ViewDependentShadowMap, and setting of it with --max-shadow-distance in the osgshadow example. Tue, 14 Aug 2012 20:15:00 +0000 Author : Robert Osfield Added a mutex to protect the removal and addition of Uniform and Program to StateSet to avoid parents being invalidated when multi-threading. Fri, 3 Aug 2012 16:14:14 +0000 Author : Robert Osfield Introduced --near-far-mode into osgshadow and ShadowSettings::setComputeNearFarModeOverride(..) to allow user control of how the cull traversal is optimized for computing the depth range of the shadow map. Fri, 3 Aug 2012 15:23:44 +0000 Author : Robert Osfield Removed the erronous creation of a local ShadowSettings object Tue, 24 Jul 2012 09:05:04 +0000 Author : Robert Osfield Added FireGL to prefernce list for use glGenerateMipMap Mon, 23 Jul 2012 08:15:57 +0000 Author : Robert Osfield Fixed build Thu, 12 Jul 2012 16:41:53 +0000 Author : Robert Osfield Introduced Texture::Extensions::s/getPreferGenerateMipmapSGISForPowerOfTwo() flag that defaults to false for Radeon, true elsewhere. This is used to workaround mipmapping bugs with ATI/AMD cards. Wed, 11 Jul 2012 14:36:14 +0000 Author : Robert Osfield Fixed indentation Wed, 11 Jul 2012 08:39:11 +0000 Author : Robert Osfield Fixed parameter default value to avoid warning Tue, 10 Jul 2012 16:20:32 +0000 Author : Robert Osfield Replaced use of now deprecated methods. Tue, 10 Jul 2012 16:11:40 +0000 Author : Robert Osfield Enabled the use the getReceivesShadowTraversalMask(). Tue, 10 Jul 2012 16:11:15 +0000 Author : Robert Osfield Changed settings of masks to use ShadowSettings. Tue, 10 Jul 2012 15:50:46 +0000 Author : Robert Osfield Moved mask settings into ShadowSettings Mon, 9 Jul 2012 17:49:04 +0000 Author : Robert Osfield Changed updateCamera(Camera*) to updateCamera(Camera&) to make it clear that a valid Camera object should be passed in. Mon, 9 Jul 2012 17:32:13 +0000 Author : Robert Osfield From Riccardo Corsi, introduced CameraManipulator::updateCamera() method that allows more Camera properties to be controlled by the CameraManipulator. Mon, 25 Jun 2012 16:31:36 +0000 Author : Robert Osfield Refactored the way that the static Scene cache is managed by moving all the functionality into a SceneSingleton Fri, 22 Jun 2012 16:21:08 +0000 Author : Robert Osfield Restructed the way that the global notify variables are initialized to avoid problems with multi-threaded initialization of these variables. Sat, 16 Jun 2012 09:08:05 +0000 Author : Robert Osfield Fixed spelling of FileNameComparator Fri, 15 Jun 2012 09:04:32 +0000 Author : Robert Osfield Moved the frame() event into the event traversal after then events and their state have been accumulated. Tue, 12 Jun 2012 20:15:58 +0000 Author : Robert Osfield Added FileNameComparator to sort the filenames in an ImageSequence into alphanumerical order so that it can handle the numerical ordering found in screenshot numbered sets of files Tue, 12 Jun 2012 18:29:03 +0000 Author : Robert Osfield Enabled 6 ImageThreads in the ImagePager Tue, 12 Jun 2012 10:31:50 +0000 Author : Robert Osfield Commented out the disabling of use of PBO's in ImageStream, and disabled the use ClientStoreHint in Present3D. Mon, 11 Jun 2012 19:54:07 +0000 Author : Robert Osfield Added support for setting the paging_mode property to PRE_LOAD_ALL_IMAGES, PAGE_AND_RETAIN_IMAGES or PAGE_AND_DICARD_IMAGE for osg::ImageStream, with PAGE_AND_DICARD_IMAGE set as the default. Fri, 8 Jun 2012 10:26:23 +0000 Author : Robert Osfield Added ImageStream support to and tags in .p3d Fri, 8 Jun 2012 04:18:28 +0000 Author : Robert Osfield Added osg::ImageSequence support into osgPresentation::SlideShowConstructor and the associated tag in .p3d. Thu, 7 Jun 2012 10:08:42 +0000 Author : Robert Osfield Added --fps support Thu, 31 May 2012 14:45:24 +0000 Author : Robert Osfield Added typdef for Win32 Fri, 25 May 2012 16:07:11 +0000 Author : Robert Osfield From Wang Rui, "A very small but maybe fatal problem was found when I saved models with shader and uniforms (with new double types support) to osgb format and tried to read it again. The application will crash here. And the serializer file should be slightly changed to fix it. Please replace the original file in osgWrappers/serializers/osg/Uniform.cpp." Fri, 25 May 2012 15:32:51 +0000 Author : Robert Osfield Added Dragger::get/setActivationMouseButtonMask(uint). Fri, 25 May 2012 08:56:25 +0000 Author : Robert Osfield From Jaap Glas, "Added a default parameter to the following constructor in TabPlaneDragger and TabPlaneDragger.cpp:TabPlaneDragger(float handleScaleFactor=20.0f); The reason for this is that the default OSG tab sizes are way bigger than those we used in our application so far. And since handleScaleFactor_ is already a (constant) class member, I see no objection against making it user defined." Thu, 24 May 2012 18:15:44 +0000 Author : Robert Osfield From Jaap Gas, added missing break, and missing removeDraggerCallback. Mon, 21 May 2012 09:12:13 +0000 Author : Robert Osfield Removed -ftree-vectorize from OSX 10.7 build to avoid warning when building with clang. Wed, 2 May 2012 14:13:29 +0000 Author : Robert Osfield Removed trailing spaces Wed, 2 May 2012 13:58:34 +0000 Author : Robert Osfield Fixed for including cmath before osg/Math. Fri, 27 Apr 2012 09:43:25 +0000 Author : Robert Osfield Added using base_class::set to the Matrix*Template class to enable the set() method from the base class to be used. Thu, 26 Apr 2012 10:07:36 +0000 Author : Robert Osfield From Christophe Herreman, Added viewer.setCameraManipulator( keyswitchManipulator.get() ) to fix problem with master Camera not being updated Fri, 20 Apr 2012 10:01:50 +0000 Author : Robert Osfield From Mathias Froehlich,"Attached is a change to the ac3d model loader as of rev 11498, that uses indexed draws instead of plain array draws to save some amount of main memory. Draw performance does not change with the nvidia binary blob as well as with the open source drivers." Fri, 20 Apr 2012 09:53:41 +0000 Author : Robert Osfield From John Kaniarz, "Here's a patch to add new extensions for tessellation shaders to the GLSL plugin." "I went with .tctrl and .teval for the shader extensions." Fri, 20 Apr 2012 09:40:29 +0000 Author : Robert Osfield Ran dos2unx on file Fri, 20 Apr 2012 09:38:51 +0000 Author : Robert Osfield From John Kaniarz, "Here is an example of using tessellation shaders in osg. With permission from the author, I adapted it from this tutorial: http://prideout.net/blog/?p=48" Thu, 19 Apr 2012 14:58:35 +0000 Author : Robert Osfield Restructed how the GL_SAMPLER_* #define's are placed to avoid build problems under GLES. Thu, 19 Apr 2012 14:34:28 +0000 Author : Robert Osfield Changed #ifdef __IPHONE_4_0 to #if defined(__IPHONE_4_0) to fix error that Clang compile warning highlighted Thu, 19 Apr 2012 13:18:58 +0000 Author : Robert Osfield Fixed build with OSG_USE_REF_PTR_IMPLICIT_OUTPUT set to OFF. Thu, 19 Apr 2012 10:27:58 +0000 Author : Robert Osfield From David Callu, "Here the fix for Matrix{2,3,4}x{2,3,4}{fd} defined in Uniform header.My previous patch for Atomic Counter Uniform provide new template implementation of Matrix{2,3,4}x{2,3,4}{fd}. This new implementation use Column-Major Matrix. Original code define matrix as Row-Major matrix like other Matrix in OSG, and my matrix implementation break compatibility with previous code. For example osg_normalMatrix define in osg::State report by Roland Hill. Thanks to Paul Martz to spot me when the bug appear." Thu, 19 Apr 2012 10:10:26 +0000 Author : Robert Osfield Added missing getUniformBlocks implmentation Thu, 19 Apr 2012 09:50:10 +0000 Author : Robert Osfield From Jorge Izquierdo Ciges, "Mostly small changes to add more compile options, and shared linking (still testing that capability, but this enables on a compile basis if the user wants). Robert, when you give the Ok I'll update/rewrite the Android section in the old/new wiki you'll say where is better. Mostly to be clear for the future users what options can configure and what are their purpose." Wed, 18 Apr 2012 10:16:09 +0000 Author : Robert Osfield Refactored the handling of GLES adaptations of the 1,2,3,4 internal formats and added handling of GL_RGB8_OES and GL_RGBA8_OES. Wed, 18 Apr 2012 09:56:00 +0000 Author : Robert Osfield From Mathias Froehlich, "Attached is a change to the slow path geometry dispatch tables that allows the use of 3 component float color vectors." Wed, 18 Apr 2012 09:51:39 +0000 Author : Robert Osfield From Martin Naylor, "I have been experiencing a crash in the example osgtexture2D. Not sure why my system seems to be so sensitive to these problems.But attached is a fix which seems to stabilise the example. Note: it only seems to crash intermittently when spinning the object with your mouse. So I assume this is a threading issue because of the data variance missing in some of the text node setups in the example. " Wed, 18 Apr 2012 09:50:23 +0000 Author : Robert Osfield Updated version number Fri, 6 Apr 2012 11:29:29 +0000 Author : Robert Osfield From Martin Naylor, "Please find attached a fix for the STD library(tested under Windowsx64 VS2008) when atomiccounter is found but not used." Fri, 6 Apr 2012 10:42:17 +0000 Author : Robert Osfield From Ulrich Hertlein, Fix for MatrixTemplate compile errors Thu, 5 Apr 2012 13:53:47 +0000 Author : Robert Osfield From Wang Rui, "I'd like to submit the changes that will put ObjectProperty and ObjectMark variables into the InputStream/OutputStream class instead of static ones. This should avoid the threading problem and won't repeatedly reallocate memory for the properties. Some of the wrappers will be slightly modified to use the property variable stored in the InputStream/OutputStream as well." Fri, 30 Mar 2012 17:08:21 +0000 Author : Robert Osfield Update AUTHORS for release Fri, 30 Mar 2012 16:58:24 +0000 Author : Robert Osfield Updated ChangeLog for dev release Fri, 30 Mar 2012 10:10:27 +0000 Author : Robert Osfield Added check to avoid accessing pointer past the end of the string. Thu, 29 Mar 2012 15:08:15 +0000 Author : Robert Osfield From Magnus Kessler, typo and documentation fixes Thu, 29 Mar 2012 14:58:00 +0000 Author : Robert Osfield From Cedric Pinson, "I Updated the ply plugin to support alpha color in files. Plus I updated it to use by default an alpha of 1.0 instead of 0 when no alpha is specified. Last changes is to divide byte color by 255.0 instead of 256.0." Thu, 29 Mar 2012 09:57:47 +0000 Author : Robert Osfield From Magnus Kessler, "remove unecessary conversion from float in double precision method" Thu, 29 Mar 2012 09:43:12 +0000 Author : Robert Osfield From David Callu, "Here an update of osg::Uniform : - add non square matrix - add double - add all uniform type available in OpenGL 4.2 - backward compatibility for Matrixd to set/get an float uniform matrix - update of IVE / Wrapper ReadWriterimplementation of AtomicCounterBuffer based on BufferIndexBinding add example that use AtomicCounterBuffer and show rendering order of fragments, original idea from geeks3d.com." Thu, 29 Mar 2012 08:27:21 +0000 Author : Robert Osfield Added int packing parameter to Image::readPixels(..) Fri, 23 Mar 2012 16:09:30 +0000 Author : Robert Osfield Removed trailing spaces Fri, 23 Mar 2012 11:32:10 +0000 Author : Robert Osfield Updated ChangeLog and AUTHORS for 3.1.2 dev release Fri, 23 Mar 2012 11:20:17 +0000 Author : Robert Osfield Fixed potential memory leak Fri, 23 Mar 2012 11:16:01 +0000 Author : Robert Osfield From Luc Frauciel, "I've encoutered a nasty group of dae which are incompatible with dae plugins (and probably collada schema ) in 4 different ways :1) they use direct link to texture -> this is already handle by current plugin : OK 2) they defined colors with only 3 color components -> it leads to a crash when trying to acces to the fourth component I fixed that 3) they contain empty primitive lists -> reading is ok, but osgviewer crashes when trying to display the geometries The reason is that osg assume that DrawElementsare never empty (blunt acces to DrawElements.front() in PrimitiveSet.cpp) I corrected this (on the plugin side), but I wonder : Is it the responsability of plugins to create non empty DrawElements, or of osg core not to crash when they occur ? If the responsability is on the osg core side, I can submit a patch to PrimitiveSet.cpp regarding that aspect. 4) they use a material binding scheme not supported by the plugin ->I've implemented a mechanism to handle this binding scheme You will also find in the patch an example of these evil dae and comments on the offending elements. They seems to be produced by ComputaMaps (www.computamaps.com) They load well in Google Earth " Fri, 23 Mar 2012 10:24:50 +0000 Author : Robert Osfield From Ulrich Hertlein, "as discussed on osg-users there is an issue with clang++ on OS X and iOS that results in the following error:Users/stephan/Documents/Projekte/cefix/cefix/ios/../../libs/ios/include/OpenThreads/Atomic:244:48: error: cannot initialize a parameter of type 'void *' with an lvalue of type 'const void *const' return __sync_bool_compare_and_swap(&_ptr, ptrOld, ptrNew); This can be solved by a cast to '(void*)ptrOld'. This should be benign since both 'ptrOld' and 'ptrNew' are only read and the cast is in fact in place for all other implementations as well. On OS X the cast compiles cleanly on both g++ (i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1) and clang++ (Apple clang version 3.1 (tags/Apple/clang-318.0.54)). " Fri, 23 Mar 2012 10:21:51 +0000 Author : Robert Osfield As per Ulrich Hertlrein's suggestion, changed APPLE_PLATFORM_SDK_CANONICAL_NAME to OSG_OSX_SDK_NAME. Fri, 23 Mar 2012 10:18:27 +0000 Author : Robert Osfield From Erik den Dekker, " IF(${CMAKE_OSX_SYSROOT} STREQUAL "/Developer/SDKs/MacOSX10.7.sdk") ... ELSEIF(${CMAKE_OSX_SYSROOT} STREQUAL "/Developer/SDKs/MacOSX10.5.sdk" OR ${CMAKE_OSX_SYSROOT} STREQUAL "/Developer/SDKs/MacOSX10.6.sdk") ... ELSEIF(EXISTS /Developer/SDKs/MacOSX10.4u.sdk) ... ELSE() ... ENDIF() Which is fragile because XCode could be installed into another directory than /Developer. (In case XCode is not installed into the /Developer directory CMake can automatically resolve the path via command line utility ${CMAKE_XCODE_SELECT} --print-path) This issue bites me currently because the latest XCode (Version 4.3.1 - 4E1019) installed through the Mac App Store is per default installed in "/Applications/Xcode.app/Contents/Developer" and hence the 10.7 SDK in "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk" Searching the web to find the proper way to determine the version of the Platform SDK programmatically, I found no standard way. I came up with 2 options myself: 1) Parse the path string to extract the version number 2) Read a value from the SDKSettings.plist found in the root of each SDK (e.g., "defaults read ${CMAKE_OSX_ROOT}/SDKSettings.plist CanonicalName" gives "macosx10.7") I implemented the last option and verified that at least the following Mac OS SDKs (10.3.9, 10.4, 10.5, 10.6, 10.7) support this method. It also looks reasonably future proof. An additional benefit of this method is that it also seems to be compatible with iOS and iOS Simulator SDKs (at least for version 5.1, but I assume this also applies to older versions). This is interesting because the CMake infrastructure to build OSG for iOS currently still contains similar hard-coded paths and even requires you to manually change the cmake file to build for another iOS SDK version. In the near future I hope to address these issues, but I haven't been able to try this yet." Wed, 21 Mar 2012 17:36:20 +0000 Author : Robert Osfield Ran script to remove trailing spaces and tabs Wed, 21 Mar 2012 16:02:32 +0000 Author : Robert Osfield For all OSG_GL*_FEATURE #defines changed 1's to true and 0's to false. Wed, 21 Mar 2012 14:08:07 +0000 Author : Robert Osfield From David Callu, "just a typo fix that break the compilation under windows" Wed, 21 Mar 2012 11:36:54 +0000 Author : Robert Osfield Added Traits::getContextVersion(uint,uint) Wed, 21 Mar 2012 11:26:09 +0000 Author : Robert Osfield Updated version number Tue, 20 Mar 2012 12:01:02 +0000 Author : Robert Osfield Removed inappropriate warning Tue, 20 Mar 2012 11:18:45 +0000 Author : Robert Osfield Replaced && with & to address error in handling bitmask Mon, 19 Mar 2012 09:49:41 +0000 Author : Robert Osfield From Lukasz Izdebski, Added StencilTwoSided support to ive plugin Fri, 16 Mar 2012 13:22:20 +0000 Author : Robert Osfield Fixed the order of setting of CenterMode Wed, 14 Mar 2012 16:42:07 +0000 Author : Robert Osfield From Wang Rui, "I'd like to submit a slightly modified version of the ViewDependentShadowMap. It includes two fixes: one is in ComputeLightSpaceBounds::update(), which changes the statement "if (v.z()<0.0f)" to "if (v.z()<-1.0f)" as clipping space coordinates should be transformed to [-1, 1] and should not be discarded unless they go beyond the range; the other is in ViewDependentShadowMap::computeShadowCameraSettings(), in which I changed the line: viewMatrix.makeLookAt(frustum.center+positionedLight.lightDir*zMin, frustum.center, lightUp); to viewMatrix.makeLookAt(frustum.center+positionedLight.lightDir*zMin, frustum.center+positionedLight.lightDir*zMax, lightUp);The reason I've done such a change is that for huge scenes like a city on the earth, the values of frustum.center can be extremely large, but zMin may be very small (e.g., when model depth in light coords equals the model radius by chance) in some cases so the result of (eye - center) might jiggle while moving around the shadow scene and thus make the shadow map suddenly disappear some time. The small change here also considers the effect of zMax to avoid such problems. " Mon, 12 Mar 2012 14:22:48 +0000 Author : Robert Osfield Moved static initializers into global scope to prevent problems with using exit(). Sun, 11 Mar 2012 22:05:29 +0000 Author : Cedric Pinson Changed osgAnimation::StackedTransform::update(t). It can now be used for custom usage Fri, 9 Mar 2012 13:16:39 +0000 Author : Robert Osfield Updated ChangeLog and AUTHORS file for 3.1.1 dev release Fri, 9 Mar 2012 10:20:23 +0000 Author : Robert Osfield From Chuck Seberino, "Attached are modified versions of RotateCylinderDragger and Projector files that clean up the use of _onCylinder / isProjectionOnCylinder().I have also made changes to the RotateCylinderDragger to provide a cylinder ring with a thickness. It is totally optional, but IMHO makes the default behavior work better than a solid cylinder (which typically obscures the geometry you are trying to drag). Gives it a bit more to grab, especially in the case where eyepoint and cylinder axis are near parallel. " Thu, 8 Mar 2012 16:33:44 +0000 Author : Robert Osfield Updated version number for 3.1.1 dev release Thu, 8 Mar 2012 16:05:17 +0000 Author : Robert Osfield From Farshid Lashkari, "I've added support for reading contents of cubemap textures to the osg::Image::readImageFromCurrentTexture method. I added a new parameter to the method for specifying which face of the cubemap to read." Wed, 7 Mar 2012 09:32:38 +0000 Author : Robert Osfield From Olaf Flebbe, "Appended now a bugfixed proposition for the Win7 Multitouch Support.Now examples/osgmultitouch really works ;-) Based on yesterdays trunk. * It should now work with all Visual Studio Versions. * WIN_VER is left as-is * I added the missing declarations from a recent SDK, if not supplied by the SDK * If someone chooses to update WIN_VER, the declarations should not break. * All API Calls are runtime detected. * No CMake Variable, Support is enabled automatically ." Tue, 6 Mar 2012 10:35:57 +0000 Author : Robert Osfield From Guillaume Millet, "Please find a small fix to avoid crash of texture Atlas builder in case of textures with NULL image.If an object is comming with texture and NULL image, the texture atlas builder crash when sorting textures according to texture height. The fix is to skip textures with NULL image when inserting textures in the builder texture list. " Tue, 6 Mar 2012 10:33:20 +0000 Author : Robert Osfield From Farshild Laskari, "The vertex shader for the point stateset of PrecipitationEffect was not properly computing the clip vertex. It needed to apply a modelview transformation to the clip vertex. Attached is the fix." Tue, 6 Mar 2012 10:29:47 +0000 Author : Robert Osfield From Christian Buchner, "The attached openscenegraph example is much simpler than osgshaders.cpp and demonstrates the use of GLSL vertex and fragment shaders with a simple animation callback. I found the osgshaders.cpp too complex to serve as a starting point for GLSL programming" Tue, 6 Mar 2012 10:08:49 +0000 Author : Robert Osfield From Chuck Seberino, "Here is a fix for the RotateCylinderDragger. This patch fixes the case where the picking direction is close to the cylinder axis. The current behavior is this:* If the eyepoint and cylinder axis are close to parallel (given some tolerance), then it uses a plane perpendicular to the cylinder axis. * Otherwise it uses a plane parallel to the cylinder axis oriented towards the eyepoint (previous behavior). This gives decent behavior and is the only path that was taken in the previous code. I kept with previous behavior and that allowed a good bit of code to be removed, simplifying things. There is now no need for the _onCylinder flag, but since there is a public accessor, I wasn't sure how to handle it for backwards compatibility, so I left it in. NOTE - there is no default initialized value, so if it is kept in, it should be set to 'false' to keep same behavior as before. I am not quite sure how the _onCylinder case was supposed to behave as even forcing that path gave undesirable behavior, even with carefully controlled dragging. " Tue, 6 Mar 2012 10:06:00 +0000 Author : Robert Osfield Added RotateCylinderDragger and RotateSphereDragger to list of manipulators for testing purposes Mon, 5 Mar 2012 14:17:01 +0000 Author : Robert Osfield From Paul Martz, "Just a minor update and typo fix. " Thu, 1 Mar 2012 11:33:31 +0000 Author : Robert Osfield From Luc Frauciel, "I've modified dxf writer :- correction to writeFace : the fourth point was defined with an incorrect code (http://www.autodesk.com/techpubs/autocad/acad2000/dxf/3dface_dxf_06.htm) - if no layer name was found, an empty string was used, with is incorrect according to dxf specifications and was rejected by Autodesk DWG TrueView - the plugin was writting polygons and triangles as LINE, as if PolygonMode GL_LINE was active, and didn't use 3DFACE primitive. I changed this behaviour to write 3DFACE as default, and LINE when PolygonMode GL_LINE is active. when reading back the file with osg, the result is now consistent with the source Tested with osg plugin, FME (Safe software), Autodesk DWG TrueView " Thu, 1 Mar 2012 11:03:18 +0000 Author : Robert Osfield From Luc Frauciel, "In 3ds plugin, asGeometry() is used on a drawable but the resulting pointer is not tested for nullity. It leads to a crash when writing osgText::Text or Shapes" Thu, 1 Mar 2012 10:38:28 +0000 Author : Robert Osfield From David Callu, "I found a bug in osg::Program.in osg::Program::PerContextProgram : typedef std::vector LastAppliedUniformList; should be typedef std::map LastAppliedUniformList; Intel driver can use index uniform value > 200000. With a std::vector, this index uniform value generate an out of memory error Nothing in OpenGL or GLSL specification define index uniform value rules. And all other implementation that deal with uniform index in osg::Program use a std::map. This fix could have a little performance impact but this is the cost to pay to work with all driver." Thu, 1 Mar 2012 10:14:55 +0000 Author : Robert Osfield Removed redudent spaces at ends of lines Wed, 29 Feb 2012 14:01:44 +0000 Author : Robert Osfield Updated ChangeLog and AUTHORS for dev release Wed, 29 Feb 2012 10:22:56 +0000 Author : Robert Osfield Improved the handling of endian swap of osg::Array Wed, 29 Feb 2012 10:22:18 +0000 Author : Robert Osfield From Glenn Waldron, "Attached are modifications to ZipArchive to make it safe for mutli-threaded access. Here's a summary:* Uses a separate ZIP file handle per thread * Maintains a single shared (read-only) index, created the first time through * Stress-tested with the DatabasePager using 24 threads under osgEarth I also updated the member variables to use OSG's leading-underscore convention." Tue, 28 Feb 2012 12:03:48 +0000 Author : Robert Osfield From Guillaume Millet, "When using the texture Atlas builder, it will convert from REPEAT to CLAMP all textures using only texcoord between [-0.001 1.001] to give a chance to create an Atlas. If the atlas creation failed for other reason (texture size, only one compatible texture, ...) the texture remain modified in CLAMP mode.But if you use texcoords between [0.0 1.0] using CLAMP mode instead REPEAT it is not safe because you will have a blend to the border color at extremities. If we want to have exactly the same rendering after changing mode from REPEAT to CLAMP we should use the CLAMP_TO_EDGE mode instead of CLAMP to avoid blending to border color at extremities. Please find as attachment the proposed patch against latest svn version. " Tue, 28 Feb 2012 11:37:09 +0000 Author : Robert Osfield Added build problem with using float Matrix. Tue, 28 Feb 2012 10:21:21 +0000 Author : Robert Osfield From Thomas Hogarth, build fix for IOS build Mon, 27 Feb 2012 09:50:47 +0000 Author : Robert Osfield Added fin.imbue(std::locale::classic()); to avoid problems with parsing of .obj files Fri, 24 Feb 2012 21:07:02 +0000 Author : Robert Osfield Added s/getByteSwap to teh InputStreamOperator base class and use of this method in the InputStream::start(InputStreamOperator*) method to ensure the bytes are swapped consistently. Fri, 24 Feb 2012 12:15:15 +0000 Author : Robert Osfield Added support for using glGenerateMipmap instead of GL_GENERATE_MIPMAP_SGIS on GLES2 Fri, 24 Feb 2012 11:43:35 +0000 Author : Robert Osfield Added support for checking the possible endian reversal the OSG_HEADER_LOW and OSG_HEADER_HIGH when reading binary files written out from systems that have a different endian to the system reading it. Fri, 24 Feb 2012 10:56:48 +0000 Author : Robert Osfield Cleaned up CMake warning Thu, 23 Feb 2012 17:51:40 +0000 Author : Robert Osfield Moved the state.applyTextureMode(0,GL_TEXTURE_2D,osg::StateAttribute::ON); into the #if defined(OSG_GL_FIXED_FUNCTION_AVAILABLE) block to solve problems under GLES and GL3.x/GL4.x Thu, 23 Feb 2012 15:55:30 +0000 Author : Robert Osfield From Mathieu Marache, "I was trying to play with the configuratiion files from the data but couldn't load them with osgviewer's -c CLI switch, this correction should make the alias work :-) " Wed, 22 Feb 2012 10:50:38 +0000 Author : Robert Osfield From Sergey Polischuk, "In and Out control points were computed incorrectly for some animation channels with cubic bezier interpolation" Wed, 22 Feb 2012 10:46:35 +0000 Author : Robert Osfield From Miha Ravsel, "While trying to create my custom serializer class, i created some dummy data which accidentally popped-up bug in InputStream readObjectFields function.Bug description: Let's say we have class A namespace Bug { class A : public osg::Object { public: //... typedef std::vector > AList; protected: AList _alist; //... } } REGISTER_OBJECT_WRAPPER( A, new Bug::A, Bug::A, "osg::Object Bug::A" ) { ADD_LIST_SERIALIZER(A,Bug::A::AList); } Bug: We create say 3 instances of class A: A1,A2,A3 and then we add A2 and A3 and A1 as child instances of A1 so we get next structure: A1 |- A2,A3,A1 we call osgDB::writeObjectFile(A1,"/data/a.osgt") -> saved correctly( third element in list is saved as unique id that references parentClass now we call A1 = osgDB::readObjectFile("/data/a.osgt"); Everything is deserialized correctely except last element in list which should be same instance as parent A1. The attached code resolves this issue by passing UniqueID in readObjectFields method and saving object in _identifierMap as soon as we have valid object instance so we can make reference to parent object from any child instance. " Tue, 21 Feb 2012 17:20:58 +0000 Author : Robert Osfield From Paul Martz, "The attached fixes a few issues that are present when ref_ptr implicit casting is disabled." Tue, 21 Feb 2012 11:30:07 +0000 Author : Robert Osfield From Olaf Flebbe, "Macos X cleanup: I added AFAIK proper defaults for several Macos X Version API targets.* In order to determine which defaults to apply, consult the CMAKE_OSX_SYSROOT variable pointing to the used SDK, not the pure existence of an SDK. * Defaults are now: 10.7: Support Intel 32 and 64 Bit Cocoa with imageio picture reader 10.6 + 10.5: Support Cocoa with imageio on Intel and PowerPC 10.4: Carbon, Quicktime and PowerPC Now OSG compiles out of the box for MacOSX 10.7. , tested with gcc and clang with FlightGear." Tue, 21 Feb 2012 11:13:25 +0000 Author : Robert Osfield From Chris Denham, "ReaderWriter3DS smoothing group handling corrections" Tue, 21 Feb 2012 10:42:59 +0000 Author : Robert Osfield Fixed warnings Tue, 21 Feb 2012 10:38:12 +0000 Author : Robert Osfield Fixed erroneous use #if !defined(OSG_GLES1_FEATURES) && !defined(OSG_GLES2_FEATURES) which should have been #if !defined(OSG_GLES1_AVAILABLE) && !defined(OSG_GLES2_AVAILABLE) Mon, 20 Feb 2012 16:00:46 +0000 Author : Robert Osfield From Luc Frauciel, "When dae plugin is used with daeUseSequencedTextureUnitsoption, the transparency processing is done with the wrong texture unit I've remplaced the unused parameter diffuseColorName by the diffuseTextureUnit effectively used." Mon, 20 Feb 2012 12:36:53 +0000 Author : Robert Osfield From Alexander Sinditskiy, "Fix loading small monochrome bmp images" Mon, 20 Feb 2012 12:33:17 +0000 Author : Robert Osfield From Dietmar Funck, "in order to use a customized database thread it's necessary to use a customized database pager, which creates such customized database threads, too. I think the best way to achieve this is to overwrite the DatabasePager::addDatabaseThread() method within the customized database pager. However this method is not 'virtual' yet, so I propose to make the method 'virtual'." Mon, 20 Feb 2012 12:23:36 +0000 Author : Robert Osfield From Farshid Lashkari, "I've attached a small optimization to osgDB::Registry::removeExpiredObjectsInCache that removes the expired items while iterating over the cache, instead of saving to a temporary vector and then removing." Mon, 20 Feb 2012 12:18:50 +0000 Author : Robert Osfield From Riccardo Corsi, Added passing of EventVisitor pointer to event handlers. Mon, 20 Feb 2012 12:12:43 +0000 Author : Robert Osfield From Riccardo Corsi, "please find attached a small patch for HDR plugin, which simply set by default the internal pixel format to GL_RGB32F_ARB where appropriate.In the current version there's a comment saying that the plugin set it to GL_RGB8 (even when reading from float) to support old graphics cards, but the comment dates back to 2004... What's more I believe that it's correct to expect a floating texture format if you're loading an hdr image. It was quite troublesome for us to discover why our background image wasn't showing hdr data... In case you accept the submission, I've removed the comment as it would be misleading to leave it there." Mon, 20 Feb 2012 12:03:14 +0000 Author : Robert Osfield From Johannes Baeurele, "The osg::Image class now contains a 'supportsTextureSubloading()' method that is used inside the Texture2D::apply method. For now it only checks for the etc1 format in which case it returns 'false'. All other formats lead to a return value of 'true'.Without the change the application does not work properly. First I get the notification that an OpenGL error occured. After some more of this error messages I see broken textures on the screen. With the changes attached to this message my application works as intended." Note from Robert Osfield, changed the Image::supportsTextureSubloading() to be const and to be implemented in the .cpp rather than inline. Fri, 17 Feb 2012 16:51:10 +0000 Author : Robert Osfield From Kim Bale, "The application description for osg2cpp was cut and pasted from osgconv and not changed.I've added a more relevant description." Fri, 17 Feb 2012 16:45:49 +0000 Author : Robert Osfield From Martin Lambers, "It adds a new ReaderWriter plugin for the GTA file format (http://gta.nongnu.org). This allows to read and write floating point image data. Unlike other formats, GTA also allows very good compression ratios for floating point data. The compression method can be selected with the COMPRESSION option of the plugin. " Fri, 17 Feb 2012 16:13:16 +0000 Author : Robert Osfield Added usage of OSG_CPP_EXCEPTIONS_AVAILABLE for plugins that use std::exceptions. Fri, 10 Feb 2012 17:24:08 +0000 Author : Robert Osfield From Stephan Huber, " Here's another small submission for IOS, which adds unique ids to the touchpoints, so the ids stay the same during a touch-sequence.(and some minor code enhancements)" Fri, 10 Feb 2012 17:20:43 +0000 Author : Robert Osfield From Colin McDonald, "Upgrading to OpenSceneGraph 3.0.1, texture mip mapping stopped working on some junk low-end graphics cards which I still have to support. They worked ok with osg 2.8 and earlier.The problem turned out to be with gl proxy textures, which are unreliable on those devices. Proxy textures are used by the glu mipmap build routines to determine if a texture size is supported. The external glu library had a nice fallback behaviour, so that if proxy textures didn't work then the mipmap texture was still created. But in the work on the new embedded glu routines that fallback behaviour has been inadvertently lost. I have restored the fallback in src/osg/glu/libutil/mipmap.cpp. It doesn't add any extra complexity." Fri, 10 Feb 2012 16:12:28 +0000 Author : Robert Osfield From Domenico Mangieri, "Implementation for MoveRight and MoveUp methods in FirstPersonManipulator is missing.I'm using the manipulator, so I added it." Fri, 10 Feb 2012 15:57:51 +0000 Author : Robert Osfield From Stephan Huber, attached you'll find a compile fix for the new introduced rowlength-feature on IOS/OpenGL ES builds Thu, 9 Feb 2012 18:10:52 +0000 Author : Robert Osfield From Luc Frauciel, "osgUtil Tessellator : beginTessellation() made virtual to allow configuration of tessellation:The initialisation of glu low level tessellator is done in osgUtil::Tessellator::beginTessellation() This function is not virtual, preventing any customization of the tesselation. In particular, there in an option in glu tesselator that force the generated primitives to be triangles and that I'd like to use (GLU_TESS_EDGE_FLAG). " Thu, 9 Feb 2012 17:52:13 +0000 Author : Robert Osfield From Torben Dannhauer, "Modification to osgfilecache: Now source data can also be local.:find attached my modifications to osgfilecache. It now allows also the caching of LOCAL terrain databases. In combination with the extends and level cmd parameter it allows to extract parts of terrain databases and write it in a new "Sub database". I also modified osgDB::FileCache to create correct filenames if the data source is local." Thu, 9 Feb 2012 17:45:23 +0000 Author : Robert Osfield Updated ChangeLog, AUTHORS and Contriburos.cpp files Thu, 9 Feb 2012 16:42:47 +0000 Author : Robert Osfield From Martin von Gagern, "The xine osg plugin won't compile against xine-lib-1.2.0:OpenSceneGraph-3.0.1/src/osgPlugins/xine/video_out_rgb.c:2772:25: error: ?video_driver_class_t? has no member named ?get_identifier? OpenSceneGraph-3.0.1/src/osgPlugins/xine/video_out_rgb.c:2773:25: error: ?video_driver_class_t? has no member named ?get_description? This has been reported on Gentoo: https://bugs.gentoo.org/397643 The relevant commit to the xine-lib repository is http://anonscm.debian.org/hg/xine-lib/xine-lib-1.2/diff/806b590a4d38/src/xine-engine/video_out.h This change addresses the issue. I'm sending the full modified file as an attachment. It is based on the 3.0.1 release of OSG. I'll also paste a diff below. You will find a colorized view in the Gentoo bugzilla. The xine-lib API changed in the following way: the identifier and description members are now "const char*" strings instead of "char* (*)(video_driver_class_t*)" getter function. As the functions in the osg plugin will always simply return a string literal, without accessing their argument, it is safe to simply call them with a NULL argument and use the returned string. This makes it easy to support both API versions. When you drop support for older xine one day, you might want to move the string literals to the assignment, getting rid of the functions in the process. The modified code compiles for me. I'm not sure how to test it, as I've only got OSG around in order to build (and hopefully one day even use) Flightgear. I'm assigning my copyright in this change to the osg project leads. " Thu, 9 Feb 2012 15:54:13 +0000 Author : Robert Osfield From Olaf Flebbe, "there are two ocurrences where pointer to bool is mixed with bool. Fixes warnings on MacOSX with llvm.diff --git a/src/osg/State.cpp b/src/osg/State.cpp index 0b88d63..2137bbd 100644 --- a/src/osg/State.cpp +++ b/src/osg/State.cpp @@ -109,7 +109,7 @@ State::State(): } } - _abortRenderingPtr = false; + _abortRenderingPtr = NULL; _checkGLErrors = ONCE_PER_FRAME; @@ -689,7 +689,7 @@ bool State::getLastAppliedTextureMode(unsigned int unit,Stat const StateAttribute* State::getLastAppliedTextureAttribute(unsigned int unit,S { - if (unit>=_textureAttributeMapList.size()) return false; + if (unit>=_textureAttributeMapList.size()) return NULL; return getLastAppliedAttribute(_textureAttributeMapList[unit],type,member); } " Thu, 9 Feb 2012 15:51:20 +0000 Author : Robert Osfield From Paul Martz, a simple GL3 example Thu, 9 Feb 2012 15:08:30 +0000 Author : Robert Osfield From Colin McDonald, "The bounding box returned by getBound() for Text which is not auto-rotated (e.g. HUD text) is not always correct, because it doesn't take account of the base line offsets added by the various alignment options such as CENTER_TOP, CENTER_BOTTOM etc.The attached src/osgText/TextBase.cpp fixes the problem." Thu, 9 Feb 2012 14:40:07 +0000 Author : Robert Osfield From Colin McDonald, fix for Solaris build. Thu, 9 Feb 2012 14:33:13 +0000 Author : Robert Osfield From Filip Arlet,"I ran into problem with osg::Text _BASE_LINE alignment. It didn't account line spacing. Btw. same problem in 3D textChanged _offset from: -_characterHeight*(_lineCount-1) to: -_characterHeight*(1.0 + _lineSpacing)*(_lineCount-1)" Thu, 9 Feb 2012 14:28:39 +0000 Author : Robert Osfield Added back in support for checking the current working directory by default, but now do the check after the Options and Registry DataFilePathLists have been checked, which will allow users to better control over where files are searched for. Thu, 9 Feb 2012 14:11:36 +0000 Author : Robert Osfield From Chris Denham, "This is a submission to fix a problem with use of mode GL_RESCALE_NORMAL for geometries below a scaling transform which is not equal in X, Y & Z components. In this case, the 'slow' method of mode GL_NORMALIZE should be used to perform the normalization.I have attached a correction to daeRTransforms.cpp based on trunk at [12892] which corrects this problem. This is the changed section: Code: if (scale.x() == scale.y() && scale.y() == scale.z()) { // This mode may be quicker than GL_NORMALIZE, but ONLY works if x, y & z components of scale are the same. ss->setMode(GL_RESCALE_NORMAL, osg::StateAttribute::ON|osg::StateAttribute::OVERRIDE); } else { // This mode may be slower than GL_RESCALE_NORMAL, but does work if x, y & z components of scale are not the same. ss->setMode(GL_NORMALIZE, osg::StateAttribute::ON|osg::StateAttribute::OVERRIDE); }" Thu, 9 Feb 2012 12:50:42 +0000 Author : Robert Osfield From Thorsten Brehm, "attached update changes OSG's src/osgDB/Registry.cpp, so it doesn't (accidentally) resolve relative paths against the current working directory when searching for resources. So far, such paths were always resolved against the cwd first.I guess the previous behaviour of giving the cwd precedence over any path configured in the "database path list" (osgDB::Options) wasn't intentional. Otherwise, if it was intentional after all, it'd be good to add another feature instead, to make this configurable - e.g. a flag in osgDB::Options to disable this, if an application doesn't want the cwd being considered. " Note from Robert Osfield, this submission will change the default behaviour of searching for files so can potentially break existing applications as it won't search the current working direction unless it's included in the DataFilePathList entry in the Options or Registy. I'll add a follow up submission to add back in this feature. Wed, 8 Feb 2012 17:12:58 +0000 Author : Robert Osfield From Hartmut Seichter, "attached a revised CMakeLists.txt file for Android that avoids the problems with a ARM gcc bug that appears in the NDK. It only overrides the optimization level for one file. As it resides only in the cfg parser this should not have side effects on performance." Wed, 8 Feb 2012 10:50:04 +0000 Author : Robert Osfield From Paul Martz, "This change clarifies the description for OSG_GL_VERTEX_ARRAY_FUNCS_AVAILABLE." Wed, 8 Feb 2012 10:06:58 +0000 Author : Robert Osfield From Leandro Motto Barros,"I've made a few changes to osgUtil::PolytopeIntersector so that it actually uses double precision floating point numbers everywhere (as long as OSG_USE_FLOAT_PLANE is not defined). I needed double precision intersections in a project I am working on. These changes fixed the problems I was having -- this is all testing I have done. Notice that I have changed osgUtil::PolytopeIntersector::Intersection's members to use doubles (osg::Vec3d, instead of osg::Vec3). I could have added #ifdef's there too, but I think it is better to not change the types of stuff in the public interface depending on some preprocessor definition. The modified files are attached. A diff also follows, for those who like it." With the following changes from Robert Osfield: "I've just reviewed your changes and have just tweaked them a little to streamline them. What I have done in the PolytopeIntersector header is add: typedef osg::Plane::Vec3_type Vec3_type; And then use this typedef in the definition of the vertices rather then Vec3d as you did. Next changes were to PolytopeInteresector.cpp where to the PolytopeIntersectorUtils defintions of the Vec3_type, and value_type which now simply read: typedef osg::Plane::Vec3_type Vec3_type; typedef Vec3_type::value_type value_type; This way I was able to complete avoid any if def's and have essential the same implementation as you achieved. Changes now checked into svn/trunk." Wed, 8 Feb 2012 09:34:44 +0000 Author : Robert Osfield From Claus Scheiblauer, "in GraphicsWindowQt.cpp the GLWidget::keyReleaseEvent was implemented slightly different to the GLWidget::keyPressEvent, which caused the cursor keys values to be not correctly mapped from an QKeyEvent value to an osg key value when releasing a cursor key." Tue, 7 Feb 2012 16:14:13 +0000 Author : Robert Osfield Fixed build issues when compile with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF. Tue, 7 Feb 2012 12:37:48 +0000 Author : Robert Osfield From Alexander Irion, "Added missing format GL_ALPHA to Image::computeFormatDataType()." Tue, 7 Feb 2012 12:02:04 +0000 Author : Robert Osfield From Johannes Baeuerle, "The first problem is wrong value of the block size of etc1 textures in the getCompressedSize call in Texture.cpp. With the current block size of 16 the target application crashes with a GL_INVALID_VALUE. The reason is that the calculated size passed to OpenGL does not match the size of the passed data(data pointer,texture width,texture height,spec of etc1). With a block size of 8 in the getCompressedSize call this error dissapears." Tue, 7 Feb 2012 11:43:42 +0000 Author : Robert Osfield From Nico Kruithof, "I found that Collada wasn't found correctly with visual studio 2010." Tue, 7 Feb 2012 11:41:20 +0000 Author : Robert Osfield From Marius Kintel, "GraphicsWindowQt::WindowData no longer requires the parent widget of a graphics window to be of type GLWidget." Tue, 7 Feb 2012 11:29:47 +0000 Author : Robert Osfield From David Fries, "Of the two ways to use the Tessellator object, only retessellatePolygons was applying the winding and boundary option. Moved the gluTessProperty calls into beginTessellation().There's a comment typo fix, removing an unused VertexPointList typedef, and allocates one _tobj instead of one per tesellation. Protections were added to check that _tobj was allocated in the few remaining places it wasn't being checked. --- On a side note, I would like to avoid the 'new Vec3d' in Tessellator::addVertex for each call to gluTessVertex(tess, location, data). The RedBook leaves it ambiguous if the location pointer must remain valid after gluTessVertex or not. http://www.opengl.org/sdk/docs/man/xhtml/gluTessVertex.xml says that changing location is not safe, so being conservative, I'll leave it as is, even though the Mesa GLU library copies the data not the pointer, so it is currently safe." Tue, 7 Feb 2012 11:21:11 +0000 Author : Robert Osfield From Lionel Lagarde, "The setNormal method of osg::Billboard has side effects (it calls updateCache and update the normal to Z rotation matrix). When cloning billboards, copying the normal vector is not enough. In the correction, the copy constructor calls setNormal to update the internal members." Tue, 7 Feb 2012 10:57:19 +0000 Author : Robert Osfield From Wojciech Lewandowski, "This is a one line modification of StatsHandler.cpp to work correctly while dumping states to console when ViewerStats getEarliesFrameNumber() and getLatestFrameNumber() return zeroes. If that happened in current version, printing loop was iterating between 0 and 0xFFFF FFFF indices and that was hanging our system. " Tue, 7 Feb 2012 10:51:22 +0000 Author : Robert Osfield From Tamer Fahmy, Fix for bug when scrolling down and using render on demand."Currently issuing a mouse scroll DOWN event would stop updating animations in progress. The fix consists of changing the line us.requestContinuousUpdate( false ); to: us.requestContinuousUpdate( isAnimating() || _thrown ); in OrbitManipulator::handleMouseWheel() as has been done for the GUIEventAdapter::SCROLL_UP case a couple of lines earlier or in src/osgGA/FirstPersonManipulator.cpp." Tue, 7 Feb 2012 10:40:04 +0000 Author : Robert Osfield From Rudolf Wiedemann, "the file attached fixes the incomplete implementation of "osg::DefaultUserDataContainer"'s copy constructor. Copying user objects was missing."Note from Robert Osfield, in submission changed _objectList.push_back((*itr)->clone(copyop)); to _objectList.push_back(copyop(*itr)); Tue, 7 Feb 2012 10:33:09 +0000 Author : Robert Osfield From Sukender, "I just fixed using UTF8 paths in JP2 readerwriter under Windows. Jpeg2000 plugin could not handle UTF8 paths as it was using an Japser open() function which seems to be based on the standard fopen(). The fix simply opens the file beforehand and only gives a FILE* to the Jasper lib (and then closes the file, of course). " Mon, 6 Feb 2012 13:45:20 +0000 Author : Robert Osfield From Mathias Froehlich, "In Optimizer.cpp a nodes update callback is checked twice and the cull callback is checked never for the decision of a node being redundant. The change replaces one of the update callback tests with a cull callback test." Mon, 6 Feb 2012 13:40:01 +0000 Author : Robert Osfield From Mathias Froehlich, "Attached is a change to the stats handler so that the aspect ratio of the viewer stats coordinates always stay about 1:1 to the pixels. This helps for more readable stats with very wide windows for example." Mon, 6 Feb 2012 13:35:45 +0000 Author : Robert Osfield From Mathias Froehlich, "The attached change to the default font makes the baseline correctly working and makes the glyphs aspect ratio match their 12x8 bitmaps. I am not exactly sure about osgTexts current internals but it matches the changes that happened lately to the txf font. " Mon, 6 Feb 2012 13:29:38 +0000 Author : Robert Osfield From Cory Riddell, "I've been using the dot plugin and found that our application which sets the global locale was generating bad dot files. Specifically, the node numbers had comma separators in them (like 1,234 rather than 1234).The attached file simply forces the stringstreams used to build up the dot file to use the "C" locale." Mon, 6 Feb 2012 13:27:25 +0000 Author : Robert Osfield From Robert Milharcic, "In attached file I implemented LOAD_IMMEDIATELY mode for new osg ProxyNode wrapper. Current version of proxynode loading uses DatabasePager for both modes(DEFER_LOADING_TO_DATABASE_PAGER and LOAD_IMMEDIATELY).Immediate loading of external references begins after ProxyNode has been deserialized in ProxyNodeFinishedObjectReadCallback." Mon, 6 Feb 2012 12:42:52 +0000 Author : Robert Osfield From Paul Palumbo, "This change seems to fix a problem reading 32-bit Floating point tiff images. Without this fix, I'm only getting half my image displayed in "osgviewer --image"." Mon, 6 Feb 2012 12:38:11 +0000 Author : Robert Osfield From Jason Beverage, "Attached is a patch to the SVG plugin to use cairo_surface_destroy instead of free. This was causing a crash on Windows. " Mon, 6 Feb 2012 12:36:25 +0000 Author : Robert Osfield From Jan Peciva, "attaching improved StatsVisitor. Changes: - apply() and reset() methods made virtual to allow overriding - added apply(StateSet&) to make more easier to gather StateAttribute statistics in user-derived classes " Mon, 6 Feb 2012 12:29:29 +0000 Author : Robert Osfield Fixed indendation and line endings Mon, 6 Feb 2012 12:06:40 +0000 Author : Robert Osfield From Brad Christiansen, "The attached files add the ability to control when a paged child becomes eligible for expiry based on time and/or elapsed frames.I found that some of the items that had been paged in were being expired on the first frame that they were not visible (as the cache was full). This resulted in excessive paging every time the view was moved. With the following changes I could only allow children to be expired if they had not been used for e.g. 30 seconds or 60 frames." Mon, 6 Feb 2012 12:05:36 +0000 Author : Robert Osfield Fixed silly compiler warning that was being produced in error. Mon, 6 Feb 2012 11:17:12 +0000 Author : Robert Osfield From Alexander Sinditskiy, "looks like GlyphGeometries _glyphGeometries; should be removed because Glyph3D have the same named local variable." Fri, 3 Feb 2012 15:15:37 +0000 Author : Robert Osfield From Stephan Huber, "attached you'll find a first version of multi-touch-support for OS X (>= 10.6), which will forward all multi-touch events from a trackpad to the corresponding osgGA-event-structures.The support is switched off per default, but you can enable multi-touch support via a new flag for GraphicsWindowCocoa::WindowData or directly via the GraphicsWindowCocoa-class. After switching multi-touch-support on, all mouse-events from the trackpad get ignored, otherwise you'll have multiple events for the same pointer which is very confusing (as the trackpad reports absolute movement, and as a mouse relative movement). I think this is not a problem, as multi-touch-input is a completely different beast as a mouse, so you'll have to code your own event-handlers anyway. While coding this stuff, I asked myself if we should refactor GUIEventAdapter/EventQueue and assign a specific event-type for touch-input instead of using PUSH/DRAG/RELEASE. This will make it clearer how to use the code, but will break the mouse-emulation for the first touch-point and with that all existing manipulators. What do you think? I am happy to code the proposed changes. Additionally I created a small (and ugly) example osgmultitouch which makes use of the osgGA::MultiTouchTrackballManipulator, shows all touch-points on a HUD and demonstrates how to get the touchpoints from an osgGA::GUIEventAdapter. There's even a small example video here: http://vimeo.com/31611842" Fri, 3 Feb 2012 14:25:08 +0000 Author : Robert Osfield From Stephan Huber, "attached you'll find a first version of multi-touch-support for OS X (>= 10.6), which will forward all multi-touch events from a trackpad to the corresponding osgGA-event-structures.The support is switched off per default, but you can enable multi-touch support via a new flag for GraphicsWindowCocoa::WindowData or directly via the GraphicsWindowCocoa-class. After switching multi-touch-support on, all mouse-events from the trackpad get ignored, otherwise you'll have multiple events for the same pointer which is very confusing (as the trackpad reports absolute movement, and as a mouse relative movement). I think this is not a problem, as multi-touch-input is a completely different beast as a mouse, so you'll have to code your own event-handlers anyway. While coding this stuff, I asked myself if we should refactor GUIEventAdapter/EventQueue and assign a specific event-type for touch-input instead of using PUSH/DRAG/RELEASE. This will make it clearer how to use the code, but will break the mouse-emulation for the first touch-point and with that all existing manipulators. What do you think? I am happy to code the proposed changes. Additionally I created a small (and ugly) example osgmultitouch which makes use of the osgGA::MultiTouchTrackballManipulator, shows all touch-points on a HUD and demonstrates how to get the touchpoints from an osgGA::GUIEventAdapter. There's even a small example video here: http://vimeo.com/31611842" Fri, 3 Feb 2012 11:10:17 +0000 Author : Robert Osfield Improved handling of archives Fri, 3 Feb 2012 11:09:45 +0000 Author : Robert Osfield From Terry Welsh, improved support for handling archives Wed, 1 Feb 2012 17:42:42 +0000 Author : Robert Osfield From Colin McDonald, "I have an application with multiple windows. They share GL objects between the contexts, using the GraphicsContext::Traits sharedContext and setting the same contextID.When one of these shared contexts is closed, GraphicsContext::close deletes all GLObjects for that contextID, regardless of the fact that they are shared. This means that all of the other contexts sharing the objects have to recompile them. The attached tweak makes GraphicsContext::close a bit less brutal for shared contexts. I have also changed a misleading diagnostic message. " Wed, 1 Feb 2012 17:38:37 +0000 Author : Robert Osfield From Luc Frauciel, "FBX plugin was locked on version 2012.1 of FBX SDK which is not available anymore on Autodesk website. This patch allows version of FBX >= 2012.1, which includes current one : 2012.2 " Wed, 1 Feb 2012 17:16:44 +0000 Author : Robert Osfield Renamed selection to transform to make it clear to understand what is being done. Wed, 1 Feb 2012 17:10:48 +0000 Author : Robert Osfield Added example usage of teh new DraggerTransforCallback's HandleCommandMask which is tied to the TabPlaneDragger example. Wed, 1 Feb 2012 13:55:38 +0000 Author : Robert Osfield Added DraggerTransformCallback::HandleCommandMask to DraggerTransformCallback to allow applications to select which commands they want the dragger callback to respond to why updating the transform. Tue, 31 Jan 2012 10:56:52 +0000 Author : Robert Osfield Improved the handling of osgManipulator::Constraint, DraggerCallbacks and Command so that they now use a Visitor Pattern to ensure the correct methods on constraints and callbaks are called for each Command. Also fixed the handling of Constraints when applied to composite Draggers. Mon, 30 Jan 2012 12:26:28 +0000 Author : Robert Osfield Added support for Scale1DDragger, Scale2DDragger and TranslatePlaneDragger to --dragger command line option Fri, 27 Jan 2012 09:49:06 +0000 Author : Robert Osfield From Kristofer Tingdahl, Added missing core OSG libraries. Thu, 26 Jan 2012 18:03:26 +0000 Author : Robert Osfield From Stephan Huber, "a recent submission added a 10.6-feature to GraphicsWindowCocoa. I added some ifdefs around, so it compiles again with 10.5 SDK" Thu, 26 Jan 2012 14:26:59 +0000 Author : Robert Osfield Quietend down debug message Thu, 26 Jan 2012 13:08:19 +0000 Author : Robert Osfield From J.P. Delport, "when switching from windowed mode to fullscreen (with the 'f' key) in X11, no RESIZE event is generated. This confuses handlers that perform some processing on the RESIZE event, e.g. the InteractiveImageHandler.To reproduce the problem I attach a minimally modified osgviewer that just prints resize events. You can check what's printed in the console when you go fullscreen and windowed a few times. The attached version of GraphicsWindowX11 fixes the problem for me, but I'm not sure this is the right approach. Maybe you can see a fix for the problem clearer. The only place where the RESIZE event is generated in GraphicsWindowX11 is in CheckEvents and it then depends on the ConfigureNotify message. For some reason, either ConfigureNotify is not sent when going fullscreen or the traits already reflect the latest window size." Wed, 25 Jan 2012 17:37:55 +0000 Author : Robert Osfield From J.P. Delport, "this fall-through had me scratching my head for a while...It made InteractiveImageHandler eat keypresses outside its image." Wed, 25 Jan 2012 17:35:17 +0000 Author : Robert Osfield From J.P. Delport, "GraphicsWindowX11 typo, I believe X/Y's should match." Wed, 25 Jan 2012 17:31:07 +0000 Author : Robert Osfield From Luc Frauciel, "Ati FirePro is as much crippled as other Ati drivers. This patch add "FirePro" to the black list of renderers in State.cpp / initializeExtensionProcsIt allows to avoid an OpenGL error on Viewer initialization. Tested on FirePro M7740 / Windows7 x64 Driver 8.85.7.2" Wed, 25 Jan 2012 15:38:31 +0000 Author : Robert Osfield Changed the KeyEventToggleTexturing to 'e' to avoid conflict with 't' used for transparency. Tue, 24 Jan 2012 17:57:01 +0000 Author : Robert Osfield Made the cursor state protected. Tue, 24 Jan 2012 17:49:18 +0000 Author : Robert Osfield From Tobias Ottenweller, "this is a fix for the problem where all input freezes for a quarter second when calling requestWarpPointer under Mac OS X (described here: http://forum.openscenegraph.org/viewtopic.php?t=3933 ).I used the latest version available via subversion. My fix is using some API only available on 10.4 and later. I used some preprocessor statements to gain compatibility with 10.3 and earlier using (now) deprecated API. Only tested on OS X Lion (10.7). Please do some testing as well since I'm fairly new to OpenSceneGraph. Someone should also test the code for 10.3 and earlier." Tue, 24 Jan 2012 17:47:04 +0000 Author : Robert Osfield Fixed indentation and spaces at ends of lines. Tue, 24 Jan 2012 17:40:31 +0000 Author : Robert Osfield From Paulk Martz, "Looks like the ClipNode::setReferenceFrame comment block came from LightSource. Fixing the comment block to refer to ClipNode instead of light source." Tue, 24 Jan 2012 17:38:23 +0000 Author : Robert Osfield Chris Denham, fixed type of parameters to ensure they are longs where appropriate. Tue, 24 Jan 2012 17:30:44 +0000 Author : Robert Osfield Moved setEndBarrierOperation(..) implementation into .cpp and added support for stoppig and starting threading if required. Tue, 24 Jan 2012 17:21:14 +0000 Author : Robert Osfield From Paul Martz, Added ViewerBase::s/getEndBarrierOperation(..) method to allow user control of how viewers are sync'd. Tue, 24 Jan 2012 15:44:58 +0000 Author : Robert Osfield Fixed compile error Tue, 24 Jan 2012 14:34:02 +0000 Author : Robert Osfield Added support for using GL_UNPACK_ROW_LENGTH in conjunction with texture's + osg::Image via new RowLength parameter in osg::Image. To support this Image::setData(..) now has a new optional rowLength parameter which defaults to 0, which provides the original behaviour, Image::setRowLength(int) and int Image::getRowLength() are also provided.With the introduction of RowLength support in osg::Image it is now possible to create a sub image where the t size of the image are smaller than the row length, useful for when you have a large image on the CPU and which to use a small portion of it on the GPU. However, when these sub images are created the data within the image is no longer contiguous so data access can no longer assume that all the data is in one block. The new method Image::isDataContiguous() enables the user to check whether the data is contiguous, and if not one can either access the data row by row using Image::data(column,row,image) accessor, or use the new Image::DataIterator for stepping through each block on memory assocatied with the image. To support the possibility of non contiguous osg::Image usage of image objects has had to be updated to check DataContiguous and handle the case or use access via the DataIerator or by row by row. To achieve this a relatively large number of files has had to be modified, in particular the texture classes and image plugins that doing writing. Tue, 24 Jan 2012 14:27:17 +0000 Author : Robert Osfield Refactored the click_to_run implementation to avoid bug associated with running the first click_to_run entry in a layer when subsequent click to run's are called. Mon, 23 Jan 2012 18:48:18 +0000 Author : Robert Osfield Changed float QuicktimeImageStream::getCurrentTime() to double QuicktimeImageStream::getCurrentTime() to keep it consistent with the type of the virtual function ImageStream::getCurrentTime(), and with this fixing a compile and runtime error.Changed time variables all to use doubles rather than float to be consist with the change to getCurrentTime(). Thu, 5 Jan 2012 14:07:56 +0000 Author : Robert Osfield From Alberto Luacus, "The ffmpeg plugin fails to compile with the upcoming libav 0.8 because the required header mathematics.h is not being included explicitly.I have just included it, and verified that this also works with current version 0.7, since the header is also available there." Tue, 3 Jan 2012 15:59:19 +0000 Author : Robert Osfield Fixed the return value of SlideEventHandler::selectLayer() so that the 'n' now works correctly. Mon, 2 Jan 2012 16:54:05 +0000 Author : Robert Osfield From Farshid Lashkari, "Attached is a simple fix to osg::Sequence that allows it to load properly with the serializer formats (osgt/osgb). The problem was that the internal _nrepsRemain member was not being initialized properly if the number of repeats was equal to the default value of -1. When the number of repeats is explicitly set using setNumRepeats(), _nrepsRemain is set to the same value. However, in the constructor of osg::Sequence, it was not being initialized to the same value as _nreps. This fix simply changes the initial value of _nrepsRemain to the same as _nreps." Mon, 2 Jan 2012 16:38:01 +0000 Author : Robert Osfield From Chris Denham, Implementation of write functions in CURL plugin Fri, 23 Dec 2011 17:40:31 +0000 Author : Robert Osfield From Paul Martz and David Glenn,"From David Glenn and Paul Martz. This change adds support for the NO_COLOR bit in the Vertex records' flags field. If NO_COLOR is set, and PACKED_COLOR is not set, the code will now properly default to using the face color at those vertices. See the osg-users thread "Open Flight characteristic not reflected in the current OSG" for more info." and "In consultation with David Glenn, it appears we needed to change a second file to correct how OpenFlight handles transparency when vertices have NO_COLOR. " Fri, 23 Dec 2011 17:34:07 +0000 Author : Robert Osfield Gunnar Holm, "After upgrading from 2.8.3 to 3.0.1 we experienced a lock in the Mutex functionality when using Terrain::setVerticalScale. This was caused by the following call sequence resulting in a lockup:void Terrain::setVerticalScale(float scale) CALLS dirtyRegisteredTiles(); void Terrain::dirtyRegisteredTiles(int dirtyMask) SETS LOCK OpenThreads::ScopedLock lock(_mutex); and CALLS (on every tile) setDirtyMask(dirtyMask); void TerrainTile::setDirtyMask(int dirtyMask) CALLS _terrain->updateTerrainTileOnNextFrame(this); void Terrain::updateTerrainTileOnNextFrame(TerrainTile* terrainTile) SETS LOCK OpenThreads::ScopedLock lock(_mutex); ******* PROBLEM - since lock has already been set! ******** The suggested fix submitted changes from using Mutex to ReentrantMutex. " Fri, 23 Dec 2011 17:21:59 +0000 Author : Robert Osfield From Aurelien Albert, "I made a modification in the Dragger class :You can now set a "intersection mask" and it will be used when looking for intersections. So you can now easily "hide" some objects from manipulators." Fri, 23 Dec 2011 17:16:06 +0000 Author : Robert Osfield From Brad Christiansen, "I have added an implementation for set/getVolume in the direct show plug-in." Fri, 23 Dec 2011 17:15:06 +0000 Author : Robert Osfield From Glenn Waldron, "Attached is a change to ClusterCullingCallback to make it work properly under an RTT camera with an INHERIT_VIEWPOINT reference frame." Fri, 23 Dec 2011 16:57:34 +0000 Author : Robert Osfield From James Turner, "Testing FlightGear with Cocoa osgViewer, encountered some problems with hiding / re-showing the cursor. Attached version fixes this, by tracking the current cursor value, and ensuring we don't nest calls to [NSCursor hide] or [NSCursor unhide]." Fri, 23 Dec 2011 16:29:51 +0000 Author : Robert Osfield From Ulrich Hertlein, "attached is a patch for osgPlugins/mdl/MDLReader.cpp that improves its functionality on Unix filesystems. It also includes code cleanups/refactoring." Fri, 23 Dec 2011 16:27:25 +0000 Author : Robert Osfield From Brad Christiansen, "Attached are some small changes to the ImageStream interface and the DirectShow and FFMPEG plugins to provide the current time being displayed in the image stream. I don’t have access to an OSX or Linux dev machine to make the changes required to the quick time plugin. This plugin will just default to returning 0." Fri, 23 Dec 2011 16:14:51 +0000 Author : Robert Osfield From Ulrich Hertlein, typo fixes Fri, 23 Dec 2011 12:42:18 +0000 Author : Robert Osfield Added handling of an empty filename when writing out an image file. Mon, 19 Dec 2011 16:18:18 +0000 Author : Robert Osfield Removed inappropriate static usage Mon, 19 Dec 2011 09:37:57 +0000 Author : Robert Osfield Moved the createSpotLightImage function into include/osg/ImageUtils Mon, 19 Dec 2011 09:09:30 +0000 Author : Robert Osfield Added --num-sm and --parallel-split and --cascaded command line options to set the appriopriate ViewDependentShadowMap settings. Tue, 13 Dec 2011 21:14:33 +0000 Author : Robert Osfield Moved osgshaders example across to use the new osgUtil::PerlinNoise example Tue, 13 Dec 2011 21:12:00 +0000 Author : Robert Osfield Created new PerlinNoise class from the Noise.h+Noise.cpp code in the osgshaders example. Wed, 30 Nov 2011 19:14:14 +0000 Author : Robert Osfield Fixed build under Tiny Core. Fri, 25 Nov 2011 12:48:03 +0000 Author : Robert Osfield To fix problems in tight bound computation of the shadow map made the ComputeLightSpaceBounds usage always used when the CastShadowMask is active. Changed the ComputeLightSpaceBounds to use just VIEW_FRUSTUM_CULLING. Fri, 25 Nov 2011 09:24:50 +0000 Author : Robert Osfield From Jean-Sebastien Guay, fix for handling texture unit >= 8 and negative LigthNum. Tue, 22 Nov 2011 21:55:30 +0000 Author : Robert Osfield Added prelimanary support for parallel split shadow maps into ViewDependentShadowMap. Fri, 18 Nov 2011 08:20:04 +0000 Author : Robert Osfield From Trajce Nikolov, "Here is extended version of the osgforest example - technique with geometry shader added, was doing it for a project so I thought might be useful to update the example as well " Fri, 18 Nov 2011 08:15:36 +0000 Author : Robert Osfield Fixed indentation Thu, 17 Nov 2011 18:45:18 +0000 Author : Robert Osfield Added .get() to fix build Fri, 11 Nov 2011 10:36:17 +0000 Author : Robert Osfield Updated built in volume shaders to honour the osg::Matierial setting Fri, 11 Nov 2011 10:25:20 +0000 Author : Robert Osfield Enabled blending for the iso surface rendering to enable fade in/fade out of volume. Thu, 10 Nov 2011 15:50:22 +0000 Author : Robert Osfield Added handling of osgGA::GUIEventAdapter::getMouseYOrientation() in the orientation of mouse y position.Added updating of properties on both mouse move/drag and keydown. Mon, 7 Nov 2011 14:36:50 +0000 Author : Robert Osfield Added a check against OSX 10.6 to enable better selection of when to provide custom cosf etc. definition. This change has been introduced to address recurcsion problems in 10.7 in the ac3d plugin. Fri, 4 Nov 2011 12:50:05 +0000 Author : Robert Osfield Implement presentation update feature that reloads the presentation on pressing 'u'. Fri, 4 Nov 2011 12:47:24 +0000 Author : Robert Osfield Improved the handling of setStartTick() being called mid app, such as when idirectly called when doing a Viewer::setSceneData(). Improved the setting the the initial event state. Fri, 4 Nov 2011 12:45:32 +0000 Author : Robert Osfield Improved handling of resetting of the EventQueue::startTick(). Fri, 4 Nov 2011 12:44:01 +0000 Author : Robert Osfield Added removeFromObjectCache method. Wed, 2 Nov 2011 10:57:17 +0000 Author : Robert Osfield Add check to filter out the return of FILE_NOT_FOUND from archive results to prevent these from prematurely exiting the Registry::read(..) method bofore it loads plugins to try and load requested file. Tue, 1 Nov 2011 16:13:24 +0000 Author : Robert Osfield Replaced the use of PrtScrn with 'm' for taking screenshots, replaced the use of 'm' with 'M' for taking movies. Tue, 1 Nov 2011 13:41:48 +0000 Author : Robert Osfield From Stephan Huber, "A recent commit (https://github.com/openscenegraph/osg/commit/41e23f466d0749d0d9db7ca0b0ada996432a1ee1) for GraphicWindowsIOS.mm broke the compilation for OpenGL ES 1.x as GL_DEPTH_COMPONENT32_OES is not defined for 1.x. I added a #define-guard." Tue, 1 Nov 2011 13:36:07 +0000 Author : Robert Osfield Added screen capture handler to present3D, with the PrtScn button used for a single frame capture and 'm' for continuous frame capture. The --screenshot filename command line option can be used to configure the name of the screen capture. Tue, 1 Nov 2011 11:08:48 +0000 Author : Robert Osfield Added setting of the sampleDensityWhenMovingProperty at the same time as when setting the sampleDensityProperty Tue, 1 Nov 2011 10:30:18 +0000 Author : Robert Osfield Fixed the use DCM_SeriesDescription Tue, 1 Nov 2011 10:27:12 +0000 Author : Robert Osfield Improved the handling of multiple datasets being read at once, with all the images in a series being group according to Series UID and SeriesDescription and orientation. Mon, 31 Oct 2011 15:29:49 +0000 Author : Robert Osfield Adding missing checks against View's Camera and SceneData for any update callbacks that need calling. Fri, 28 Oct 2011 11:00:55 +0000 Author : Robert Osfield Changed the notification level to INFO. Fri, 28 Oct 2011 11:00:08 +0000 Author : Robert Osfield Changed the setting of Traits::sampleBuffers so that it's set to 1 when DisplaySettings::getMultiSamples() is set to a non zero value. Fri, 28 Oct 2011 10:36:29 +0000 Author : Robert Osfield Changed the default for SampleBuffers to be 1 when set. Fri, 28 Oct 2011 09:45:51 +0000 Author : Robert Osfield Removed OSX codepath for setting the depth value to 32 as this turned out to be unneccesary. Fri, 28 Oct 2011 09:11:21 +0000 Author : Robert Osfield Changed the default depth to 24. Thu, 27 Oct 2011 16:33:18 +0000 Author : Robert Osfield Updated volume shaders to use the GL_LIGHT 0 values to control the direction of the light source Thu, 27 Oct 2011 13:11:20 +0000 Author : Robert Osfield Reimplement the light direction controls so that they now work correctly with osgViewer::Viewer.Improved the computation of the light direction from non-dimensional mouse coords so that they now project onto a hemisphere making the interaction more intuitive. Thu, 27 Oct 2011 09:24:34 +0000 Author : Robert Osfield Added support for ignore returns as white space. Thu, 27 Oct 2011 08:34:53 +0000 Author : Robert Osfield Added support for American spelling of swap and add supportOptions(..) documentation for the new options. Wed, 26 Oct 2011 14:25:56 +0000 Author : Robert Osfield Added support into the .p3d format for specifying the osgDB::Options::OptionString via the .Added support into .vnc plugin for passing in the keywords "swap", "RGB", "RGBA", "BGR", "BGRA" as OptionString values to allow .p3d presentations to control whether the pixelformat should be swapped or set to a specific format. Wed, 26 Oct 2011 12:48:57 +0000 Author : Robert Osfield Added password support into present3D's vnc support via the tag usage : hostname Wed, 26 Oct 2011 12:29:38 +0000 Author : Robert Osfield Added password support into osgvnc example and vnc plugin Wed, 26 Oct 2011 09:34:50 +0000 Author : Robert Osfield Implement a simply attempt at detecting when the pixel format needs to be swapped. Tue, 25 Oct 2011 15:55:33 +0000 Author : Robert Osfield Added support for 32bit depth buffer Tue, 25 Oct 2011 15:31:46 +0000 Author : Robert Osfield Added hack of using a 32bit depth buffer default setting for Traits when compiling under Apple. Mon, 24 Oct 2011 13:40:29 +0000 Author : Robert Osfield Moved switching off of the cursor till after the slide event handler has had a chance to switch off the scene. Mon, 24 Oct 2011 11:09:35 +0000 Author : Robert Osfield Fixed handling of slide with no layers. Sat, 22 Oct 2011 09:02:18 +0000 Author : Robert Osfield Fixed build of StreamOperator Fri, 21 Oct 2011 15:39:51 +0000 Author : Robert Osfield Fixed handling of Vec3dArray in GLBeginEdnAdapter/ArrayDispatchers. Fri, 21 Oct 2011 11:00:29 +0000 Author : Robert Osfield Added support for using negative scale_x, scale_y and scale_z values in the tag to allow presentations to flip the imagery Fri, 21 Oct 2011 10:59:42 +0000 Author : Robert Osfield Added flipDepth() method Fri, 21 Oct 2011 09:31:56 +0000 Author : Robert Osfield Fixed handling of scale.x, scale.y and scale.z paramters so that all of them now take an effect. Thu, 20 Oct 2011 16:49:08 +0000 Author : Robert Osfield Fixed handling of reading/writing of osgVolume::VolumeTile tiles Thu, 20 Oct 2011 16:35:50 +0000 Author : Robert Osfield Added support for calling throwException() from InputIterator and added a check for negative string sizes. Thu, 20 Oct 2011 11:50:04 +0000 Author : Robert Osfield Added check against build type to avoid the build of the osgviewerWX example with debug build as this fails with unresolved symbols within the internals of WxWidgets. Thu, 20 Oct 2011 10:52:32 +0000 Author : Robert Osfield From Ulrich Hertlein, fixed build problem due to cmake_policy CMP0017 being only available from cmake-2.8.4, added guard to prevent build problems Thu, 20 Oct 2011 09:23:26 +0000 Author : Robert Osfield Improved handling of recent Cmake versions Thu, 20 Oct 2011 08:59:47 +0000 Author : Robert Osfield Fixed typo in command line output, and add an explanation message for when createTexture3D fails to create an osg::Image from a list of input osg::Image. Mon, 17 Oct 2011 15:39:46 +0000 Author : Robert Osfield Fixed typo Mon, 17 Oct 2011 14:41:49 +0000 Author : Robert Osfield Improvements to the compute near/far Mon, 17 Oct 2011 14:40:29 +0000 Author : Robert Osfield Improvements to osgShadow::ViewDependentShadowMap and ShadowSettings Mon, 17 Oct 2011 11:12:05 +0000 Author : Robert Osfield Quitened down debug message Mon, 17 Oct 2011 10:25:28 +0000 Author : Robert Osfield From Jean-Sebastien Guay, add --mapres size option to ViewDependentShadowMap settings. Mon, 3 Oct 2011 15:57:06 +0000 Author : Robert Osfield Add catch for when shadows are enabled between the update and draw traversals. Mon, 3 Oct 2011 15:25:16 +0000 Author : Robert Osfield From Jean-Sebastien Guay, changed the border colour for the shadow map to be 1 rather the 0 used for debugging so that areas outside the shadow map default to being unshadowed rather than shadowed. changed the shadow map texture assigment to StateSet so that it doesn't use OVERRIDE, enabling subgraphs to use the same texture unit for other textures if they so required. tidied up indentation. Mon, 3 Oct 2011 14:57:39 +0000 Author : Robert Osfield Changed getVertical(..) so it uses the same coord scale as the getGlyph Mon, 3 Oct 2011 14:56:38 +0000 Author : Robert Osfield Fixed handling of ShadowSetting LightNum Mon, 3 Oct 2011 10:36:18 +0000 Author : Robert Osfield Added Font::getVertical(float& ascender, float& descender) methods. Wed, 28 Sep 2011 11:52:27 +0000 Author : Robert Osfield Added catch for NaN vertices that were being generated by osgText, these NaN vertices were causing glu tesselation functions to crash. Wed, 28 Sep 2011 10:54:30 +0000 Author : Robert Osfield Added computation of the extents, in light space, of the shadow maps RenderStage contents and use of this to produce a tighter bound light space projection. Tue, 20 Sep 2011 11:46:45 +0000 Author : Robert Osfield Added a half second sleep after calling system command when the command is run in the background so that this command has a chance to run and open a window before the calling present3D moves on to the next frame. Tue, 20 Sep 2011 10:59:18 +0000 Author : Robert Osfield Added better error reporting and handling when tag contents are not valid. Tue, 20 Sep 2011 10:01:07 +0000 Author : Robert Osfield Added handling of tag and "" options. Mon, 19 Sep 2011 10:42:54 +0000 Author : Robert Osfield From Ulrich Hertlein, "attached is a patch that cleans up compiler warnings and common functionality." Mon, 19 Sep 2011 10:39:19 +0000 Author : Robert Osfield From Wojciech Lewandowski, "There was a bug in reading modifier keys when focus to GraphicsWindowWin32 was restored. Handler of WM_SETFOCUS was reading pressed keys and sending WM_KEYDOWN messages to fill initial keyboard state. But WM_KEYDOWN messages sent had 0 on lParam and adaptKey method computing state of modifier mask was using lParam to find which modifier keys are down. Obviously when lParam was 0 it was not recording proper modifier masks.This patch fixes this code sending proper lParam and also makes sure LEFT_CONTROL will be not confused with RIGHT_CONTROL." Mon, 19 Sep 2011 10:34:31 +0000 Author : Robert Osfield From Luc Frauciel, "You'll find attached a new option that allow, when using LOD in USER_DEFINED_CENTER mode to expand the radius of the node by the radius of loaded objets. Motivation ; When using PagedLODs, you don't always know the real size of loaded children, If it occurs that they are out of predefined bounds, picking on the parts that are out of bound will fail They also can be culled out too soon. The problem often occurs with long object (roads). I've modified LOD and ProxyNode to include this option."and later email: "Attached the UNION_OF_BOUNDING_SPHERE_AND_USER_DEFINED version There are impacts on some serializers (dae, osgWrapper). I haven't modified deprecated osg, since it's deprecated" Mon, 19 Sep 2011 10:12:53 +0000 Author : Robert Osfield Added removal of [..] from names returned from glGetActiveUniform results to avoid issues with name lookups when the driver add the [..] for uniform arrays. Mon, 19 Sep 2011 09:44:29 +0000 Author : Robert Osfield Copya and Paste Anti-Pattern strikes again! Renamed FreeType usage to Revisions to correct previous mistake when copying and modifying the ReaderWriter. Wed, 14 Sep 2011 10:45:11 +0000 Author : Robert Osfield Fixed memory leak Wed, 14 Sep 2011 10:22:04 +0000 Author : Robert Osfield Added missing forward declaration Wed, 14 Sep 2011 10:02:11 +0000 Author : Robert Osfield Added asCamera() methods into osg::Camera and osg::Node Wed, 14 Sep 2011 09:49:28 +0000 Author : Robert Osfield From Laurens Voerman, "attached is a zipped OpenSceneGraph\src\osgPlugins\ffmpeg\FFmpegDecoderAudio.cppIt solves a wrong sample format being set for audiostreams type S32 and F32, for the enum AVSampleFormat (in include/avutil/samplefmt.h) doesn't match enum SampleFormat (in include/osg/AudioStream) for anything but SAMPLE_FORMAT_U8 and SAMPLE_FORMAT_S16 " and follow up that address versioning issue "I can find the change, avutil version 50.38.0 introduced a new header file: libavutil/samplefmt.h older versions use libavcodec/avcodec.h with the sampleformats without AV_ an intermideate fix with the FF_API_OLD_SAMPLE_FMT is removed from ffmpeg 0.8.3 so I think this is the correct fix: #if LIBAVUTIL_VERSION_INT < AV_VERSION_INT(50,38,0) #define AV_SAMPLE_FMT_NONE SAMPLE_FMT_NONE #define AV_SAMPLE_FMT_U8 SAMPLE_FMT_U8 #define AV_SAMPLE_FMT_S16 SAMPLE_FMT_S16 #define AV_SAMPLE_FMT_S32 SAMPLE_FMT_S32 #define AV_SAMPLE_FMT_FLT SAMPLE_FMT_FLT #define AV_SAMPLE_FMT_DBL SAMPLE_FMT_DBL #define AV_SAMPLE_FMT_NB SAMPLE_FMT_NB #endif " Tue, 13 Sep 2011 13:38:26 +0000 Author : Robert Osfield From Morten Hauknes, "I have been using the getLastVisiblePixelCount on pre 3.0 osg. I believe maybe this was a private function that we made public in our side. I use(d) this method to make a simple algorithm to tell how much visible an object was in percent.So with the 3.0 api change we propose the following change: - put OSG_EXPORT on the QueryGeometry class so that we get access to the getNumPixels method. - Create a function called getQueryGeometry that returns a casted _queryGeode->getDrawable(). Or a function called getQueryGeode that returns _queryGeode." Tue, 13 Sep 2011 13:33:41 +0000 Author : Robert Osfield From Jean-Sebastien Guay, removed unneccessary BUILD_QT_EXAMPLES cmake option Tue, 13 Sep 2011 11:48:06 +0000 Author : Robert Osfield From Sukender, "I just fount that writing double precision values (eg. Vec3dArray for vertices) works with .osg but not .osgt/.osgx. So here is the fix (SVN trunk r12712). I suppose .osgb works as expected on this point and did not change anything. So, as for .osg, if you add "precision 16" (for instance) to the optionString, then you'll get double precision vertices written correctly. " Tue, 13 Sep 2011 11:09:39 +0000 Author : Robert Osfield From Robert Milharcic, "This will hopefully fix some issues with osgQt, more precisely with GLWidget event handling. There are at least two current GL context braking events, QEvent::Hide and QEvent::ParentChange. When running in a multithreaded mode they both try to change current GL context in a wrong thread (main GUI thread). The QEvent::ParentChange is also problematic when running in a single threaded model because Qt is going to release current contex then delete it, and then it will create new one, and as a result the osg will continue to render to an invalid deleted context. This changes workaround above problems by deferring execution of the problematic evens. These events has to be enqueued and executed later. The enqueued event processing is currently done right after swap in a swapBuffersImplementation of GraphicsWindowQt while code is running in a render thread by calling QGLWidget handler directly. In principle the deferred events queue should be executed while in GUI thread but I couldn't find any reliable way to do this, that is without risking a deadlock. For now it is assumed, Qt is not going to execute any GUI thread only operations inside the QGLWidget handler." Tue, 13 Sep 2011 10:15:07 +0000 Author : Robert Osfield From Farshid Lashkari, " The osgUtil::CullVisitor class will display an OSG_INFO notification when attempting to clamp the projection matrix with invalid near/var values. This usually appears when the scene graph is empty or all objects are culled. I don't think this scenario warrants having this message appear every frame. It makes it very difficult to debug other issues when this notification floods the output window.I'd prefer to have the notification removed, but there might be legitimate cases where you want this displayed. Instead, I just disabled the output if the near/far values are equal to FLT_MAX (their initial values). This should at least prevent the notification for the common case where everything was culled." Tue, 13 Sep 2011 09:59:21 +0000 Author : Robert Osfield From Paul Martz, "Here's my proposed change regarding the osg-users post "small feature culling threshold". I've updated the comments and brought the default values into agreement, but didn't bother to add the environment variable support." Tue, 13 Sep 2011 09:53:34 +0000 Author : Robert Osfield From Jean-Sebastien Guay, "I added a simple setting in OSG's CMakeLists.txt to be able to disable building anything related to Qt. It just skips the FindPackage(...) for Qt3 and Qt4, so since they are not found nothing related to Qt will be generated by CMake. The default is to build the Qt related stuff, so current behavior is unchanged." Tue, 13 Sep 2011 09:46:22 +0000 Author : Robert Osfield From Sukender, "I added a tiny check to avoid an integer divide-by-zero, when image is invalid (ie. all values are 0)." Tue, 13 Sep 2011 09:43:45 +0000 Author : Robert Osfield From Sukender, "I added a crash-guard against corrupted 3DS files, having faces indexes out of the range of existing vertices." Tue, 13 Sep 2011 09:21:07 +0000 Author : Robert Osfield From Farshild Lashkari, "Attached is a simple patch that avoids the depth write pass in Text::renderWithDelayedDepthWrites if the current osg::State object has GL_DEPTH_TEST disabled." Tue, 13 Sep 2011 09:17:21 +0000 Author : Robert Osfield Reverted Paul Idstein warning fix as this was breaking the build Mon, 12 Sep 2011 16:24:08 +0000 Author : Robert Osfield From Ulrich Hertlein, Added some error checks and memory cleanup. Mon, 12 Sep 2011 16:20:45 +0000 Author : Robert Osfield From Stephan Huber, fixed build for OSX 10.6 and earlier Mon, 12 Sep 2011 16:17:33 +0000 Author : Robert Osfield From Johannes Baeuerle, opptimization of ES support of osg/BufferObject Mon, 12 Sep 2011 12:38:41 +0000 Author : Robert Osfield From Bjorn Blissing, "Found a minor (probably a copy & paste) bug in ViewerEventHandlers. Line 251: int getKeyEventWindowedResolutionDown() const { return _keyEventWindowedResolutionUp; }Should be replaced with: int getKeyEventWindowedResolutionDown() const { return _keyEventWindowedResolutionDown; }" Mon, 12 Sep 2011 12:26:55 +0000 Author : Robert Osfield From Luc Frauciel, "When osgUtil::DelaunayTriangulator triangulate() function ends with no triangle generated, it crashes. This patch fixes that" Mon, 12 Sep 2011 12:14:17 +0000 Author : Robert Osfield From Magnus Kessler, documentation fixes Mon, 12 Sep 2011 12:04:46 +0000 Author : Robert Osfield Improved the clarity of doxygen comments Mon, 12 Sep 2011 11:51:14 +0000 Author : Robert Osfield Fixed typos in the documentation Mon, 12 Sep 2011 11:28:14 +0000 Author : Robert Osfield From Cedric Pinson, from three submissions:"Here a patch that correct like the previous assign collada material name to stateset." and "I changed how the collada reader set object name in osg. Current implementation use collada ID to setup name. with this patch I use collada name to setup name in osg object and if collada provide no name I use as fallback ID. I am not sure we want this fallback. The motivation of this change is that when an artist set names to its objects and export to collada, I am not able to use those names in osg to retrieve the node." and "Here the update of the file that fix the light id stuff" Mon, 12 Sep 2011 11:24:52 +0000 Author : Robert Osfield From Bob Kuehne, build fix for OSX 10.7 SDK. Mon, 12 Sep 2011 11:24:24 +0000 Author : Robert Osfield From Paul Idstein, warning fixes for OSX 10.7 Mon, 12 Sep 2011 10:52:16 +0000 Author : Robert Osfield From Magnus Kessler, typo fixes Mon, 12 Sep 2011 10:47:59 +0000 Author : Robert Osfield From Wang Rui, "I've encountered a strange problem that osgviewerMFC doesn't work well with the StatsHandler. When the 's' key is pressed, the rendering window will be halted. I tried solving the problem by commenting a line in CMFC_OSG_MDIView::OnKeyDown() and it seems to work now.Another improvement here is to use a thread class derived from OpenThreads to replace the old _beginthread(). It helps a lot in keeping a high frame rate when you open more than one MDI child windows. And the application using OpenThreads in my opinion will be more compatible and portable." Mon, 12 Sep 2011 10:46:42 +0000 Author : Robert Osfield Updated SO version number to 90 to allow for recent changes to the ABI, and to set the base for the 3.1.0 series. Mon, 12 Sep 2011 10:43:24 +0000 Author : Robert Osfield From Sukender, "I added private constructors to osg::ValueObject & TemplatedValueObject, to avoid allocation on the stack and ugly things like: TemplatedValueObject value(....); container->addUserObject(value);" Wed, 7 Sep 2011 20:05:25 +0000 Author : Robert Osfield Added handling the ShadowSettings::LightNum for selecting which light to use. Wed, 7 Sep 2011 16:26:57 +0000 Author : Robert Osfield Added handling of the case when RenderLeaf::_modelview matrix is NULL, such as when LightPointNode is used in the scene graph. Wed, 7 Sep 2011 15:55:54 +0000 Author : Robert Osfield Moved ViewDependetShadowMap parameter settings into a dedicated ShadowSettings object in prep for making it possible to scale the API to handle multiple lights and multiple shadow maps per light. Tue, 6 Sep 2011 17:26:27 +0000 Author : Robert Osfield Added setting of the shadow map Camera's name to "ShadowCamera" to improve integration with osgOcean. Tue, 6 Sep 2011 14:13:13 +0000 Author : Robert Osfield Added optimization of the mutliple cessna shadow model to address peformance issues when rendering 100 cessna's. Tue, 6 Sep 2011 11:42:54 +0000 Author : Robert Osfield Added -5 model option using Wang Rui's test demo as a base Tue, 6 Sep 2011 11:11:38 +0000 Author : Robert Osfield Fixed the heights of the trees and houses Tue, 6 Sep 2011 10:12:45 +0000 Author : Robert Osfield Added s/getPerspectiveShadowMapCutOffAngle() and use of this when setting up light space to avoid sigularaties when the light and view directions are co-incident. Mon, 5 Sep 2011 12:36:47 +0000 Author : Robert Osfield Added support for setting whether ViewDependentShadowMap should provide it's own vertex and fragment shaders. Mon, 5 Sep 2011 12:27:20 +0000 Author : Robert Osfield Replaced use of ShapeDrawable with osgTerrain for the terrain tile Fri, 2 Sep 2011 10:16:16 +0000 Author : Robert Osfield Added s/getTextureSize() method for setting the shadow map texture size. Fri, 2 Sep 2011 07:46:08 +0000 Author : Robert Osfield Disabled the use of the ReceivesShadowTraversalMask() mask Thu, 1 Sep 2011 18:49:33 +0000 Author : Robert Osfield Added test line for COMPUTE_NEAR_USING_PRIMITIVES Thu, 1 Sep 2011 18:48:21 +0000 Author : Robert Osfield Added fine grained computation of the far plane when using the COMPUTE_NEAR_FAR_USING_PRIMITIVES ComputeNearFarMode. Added COMPUTE_NEAR_FAR_USING_PRIMITIVES option that provides the original functionality where only the near plane is computed in a fine grained way, with the far plane being computed simply from bound volumes. Mon, 29 Aug 2011 16:01:02 +0000 Author : Robert Osfield From Tony Horrobin, build fix Mon, 29 Aug 2011 10:26:05 +0000 Author : Robert Osfield Added fallback base texture Mon, 29 Aug 2011 09:59:47 +0000 Author : Robert Osfield Added support for setting the MinimumShadowMapNearFarRatio. Fri, 26 Aug 2011 15:40:09 +0000 Author : Robert Osfield Fixed bug in computaton of the min/max x/z ratios. Fri, 26 Aug 2011 15:36:33 +0000 Author : Robert Osfield Added names to models to help with debugging. Fri, 26 Aug 2011 10:52:25 +0000 Author : Robert Osfield Added releaseGLObjects/resizeGLObjectBuffers support Thu, 25 Aug 2011 17:21:38 +0000 Author : Robert Osfield Improved the handling of depth partitioning and orthographic datasets Thu, 25 Aug 2011 15:39:09 +0000 Author : Robert Osfield Added event handling for toggling on/off the light source animation. Wed, 24 Aug 2011 19:38:58 +0000 Author : Robert Osfield Added support for user defined setting of the shadow texture unit Wed, 24 Aug 2011 13:57:15 +0000 Author : Robert Osfield Changed new ViewDependentShadowMap to default to a perspective shadow map with automatic detection of a spot light/perspetive light projection matrix to prevent inappropriate usage of perspective shadow map. Wed, 24 Aug 2011 12:32:03 +0000 Author : Robert Osfield Imorovements to the new perspective/lispsm style shadow implementation. Wed, 24 Aug 2011 12:31:35 +0000 Author : Robert Osfield Quitened down and fixed warning Fri, 19 Aug 2011 12:42:51 +0000 Author : Robert Osfield Quitended down debug messages and added passing of RenderStage to LispSM code Fri, 19 Aug 2011 10:43:38 +0000 Author : Robert Osfield Improved the LispSM computation Fri, 19 Aug 2011 10:43:15 +0000 Author : Robert Osfield Changed the local variable near/far type Wed, 17 Aug 2011 17:06:55 +0000 Author : Robert Osfield Added back in control of the backface culling. Wed, 17 Aug 2011 16:09:17 +0000 Author : Robert Osfield intermin check-in of work on new LispSM implementation Mon, 15 Aug 2011 14:37:16 +0000 Author : Robert Osfield Added missing assignement of _simulationTime. Sat, 13 Aug 2011 19:09:58 +0000 Author : Robert Osfield From Paul Martz, "Recent changes to osgShadow on trunk were apparently not yet tested with ref_ptr implicit casting disabled. Attached is a fix. " Fri, 12 Aug 2011 20:29:14 +0000 Author : Robert Osfield Added public interface for selecting use of perspective and light space perspective shadow maps. Implementation of backends not implemented yet so will follow. Fri, 12 Aug 2011 14:53:40 +0000 Author : Robert Osfield Implemented first pass at shaders for new ViewDepedentShadow map class Tue, 9 Aug 2011 15:57:37 +0000 Author : Robert Osfield Implemented ViewDependentShadowMap::setDebugDraw(bool) to allow osgshadow to enable/disable the debug display via the standard --debugHUD option. Tue, 9 Aug 2011 15:20:25 +0000 Author : Robert Osfield Changed RTT Camera to use depth. Tue, 9 Aug 2011 13:39:57 +0000 Author : Robert Osfield Implemented caching of Camera, Texture and TexGen Tue, 9 Aug 2011 06:54:44 +0000 Author : Robert Osfield Added replacement of the placeholder StateSet in the StateGraph with custom StateSet implemented just for the needs of that particular frame. Mon, 8 Aug 2011 17:00:55 +0000 Author : Robert Osfield Further work on basic ViewDependentShadowMaps, adding implementation of RTT camera and texgen setup. Sun, 7 Aug 2011 15:54:21 +0000 Author : Robert Osfield From Jean-Sebestien Guay and Robert Osfield, mixture of two sets of change - one from JS that adds more controls for specifying positional and spot lights, and from RO adding support for the new ViewDepedentShadowMap Sun, 7 Aug 2011 15:51:54 +0000 Author : Robert Osfield Preliminary work on new ViewDependentShadowMap base class Fri, 29 Jul 2011 11:22:32 +0000 Author : Robert Osfield Commented out the colorAmbientEmissive += gl_FrontLightProduct[0].ambient; line from the fragment shader as it was causing problems with the shadowed region being sporadically lit when using a spotlight. Fri, 29 Jul 2011 07:42:55 +0000 Author : Robert Osfield Fixed comment on end barrier position. Thu, 28 Jul 2011 16:40:28 +0000 Author : Robert Osfield Improved handling of the scaling of dicom imagery. Thu, 28 Jul 2011 12:07:22 +0000 Author : Robert Osfield Refectored the EGL setup so that it's honours the Traits values. Thu, 28 Jul 2011 11:05:10 +0000 Author : Robert Osfield Reverted the change to the default setting of _resizeNonPowerOfTwoHint back to true for all platforms to ensure the same behaivour across platforms, something that can be achieved now thanks to the integrated GLU library.Corrected the default of the ResizeNonPowerOfTwoHint to true to reflect the actual default setting set by the Texture default constructor. Thu, 28 Jul 2011 08:19:29 +0000 Author : Robert Osfield From Johannes Baeuerle, "in the file src/osgDB/ObjectWrapper.cpp, where the GlobalLookupTable for gl enums for serialization purposes is defined, some of the compressed texture formats are missing. I added enums for the pvr and etc formats." Thu, 28 Jul 2011 07:46:05 +0000 Author : Robert Osfield From Jason Beverage, "Here is a small fix for getCameraContainingPosition. getXMin was being used in a case where getYMin should be used instead." Mon, 25 Jul 2011 17:07:56 +0000 Author : Robert Osfield Fixed stats bug where not all stats fields were being collected by the cull_draw() method used in the SingleThreaded and CullDrawThreadPerContext threading models. Fri, 22 Jul 2011 09:27:41 +0000 Author : Robert Osfield From Alexander Irion, "Texture borders are not supported in ES._isTextureBorderClampSupported is set to "TRUE" in Texture.cpp, because of the version number check (GL VERSION >= 1.3). This leads to an invalid enum error, when GL_TEXTURE_BORDER_COLOR is tried to set. " Fri, 22 Jul 2011 08:25:29 +0000 Author : Robert Osfield In the RecordCameraPathhandler fixed the handling of pressing 'Z' before 'z' which was causing the view to be reset to 0,0,0 by AnimationPathManipualtor with an empty AnimationPath. Thu, 21 Jul 2011 09:55:03 +0000 Author : Robert Osfield Fixed typo Thu, 21 Jul 2011 09:07:22 +0000 Author : Robert Osfield From Mathias Froehlich, "I have attached an updated version of the VRML2 loader. That change is the result of the '[osgPlugins] VRML plugin - "file" url' discussion on osg-users.The attached change avoids rewriting file names into some kind of file urls and then use the url for opening an fstream. Instead just use the given file name to open the stream. Also this change adds some Notify output for the error paths. " Thu, 21 Jul 2011 08:52:02 +0000 Author : Robert Osfield From Wang Rui, "This fixes a small problem in the FindFBX file. In CMake scripts, VS2010 is not marked as MSVC100 but MSVC10. And CMake defines MSVC_VERSION instead of MSVC_VER to indicate the version number. The modification can find fbx sdk for VS2010 automatically now. " Wed, 20 Jul 2011 10:17:19 +0000 Author : Robert Osfield From Claus Scheiblauer, fixed handling of horizontal mouse wheel events. Wed, 20 Jul 2011 09:10:32 +0000 Author : Robert Osfield Introduced workaround for problem of text that is scaled in screen coords, but hasn't been rendered yet so doesn't have knowledge of screen space yet, so assume that scaling is 1 rather than 0 as was previously assumed in the previous handling of screen space text. Mon, 18 Jul 2011 12:41:22 +0000 Author : Robert Osfield Added doxygen comments explaining read file callback functionality. Mon, 18 Jul 2011 09:40:58 +0000 Author : Robert Osfield Changed the HAVE_CONFIG_H guard so that it uses #ifndef _MSC_VER rather than _WIN32 to avoid problems with Mingw and Cygwin builds of DCMTK. Sun, 17 Jul 2011 16:24:47 +0000 Author : Robert Osfield From Alberto Luacas, typo fixes Sun, 17 Jul 2011 10:30:40 +0000 Author : Robert Osfield From Wang Rui, improved the handling of the _preReadString within the readWrappedString method by factoring the reading of the next character into a dedicated getCharacter(..) method. Fri, 15 Jul 2011 10:24:23 +0000 Author : Robert Osfield From Wang Rui, "I've found that the latest ffmpeg made some functions and macros deprecated, which led to compilation errors in the OSG plugin. I tried fixing them and tested with the version ffmpeg-git-5d4fd1d (ffmpeg version > 0.8, libavcodec = 53.7.0) under Windows. " Fri, 15 Jul 2011 10:22:44 +0000 Author : Cedric Pinson Fix crash in osgAnimation when keyframe container are empty Fri, 15 Jul 2011 09:47:34 +0000 Author : Robert Osfield From Sukender, Fix for compile errors "public: static char const * const osg::ValueObjectClassNameTrait< xxx >::s_className" already defined in xxx.obj" Fri, 15 Jul 2011 09:14:16 +0000 Author : Robert Osfield From Wang Rui,"The files attached should be separately put into the directories src/osgPlugins/osg and src/osgWrappers/serializers/osgSim. They fix a serious infinite loop problem that may be caused by the stream buffer mechanism under Windows and some osgSim wrapper bugs pointed by Andreas. I've asked the community to help test them and hope now we can solve these recent .osgt file reading issues." Fri, 15 Jul 2011 08:43:47 +0000 Author : Robert Osfield From Ryan Pavlik, "Fix inventor state copy constructor. Clang warning: In file included from src/osgPlugins/Inventor/ConvertToInventor.cpp:80: src/osgPlugins/Inventor/ConvertToInventor.h:117:71: warning: field is uninitialized when used here [-Wuninitialized] osgTexGenS(s.osgTexGenS), osgTexGenT(s.osgTexGenT), osgTexGen(osgTexGen), ^" Fri, 15 Jul 2011 08:32:04 +0000 Author : Robert Osfield From Philip Lamp, submitted by Stephan Huber, "Modify the ReaderWriteImageIO_IOS to correctly handle relative paths when reading from a file. This means that no longer do all image files have to live at the root of the Resources folder inside the app bundle, but can now be organized inside folders. Also improved error handling and fixed a potential leak of a CGColorSpaceRef each once per image load." Fri, 15 Jul 2011 08:16:58 +0000 Author : Robert Osfield Converted tabs to four spaces Tue, 28 Jun 2011 07:54:00 +0000 Author : Robert Osfield Merged the OSG-3.0 branch versions of into svn/trunk. Tue, 28 Jun 2011 07:23:52 +0000 Author : Robert Osfield Added #if lib curl version check around #include as this header was deprecated and now removed entirely from libcurl-7.21.7. Tue, 28 Jun 2011 07:22:09 +0000 Author : Robert Osfield From Wang Rui, "I've found a small problem which causes crashes in the 3ds plugin while trying to load a model. The fix here will ensure that the texture map is valid and everything could work well then." Mon, 27 Jun 2011 21:33:38 +0000 Author : Robert Osfield Tweaked the comments Mon, 27 Jun 2011 21:32:20 +0000 Author : Robert Osfield From Jean-Sebestien Guay, workaround for bug under windows with the seek implementation when handling ascii files with unix file endings. Mon, 27 Jun 2011 15:43:33 +0000 Author : Robert Osfield Updated NEWS and fixed typo in Contributors. Mon, 27 Jun 2011 10:20:37 +0000 Author : Robert Osfield Fixed typo Mon, 27 Jun 2011 10:19:44 +0000 Author : Robert Osfield Improved the setContextID doxygen comment. Sat, 25 Jun 2011 20:51:58 +0000 Author : Robert Osfield From Andreas Eskland, "I found that a binary PNM file couldn't be read by the PNM plugin in the 3.0 branch. Attached is a small fix in ReaderWriterPNM.cpp, simply opening the file in binary mode." Sat, 25 Jun 2011 11:00:33 +0000 Author : Robert Osfield Fixed memory growth issue when using Texture2D::SubloadCallbacks that don't set the TextureObjects sizes. Sat, 25 Jun 2011 07:07:16 +0000 Author : Robert Osfield Tightened up float usage. Fri, 24 Jun 2011 19:17:25 +0000 Author : Robert Osfield Tightened up the float/double usage Fri, 24 Jun 2011 16:15:47 +0000 Author : Robert Osfield Removed redundent assert and associated variables to fix warnings. Fri, 24 Jun 2011 15:04:16 +0000 Author : Robert Osfield Implemented missing writeShader Fri, 24 Jun 2011 13:35:20 +0000 Author : Robert Osfield From Martin Innus, fixed erroneous change of INTEGER to UNKNOWN, reverting back to INTEGER. Fri, 24 Jun 2011 12:40:18 +0000 Author : Robert Osfield Implemented missing Archive::readShader/writeShader, and added searching of the archive list in Registr::read() so that files that are stored in the archives can be found. Fri, 24 Jun 2011 08:32:25 +0000 Author : Robert Osfield From Ulrich Hertlein, "While we're on osgSim/ShapeAttribute, here's a fix that fixes the 'UNKNOW' typo and some doxygen" Fri, 24 Jun 2011 08:13:58 +0000 Author : Robert Osfield From Wang Rui, "I've modified the code to handle -1.#IND and other kinds of infinite values. Please see the attachments for details" Fri, 24 Jun 2011 08:05:54 +0000 Author : Robert Osfield Added operator ==, != and < to fix VS build Thu, 23 Jun 2011 19:58:52 +0000 Author : Robert Osfield Fixed warnings generated by clang,src/osgAnimation/Skeleton.cpp:25:87: warning: addition of default argument on redeclaration makes this constructor a copy constructor [-Wdefault-arg-special-member] Skeleton::UpdateSkeleton::UpdateSkeleton(const UpdateSkeleton& us, const osg::CopyOp& copyop= osg::CopyOp::SHALLOW_COPY) : osg::Object(us, copyop), osg::NodeCallback(us, copyop) /src/OpenThreads/pthreads/PThread.cpp:1024:15: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (cpunum<0) return -1; src/osgDB/ExternalFileWriter.cpp:221:122: warning: expression result unused [-Wunused-value] _objects.insert(ObjectsSet::value_type(&obj, ObjectData(absoluteDestinationPath, relativeDestinationPath, written))).first; src/osgManipulator/Dragger.cpp:175:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (*itr = constraint) return; src/osgManipulator/Dragger.cpp:187:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (*itr = constraint) Thu, 23 Jun 2011 18:24:07 +0000 Author : Robert Osfield Warning fixes for:OpenSceneGraph/src/osgPlugins/Inventor/ConvertFromInventor.cpp: In member function ?virtual SbBool SoVRMLImageTextureOsg::readInstance(SoInput*, short unsigned int)?: OpenSceneGraph/src/osgPlugins/Inventor/ConvertFromInventor.cpp:1264:16: warning: variable ?retval? set but not used [-Wunused-but-set-variable] OpenSceneGraph/src/osgPlugins/ac/Geode.cpp: In member function ?void ac3d::Geode::ProcessGeometry(std::ostream&, unsigned int)?: OpenSceneGraph/src/osgPlugins/ac/Geode.cpp:806:35: warning: variable ?fRep_s? set but not used [-Wunused-but-set-variable] OpenSceneGraph/src/osgPlugins/ac/Geode.cpp:806:43: warning: variable ?fRep_t? set but not used [-Wunused-but-set-variable] OpenSceneGraph/src/osgPlugins/ac/Geode.cpp:807:35: warning: variable ?fOffset_s? set but not used [-Wunused-but-set-variable] OpenSceneGraph/src/osgPlugins/ac/Geode.cpp:807:46: warning: variable ?fOffset_t? set but not used [-Wunused-but-set-variable] OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp: In member function ?virtual void osgViewer::GraphicsWindowX11::checkEvents()?: OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp:1181:10: warning: variable ?destroyWindowRequested? set but not used [-Wunused-but-set-variable] Thu, 23 Jun 2011 16:36:36 +0000 Author : Robert Osfield Fixed virtual method mismtaches between subclasses and parent classes. Thu, 23 Jun 2011 15:42:45 +0000 Author : Robert Osfield From Ulrich Hertlein, build fix for OSX. Thu, 23 Jun 2011 15:37:35 +0000 Author : Robert Osfield Added better handling of archives in ReaderWriterZip::readNode() so that if there is no master file definition it loads all the available nodes in the zip archive and returns an osg::Group containing all the nodes if there is more than one, or just returns the node if there is just one. Also implemented this functionality for ReaderWriterZip::readImage(). Thu, 23 Jun 2011 12:24:47 +0000 Author : Robert Osfield Fixed typo in name Thu, 23 Jun 2011 11:27:23 +0000 Author : Robert Osfield Updated ChangeLog and AUTHORS file Thu, 23 Jun 2011 11:26:51 +0000 Author : Robert Osfield Fixed name typo Thu, 23 Jun 2011 11:09:49 +0000 Author : Robert Osfield Fixed warnings.OpenSceneGraph/src/osgGA/NodeTrackerManipulator.cpp:32:1: warning: base class ?class osg::Object? should be explicitly initialized in the copy constructor OpenSceneGraph/src/osgGA/TerrainManipulator.cpp:31:1: warning: base class ?class osg::Object? should be explicitly initialized in the copy constructor OpenSceneGraph/include/osgSim/ShapeAttribute:99:9: warning: base class ?class std::vector? should be explicitly initialized in the copy constructor OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::gi? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::byte_before_the_zipfile? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::num_file? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::pos_in_central_dir? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::current_file_ok? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::central_pos? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::size_central_dir? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::offset_central_dir? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::cur_file_info? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::cur_file_info_internal? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::pfile_in_zip_read? OpenSceneGraph/src/osgViewer/CompositeViewer.cpp:30:1: warning: base class ?class osg::Object? should be explicitly initialized in the copy constructor OpenSceneGraph/src/osgViewer/View.cpp:159:1: warning: base class ?class osg::Object? should be explicitly initialized in the copy constructor OpenSceneGraph/src/osgViewer/Viewer.cpp:196:1: warning: base class ?class osg::Object? should be explicitly initialized in the copy constructor OpenSceneGraph/src/osgViewer/Viewer.cpp:196:1: warning: base class ?class osgViewer::ViewerBase? should be explicitly initialized in the copy constructor OpenSceneGraph/include/osgManipulator/Dragger:47:9: warning: base class ?class osg::Object? should be explicitly initialized in the copy constructor Thu, 23 Jun 2011 09:26:27 +0000 Author : Robert Osfield From Ryan Pavlik, "I have successfully compiled OpenSceneGraph trunk using the Clang compiler (using a recent trunk build of llvm and clang, haven't tested an older release). The attached files contain the change shown in the diff below, which was required to finish the build with Clang. It fixes an issue with two-phase name lookup - there's more information here http://blog.llvm.org/2009/12/dreaded-two-phase-name-lookup.html " Thu, 23 Jun 2011 09:22:23 +0000 Author : Robert Osfield From Dimi Christopoulos, "I attach a fixed version of mipmap.cpp which produced a lot of warning on my gcc compiler." Thu, 23 Jun 2011 07:13:13 +0000 Author : Robert Osfield Converted tabs to four spaces Wed, 22 Jun 2011 16:18:34 +0000 Author : Robert Osfield From Magnus Kessler, "I have recently installed the latest version of collada-dom on Linux, and found that the include path has changed. By default, collada-dom now installs its header files under /usr/local/include/collada-dom or/usr/include/collada- dom. The attached FindCollada.cmake has been updated to look for these locations in addition to the previous candidate locations." Wed, 22 Jun 2011 12:30:01 +0000 Author : Robert Osfield Resolved warnings reported by g++ 4.6's -Wunused-but-set-variable.Warnings were: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osg/ShapeDrawable.cpp: In member function ‘void PrimitiveShapeVisitor::createHalfSphere(unsigned int, unsigned int, float, int, float, const Matrix&)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osg/ShapeDrawable.cpp:1409:11: warning: variable ‘nzBase’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osg/ShapeDrawable.cpp:1410:11: warning: variable ‘nRatioBase’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/DelaunayTriangulator.cpp: In function ‘osgUtil::Triangle_list osgUtil::fillHole(osg::Vec3Array*, std::vector >)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/DelaunayTriangulator.cpp:569:27: warning: variable ‘ptest’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/DelaunayTriangulator.cpp: In member function ‘bool osgUtil::DelaunayTriangulator::triangulate()’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/DelaunayTriangulator.cpp:979:45: warning: variable ‘curp’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/RenderStage.cpp: In member function ‘void osgUtil::RenderStage::runCameraSetUp(osg::RenderInfo&)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/RenderStage.cpp:631:18: warning: variable ‘stencilAttached’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/FadeText.cpp: In member function ‘void FadeTextPolytopeData::buildPolytope()’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/FadeText.cpp:74:20: warning: variable ‘edge23’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/FadeText.cpp:75:20: warning: variable ‘edge30’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/Text.cpp: In member function ‘void osgText::Text::computeBackdropPositions(unsigned int) const’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/Text.cpp:747:10: warning: variable ‘is_valid_size’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/NodeTrackerManipulator.cpp: In member function ‘virtual bool osgGA::NodeTrackerManipulator::performMovementLeftMouseButton(double, double, double)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/NodeTrackerManipulator.cpp:257:21: warning: variable ‘lookVector’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/NodeTrackerManipulator.cpp:259:21: warning: variable ‘upVector’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/TerrainManipulator.cpp: In member function ‘virtual bool osgGA::TerrainManipulator::performMovementMiddleMouseButton(double, double, double)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/TerrainManipulator.cpp:217:11: warning: variable ‘lookVector’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/TerrainManipulator.cpp:219:11: warning: variable ‘upVector’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgVolume/FixedFunctionTechnique.cpp: In member function ‘virtual void osgVolume::FixedFunctionTechnique::init()’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgVolume/FixedFunctionTechnique.cpp:124:30: warning: variable ‘tf’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgParticle/FluidProgram.cpp: In member function ‘virtual void osgParticle::FluidProgram::execute(double)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgParticle/FluidProgram.cpp:38:23: warning: variable ‘velBefore’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgShadow/ParallelSplitShadowMap.cpp: In member function ‘virtual void osgShadow::ParallelSplitShadowMap::cull(osgUtil::CullVisitor&)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgShadow/ParallelSplitShadowMap.cpp:593:22: warning: variable ‘bb’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgTerrain/GeometryTechnique.cpp: In member function ‘virtual void osgTerrain::GeometryTechnique::generateGeometry(osgTerrain::GeometryTechnique::BufferData&, osgTerrain::Locator*, const osg::Vec3d&)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgTerrain/GeometryTechnique.cpp:777:12: warning: variable ‘i_sampleFactor’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgTerrain/GeometryTechnique.cpp:778:12: warning: variable ‘j_sampleFactor’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/dds/ReaderWriterDDS.cpp: In function ‘osg::Image* ReadDDSFile(std::istream&)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/dds/ReaderWriterDDS.cpp:314:10: warning: variable ‘is3dImage’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/dds/ReaderWriterDDS.cpp: In function ‘bool WriteDDSFile(const osg::Image*, std::ostream&)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/dds/ReaderWriterDDS.cpp:721:10: warning: variable ‘is3dImage’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/hdr/hdrloader.cpp: In static member function ‘static bool HDRLoader::load(const char*, bool, HDRLoaderResult&)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/hdr/hdrloader.cpp:101:10: warning: variable ‘cmd’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/vtf/ReaderWriterVTF.cpp: In function ‘osg::Image* ReadVTFFile(std::istream&)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/vtf/ReaderWriterVTF.cpp:360:23: warning: variable ‘base’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/jp2/ReaderWriterJP2.cpp: In function ‘int putdata(jas_stream_t*, jas_image_t*, int)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/jp2/ReaderWriterJP2.cpp:41:13: warning: variable ‘linelen’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/Inventor/ConvertToInventor.cpp: In member function ‘void ConvertToInventor::processGeometry(const osg::Geometry*, ConvertToInventor::InventorState*)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/Inventor/ConvertToInventor.cpp:1639:10: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/Inventor/ConvertFromInventor.cpp: In member function ‘virtual SbBool SoVRMLImageTextureOsg::readInstance(SoInput*, short unsigned int)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/Inventor/ConvertFromInventor.cpp:1264:16: warning: variable ‘retval’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/GeometryRecords.cpp: In member function ‘virtual void flt::Face::readRecord(flt::RecordInputStream&, flt::Document&)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/GeometryRecords.cpp:369:19: warning: variable ‘secondaryPackedColor’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/GeometryRecords.cpp: In member function ‘virtual void flt::Mesh::readRecord(flt::RecordInputStream&, flt::Document&)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/GeometryRecords.cpp:942:19: warning: variable ‘secondaryPackedColor’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: In member function ‘virtual osgDB::ReaderWriter::ReadResult FLTReaderWriter::readNode(std::istream&, const Options*) const’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp:427:40: warning: variable ‘pos’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ive/ShapeAttributeList.cpp: In member function ‘void ive::ShapeAttributeList::write(ive::DataOutputStream*)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ive/ShapeAttributeList.cpp:31:48: warning: variable ‘it’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp: In member function ‘void ac3d::Geode::ProcessGeometry(std::ostream&, unsigned int)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:806:35: warning: variable ‘fRep_s’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:806:43: warning: variable ‘fRep_t’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:807:35: warning: variable ‘fOffset_s’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:807:46: warning: variable ‘fOffset_t’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:932:38: warning: variable ‘primLength’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_geom.cpp: In member function ‘virtual bool trpgGeometry::Write(trpgWriteBuffer&)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_geom.cpp:615:19: warning: variable ‘u’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_material.cpp: In member function ‘int trpgMatTable::AddMaterial(const trpgMaterial&, bool)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_material.cpp:103:10: warning: variable ‘spaceInTable’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_rarchive.cpp: In member function ‘virtual bool trpgr_Archive::ReadHeader(bool)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_rarchive.cpp:261:14: warning: variable ‘headerHasTexTable’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/unzip.cpp: In member function ‘ZRESULT TUnzip::Get(int, ZIPENTRY*)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/unzip.cpp:4055:8: warning: variable ‘hidden’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/unzip.cpp:4055:22: warning: variable ‘system’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/unzip.cpp:4055:36: warning: variable ‘archive’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/ZipArchive.cpp: In member function ‘virtual bool ZipArchive::getFileNames(osgDB::Archive::FileNameList&) const’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/ZipArchive.cpp:91:37: warning: variable ‘iterEnd’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/pvr/ReaderWriterPVR.cpp: In member function ‘osgDB::ReaderWriter::ReadResult ReaderWriterPVR::readPVRStream(std::istream&) const’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/pvr/ReaderWriterPVR.cpp:155:14: warning: variable ‘hasAlpha’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp: In function ‘osg::Geometry* create3DSphericalDisplayDistortionMesh(const Vec3&, const Vec3&, const Vec3&, double, double, osg::Image*, const Matrix&)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp:737:15: warning: variable ‘cursor’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp: In function ‘osg::Geometry* createParoramicSphericalDisplayDistortionMesh(const Vec3&, const Vec3&, const Vec3&, double, double, osg::Image*, const Matrix&)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp:1130:19: warning: variable ‘cursor’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp:1118:15: warning: variable ‘dx’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/GraphicsWindowX11.cpp: In member function ‘virtual void osgViewer::GraphicsWindowX11::checkEvents()’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/GraphicsWindowX11.cpp:1181:10: warning: variable ‘destroyWindowRequested’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/cfg/ConfigParser.cpp: In member function ‘bool osgProducer::CameraConfig::parseFile(const string&)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/cfg/ConfigParser.cpp:2247:13: warning: variable ‘result’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgQt/QGraphicsViewAdapter.cpp: In member function ‘bool osgQt::QGraphicsViewAdapter::handlePointerEvent(int, int, int)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgQt/QGraphicsViewAdapter.cpp:344:17: warning: variable ‘viewportGeometry’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp: In function ‘osg::Node* createDistortionSubgraph(osg::Node*, const Vec4&)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp:125:19: warning: variable ‘cursor’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp:126:19: warning: variable ‘texcoord’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp: In function ‘osg::Geometry* createDomeDistortionMesh(const Vec3&, const Vec3&, const Vec3&, osg::ArgumentParser&)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp:358:15: warning: variable ‘cursor’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgposter/osgposter.cpp: In function ‘int main(int, char**)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgposter/osgposter.cpp:253:31: warning: variable ‘outputTiles’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgthreadedterrain/osgthreadedterrain.cpp: In function ‘int main(int, char**)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgthreadedterrain/osgthreadedterrain.cpp:669:10: warning: variable ‘readParameter’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgtext3D/TextNode.cpp: In member function ‘virtual void osgText::Layout::layout(osgText::TextNode&) const’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgtext3D/TextNode.cpp:80:11: warning: variable ‘characterHeightScale’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgvolume/osgvolume.cpp: In function ‘int main(int, char**)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgvolume/osgvolume.cpp:678:38: warning: variable ‘internalFormatMode’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgwidgetcanvas/osgwidgetcanvas.cpp: In function ‘bool windowMouseOver(osgWidget::Event&)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgwidgetcanvas/osgwidgetcanvas.cpp:27:24: warning: variable ‘xy’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgwidgetcanvas/osgwidgetcanvas.cpp: In function ‘bool widgetMouseOver(osgWidget::Event&)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgwidgetcanvas/osgwidgetcanvas.cpp:35:24: warning: variable ‘xy’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/p3d/ReaderWriterP3D.cpp: In member function ‘osg::Node* ReaderWriterP3DXML::parseXmlGraph(osgDB::XmlNode*, bool, osgDB::Options*) const’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/p3d/ReaderWriterP3D.cpp:2121:10: warning: variable ‘readSlide’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/applications/present3D/present3D.cpp: In function ‘int main(int, char**)’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/applications/present3D/present3D.cpp:639:10: warning: variable ‘sizesSpecified’ set but not used [-Wunused-but-set-variable] Wed, 22 Jun 2011 09:12:12 +0000 Author : Robert Osfield Fixed regression in --run-on-demand feature Tue, 21 Jun 2011 17:26:40 +0000 Author : Robert Osfield Removed assert() that always evaluated to true. Tue, 21 Jun 2011 13:01:23 +0000 Author : Robert Osfield From Torben Dannhauer, "originally I posted the addendum of 'freetype244MT', but that was wrong. I updated it to the correct addendum of 'freetype244' yesterday, but supposedly that was not forwarded to you by the forum-to-mail-gateway.Find attached the corrected CMake module. " Tue, 21 Jun 2011 10:15:03 +0000 Author : Robert Osfield Updated ChangeLog Tue, 21 Jun 2011 09:54:57 +0000 Author : Robert Osfield Added returns to end of files Tue, 21 Jun 2011 09:54:23 +0000 Author : Robert Osfield Added return to end of file Tue, 21 Jun 2011 09:53:34 +0000 Author : Robert Osfield Conveted tabs to four spaces and added a return to end of file Tue, 21 Jun 2011 09:29:32 +0000 Author : Michael PLATINGS Fixed redundant "enumeration not handled in switch" warnings. Fixed a warning about a comparison between different enums - EUnifiedMappingType was being compared with EMappingType. In general the FBX SDK is moving away from Get & Set functions to giving direct access to properties, so I have changed GetMappingType() to CurrentMappingType.Get() Tue, 21 Jun 2011 09:00:01 +0000 Author : Robert Osfield Disabled VisualStudio warning warning C4611: interaction between '_setjmp' and C++ object destruction is non-portable Mon, 20 Jun 2011 19:15:53 +0000 Author : Robert Osfield Fixed a range of issues reported by cppcheck:[examples/osgphotoalbum/PhotoArchive.cpp:56]: (error) Memory leak: fileIndentifier [examples/osgphotoalbum/PhotoArchive.cpp:257]: (error) Deallocating a deallocated pointer: newData [examples/osgphotoalbum/PhotoArchive.cpp:318]: (error) Deallocating a deallocated pointer: newData [src/osg/ImageUtils.cpp:116]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:307]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:312]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:367]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:399]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:400]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:482]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:483]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:484]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:519]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:536]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:71]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:74]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:77]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:82]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:102]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:107]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:599]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:600]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:601]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:602]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:603]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:604]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:605]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:606]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:134]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:135]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:136]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:137]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:139]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:177]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:178]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:195]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:198]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:203]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:205]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:253]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/InputStream.cpp:553]: (error) Memory leak: data [src/osgDB/OutputStream.cpp:393]: (error) Memory leak: data [src/osgPlugins/Inventor/ConvertToInventor.cpp:656]: (error) Mismatching allocation and deallocation: tmpArray [src/osgPlugins/Inventor/ReaderWriterIV.cpp:237]: (error) Common realloc mistake: 'buf' nulled but not freed upon failure [src/osgPlugins/OpenFlight/expGeometryRecords.cpp:167]: (portability) Extra qualification 'flt::' unnecessary and considered an error by many compilers. [src/osgPlugins/OpenFlight/expGeometryRecords.cpp:373]: (portability) Extra qualification 'flt::' unnecessary and considered an error by many compilers. [src/osgPlugins/cfg/CameraConfig.cpp:635]: (error) Unusual pointer arithmetic [src/osgPlugins/freetype/FreeTypeLibrary.cpp:122]: (error) Memory leak: buffer [src/osgPlugins/geo/ReaderWriterGEO.cpp:210]: (error) Possible null pointer dereference: gfd - otherwise it is redundant to check if gfd is null at line 211 [src/osgPlugins/geo/ReaderWriterGEO.cpp:227]: (error) Possible null pointer dereference: gfd - otherwise it is redundant to check if gfd is null at line 228 [src/osgPlugins/geo/ReaderWriterGEO.cpp:903]: (error) Possible null pointer dereference: gfd - otherwise it is redundant to check if gfd is null at line 904 [src/osgPlugins/geo/osgGeoNodes.h:180]: (error) Memory leak: geoHeaderGeo::intVars [src/osgPlugins/geo/osgGeoNodes.h:181]: (error) Memory leak: geoHeaderGeo::useVars [src/osgPlugins/geo/osgGeoNodes.h:182]: (error) Memory leak: geoHeaderGeo::extVars [src/osgPlugins/md2/ReaderWriterMD2.cpp:180]: (error) Memory leak: mapbase [src/osgPlugins/md2/ReaderWriterMD2.cpp:166]: (error) Resource leak: file_fd [src/osgPlugins/pic/ReaderWriterPIC.cpp:152]: (error) Mismatching allocation and deallocation: tmpbuf [src/osgPlugins/pic/ReaderWriterPIC.cpp:153]: (error) Mismatching allocation and deallocation: buffer [src/osgPlugins/ply/plyfile.cpp:843]: (error) Memory leak: plyfile [src/osgPlugins/pvr/ReaderWriterPVR.cpp:179]: (error) Memory leak: imageData [src/osgPlugins/shp/ESRIShapeParser.cpp:29]: (error) Resource leak: fd [src/osgPlugins/shp/XBaseParser.cpp:96]: (error) Resource leak: fd [src/osgPlugins/zip/unzip.cpp:3158]: (error) Possible null pointer dereference: s - otherwise it is redundant to check if s is null at line 3159 [src/osgPlugins/zip/unzip.cpp:4155]: (error) Dangerous usage of 'rd' (strncpy doesn't always 0-terminate it) [src/osgShadow/MinimalCullBoundsShadowMap.cpp:334]: (error) Possible null pointer dereference: rl - otherwise it is redundant to check if rl is null at line 331 [src/osgViewer/ScreenCaptureHandler.cpp:617]: (error) Possible null pointer dereference: camera - otherwise it is redundant to check if camera is null at line 611 [src/osgViewer/ScreenCaptureHandler.cpp:632]: (error) Possible null pointer dereference: camera - otherwise it is redundant to check if camera is null at line 626 [src/osgVolume/Locator.cpp:209]: (error) Dangerous iterator usage after erase()-method. [src/osgVolume/RayTracedTechnique.cpp:274]: (error) Possible null pointer dereference: imageLayer - otherwise it is redundant to check if imageLayer is null at line 259 [src/osgVolume/RayTracedTechnique.cpp:275]: (error) Possible null pointer dereference: imageLayer - otherwise it is redundant to check if imageLayer is null at line 259 [src/osgWrappers/serializers/osg/ShaderBinary.cpp:28]: (error) Mismatching allocation and deallocation: data Mon, 20 Jun 2011 14:09:49 +0000 Author : Robert Osfield Removed unneccesary namespace qualifiers, and issue picked out by cppcheck. Mon, 20 Jun 2011 12:36:53 +0000 Author : Robert Osfield From Farshid Lashkari, BGR write support for BMP, PNG and TGA Mon, 20 Jun 2011 11:25:52 +0000 Author : Robert Osfield Added catch for window manager doesn't set the window size to full screen. Mon, 20 Jun 2011 09:28:39 +0000 Author : Robert Osfield Added check against Traits::overrideRedirct to prevent the fullscreen workaround being run when overrideRedirect is on as overrideRedirect switches off the window managers ability to manage the fullscreen so the problem doesn't need working around. Mon, 20 Jun 2011 09:22:57 +0000 Author : Robert Osfield Introduced a workaround for fullscreen toggle issues under modern X11 window managers. Mon, 20 Jun 2011 09:20:39 +0000 Author : Robert Osfield Added sleep before window resizing to make it less likely that the previous frames rendering traversal is still running when the window(s) is resized, something that creates what looks like a glitch in rendering. Sun, 19 Jun 2011 19:16:49 +0000 Author : Robert Osfield From Torben Dannhauer, "Just in time for OSG 3.0 I will present an updated 3rdParty package for VS2008 , which includes some updated libraries (libcurl, freetype, jpeg). It also provides now all debug databases (*.pdb), so all the annoying compile warnings about missing .pdb files are gone.I extended the CMAKE module to find the new library." Fri, 17 Jun 2011 16:55:49 +0000 Author : Robert Osfield Updated version to 3.1.0 in prep for the first developer release for 3.x series Fri, 17 Jun 2011 12:57:31 +0000 Author : Robert Osfield Added extern "C" to fix build issues under OSX Fri, 17 Jun 2011 12:31:07 +0000 Author : Robert Osfield Updated ChangeLog, NEWS and READE for 3.0.0-rc1 Fri, 17 Jun 2011 11:47:47 +0000 Author : Robert Osfield Updated version number Fri, 17 Jun 2011 11:47:33 +0000 Author : Robert Osfield Fixed Jorge Izquierdo name. Fri, 17 Jun 2011 11:02:40 +0000 Author : Robert Osfield Updated OpenThreads version number for stable release Fri, 17 Jun 2011 10:35:00 +0000 Author : Robert Osfield Tempory fix for static build of Present3D which disables the use of ffmpeg when compiling static, will need to look into unresolved symbols assoiated with FFMPEG at a later date. Fri, 17 Jun 2011 09:20:57 +0000 Author : Robert Osfield Updated AUTHORS file for 3.0.0-rc1 Fri, 17 Jun 2011 09:19:11 +0000 Author : Robert Osfield Updated ChangeLog Fri, 17 Jun 2011 09:05:48 +0000 Author : Robert Osfield From Jan Peciva, "sending updated version of StencilTwoSided. It supports now even GL_ATI_separate_stencil extension and there are more OSG_INFOs to see, which API is used." Fri, 17 Jun 2011 09:02:22 +0000 Author : Robert Osfield Updated version number of 3.0.0-rc1 Fri, 17 Jun 2011 08:47:36 +0000 Author : Robert Osfield Added GLES version checks to prevent build problems under GLES1 and GLES2 Fri, 17 Jun 2011 08:42:54 +0000 Author : Robert Osfield Refined the version checking Fri, 17 Jun 2011 08:41:56 +0000 Author : Robert Osfield Build fix Fri, 17 Jun 2011 08:26:51 +0000 Author : Robert Osfield From Ulrich Hertlein, "the OS X/Cocoa implementation logs some debug junk on every key stroke. The attached patch removes this." Fri, 17 Jun 2011 08:15:18 +0000 Author : Robert Osfield From Jorge Ciges, "This is one of those bugs that you don't find until you try to compile under another pc that doesn't have Cmake 2.8." Fri, 17 Jun 2011 06:22:01 +0000 Author : Robert Osfield Fixed warning Fri, 17 Jun 2011 06:09:25 +0000 Author : Robert Osfield Fixed warnings Fri, 17 Jun 2011 05:57:29 +0000 Author : Robert Osfield Added disabling of VisualStudio warning C4324 : structure was padded due to __declspec(align()) Thu, 16 Jun 2011 18:43:58 +0000 Author : Robert Osfield Fixed warnings. Thu, 16 Jun 2011 18:25:46 +0000 Author : Robert Osfield Added support for new InternalTextureFormatModes Thu, 16 Jun 2011 18:12:55 +0000 Author : Robert Osfield Added wider file extension support to ExternalFileWriter::generateObjectName Thu, 16 Jun 2011 16:02:27 +0000 Author : Robert Osfield From Farshid Lashkari, "Attached is a small patch that adds support for writing BGR images to the DDS plugin." Thu, 16 Jun 2011 16:00:33 +0000 Author : Robert Osfield From John Cummings, "While testing recent OSG developer releases and the subversion trunk, I have noticed that on my 64-bit Linux machines, all of the OSG libraries get installed into the "lib64" directory as I would expect. However, the OpenThreads library gets installed into the "lib" directory when selecting "Build OpenThreads with Qt threading support." That is, with the BUILD_OPENTHREADS_WITH_QT set to ON.I am attaching the a fix for this issue in the file: src/OpenThreads/qt/CMakeLists.txt It simply adds ${LIB_POSTFIX} to the destination as in done with all other CMakeLists.txt with libraries in OSG. I have tested it on both 32-bit and 64-bit Linux." Thu, 16 Jun 2011 15:57:40 +0000 Author : Robert Osfield Windows warning fixes Thu, 16 Jun 2011 13:00:28 +0000 Author : Robert Osfield Fixed indentation issues Thu, 16 Jun 2011 10:05:49 +0000 Author : Robert Osfield Improved indentation. Thu, 16 Jun 2011 08:59:48 +0000 Author : Robert Osfield Replaced tabs with four spaces Thu, 16 Jun 2011 08:46:30 +0000 Author : Robert Osfield From Jean-Christophe Lombardo, "On Fedora 14, dcmtk libs are under /usr/lib/dcmtk. I've added a PATH_SUFFIX to take that into account" Wed, 15 Jun 2011 18:31:11 +0000 Author : Robert Osfield Improved the handling of compiling vs flushing deleted objects Wed, 15 Jun 2011 17:00:44 +0000 Author : Robert Osfield Changed the key handling code to use EventQueue::getTime() rather then the theEvent timestamp. Wed, 15 Jun 2011 09:36:34 +0000 Author : Robert Osfield Fixed blitting of FBO's with multiple render targets. Wed, 15 Jun 2011 09:35:25 +0000 Author : Robert Osfield From Anthousis Andreadis, added multiple sampling test for multiple rendering targets which is activated by the --ms command line option. Tue, 14 Jun 2011 18:10:27 +0000 Author : Robert Osfield From Jorge Ciges, "Update to FindAndroidNDK to make it use the latest Ndk (r5c) automatically.That fixes compatibilities with some 2.1 devices. And it looks like all goes well." Tue, 14 Jun 2011 16:54:20 +0000 Author : Robert Osfield Replaced .osg with .osgt file usage Tue, 14 Jun 2011 16:50:40 +0000 Author : Robert Osfield Improved the handling of command line parameters Tue, 14 Jun 2011 15:55:36 +0000 Author : Robert Osfield Updated version Tue, 14 Jun 2011 15:48:27 +0000 Author : Robert Osfield Added support osg::State::drawQuad(..) for number of vertices in quads to uint range rather than just ushort range. Tue, 14 Jun 2011 12:44:44 +0000 Author : Robert Osfield Fixed issue with events having a negative delta of time between them. Tue, 14 Jun 2011 10:15:12 +0000 Author : Robert Osfield Added GLBufferObject::computeBufferAlignment(..) method to enable buffer entries to be aligned along specified buffer alignment boundaries, currently defaulting to 4. Tue, 14 Jun 2011 09:16:44 +0000 Author : Robert Osfield From Stephan Huber, "attached you'll find a fix for the non-working useCursor()-method for Windows. With the old code you can switch off the cursor, but not back on." Tue, 14 Jun 2011 09:11:58 +0000 Author : Robert Osfield Removed executable permission. Tue, 14 Jun 2011 09:01:54 +0000 Author : Robert Osfield From Stephan Huber, "attached you'll find some tweaks for the FindQuicktime and > FindQTKit-cmake-plugins, so they get disabled for ios-builds." Mon, 13 Jun 2011 15:20:48 +0000 Author : Robert Osfield Fixed wild card search when wild card filename includes a path. Mon, 13 Jun 2011 08:52:11 +0000 Author : Robert Osfield From Jeremy Moles, fixed style == operator. Mon, 13 Jun 2011 08:45:25 +0000 Author : Robert Osfield From Stephan Huber, build fix for IOS Fri, 10 Jun 2011 11:42:02 +0000 Author : Robert Osfield Added handling of s/gUserValue() directly on a UserDataContainer. Thu, 9 Jun 2011 14:20:46 +0000 Author : Robert Osfield Updated ChangeLog and AUTHORS file for 2.9.16 dev release Thu, 9 Jun 2011 14:11:04 +0000 Author : Robert Osfield From Jorge Ciges, "two clean example viewers (GLES1/2) that permit load models withouth recompiling by options in the menu and some basic options. basic options.As Rafa and I told you earlier this can't be integrated in the CMAKE chain. It needs to be compiled by the user out of the OSG standard compilation. It could be stored in the examples. That way users will not come here asking for the examples. Main characteristics are: -Menu with loading and unloading by path. -Return to home view -Keyboard capabilities with manipilator switch and basic state changing. -Change color screen. -Osg log bypassed to LogCat (This comes practically straight from Marcin Hajder example I've only added personal TAG) -Earmbi / Earmbi V7 -Install to SD (if the device supports the feature) And that's all. Now I'm looking to fix the environmental mapping with true GLES (it does not work well in Android) I will try to make it in time for 3.0. The other work that i'm studying Dynamic build with Android but that will need a lot of time to test. Thu, 9 Jun 2011 12:57:14 +0000 Author : Robert Osfield Refactored the UserDataContainer so that the osg::UserDataContainer is now a pure virtual base class, with a osg::DefaultUserDataContainer subclassed from this. The user object access methods have now all been moved from osg::Object into the UserDataContainer class, except for the set/getUserData() methods that are left in osg::Object for backwards compatibility, and the description list access methods have been moved back into osg::Node.main UserObject access methods are now all def Thu, 9 Jun 2011 11:07:27 +0000 Author : Robert Osfield From Mathias Froehlich, "the attached patch adds an additional null pointer check" Thu, 9 Jun 2011 11:05:36 +0000 Author : Robert Osfield From Mathias Froehlich, "The attached patch adds the polygon primitive to the TangentSpace computation. As far as I understand, this should just work for the polygon as well as with the tristrip primitive. " Thu, 9 Jun 2011 10:48:19 +0000 Author : Robert Osfield Changed the defaults volume setting to not enable the SampleDensityWhenMoving property. Wed, 8 Jun 2011 17:45:24 +0000 Author : Robert Osfield Cleaned up example to use the new ImageUtils functions for creating a 3D image from a list of images. Wed, 8 Jun 2011 16:10:46 +0000 Author : Robert Osfield Added support for creating a 3D Image from an image list.Added support for reading a list of images in the Present3D tag. Wed, 8 Jun 2011 09:28:59 +0000 Author : Robert Osfield Removed OSG_EXPORT Wed, 8 Jun 2011 09:24:50 +0000 Author : Robert Osfield Introduced a less conservative near ratio. Wed, 8 Jun 2011 09:24:29 +0000 Author : Robert Osfield Simplified the osgdepthpartion example to use the osgView::View::setUpDepthPartition(..) feature Tue, 7 Jun 2011 20:24:49 +0000 Author : Robert Osfield Added support for reading .osg, .osgb, .osgx, .osgt and .ive models that contain volumes from within the volume tag. Tue, 7 Jun 2011 16:17:35 +0000 Author : Robert Osfield Added support for .osgt, .osgb and .osgx plugins to osgvolume example Tue, 7 Jun 2011 15:33:35 +0000 Author : Robert Osfield Updated ChangeLog and AUTHORS file for release Tue, 7 Jun 2011 14:28:58 +0000 Author : Robert Osfield From Sukender, "Lastest change (update to FBX 2012.1) introduced a regression. It didn't take materials' order into consideration. The line lMaterialLayer->GetDirectArray().SetAt(it->second.getIndex(), lMaterial); has been replaced by _curFbxNode->AddMaterial(lMaterial); because KFbxLayerElementMaterial::GetDirectArray() is now private and we can't access to it. However, pushing back the material at the end of the vector is wrong. We can use the (now) public attribute KFbxLayerElementMaterial::mDirectArray, as in this submission. " Tue, 7 Jun 2011 14:26:13 +0000 Author : Robert Osfield From Mathias Froehlich, build fixes for legacy unix systems Tue, 7 Jun 2011 13:02:20 +0000 Author : Robert Osfield Added ability to subclass from osg::Object to provide custom user data functionality. A new UserDataContainer provides the default implementation of the user data functionality. Tue, 7 Jun 2011 09:28:38 +0000 Author : Robert Osfield Added the return of the index position of the added UserObject Tue, 7 Jun 2011 08:53:03 +0000 Author : Robert Osfield Added support for searching for user objects from a given startPosition in the UserDataContainer object. Mon, 6 Jun 2011 11:48:32 +0000 Author : Robert Osfield From Frida Schlaug, "Imageio for ios had a poorly implemented function for reading from streams (always returning null). In this patch I copied some code from the non-ios imageio file and adjusted it to work on ios. " Mon, 6 Jun 2011 11:45:25 +0000 Author : Robert Osfield From Jorge Ciges, Minor tweaks in Android makefiles that make possible to compile for armeabi v7 with neon Mon, 6 Jun 2011 11:44:21 +0000 Author : Robert Osfield From Jorge Ciges, Minor tweaks in Android makefiles that make possible to compile for armeabi v7 with neon Fri, 3 Jun 2011 15:58:36 +0000 Author : Robert Osfield Added support for --tf-255 transfer function files Fri, 3 Jun 2011 13:47:59 +0000 Author : Robert Osfield Added support for using the sampleDensityWhenMoving tag with all techniques Thu, 2 Jun 2011 22:49:29 +0000 Author : Robert Osfield Added extra check to make sure that _userDataContainer was available before copying it Thu, 2 Jun 2011 22:07:16 +0000 Author : Robert Osfield Add new macro's to help with serialization of new user objects Thu, 2 Jun 2011 22:06:56 +0000 Author : Robert Osfield Added new osguserdata example as a guide to the new user object API and as a testbed Thu, 2 Jun 2011 22:05:10 +0000 Author : Robert Osfield Added support for new osg::Object user objects. Thu, 2 Jun 2011 22:04:08 +0000 Author : Robert Osfield Introduced new user object support into osg::Object that allows assignment of a list of user objects to an osg::Object.Refactored original UserData and Descriptions strings to be managed alongside the new user object suppport within a single osg::Object::UserDataContainer. Thu, 2 Jun 2011 21:32:03 +0000 Author : Robert Osfield Updated version Thu, 2 Jun 2011 20:38:13 +0000 Author : Robert Osfield Added ref_ptr<> usage to avoid possible memory leak. Thu, 2 Jun 2011 14:42:21 +0000 Author : Robert Osfield Updated version and so number for next dev release Mon, 30 May 2011 15:43:18 +0000 Author : Robert Osfield Updated AUTHORS and ChangeLog for 2.9.15 dev release Mon, 30 May 2011 13:02:13 +0000 Author : Robert Osfield From Dimi Christop, build fix for RHEL 4. Mon, 30 May 2011 09:26:24 +0000 Author : Robert Osfield Added closing of the _eventDisplay on failure of initializing the context properly. Mon, 30 May 2011 09:25:11 +0000 Author : Robert Osfield Fixed X11 related crash that occured when GraphicsWindow::setCursor was called right after viewer.realize(); The fix was to simply move the setting of the thread that has done the makeCurrent to right before the makeCurrent() rather than right after. Mon, 30 May 2011 08:26:43 +0000 Author : Robert Osfield From Wang Rui, "The submission fixes the spelling bug we discussed in osg-users. It replaces the variable ACTUAL_3DPARTY_DIR to ACTUAL_3RDPARTY_DIR with back compatibility. Please find it in attachment. " Mon, 30 May 2011 08:24:34 +0000 Author : Robert Osfield From Terry Welsh, "I was having a small culling problem with osgText... new TextBase.cpp that fixes it." Fri, 27 May 2011 16:04:18 +0000 Author : Robert Osfield Reverted part of revision r12294 that introduced threading related problems under X11 due to checking the _display Display member variable assigned to the graphics thread from the main thread. Fri, 27 May 2011 11:22:43 +0000 Author : Robert Osfield From Ryan Pavlik, "Existing osgconv behavior is to transform the model bounding sphere center to the world origin before performing transformations specified on the command line, and translating back after rotation and scaling unless an alternate translation is specified. This patch adds a setting to the OrientationConverter class in osgconv to disable this extra transformation, which has the effect of applying specified transforms with respect to the input world coordinate system, rather than to the center of the bounding sphere. It also adds a command line argument "--use-world-frame" to enable this behavior. When this command line argument is not passed, behavior is unchanged from before the patch. The usage text has been updated to reflect this additional option, and the comments in OrientationConverter are also updated."Note from Robert Osfield, tweaked the OrientationConverter.cpp a little to improve readability. Fri, 27 May 2011 11:18:44 +0000 Author : Robert Osfield Fixed indentation Fri, 27 May 2011 11:07:04 +0000 Author : Robert Osfield Fixed the searchAndReplace function so that it correctly skips over the newly inserted replacement strings. Fri, 27 May 2011 09:08:48 +0000 Author : Robert Osfield From Jean-Sebastien Guay, "I like the recent addition that adds folders in the solution tree to better organize the numerous examples, libraries, plugins etc.I added two folders that were missing IMHO: packaging and documentation. " Fri, 27 May 2011 09:05:20 +0000 Author : Robert Osfield From Eric Sokolowsky, "Attached is an updated PNM plugin for inclusion in both the trunk and for release version 2.8.5. The attached file fixes numerous bugs in reading 8-bit and 16-bit images, including loading the images upside-down. This file also incorporates trunk patch r12220 which updated the plugin for reading and writing images through streams instead of C-style FILE I/O."Note from Robert Osfield, previous revision was in error due to an incomplete merge, this revision completes the job. Fri, 27 May 2011 09:00:53 +0000 Author : Robert Osfield From Laurens Voerman, "While working on the osg exporter for 3dsmax I found a bug in the TriStripVisitor. I created a small example (attached), and a modified version of src\osgUtil\TriStripVisitor.cpp where the problem is removed." Fri, 27 May 2011 08:55:37 +0000 Author : Robert Osfield From Eric Sokolowsky, "Attached is an updated PNM plugin for inclusion in both the trunk and for release version 2.8.5. The attached file fixes numerous bugs in reading 8-bit and 16-bit images, including loading the images upside-down. This file also incorporates trunk patch r12220 which updated the plugin for reading and writing images through streams instead of C-style FILE I/O." Fri, 27 May 2011 08:22:16 +0000 Author : Robert Osfield Reverted Bryce Eldrige submission. Thu, 26 May 2011 16:52:08 +0000 Author : Robert Osfield Form Jorge Ciges, improved GL version detection code. Thu, 26 May 2011 16:34:33 +0000 Author : Robert Osfield From Dietmar Funck, "I've noticed an issue when writing arrays of type Vec2D and Vec3D to a .osgb file. A number is written to the output stream to identify the array type. In case of Vec2D and Vec3D arrays Vec4D is written as array type - I guess this is a copy and paste mistake. Writing the correct array types fixes the issue - in my case it fixes writing and afterwards reading geometry instances." Thu, 26 May 2011 16:26:50 +0000 Author : Robert Osfield From Bryce Eldridge, "Here is an update for the TIFF plugin that includes the following features when writing out TIFF files:- Support for writing unsigned 16-bit images (GL_UNSIGNED_SHORT) - Code to parse the options string for the following options: -- Flag to turn off the compression. The PACKBITS compression type causes issues for me with some programs on Windows (Picasa for example). -- Options to set the XRESOLUTION and YRESOLUTION tags (DPI) in the TIFF file. Existing behavior (PACKBITS compression, DPI tags left at default) is preserved if the options string is not set. " Thu, 26 May 2011 16:19:54 +0000 Author : Robert Osfield Fixed default setting of texture_no_tile to match the flags seet in lib3ds_material.cpp initialize_texture_map(..). Thu, 26 May 2011 16:16:11 +0000 Author : Robert Osfield From Oliver Neumann,"I checked your solution and found one missing point which makes it still produce the tif error: The very first seek_set on the empty stream with zero offset." "This means that the empty stream is seeked again resulting in the fail bit to be set. Your code does not check this case, furthermore you use t_off instead of std::ostream::streampos for the tellp() calls. In this special case (empty stream) tellp() returns -1 which is cast to 0xFFFFFFFFFF as t_off is unsigned. I suggest this addition to your code (within the switch statement)" Thu, 26 May 2011 16:13:04 +0000 Author : Robert Osfield Fixed indentation Thu, 26 May 2011 15:47:20 +0000 Author : Robert Osfield Fixed handling of changes in gl buffer object size so that when a gl buffer object is resized all the buffer data is recompiled. Wed, 25 May 2011 12:41:49 +0000 Author : Robert Osfield From Bradley Anderegg, "Ok, I am re-submitting this with the changes we discussed. That is, there is a default implementation of osgDB::Archive::getDirectoryContents() that uses getFileNames(), and the osgDB::ArchiveExtended header was removed as it is now unnecessary.Here is a quick list of the modified files: Archive - getDirectoryContents() no longer pure virtual Archive.cpp - default getDirectoryContents() implementation unzip.cpp - modified to fix a bug where the same file will not load twice in a row ZipArchive.h / ZipArchive.cpp - extends osgDB::Archive and provides support for random access loading within a .zip file ReaderWriterZip.cpp - modified to use the ZipArchive class" Wed, 25 May 2011 09:34:53 +0000 Author : Robert Osfield Updated ChangeLog Wed, 25 May 2011 09:34:02 +0000 Author : Robert Osfield From Olaf Flebbe, fixes for OSX AGL build Wed, 25 May 2011 09:13:26 +0000 Author : Robert Osfield Removed now redundent local implementation of getDirectoryContexts() Wed, 25 May 2011 09:04:44 +0000 Author : Robert Osfield From Bradley Anderegg, "Ok, I am re-submitting this with the changes we discussed. That is, there is a default implementation of osgDB::Archive::getDirectoryContents() that uses getFileNames(), and the osgDB::ArchiveExtended header was removed as it is now unnecessary.Here is a quick list of the modified files: Archive - getDirectoryContents() no longer pure virtual Archive.cpp - default getDirectoryContents() implementation unzip.cpp - modified to fix a bug where the same file will not load twice in a row ZipArchive.h / ZipArchive.cpp - extends osgDB::Archive and provides support for random access loading within a .zip file ReaderWriterZip.cpp - modified to use the ZipArchive class" Tue, 24 May 2011 13:05:44 +0000 Author : Robert Osfield From Olaf Flebbe, "build out-of-the box on MacOSX. The default windowing system is carbon and it needs the AGL OpenGL Windowing binding framework, which is missing. osgViewer does not link therefore. Cocoa does not use AGL.The fix adds the AGL Framework to the Carbon link line for osgViewer" Tue, 24 May 2011 10:20:36 +0000 Author : Robert Osfield Fixed Coverity issues.CID 11669: Uninitialized pointer field (UNINIT_CTOR) Non-static class member _glAttachShader is not initialized in this constructor nor in any functions that it calls. Non-static class member _glBindAttribLocation is not initialized in this constructor nor in any functions that it calls. ... CID 11699: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _areTessellationShadersSupported is not initialized in this constructor nor in any functions that it calls. Tue, 24 May 2011 10:19:22 +0000 Author : Robert Osfield Fixed Coverity issue.CID 12328: Resource leak (RESOURCE_LEAK) Calling allocation function "osg::KdTree::cloneType() const". (The virtual call resolves to "osg::Object * osg::KdTree::cloneType() const".) [show details] Failing to save storage allocated by "this->_kdTreePrototype->cloneType()" leaks it. Tue, 24 May 2011 10:18:47 +0000 Author : Robert Osfield Fixed Coverity issue.CID 11692: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _allocationMode is not initialized in this constructor nor in any functions that it calls. Tue, 24 May 2011 10:18:05 +0000 Author : Robert Osfield Fixed Coverity issue.CID 11668: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _primitiveMode is not initialized in this constructor nor in any functions that it calls. Tue, 24 May 2011 10:16:12 +0000 Author : Robert Osfield Fixed 3 Coverity issues.CID 11697: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _type is not initialized in this constructor nor in any functions that it calls. CID 11698: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _type is not initialized in this constructor nor in any functions that it calls. CID 12329: Resource leak (RESOURCE_LEAK) Calling allocation function "osg::Object::clone(osg::CopyOp const &) const". (The virtual call resolves to "osg::Object * GDALPlugin::DataSetLayer::clone(osg::CopyOp const &) const".) [show details] Failing to save storage allocated by "this->getVertexArray()->clone(struct osg::CopyOp const(128U))" leaks it. Tue, 24 May 2011 10:15:39 +0000 Author : Robert Osfield Fixed Coverity issue.CID 11696: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _simulationTime is not initialized in this constructor nor in any functions that it calls. Tue, 24 May 2011 10:15:17 +0000 Author : Robert Osfield Fixed Coverity issue.CID 11695: Uninitialized pointer field (UNINIT_CTOR) Non-static class member _ximpl is not initialized in this constructor nor in any functions that it calls. Tue, 24 May 2011 10:14:45 +0000 Author : Robert Osfield Fixed Coverity issue.CID 11694: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _isARBOcclusionQuerySupported is not initialized in this constructor nor in any functions that it calls. Tue, 24 May 2011 10:14:03 +0000 Author : Robert Osfield Fixed Coverity issue.CID 11666: Uninitialized pointer field (UNINIT_CTOR) Non-static class member _glMultiTexCoord1dv is not initialized in this constructor nor in any functions that it calls. Non-static class member _glVertexAttrib1dv is not initialized in this constructor nor in any functions that it calls. Tue, 24 May 2011 10:13:07 +0000 Author : Robert Osfield Fixed Coverity issue.CID 11691: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _isPBOSupported is not initialized in this constructor nor in any functions that it calls. Non-static class member _isUniformBufferObjectSupported is not initialized in this constructor nor in any functions that it calls. Tue, 24 May 2011 10:08:40 +0000 Author : Robert Osfield Fixed build error Mon, 23 May 2011 16:58:49 +0000 Author : Robert Osfield Removed unused numX, numY member variables, and added initializer for firstHeaderWrite. Mon, 23 May 2011 08:17:02 +0000 Author : Robert Osfield Added CullVisitor::setCalculatedNearPlane() and setCalculatedFarPlane(() methods to enable 3rd party code to manage the compute of the near/far planes. Thu, 19 May 2011 13:25:03 +0000 Author : Robert Osfield Uppded the default acceleration as it was too slow for reasonable sized models Tue, 17 May 2011 12:57:46 +0000 Author : Robert Osfield From Sukender, "There was a stupid parameter inversion in ExternalFileWriter.cpp. Sorry for this. Here is the fix." Tue, 17 May 2011 09:21:32 +0000 Author : Robert Osfield From Wang Rui, added close button hint Mon, 16 May 2011 12:44:39 +0000 Author : Robert Osfield From Stephan Huber, "proposed changes allows the user to add a osgGraphicsWindowIOS as an UIView, respecting the sizes via GraphicsContext::Traits. This helps users, who want to integrate osg into an existing ios-app with multiple UIViews. Additinally a view-controller gets only created if needed, set IGNORE_ORIENTATION via the WindowData-struct. " Mon, 16 May 2011 10:07:20 +0000 Author : Robert Osfield From Sukender, I wrapped my change about non-empty texture units in an off-by-default option, so that it doesn't break any existing code. But AFAIK, other readers (except OSGx) generate contiguous texture units, so I guess this option to be useful for users.Other changes in this sumbission include the added ability to tessellate polygons in Collada reader, with appropriate options. - No tessellation - Tessellate as triangle fan (previous behaviour, kept as default for backward-compatibility) - Full tessellation I also put auto_ptr<> for RAII of DAE structure (as discussed), and moved reader options in a structure, as for the writer. Code also make use of osgDB::ExternalFileWriter I submitted, so please merge this submission after the PluginImageWriter one. Mon, 16 May 2011 09:17:30 +0000 Author : Robert Osfield Renamed example from osgviewerQtContext to osgviewerQt. Mon, 16 May 2011 09:16:22 +0000 Author : Robert Osfield Updated example to use new GraphicsWindowQt::getGLWidget() method instead of deprecated getGraphWidget() method Mon, 16 May 2011 09:15:02 +0000 Author : Robert Osfield Added support for setting threading model from command line and changed default threading model to CullDrawThreadPerContext. New command line options are: osgviewerQtContext --SingleThreaded osgviewerQtContext --CullDrawThreadPerContext osgviewerQtContext --DrawThreadPerContext osgviewerQtContext --CullDrawThreadPerContext Mon, 16 May 2011 09:06:06 +0000 Author : Robert Osfield From Jan Peciva, I have improved GraphicsWindowQt:- renamed osgQt::GraphWidget to osgQt::GLWidget as it better fits to Qt naming (osgQt::GLWidget is derived from QGLWidget while recent GraphWidget... it is unclear, maybe QGraphicsView, QGraphicsScene,....) - added the code to properly manage ON_DEMAND rendering scheme (involves osgQt::setViewer() and internal HeartBeat class) - added forward key events functionality. It allows to not eat the key events by GLWidget, but it forwards them to Qt processing as well. - destroying GLWidget before GraphicsWindowQt and vice versa does not crash the application - it is possible to request particular QGLFormat in GLWidget constructor - added QtWindowingSystem class - multithread OSG rendering improvements/fixes -- From Robert Osfield, added back in getGraphWidget() method for backwards compatibility. Mon, 16 May 2011 08:59:10 +0000 Author : Robert Osfield Fixed traling spaces Mon, 16 May 2011 08:50:59 +0000 Author : Robert Osfield From Rafa Gata, I've been playing around with serializers in order to use it as a "generic" property mechanism for osg::Object.The main problem I have found is that InputStream and OutputStream only takes the stream when you call start method, and in that case it attaches to the stream buffer some stuff, useful for files but not for runtime/gui usage. I have added a simple setInputIterator and setOutputIterator to the classes so now you can easily serialize values without version and other stuff. Writing matrix: osgDB::OutputStream os(0); std::stringstream sstream; os.setOutputIterator(new AsciiOutputIterator(&sstream)); os << matrix; std::string value = sstream.str(); Reading matrix: osgDB::InputStream is(0); std::stringstream sstream(value); is.setInputIterator(new AsciiInputIterator(&sstream)); osg::Matrixf mat2; is >> mat2; From Robert Osfield, added doxygen comments to clarify the role of the methods. Sun, 15 May 2011 08:27:04 +0000 Author : Robert Osfield From Wang Rui, build fix Fri, 13 May 2011 19:19:00 +0000 Author : Robert Osfield Updated SO version as the osgText and osgQt libraries API have changed, albeit only by a small amount. Fri, 13 May 2011 19:08:04 +0000 Author : Robert Osfield Fixed handling of Font implementations that don't handle multiple font resolutions. Fri, 13 May 2011 11:20:48 +0000 Author : Robert Osfield Improved the size, advance and bearing settings Thu, 12 May 2011 18:52:18 +0000 Author : Robert Osfield Warning and build fixes Thu, 12 May 2011 18:40:18 +0000 Author : Robert Osfield Added newline to end of file Thu, 12 May 2011 14:07:15 +0000 Author : Robert Osfield From Sukender, ported across to use the new osgDB::ExternalFileWriter Thu, 12 May 2011 13:27:14 +0000 Author : Robert Osfield From Sukender, new ExternalFileWriter helper class that helps the management of writing out external files to disk avoid writing out of duplicates. Thu, 12 May 2011 13:12:07 +0000 Author : Robert Osfield From Sukender, "Here is a tiny fix which adds missing virtual methods in osgUtil::TransformAttributeFunctor, to handle Vec3d." Thu, 12 May 2011 13:08:02 +0000 Author : Robert Osfield Removed unused parameter Thu, 12 May 2011 12:28:43 +0000 Author : Robert Osfield From Wang Rui, "A Chinese engineer (named Beilei Geng) reports a possible bug in the osg2cpp application to me today. The conversion result may become incorrect if there are quotation marks ( " ) in the shader file, which will mostly appear in comment lines.Replace all " into \" before writing to cpp files will solve the problem, as the attached file shows." Thu, 12 May 2011 11:45:29 +0000 Author : Robert Osfield From Rene Molenaar, "I have found a problem regarding manifest in the plugins, see http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/src/CMakeLists.txt the option OSG_MSVC_GENERATE_PLUGINS_AND_WRAPPERS_MANIFESTS is set to ON only after the subdirectories are added, this causes /MANIFEST:NO while the option is ON after the first configure, generate.if this option is moved (i.e. above the ADD_SUBDIRECTORY statement) results are as expected. attached you will find the correct CMakeLists.txt " Thu, 12 May 2011 10:28:47 +0000 Author : Robert Osfield Removed redundent method Thu, 12 May 2011 10:10:49 +0000 Author : Robert Osfield Added setting of size. Mon, 9 May 2011 10:54:50 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11812: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _lastFrameUsed is not initialized in this constructor nor in any functions that it calls. Non-static class member _s is not initialized in this constructor nor in any functions that it calls. Non-static class member _t is not initialized in this constructor nor in any functions that it calls. Mon, 9 May 2011 10:54:10 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11813: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _endian is not initialized in this constructor nor in any functions that it calls. Mon, 9 May 2011 10:53:38 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11814: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _updateCamera is not initialized in this constructor nor in any functions that it calls. Mon, 9 May 2011 10:53:12 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11815: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _cosMaxElevation is not initialized in this constructor nor in any functions that it calls. Non-static class member _cosMaxFadeElevation is not initialized in this constructor nor in any functions that it calls. Non-static class member _cosMinElevation is not initialized in this constructor nor in any functions that it calls. Non-static class member _cosMinFadeElevation is not initialized in this constructor nor in any functions that it calls. Mon, 9 May 2011 10:52:34 +0000 Author : Robert Osfield Fixed 6 Coverity reported issues.CID 11820: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _azAngle is not initialized in this constructor nor in any functions that it calls. Non-static class member _elevAngle is not initialized in this constructor nor in any functions that it calls. CID 11819: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _BoundaryAngle is not initialized in this constructor nor in any functions that it calls. Non-static class member _planeOrientation is not initialized in this constructor nor in any functions that it calls. CID 11818: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _BoundaryAngle is not initialized in this constructor nor in any functions that it calls. Non-static class member _planeOrientation is not initialized in this constructor nor in any functions that it calls. CID 11817: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _distance is not initialized in this constructor nor in any functions that it calls. CID 11817: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _distance is not initialized in this constructor nor in any functions that it calls. CID 11816: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _leftRightSurfaces is not initialized in this constructor nor in any functions that it calls. Mon, 9 May 2011 10:51:52 +0000 Author : Robert Osfield Fixed 2 Coverty reported issues.CID 11821: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _traversalNumber is not initialized in this constructor nor in any functions that it calls. CID 11822: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _traversalNumber is not initialized in this constructor nor in any functions that it calls. Sun, 8 May 2011 12:06:25 +0000 Author : Robert Osfield Updated version number to 2.9.15 after dev release Sun, 8 May 2011 11:57:53 +0000 Author : Robert Osfield Updated AUTHORS for 2.9.14 dev release Sun, 8 May 2011 11:56:23 +0000 Author : Robert Osfield Update ChangeLog Fri, 6 May 2011 16:46:13 +0000 Author : Robert Osfield Added osg::ref_ptr osgDB::Registry::getRefFromArchiveCache() and osg::ref_ptr osgDB::Registry::getRefFromObjectCache(). Fri, 6 May 2011 12:32:23 +0000 Author : Robert Osfield Removed trailing spaces Fri, 6 May 2011 12:30:58 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11828: Uninitialized scalar field (UNINIT_CTOR) Non-static class member distance is not initialized in this constructor nor in any functions that it calls. Non-static class member maxDistance is not initialized in this constructor nor in any functions that it calls. Non-static class member numIntersectionPoints is not initialized in this constructor nor in any functions that it calls. Non-static class member primitiveIndex is not initialized in this constructor nor in any functions that it calls. Fri, 6 May 2011 12:30:21 +0000 Author : Robert Osfield Moved constructor implementation into .cpp Fri, 6 May 2011 12:27:19 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11838: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _alphaFuncKey is not initialized in this constructor nor in any functions that it calls. Non-static class member _cyleBackwardKey is not initialized in this constructor nor in any functions that it calls. Non-static class member _cyleForwardKey is not initialized in this constructor nor in any functions that it calls. Non-static class member _sampleDensityKey is not initialized in this constructor nor in any functions that it calls. Non-static class member _transparencyKey is not initialized in this constructor nor in any functions that it calls. Non-static class member _updateAlphaCutOff is not initialized in this constructor nor in any functions that it calls. Non-static class member _updateSampleDensity is not initialized in this constructor nor in any functions that it calls. Non-static class member _updateTransparency is not initialized in this constructor nor in any functions that it calls. Fri, 6 May 2011 12:26:13 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11827: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _plane_mask is not initialized in this constructor nor in any functions that it calls. Fri, 6 May 2011 12:25:34 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11826: Uninitialized scalar field (UNINIT_CTOR) Class member declaration for _recordHeightsAsAttributes. Fri, 6 May 2011 12:25:02 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11830: Uninitialized pointer field (UNINIT_CTOR) Non-static class member _geometry is not initialized in this constructor nor in any functions that it calls. Fri, 6 May 2011 12:24:19 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11825: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _primitiveIndex is not initialized in this constructor nor in any functions that it calls. Non-static class member _ratio is not initialized in this constructor nor in any functions that it calls. CID 11824: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _hit is not initialized in this constructor nor in any functions that it calls. Non-static class member _index is not initialized in this constructor nor in any functions that it calls. Non-static class member _length is not initialized in this constructor nor in any functions that it calls. Non-static class member _ratio is not initialized in this constructor nor in any functions that it calls. Fri, 6 May 2011 12:23:45 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11829: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _primitiveMode is not initialized in this constructor nor in any functions that it calls. Fri, 6 May 2011 12:22:49 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11836: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _fullscreen is not initialized in this constructor nor in any functions that it calls. Fri, 6 May 2011 12:22:10 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11831: Uninitialized pointer field (UNINIT_CTOR) Non-static class member _context is not initialized in this constructor nor in any functions that it calls. Non-static class member _dc is not initialized in this constructor nor in any functions that it calls. Non-static class member _handle is not initialized in this constructor nor in any functions that it calls. Non-static class member _instance is not initialized in this constructor nor in any functions that it calls. Fri, 6 May 2011 12:21:11 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11835: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _startTick is not initialized in this constructor nor in any functions that it calls. Fri, 6 May 2011 12:20:48 +0000 Author : Robert Osfield Fixed Coverity reported issues.CID 11834: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _tickLastUpdated is not initialized in this constructor nor in any functions that it calls. Non-static class member _tmpText is not initialized in this constructor nor in any functions that it calls. CID 11833: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _tmpText is not initialized in this constructor nor in any functions that it calls. Fri, 6 May 2011 10:30:23 +0000 Author : Robert Osfield Fixed Coverity reported issues.CID 11843: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _inexp is not initialized in this constructor nor in any functions that it calls. Non-static class member _outexp is not initialized in this constructor nor in any functions that it calls. CID 11842: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _inexp is not initialized in this constructor nor in any functions that it calls. Non-static class member _outexp is not initialized in this constructor nor in any functions that it calls. Fri, 6 May 2011 10:29:47 +0000 Author : Robert Osfield Fixed Coverity reported issues.WindowManager.cpp CID 11841: Uninitialized pointer field (UNINIT_CTOR) Non-static class member _lastEvent is not initialized in this constructor nor in any functions that it calls. Non-static class member _lastPush is not initialized in this constructor nor in any functions that it calls. Non-static class member _view is not initialized in this constructor nor in any functions that it calls. Frame.cpp CID 11840: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _flags is not initialized in this constructor nor in any functions that it calls. Window.cpp CID 11839: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _index is not initialized in this constructor nor in any functions that it calls. Fri, 6 May 2011 10:28:24 +0000 Author : Robert Osfield Fixed Coverity reported issueCID 11441: Non-array delete for scalars (DELETE_ARRAY) "_dwobj::readOpenings(_iobuf *, int)" allocates "obj.fc1". [show details] "_dwobj::~_dwobj()" uses delete on "obj.fc1" which is an array. It should be deleted with operator delete[]. [show details] Fri, 6 May 2011 10:27:59 +0000 Author : Robert Osfield Fixed Covertiy reported issues. CID 11394: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::IntArray". Assigning: "this->colorindices" = "new osg::IntArray". The constructor allocates field "colorindices" of "struct vertexInfo" but there is no destructor.CID 11395: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::IntArray". Assigning: "this->coordindices" = "new osg::IntArray". The constructor allocates field "coordindices" of "struct vertexInfo" but there is no destructor. CID 11396: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::IntArray". Assigning: "this->normindices" = "new osg::IntArray". The constructor allocates field "normindices" of "struct vertexInfo" but there is no destructor. CID 11397: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::IntArray". Assigning: "this->txindices" = "new osg::IntArray". The constructor allocates field "txindices" of "struct vertexInfo" but there is no destructor. CID 11398: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::Vec2Array". Assigning: "this->txcoords" = "new osg::Vec2Array". The constructor allocates field "txcoords" of "struct vertexInfo" but there is no destructor. CID 11399: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::Vec3Array". Assigning: "this->norms" = "new osg::Vec3Array". The constructor allocates field "norms" of "struct vertexInfo" but there is no destructor. CID 11400: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::Vec3Array". Assigning: "this->coords" = "new osg::Vec3Array". The constructor allocates field "coords" of "struct vertexInfo" but there is no destructor. CID 11401: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::Vec4Array". Assigning: "this->colors" = "new osg::Vec4Array". The constructor allocates field "colors" of "struct vertexInfo" but there is no destructor. CID 11402: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::Vec4Array". Assigning: "this->polycols" = "new osg::Vec4Array". The constructor allocates field "polycols" of "struct vertexInfo" but there is no destructor. Fri, 6 May 2011 09:26:14 +0000 Author : Robert Osfield Updated SO version number for dev release Fri, 6 May 2011 09:22:17 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11388: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new char[numBytes]". Assigning: "this->_startPtr" = "new char[numBytes]". The constructor allocates field "_startPtr" of "struct DataConverter" but there is no destructor. Assigning: "this->_currentPtr" = "new char[numBytes]". The constructor allocates field "_currentPtr" of "struct DataConverter" but there is no destructor. Fri, 6 May 2011 09:21:40 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 12263: Missing break in switch (MISSING_BREAK) This case (value 8) is not terminated by a 'break' statement. CID 12262: Missing break in switch (MISSING_BREAK) This case (value 7) is not terminated by a 'break' statement. CID 12261: Missing break in switch (MISSING_BREAK) This case (value 6) is not terminated by a 'break' statement. Fri, 6 May 2011 09:21:04 +0000 Author : Robert Osfield Fixed Coverity reported issues.CID 10392: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _maxIndex is not initialized in this constructor nor in any functions that it calls. Non-static class member _minIndex is not initialized in this constructor nor in any functions that it calls. CID 10454: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _maxIndex is not initialized in this constructor nor in any functions that it calls. Non-static class member _minIndex is not initialized in this constructor nor in any functions that it calls. CID 10505: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _maxIndex is not initialized in this constructor nor in any functions that it calls. Non-static class member _minIndex is not initialized in this constructor nor in any functions that it calls. CID 10919: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _maxIndex is not initialized in this constructor nor in any functions that it calls. Non-static class member _minIndex is not initialized in this constructor nor in any functions that it calls. CID 10920: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _maxIndex is not initialized in this constructor nor in any functions that it calls. Non-static class member _minIndex is not initialized in this constructor nor in any functions that it calls. Fri, 6 May 2011 09:20:06 +0000 Author : Robert Osfield Fixed Coverity reported issues.CID 11389: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new bsp::VBSPData". Assigning: "this->bsp_data" = "new bsp::VBSPData". The constructor allocates field "bsp_data" of "struct bsp::VBSPReader" but the destructor and whatever functions it calls do not free it. Fri, 6 May 2011 09:19:27 +0000 Author : Robert Osfield Fixed Coverity reported issues by using ref_ptr<> for object.ID 11390: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::Vec3Array". Assigning: "this->vertices" = "new osg::Vec3Array". The constructor allocates field "vertices" of "struct prims" but the destructor and whatever functions it calls do not free it. CID 11391: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::Vec3Array". Assigning: "this->normals" = "new osg::Vec3Array". The constructor allocates field "normals" of "struct prims" but the destructor and whatever functions it calls do not free it. CID 11392: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::Vec3Array". Assigning: "this->txc" = "new osg::Vec3Array". The constructor allocates field "txc" of "struct prims" but the destructor and whatever functions it calls do not free it. CID 11393: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::Vec3Array". Assigning: "this->txcoords" = "new osg::Vec3Array". The constructor allocates field "txcoords" of "struct prims" but the destructor and whatever functions it calls do not free it. CID 11747: Uninitialized pointer field (UNINIT_CTOR) Non-static class member gset is not initialized in this constructor nor in any functions that it calls. Fri, 6 May 2011 09:00:46 +0000 Author : Robert Osfield Fixed build problem Thu, 5 May 2011 12:40:03 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11845: Structurally dead code (UNREACHABLE) This code cannot be reached: ".basic_string("");". Thu, 5 May 2011 12:39:35 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11855: Use after free (USE_AFTER_FREE) "operator delete[](void *)" frees "buffer". Thu, 5 May 2011 12:38:48 +0000 Author : Robert Osfield Fixed Coverity reported issue. This fix addresses a memory leak.CID 11847: Unused pointer value (UNUSED_VALUE) Pointer "node" returned by "lib3ds_node_new(LIB3DS_NODE_CAMERA)" is never used. Thu, 5 May 2011 12:37:00 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11844: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _defaultValue is not initialized in this constructor nor in any functions that it calls. Index: ../include/osgDB/Serializer Thu, 5 May 2011 11:31:12 +0000 Author : Robert Osfield Fixed warning Thu, 5 May 2011 11:27:34 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11864: Wrapper object use after free (WRAPPER_ESCAPE) Assigning: "szFilename" = "path.c_str()", which extracts wrapped state from local "path". Thu, 5 May 2011 10:31:34 +0000 Author : Robert Osfield Fixed 4 Coverity reported issuesCID 11851: Unused pointer value (UNUSED_VALUE) Pointer "gfd" returned by "gr->getField(26)" is never used. CID 11850: Unused pointer value (UNUSED_VALUE) Pointer "gfd" returned by "gr->getField(80)" is never used. CID 11849: Unused pointer value (UNUSED_VALUE) Pointer "gfd" returned by "gr->getField(3)" is never used. CID 11848: Unused pointer value (UNUSED_VALUE) Pointer "gfd" returned by "grec->getField(3)" is never used. Thu, 5 May 2011 10:28:34 +0000 Author : Robert Osfield Fixed typo Wed, 4 May 2011 16:36:35 +0000 Author : Robert Osfield From Mathias Froehlich, build fix for gcc 4.6 Wed, 4 May 2011 16:01:21 +0000 Author : Robert Osfield From Stephan Huber, "attached you'll find a small enhancement for GraphicsWindowCocoa to implement the recently introduced setSyncToVBlank-method.Additionally I added a ToggleSyncToVBlank-eventhandler to osgViewer. I used it to test the code, perhaps you'll find it useful and include it in the distribution." Wed, 4 May 2011 09:53:11 +0000 Author : Robert Osfield Removed unncessary references to FREETYPE Wed, 4 May 2011 09:48:10 +0000 Author : Robert Osfield From Michael Platings, fix for build with cmake 2.6.x Tue, 3 May 2011 12:43:00 +0000 Author : Robert Osfield Added OSGVIEWER_EXPORT Tue, 3 May 2011 10:14:34 +0000 Author : Robert Osfield Added missing break; Tue, 3 May 2011 09:58:31 +0000 Author : Robert Osfield From Michael Platings, "I've updated the FBX plugin to use the latest FBX SDK (2012.1). Please apply the attached .cmake which finds the correct SDK headers & libraries." Tue, 3 May 2011 09:11:04 +0000 Author : Michael PLATINGS Updated to use FBX SDK 2012.1 Fri, 29 Apr 2011 16:50:45 +0000 Author : Robert Osfield Improved the handling of different combinations of slashes and dirNames. Fri, 29 Apr 2011 16:34:26 +0000 Author : Robert Osfield Added following methods to osgDB::Archive in support of work by Fradley Anderegg on .zip archive support: /** Get the file name which represents the archived file.*/ virtual std::string getArchiveFileName() const = 0; /** return type of file. */ virtual FileType getFileType(const std::string& filename) const = 0; /** return the contents of a directory. * returns an empty array on any error.*/ virtual DirectoryContents getDirectoryContents(const std::string& dirName) const = 0; Added implementations of these new methods into src/osgPlugins/osga/OSGA_Archive.h src/osgPlugins/osga/OSGA_Archive.cpp Fri, 29 Apr 2011 14:31:45 +0000 Author : Robert Osfield Refactored the libtiffOStreamSeekProc function so that it extendeds the stream when the requested file position is beyond the current end of the stream. This fix addresses a bug that occurred when writting to a streamstream. Fri, 29 Apr 2011 09:16:47 +0000 Author : Robert Osfield Update ChangeLog Thu, 28 Apr 2011 16:33:14 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11447: Unchecked dynamic_cast (FORWARD_NULL) Dynamic cast to pointer "dynamic_cast (nc->clone(this))" can return null. Assigning null: "first" = "dynamic_cast (nc->clone(this))". The clone() implementation is written using macro's so that it always returns the type of Object being cloned so it's normally safe to assume that a dynamic_cast<> will always return a valid pointer as long as the new T that involves creates a valid object. However, if the class being cloned doesn't correctly implement the clone() method then their potential for the dynamic_cast to fail and will return a NULL and will result in a memory leak of the object of paraent class that the clone would have defaulted to. I've tightened up the CopyOp.cpp code to check the return type and added better handling of the clone in the osg::clone() methods so thay don't have any potential mememory leaks and report warnings to OSG_WARN when problems are encountered. It may be more apporpriate to throw an exception so will need to ponder this issue further. Thu, 28 Apr 2011 10:23:50 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11403: Logically dead code (DEADCODE) After this line, the value of "needspace" is equal to 0. Assigning: "needspace" = "false". Technically the report is correct, but the code is just debugging code that was there just in case the code needed to be reviewed. This code is long since through it's debugging stage so the code is no longer really worth keeping so I've removed it for cleanness sake. Thu, 28 Apr 2011 10:23:28 +0000 Author : Robert Osfield Fixed Coverity reported issue.ID 11667: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _useVertexAttribAlias is not initialized in this constructor nor in any functions that it calls. Member variable should have been initialized but this varaible will have always been initialized in later code before it was used anyway so wouldn't have resulted in a runtime bug. Thu, 28 Apr 2011 10:22:20 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11414: Logically dead code (DEADCODE) After this line, the value of "vboMemory" is equal to 0. Assigning: "vboMemory" = "NULL". Another case of debugging code paths being picked out. I have chosen to just delete these paths as the code looks to be working fine and less code is better than more code when it comes to maintenance. Wed, 27 Apr 2011 16:37:25 +0000 Author : Robert Osfield Fixed Coverity reported issue. Issue is benign as all the member variables are initialized in after construction, but I've moved this initialization into the constructor to make the code more managable.CID 11686: Uninitialized scalar field (UNINIT_CTOR) Non-static class member cnt is not initialized in this constructor nor in any functions that it calls. Non-static class member maxcnt is not initialized in this constructor nor in any functions that it calls. Non-static class member phase is not initialized in this constructor nor in any functions that it calls. Wed, 27 Apr 2011 16:35:34 +0000 Author : Robert Osfield Fixed 2 Coverity reported issues. Both issues are benign, but I've addressed then as with the changes the code is clean and more mantainable.CID 11676: Uninitialized scalar field (UNINIT_CTOR) Non-static class member cancelMode is not initialized in this constructor nor in any functions that it calls. Non-static class member cpunum is not initialized in this constructor nor in any functions that it calls. Non-static class member detached is not initialized in this constructor nor in any functions that it calls. Non-static class member isRunning is not initialized in this constructor nor in any functions that it calls. Non-static class member stackSize is not initialized in this constructor nor in any functions that it calls. Non-static class member threadPolicy is not initialized in this constructor nor in any functions that it calls. Non-static class member threadPriority is not initialized in this constructor nor in any functions that it calls. Non-static class member uniqueId is not initialized in this constructor nor in any functions that it calls. CID 11564: Unsigned compared against 0 (NO_EFFECT) This less-than-zero comparison of an unsigned value is never true. "cpunum < 0U". Wed, 27 Apr 2011 16:06:32 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11677: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _minimumNumberAccumAlphaBits is not initialized in this constructor nor in any functions that it calls. Non-static class member _minimumNumberAccumBlueBits is not initialized in this constructor nor in any functions that it calls. Non-static class member _minimumNumberAccumGreenBits is not initialized in this constructor nor in any functions that it calls. Non-static class member _minimumNumberAccumRedBits is not initialized in this constructor nor in any functions that it calls. Wed, 27 Apr 2011 16:06:10 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11690: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _frameLastUsed is not initialized in this constructor nor in any functions that it calls. Wed, 27 Apr 2011 16:05:37 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11689: Uninitialized pointer field (UNINIT_CTOR) Non-static class member _glBlendColor is not initialized in this constructor nor in any functions that it calls. Wed, 27 Apr 2011 16:05:13 +0000 Author : Robert Osfield Fixed 2 Coverity reported issues.CID 11681: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _previousHeight is not initialized in this constructor nor in any functions that it calls. Non-static class member _previousWidth is not initialized in this constructor nor in any functions that it calls. CID 11688: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _previousHeight is not initialized in this constructor nor in any functions that it calls. Non-static class member _previousWidth is not initialized in this constructor nor in any functions that it calls. Wed, 27 Apr 2011 16:04:37 +0000 Author : Robert Osfield Fixed Coverity reported issue, in this case it's a unused member variable so could just be deleted.CID 11687: Uninitialized pointer field (UNINIT_CTOR) Non-static class member _glBeginEndAdapter is not initialized in this constructor nor in any functions that it calls. Wed, 27 Apr 2011 16:03:37 +0000 Author : Robert Osfield Fixed 3 Coverity reported issues. CID 11622 is a bit of false positive as for valid settings no leak would happen.CID 11810: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _setMaxFarDistance is not initialized in this constructor nor in any functions that it calls. CID 11811: Uninitialized pointer field (UNINIT_CTOR) Non-static class member _displayTexturesGroupingNode is not initialized in this constructor nor in any functions that it calls. CID 11622: Resource leak (RESOURCE_LEAK) Calling allocation function "operator new(unsigned long long)". Variable "" is not freed or pointed-to in function "osg::StateSet::StateSet()". [show details] Assigning: "sharedStateSet" = storage returned from "new osg::StateSet". 282 osg::StateSet* sharedStateSet = new osg::StateSet; Variable "sharedStateSet" is not freed or pointed-to in function "osg::Object::setDataVariance(osg::Object::DataVariance)". [show details] Wed, 27 Apr 2011 16:02:10 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11588: Resource leak (RESOURCE_LEAK) Calling allocation function "operator new[](unsigned long long)". Assigning: "dataPtr" = storage returned from "new unsigned char[newTotalSize]". Wed, 27 Apr 2011 16:01:43 +0000 Author : Robert Osfield Fixed 2 Coverity reported issues.Following are both false positives as the the scope they are in will always assign the object to a ref counted structure. I've modified the code to use ref_ptr<> to just make it clear that it's underscope, although this is not strictly neccessary as the code is OK, I introduced this for clarity and robustness in presence of exceptions. CID 11586: Resource leak (RESOURCE_LEAK) Calling allocation function "operator new(unsigned long long)". Variable "" is not freed or pointed-to in function "osg::VertexBufferObject::VertexBufferObject()". [show details] Assigning: "vbo" = storage returned from "new osg::VertexBufferObject". CID 11587: Resource leak (RESOURCE_LEAK) Calling allocation function "operator new(unsigned long long)". Variable "" is not freed or pointed-to in function "osg::ElementBufferObject::ElementBufferObject()". [show details] Assigning: "ebo" = storage returned from "new osg::ElementBufferObject". Wed, 27 Apr 2011 16:00:32 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11636: Allocation size mismatch (SIZECHECK) "my_alloc(sizeof (struct PlyProperty) /*36*/ * elem->nprops, 1292, "..\\..\\..\\..\\src\\osgPlugins\\ply\\plyfile.cpp")" allocates memory. [show details] Allocating a multiple of 36 bytes to pointer "other->props", which needs 8 bytes. Tue, 26 Apr 2011 19:31:04 +0000 Author : Robert Osfield Fixed 1 Coverity Low Impact issue "Unused pointer value (UNUSED_VALUE) Pointer "indices" returned by "this->_vertexAttribList[0ULL].indices.get()" is never used."Report highlighted the fact that later code wasn't using the indices variable when it should have been, so potentially a higher impact that the severity suggested by Coverity. Tue, 26 Apr 2011 19:29:22 +0000 Author : Robert Osfield Fixed 3 Coverity Low Impact performance issues relating to "Big parameter passed by value". Tue, 26 Apr 2011 15:24:21 +0000 Author : Robert Osfield Updated version after 2.9.13 dev release Tue, 26 Apr 2011 14:55:19 +0000 Author : Robert Osfield Updated ChangeLog and AUTHORS for 2.9.13 dev release Tue, 26 Apr 2011 12:07:37 +0000 Author : Robert Osfield From Mattias Helsing, "Fixes two of the osgWidget examples that were broken due to changed virtual function prototypes in osgWidget/EventInterface" Tue, 26 Apr 2011 12:05:57 +0000 Author : Robert Osfield From Craig Bosma,"Please find attached a fix for shared contexts on OS X, with the Cocoa backend. The NSOpenGLContext* _context member of GraphicsHandleCocoa was never set on successfully creation, so even if the dynamic_cast to GraphicsHandleCocoa succeeds, we get a bogus (NULL) pointer on retrieving the actual NSOpenGLContext* (line 1013).This should fix the problem, as well as cause GraphicsWindowCocoa to report the correct name "GraphicsWindowCarbon" -> "GraphicsWindowCocoa". " Tue, 26 Apr 2011 11:51:21 +0000 Author : Robert Osfield From Farshid Lashkari, "I believe their is small error in how OutputStream handles the WriteImageHint. In the "writeImage" method, it converts the WriteImageHint to an internal "decision" flag. During this conversion, it seems to be swapping the behavior for WRITE_EXTERNAL_FILE and WRITE_USE_EXTERNAL. I've attached what I believe to be the correct conversion." Thu, 21 Apr 2011 17:16:27 +0000 Author : Robert Osfield From Mattias Helsing, "Fixes installation of the osgViewer headers that got broken with rev 12208 and 12231.The windowing system specific headers under include/osgViewer/api/ are again installed under include/osgViewer/api/ Works in recent ubuntu with cmake-2.8.4 and msvc2010 with cmake-2.8.2" Thu, 21 Apr 2011 17:04:50 +0000 Author : Robert Osfield From Johannes Baeuerele, "I have extended the pvr reader plugin to support etc1 compression(GL_ETC1_RGB8_OES). The changes attached to this submission are based on today's trunk.The pvr format which can be used as a wrapper for different compressed and uncompressed formats supports this compression algorithm. The original pvr compression uses the pvrtc format. The handling of pvrtc is already implemented in the pvr plugin. PVR provides wrapper functionality for some formats, e.g. etc or even dxt/dds. Our target system (gles2) is able to use the etc compression format. With minor changes in the submitted files, there is no need to write a separate plugin. However the original pvr texture compression formats are not supported on our target, which is the reason for this extension. The changes mainly consist in the definition on new enum values in the classes and headers of ReaderWriterPVR,Image and Texture. I also found some locations where the handling of the original pvr textures was not implemented. These are also part of this submission." Thu, 21 Apr 2011 13:34:03 +0000 Author : Robert Osfield From Marius Heise, "here is a patch that implements Win32 HW-synced swapping using wglJoinSwapGroupNV, wglBindSwapBarrierNV and the existing traits. It was tested with multiple ATI FirePro S400 cards.I also fixed the vsync implementation introduced with rev.11357 that was crashing with the Windows Error #170. So I removed your temporary /* */ around the vsync condition..." Thu, 21 Apr 2011 13:01:11 +0000 Author : Robert Osfield From Fred Smith, "GraphicsWindowWin32::setWindow currently creates a context with no regards to the Traits, like createWindow does.That is, it calls ::wglCreateContext to create a context, not the member method createContextImplementation(), which takes into an account the Traits. In my situation, this prevents a GL 3.x context from being created. " Thu, 21 Apr 2011 12:53:22 +0000 Author : Robert Osfield From Jorge Ciges, "1rst - Changes in Cmake: They make possible "make install" with the android building.2nd - Script to use a 3rd party directory with basic libraries: libjpeg,libpng,libtiff,giflib,freetype,curl,gdal. 3rd - Change in the GLES library loading for Android. That should make GLES2 work properly. 4rth- Included two defines RGB8_OES and RGBA8_OES as a substitute in GLES for RGB8 and RGBA8 5th - OpenGL and GLSL version identification changed to recognize GLES versions properly " Thu, 21 Apr 2011 12:12:40 +0000 Author : Robert Osfield From Cedric Pinson, "I have tried some model that produces crashes in the dae plugin because of empty node:if (GetFloat4Param(cot->getParam()->getRef(), f4)) {...} in the model I have tested cot->getParam()->getRef() return 0x0 and make it crahes inside GetFloat4Param. I have added a test before calling GetFloat4Param if (cot->getParam()->getRef() != 0 && GetFloat4Param(cot->getParam()->getRef(), f4)) {...} " Thu, 21 Apr 2011 12:06:06 +0000 Author : Robert Osfield From Tomas Hogarth, "Attached are the complete changed files GraphicsWindowIOS and GraphicsWindowIOS.mm. The change is in regard to the ability to adapt to device orientation. We did just have a bool indicating the window would adapt to all orientations. I have changed this to a bit mask allowing the user to specify individual orientations or combinations. enum DeviceOrientation{ PORTRAIT_ORIENTATION = 1<<0, PORTRAIT_UPSIDEDOWN_ORIENTATION = 1<<1, LANDSCAPE_LEFT_ORIENTATION = 1<<2, LANDSCAPE_RIGHT_ORIENTATION = 1<<3, ALL_ORIENTATIONS = PORTRAIT_ORIENTATION | PORTRAIT_UPSIDEDOWN_ORIENTATION | LANDSCAPE_LEFT_ORIENTATION | LANDSCAPE_RIGHT_ORIENTATION }; typedef unsigned int DeviceOrientationFlags; The main motivation for this is to easily allow the user to specifiy that the device is in a horizontal orientation rather then having to rotate the view matrix. All flags have been tested individually as well as in combinations. The default is ALL_ORIENTATIONS to keep the exiting functionality for anyone who hasn't specified WindowData for their context traits. " Wed, 20 Apr 2011 19:20:28 +0000 Author : Robert Osfield From Sukender, Here is a tiny update to FileNameUtils. It brings getPathRoot() and isAbsolutePath() to the public side of the lib. Wed, 20 Apr 2011 17:15:58 +0000 Author : Robert Osfield From Guillaume Taze, "This is a fix for the error popups which appeared when reading a corrupted file on windows. Errors are redirected to std::err instead."Note from Robert Osfield, changed jpeg error report output from stderr to standard OSG notification system using OSG_WARN. Wed, 20 Apr 2011 11:45:01 +0000 Author : Robert Osfield Added releaseGLObjects(State*) support into osg::FrameBufferObject, osg::RenderBin and osg::RenderStage to ensure proper clean up of FBO's on closing a graphics context. Tue, 19 Apr 2011 14:19:06 +0000 Author : Robert Osfield From Magnus Kessler, "A few minor fixes in the documentation strings of ReaderWriterFLT.cpp" Tue, 19 Apr 2011 14:11:13 +0000 Author : Robert Osfield From Bradley Anderegg, "The first change just exposes the archive extension list so that external applications can determine if an archive extension is valid.The second change is a bug fix in Registry::read(const ReadFunctor&) where if you pass in valid options they get wiped out after the archive is loaded but before being passed along to the plugin." Tue, 19 Apr 2011 13:32:25 +0000 Author : Robert Osfield From Paul Martz, "To summarize the fix: OpenGL eye coords are negative outside Cartesian quadrant 1. As a result, the center of projection is eye coord (0,0), which (when used as st tex coords) looks up the lower left corner of the texture. However, in projective texturing, you usually want eye coord (0,0) to look up the center of the texture. Accomplishing this mapping requires not just a lookat and perspective transform, but also a translate and scale." Tue, 19 Apr 2011 12:01:38 +0000 Author : Robert Osfield From Jan Peciva, "please find attached proposed fix for ON_DEMAND rendering. The biggest issue was that the windows did not act on repaint request (WM_PAINT, EXPOSE,...)Detailed explanation: - I implemented requestRedraw using the push approach (not using GraphicsWindow::_requestRedraw flag that I was considering) as there may be multiple viewers reading the flag and fighting to reset it after the paint request, while some viewers may not spot the request to redraw - I made windows call GraphicsWindow::requestRedraw when they receive appropriate message (WM_PAINT, EXPOSE, RESIZE,...) - There were issues on Linux that windows did not want to close using x button. Resolved by moving the test for DeleteWindow event from swapBuffersImplementation() to GraphicsWindowX11::checkEvents(). The difficulty was that DeleteWindow event is not coming using _eventDisplay, but through _display. - The last difficulty was that it is necessary to call ViewerBase::checkWindowStatus() to set _done to true when all windows are closed. This did not happened recently in ON_DEMAND run scheme. I put the call to checkWindowStatus() to eventTraversal. " Tue, 19 Apr 2011 11:46:05 +0000 Author : Robert Osfield Removed spaces from end of lines Tue, 19 Apr 2011 11:40:22 +0000 Author : Robert Osfield Ran svn propset -R svn:eol-style native . on the OpenSceneGraph Tue, 19 Apr 2011 09:54:14 +0000 Author : Robert Osfield Improved the handling of unitialized bounding box Tue, 19 Apr 2011 09:53:34 +0000 Author : Robert Osfield Cleaned up example Mon, 18 Apr 2011 12:58:28 +0000 Author : Robert Osfield Updated SO version number Mon, 18 Apr 2011 12:35:19 +0000 Author : Robert Osfield Added IncrementalCompileOperation::compileAllForNextFrame(uint) method and supporting functionality that tell the IncrementalCompileOperation to compile all pending objects during next draw traversal, for specified number of frames. Thu, 14 Apr 2011 15:47:29 +0000 Author : Robert Osfield From Stephan Huber, "attached you'll find some enhancements for the iphone-part of the readme." Thu, 14 Apr 2011 15:45:14 +0000 Author : Robert Osfield From Magnus Kessler, "The standard width for the windows cmd and terminals on many Unix systems is 80 columns. I reorganized some of the help strings to make the output of osgconv --help --all fit to 80 columns. This avoids difficult to read line breaks added by the terminal program itself." Thu, 14 Apr 2011 15:22:43 +0000 Author : Robert Osfield Cleaned up DXT1 support Thu, 14 Apr 2011 15:21:53 +0000 Author : Robert Osfield Added IF (WIN32) around OSG_USE_UTF8_FILENAME Thu, 14 Apr 2011 10:44:37 +0000 Author : Robert Osfield Added osgDB::Option string entries: supportsOption("dds_dxt1_rgb","set the pixel format of DXT1 encoded images to be RGB"); supportsOption("dds_dxt1_rgba","set the pixel format of DXT1 encoded images to be RGBA"); supportsOption("dds_dxt1_detect_rgba","For DXT1 encode images set the pixel format according to presence of transparent pixels."); And set the default not to modify and detect the RGB or RGBA pixel format for DXT images. Thu, 14 Apr 2011 09:16:09 +0000 Author : Robert Osfield Added setting of the internal texture format Wed, 13 Apr 2011 19:28:30 +0000 Author : Robert Osfield quitened down debug output Wed, 13 Apr 2011 19:26:35 +0000 Author : Robert Osfield Introduced new code for detecting DXT1 images catogoriesed as RGB that actually have a 1 bit alpha, therefore re-interpreting these as RGBA. Wed, 13 Apr 2011 10:44:36 +0000 Author : Robert Osfield Added handling of DXT1 in osg::Image::isImageTranslucent() Mon, 11 Apr 2011 19:11:25 +0000 Author : Robert Osfield Added support for explitly requesting DXT1a and DXT1c compression Mon, 4 Apr 2011 10:16:46 +0000 Author : Robert Osfield From Stephan Huber, "Attached you'll find a fixed GraphicsWindowCocoa-implementation which should fix the reported bugs.the osgkeyboard-example works now, but not the numbers of the keypad, as they hilight only for KEY_KP_Left, KEY_KP_Right, KEY_KP_Up, KEY_KP_DOWN etc and not for KEY_KP_0 - KEY_KP_9." Thu, 31 Mar 2011 14:57:18 +0000 Author : Robert Osfield Added OPENTHREADS_ATOMIC_USE_MUTEX Cmake options that allows you to override the default detection of atomic implementatition, making it possible to force the use of Mutex for OpenThreads::Atomic, and as a consequence for use of Mutex for Referenced::ref/unref() counting. Wed, 30 Mar 2011 15:15:07 +0000 Author : Robert Osfield From Tim Moore, Fixes to race in DatabasePager where a parent PagedLOD of newly loaded subgraph has been expired.Clean up of visitor naming to make it clearer what role it has. Wed, 23 Mar 2011 14:01:58 +0000 Author : Robert Osfield Added m4v as a handled movie file extension Mon, 21 Mar 2011 21:28:35 +0000 Author : Robert Osfield Added dciimage library to DCMTK libs Mon, 21 Mar 2011 21:28:02 +0000 Author : Robert Osfield Improved handling of RGB data. Sat, 19 Mar 2011 16:25:01 +0000 Author : Robert Osfield Added .get() to fix build Fri, 18 Mar 2011 12:21:58 +0000 Author : Robert Osfield Adde an isFileADicom(..) method to enable the loader to automatically identifier dicom files without making any assumptions about the file extension Fri, 18 Mar 2011 11:23:39 +0000 Author : Robert Osfield Added extra DCMTK libraries to search and link line to enable build against new DCMTK-3.6.0 release Thu, 17 Mar 2011 17:33:02 +0000 Author : Robert Osfield Added support for new SampleDensityWhenMovingProperty into .p3d format, with it default to 0.02.One can override this value via the sampleDensityWhenMoving="value" property in the volume tag, i.e. CardiacCT To switch the feature off set the value to 0, i.e. CardiacCT Thu, 17 Mar 2011 15:37:39 +0000 Author : Robert Osfield Added SampleDensityWhenMovingProperty to control LOD property of osgVolume. Thu, 17 Mar 2011 13:56:27 +0000 Author : Robert Osfield Changed the view movement detection code so that it uses the new CullVisitor::Identifier to indentifier cull traversals, this enables the code to properly detect movement when osgViewer::Renderer uses double buffering of SceneView. Thu, 17 Mar 2011 13:54:54 +0000 Author : Robert Osfield Added set up of CulLVisitor::Identifier so that the double buffered SceneView/CullVisitor share the same Identifier. Thu, 17 Mar 2011 13:54:14 +0000 Author : Robert Osfield Added CullVisitor::Identifier to help with cull operations that require a consistent identifier for cull traveresals when osgViewer::Renderer uses double buffering. Thu, 17 Mar 2011 11:49:22 +0000 Author : Robert Osfield First cut at LOD support in RayTracedTechnique, which lowers the number of samples taken when the view of the volume is changing. Wed, 16 Mar 2011 13:48:09 +0000 Author : Robert Osfield From Torben Dannhauer, "adds an additional library name of libpng ( libpng15 ) to search fo" Wed, 16 Mar 2011 13:41:39 +0000 Author : Robert Osfield From Alan Dickinson,"I tested out my changes against the trunk and everything worked fine... except I noticed that the CMAKE_BUILD_POSTFIX is set incorrectly for a undefined or blank BUILD_TYPE.So here is the one line change to the CMakeLists.txt to rectify this omission." Wed, 16 Mar 2011 10:51:42 +0000 Author : Robert Osfield Added hud and billboard support to image, stereo_image, pdf, browser and vnc image placement Tue, 15 Mar 2011 19:54:57 +0000 Author : Robert Osfield Added support hud property for title, bullets and paragraph tags Tue, 15 Mar 2011 14:04:50 +0000 Author : Robert Osfield From Sukender, "Fixed a case where getUniqueName() does not work properly" Tue, 15 Mar 2011 14:02:39 +0000 Author : Robert Osfield From Torben Dannhauer, update to reflect addition of NVTT to Windows 3rdPartyPackage Tue, 15 Mar 2011 13:53:59 +0000 Author : Robert Osfield Added checked against GL version number for enabled _isTexture3DSupported. Tue, 15 Mar 2011 13:40:13 +0000 Author : Robert Osfield Fixed warning Tue, 15 Mar 2011 13:30:27 +0000 Author : Robert Osfield Added OSG_EXPORT to declaration of View::Slave. Tue, 15 Mar 2011 12:48:40 +0000 Author : Robert Osfield Re-enabled the fallback compute of bounding volume. Tue, 15 Mar 2011 12:26:16 +0000 Author : Robert Osfield Fixed updating of text position when PositionData.position is not modified by tag but other elements of PositionData are - such as when billboarding Mon, 14 Mar 2011 21:36:32 +0000 Author : Robert Osfield Implemented billboard="on" option for image, bullet and paragraph tags Mon, 14 Mar 2011 11:29:08 +0000 Author : Robert Osfield Added support for placing comments at end of each line. Mon, 14 Mar 2011 10:07:15 +0000 Author : Robert Osfield From Farshid Lashkari, "Another update. I added a LIMIT_NEAREST enum which implements your previous suggestion of rejecting bounding volumes further from the nearest existing intersection. I only implemented this for LineSegmentIntersector. I'd appreciate it if you could double check the math I added to LineSegmentIntersector::intersects() for checking if the bounding sphere is further away. The results of this are promising. I'm getting noticeable performance increase for line intersections with scenes containing many drawables. " Mon, 14 Mar 2011 09:59:32 +0000 Author : Robert Osfield From Torben Dannhauer, warning fix for a false positive warning generated by VS about "not all control pathes return a value". Fri, 11 Mar 2011 17:20:24 +0000 Author : Robert Osfield From Farshid Lashkari, removal of redundent spaces at the end of lines. Fri, 11 Mar 2011 16:31:01 +0000 Author : Robert Osfield From Benjamin Wasty and David Guthrie, "currently, non-alpha-numeric keys are not recognized (except as modifiers) in osgQt, so I added the mapping code from my Qt integration to GraphicsWindowQt (which is based on Delta3D code from David Guthrie - he gave me permission to submit it under OSGPL)." Fri, 11 Mar 2011 11:25:19 +0000 Author : Robert Osfield From Sukender, "Added support for texcoords scale and offset (UV scaling and offset in Lib3DS Materials), for texture unit 0." Fri, 11 Mar 2011 11:20:30 +0000 Author : Robert Osfield Fixed the case insenstive search under unices Fri, 11 Mar 2011 10:24:12 +0000 Author : Robert Osfield From Mourad Boufarguine, "There is a redundant cmake code at the end of osgViewer cmake script. The install command is issued in SETUP_LIBRARY macro." "I spotted this when i tried a make install on the android port :) I saw some weird copy commands of osgViewer headers. I managed to get all osg headers copied to cmake_install_prefix/include upon make install, but i can't (yet) get the libraries to be copied to cmake_install_prefix/lib (see attached files)" Fri, 11 Mar 2011 10:18:43 +0000 Author : Robert Osfield From Alan Dickinson, "I modified the CPack and CMake files to utilze the CMAKE_INSTALL_PREFIX when building RPM packages.I also modified the CMake and pkgconfig files to append the _POSTFIX extenstion based on the CMAKE_BUILD_TYPE. Additionally I fixed packaging/ld.so.conf.d/openscenegraph.conf.in to add a '/' betweeen the arguments since the CMAKE_INSTALL_PREFIX can't end with a '/'. " Thu, 10 Mar 2011 14:53:39 +0000 Author : Robert Osfield From Mourad Boufarguine, "I gave osg android port a try on Windows using cygwin, and it worked like a charm (only a tiny problem with osgViewer, when cross compiling for android using cygwin, the windows path in osgViewer/CMakeLists.txt is used rather than the android one, fix attached). " Thu, 10 Mar 2011 14:44:49 +0000 Author : Robert Osfield From Mourad Boufarguine, "I gave projects folders in VS a try, it works for applications, plugins and examples but not for the osg core libraries. Attached OsgMacroUtils.cmake is a tiny fix for this. OpenThreads is addressed seperately." Thu, 10 Mar 2011 10:56:12 +0000 Author : Robert Osfield From Rafa Gaitan, "Attached the fix to remove the symlinks created with make install." Thu, 10 Mar 2011 10:52:47 +0000 Author : Robert Osfield From Michael Platings, "I'm guessing that the stack corruption was caused by calling GetFullPathNameW with the nBufferLength argument as the number of bytes in the buffer, rather than the number of characters. I've attached code that uses GetFullPathNameW et al. with _countof() rather than sizeof() and this works fine." Wed, 9 Mar 2011 17:35:30 +0000 Author : Robert Osfield Quitened down timing stats Wed, 9 Mar 2011 16:30:48 +0000 Author : Robert Osfield From Johannes Baeuerle, fix for memory leak Wed, 9 Mar 2011 15:55:35 +0000 Author : Robert Osfield From Jan Peciva, "please, find attached updates to Inventor plugin:- improved transparency - do not treat 32-bit textures as transparent textures unless they really contain transparent pixels - error messages forwarded to osg::notify" Wed, 9 Mar 2011 14:44:14 +0000 Author : Robert Osfield From Sukender, "1. Made code a bit more readable/cleaner. 2. Removed unecessary code. Also made sure the images names are not truncated in the middle of an UTF8 character. You'll find there a function called utf8TruncateBytes(), which may be moved in core OSG (osgDB/ConvertUTF I guess). Feel free to do it if you feel it that way. " Wed, 9 Mar 2011 14:15:04 +0000 Author : Robert Osfield From Piotr Gwiazdowski, "So there's config setting OSG_DISABLE_MSVC_WARNINGS which should disable pragmas that turn off specific warnings for MSVC. Unfortunately it's presence is only checked in osg/Export header, making other Export headers disable warnings no matter what, which is kind of incoherent.My fix adds #include to every Export header. I've also unified checking whether to disable warnings to current osg/Export way: #if defined(_MSC_VER) && defined(OSG_DISABLE_MSVC_WARNINGS). Attachment contains all changed Export files in their original locations." Wed, 9 Mar 2011 13:10:38 +0000 Author : Robert Osfield From Eric Sokolowsky, "I have updated the pnm plugin to use streams instead of C-style I/O. Attached is src/osgPlugins/pnm/ReaderWriterPNM.cpp" Wed, 9 Mar 2011 13:05:59 +0000 Author : Robert Osfield From Tassilo Glander,"I patched the cmake configuration to support folders, which are really handy to organize the many projects in the OSG solution into examples, applications and core libs in the IDE. This feature has been introduced to cmake in 2.8.3, on older versions it should be ignored silently. I tested on Visual Studio 2008 with cmake 2.8.3 and 2.8.4.See the screenshots for comparison [img]osg_solution.png[/img] This needs few changes: activate on global cmakelist.txt: [code]set_property(GLOBAL PROPERTY USE_FOLDERS On)[/code] set appropriate folder names for project type in osgMacroUtils.cmake: [code]SET_TARGET_PROPERTIES(${CORELIB_NAME} PROPERTIES FOLDER "OSG Core")[/code] similar for examples, applications" Wed, 9 Mar 2011 12:29:14 +0000 Author : Robert Osfield From Piotr Gwiazdowski, "Recently I've been having some trouble with osgWidget::StyleManager (I'll omit osgWidget namespace from now on). It seems to me that there are some inconsistency in the code. In Style there are multiple applyStyle method overloads, applying style for different widgets/windows built-in in osgWidget. Plus you can do overrides. It's good so far.The problem lies in StyleManager::_applyStyleToObject (which calls _coearceAndApply, which calls _applySpecificStyle, which calls Style::applyStyle). With current implementation Style::applyStyle variants for Input, Window, Frame::Corner, Frame::Border, Window::EmbeddedWindow are never called, because their classes' names are omitted in methods' if/else if block, making it impossible to use styles with most than half of built-in widget/window types. My fix simply adds couple else if blocks, making each Style::applyStyle variant callable. By the way, I think that next update should add Style::applyStyle overload for Table class and add proper className overloads for Input and Window." Wed, 9 Mar 2011 12:15:39 +0000 Author : Robert Osfield Removed the repeated called to jas_init() and jas_image_clearfmts() calls to make it possible to use the reading multi-threaded Wed, 9 Mar 2011 11:22:20 +0000 Author : Robert Osfield From Dietmar Funck, "I've noticed an issue with osgUtil::RenderStage::runCameraSetUp() if the number of buffer attachments of the camera decreases according to privous calls. This happens because RenderStage::_bufferAttachmentMap is updated only for the number of buffers the camera has when runCameraSetUp is called. For example if there were 4 attachments and now only 3, only the first three elements of _bufferAttachmentMap are changed. The fourth is just as before - however it shouldn't be there.Calling _bufferAttachmentMap.clear() before resolves this problem. " Wed, 9 Mar 2011 11:15:10 +0000 Author : Robert Osfield From Cedric Pinson, "I have just adjusted the FindCOLLADA function to let it find library on gnu/linux." Wed, 9 Mar 2011 11:13:12 +0000 Author : Robert Osfield From Sukender, "I fixed the writing but never thought about the reading part... Here is the fix for reading path containing %23 (= '#') characters." Wed, 9 Mar 2011 11:06:36 +0000 Author : Robert Osfield Updated versions for next OSG dev release Wed, 9 Mar 2011 10:35:00 +0000 Author : Robert Osfield Changed the use of a viewer thread to be off by default because it was causing the application to crash when any users input was recieved Tue, 8 Mar 2011 17:05:29 +0000 Author : Robert Osfield Fixed error in X11 string name Tue, 8 Mar 2011 16:35:37 +0000 Author : Robert Osfield From Rafa Gaitan and Jorge Izquierdo, build support for Android NDK."- In order to build against GLES1 we execute: $ mkdir build_android_gles1 $ cd build_android_gles1 $ cmake .. -DOSG_BUILD_PLATFORM_ANDROID=ON -DDYNAMIC_OPENTHREADS=OFF -DDYNAMIC_OPENSCENEGRAPH=OFF -DANDROID_NDK=/ -DOSG_GLES1_AVAILABLE=ON -DOSG_GL1_AVAILABLE=OFF -DOSG_GL2_AVAILABLE=OFF -DOSG_GL_DISPLAYLISTS_AVAILABLE=OFF -DJ=2 -DOSG_CPP_EXCEPTIONS_AVAILABLE=OFF $ make If all is correct you will have and static OSG inside: build_android_gles1/bin/ndk/local/armeabi. - GLES2 is not tested/proved, but I think it could be possible build it with the correct cmake flags. - The flag -DJ=2 is used to pass to the ndk-build the number of processors to speed up the building. - make install is not yet supported." Tue, 8 Mar 2011 15:31:49 +0000 Author : Robert Osfield Fixed indentation Tue, 8 Mar 2011 13:51:13 +0000 Author : Robert Osfield From Rafa Gaitan, "I have added the macro SETUP_LIBRARY, similar to SETUP_PLUGIN or SETUP_EXE, in order to have a unique entry point to build the libraries. With this changes the android integration will be less painful (currently is a big IF(ANDROID) for each CMakeLists.txt) and more maintainable in the future. I hope next submissions will be for supporting android from my colleague Jorge. " Mon, 7 Mar 2011 14:42:47 +0000 Author : Robert Osfield Added comments Mon, 7 Mar 2011 13:45:58 +0000 Author : Robert Osfield Changed all .c++ to .cpp's Mon, 7 Mar 2011 12:35:30 +0000 Author : Robert Osfield Added --color r g b a, --wall-color r g b a, --back-color r g b a options for setting the colours of faces via materials. and --image filename, --wall-image filename, --back-image filename options to set the textures used, note, texcoords are not currently set up so texels used will be 0,0. Mon, 7 Mar 2011 12:33:11 +0000 Author : Robert Osfield Enabled the settng/getting of the Text3D's WallStateSet and BackStateSet along with use of these in the rendering implementation to allow separate colour and other state to be assigned to the front, wall and back faces. Thu, 3 Mar 2011 15:52:19 +0000 Author : Robert Osfield Moved intial cut of depth partition support into osgViewer::View via two new methods: /** Convenience method for setting up multiple slave cameras that depth partition the specified camera.*/ bool setUpDepthPartitionForCamera(osg::Camera* cameraToPartition, DepthPartitionSettings* dps=0); /** Convenience method for setting up multiple slave cameras that depth partition each of the view's active cameras.*/ bool setUpDepthPartition(DepthPartitionSettings* dsp=0); Thu, 3 Mar 2011 12:33:57 +0000 Author : Robert Osfield Introduced a new more generic function for settings up the depth partitioning of viewer cameras. Wed, 2 Mar 2011 16:40:36 +0000 Author : Robert Osfield Build fix Wed, 2 Mar 2011 16:24:07 +0000 Author : Robert Osfield Made parameter a little easier to adjust and commented out verbose debug info Wed, 2 Mar 2011 16:09:50 +0000 Author : Robert Osfield Implemented first cut of more flexible depth partitioning code. Tue, 1 Mar 2011 16:21:38 +0000 Author : Robert Osfield Fixed typo Tue, 1 Mar 2011 15:04:56 +0000 Author : Robert Osfield Added support for passing the --depth-partition distance, throw to the depth partition slave camera setup. Tue, 1 Mar 2011 14:50:25 +0000 Author : Robert Osfield Added experiment depth partioning support in the form of an slave camera configuration. Tue, 1 Mar 2011 14:48:48 +0000 Author : Robert Osfield Added support for an View::Slave::UpdateSlaveCallback Sat, 26 Feb 2011 16:04:34 +0000 Author : Robert Osfield Fixed handling of write and reading of straight Node objects in the scene graph. Sat, 26 Feb 2011 15:52:51 +0000 Author : Robert Osfield Changed the handling of unkown nodes on write so that the code now ignores the non supported nodes allows the overall write to continue. Thu, 24 Feb 2011 11:54:44 +0000 Author : Robert Osfield Removed TrapezoidalShadowMap due to discovery of patent on algorithm. Wed, 23 Feb 2011 22:52:01 +0000 Author : Cedric Pinson Cedric Pinson: Fix divide by zero when Action has 0 frames, and add a warning message because it means something wrong on input data Wed, 23 Feb 2011 16:49:38 +0000 Author : Robert Osfield Fixed typo Wed, 23 Feb 2011 16:46:34 +0000 Author : Robert Osfield From Wojciech Lewandowski, intial cut at new TrapezoidalShadowMap ShadowTechnique Wed, 23 Feb 2011 16:45:44 +0000 Author : Robert Osfield From Wojciech Lewandowski, various tweaks to osgShadow shadow mapping classes to improve consistency and enable more debug info output Wed, 23 Feb 2011 14:09:29 +0000 Author : Robert Osfield Inverted the orientation of the 't' transparency control so that it's full on at the bottom of the screen, and full transparent at the bottom. Wed, 23 Feb 2011 13:56:41 +0000 Author : Robert Osfield Added support for negative --xMultipler, --yMultiple and --zMultiplier values Wed, 23 Feb 2011 12:48:17 +0000 Author : Robert Osfield Added support for positive values of --xMultiple --yMultiplier and --zMultiplier Wed, 23 Feb 2011 12:13:43 +0000 Author : Robert Osfield Changed the default number of components for a RGB to 4 so it appears as an RGBA Wed, 23 Feb 2011 11:43:30 +0000 Author : Robert Osfield Added error reporting for old options Wed, 23 Feb 2011 11:28:43 +0000 Author : Robert Osfield Added -n option Wed, 23 Feb 2011 10:37:51 +0000 Author : Robert Osfield Added extra check for GL_BGR and GL_BGRA formats and messages describing image format loaded Tue, 22 Feb 2011 14:21:34 +0000 Author : Robert Osfield Added test code to explore problems with LightSpacePerspectiveShadowMap implementation handling of different datasets and camera settings. Tue, 22 Feb 2011 11:59:51 +0000 Author : Robert Osfield Added support for GL_BGR and GL_BGRA pixel formats Tue, 22 Feb 2011 10:53:58 +0000 Author : Robert Osfield Changed the handling of erroneous dicom files so that the loading of a directory of dicom files is not abondonded when one or more erroneous files are encountered. Mon, 21 Feb 2011 12:29:13 +0000 Author : Robert Osfield Added computePositions() call to Text3D::resizeGLObjectsBuffers(uint) Mon, 21 Feb 2011 10:02:53 +0000 Author : Robert Osfield Added missing Terrain.h reference Sun, 20 Feb 2011 09:57:07 +0000 Author : Robert Osfield Fixed build of various LiSPSM algorithms Sun, 20 Feb 2011 09:55:20 +0000 Author : Robert Osfield Added --fov and --light-pos and --light-dir command line parameters Fri, 18 Feb 2011 11:04:01 +0000 Author : Michael PLATINGS Disabled the RGB components of the opacity texture Mon, 14 Feb 2011 16:24:12 +0000 Author : Robert Osfield From Philipp Svehla, "We’ve added support for users to override the default values for child elements in asset tags (for the collada writer). This support was added for the following child elements: - contributor - author - authoring_tool - comments - copyright - source_data - created - keywords - modified - revision - subject - title - unit - name - meter - up_axis With this support, users are able to include additional information in their models. Additionally, tools such as sketchup that support asset tags use the values appropriately within their imported models." Mon, 14 Feb 2011 16:09:51 +0000 Author : Robert Osfield From Tim Moore, "This patch fixes some performance problems with the DXF loader. It removes some unnecessary copies of vertex coordinates (which were causing an exponential explosion). It also replaces BIND_PER_PRIMITIVE normals with BIND_PER_VERTEX so that the resulting geometry will be on the fast path." Mon, 14 Feb 2011 16:05:33 +0000 Author : Robert Osfield Added copyop parameter to cloneOptions() method Mon, 14 Feb 2011 15:59:49 +0000 Author : Robert Osfield From Tim Moore, "The non-virtual cloneOptions() method, which is now used by DatabasePager, breaks derived classes of osgDB::Options. This patch uses the clone() method to clone Options." Mon, 14 Feb 2011 15:43:41 +0000 Author : Robert Osfield From Sukender, "Here is an minor update for Jasper finder. It adds debug cache value for Windows/MSVC builds, and adds search paths." Mon, 14 Feb 2011 15:04:40 +0000 Author : Robert Osfield From Jan Peciva, "Improvements: - Use OSG routines to load images instead of simage library (removes dependency on 3rdParty simage library). Applies to Coin Inventor clone only. " Mon, 14 Feb 2011 15:01:56 +0000 Author : Robert Osfield Moved ProgramBinary into osg::Program scope Mon, 14 Feb 2011 14:16:58 +0000 Author : Robert Osfield From Sukender, "Here are two sumbissions for DAE.1. daeRGeometry.cpp (rev 12132). A tiny sumbission which fixes a quite important bug: a parameter was forgotten in Collada ReaderWriter, and texture coordinates could not be loaded properly. So: " Added missing paramter when calling createGeometryData(). Fixes missing texture coordinates (in "bind_vertex_input"). " 2. ReaderWriterDAE.cpp (rev 12132): " Added "baseImageDir" as a plugin string data, in order to manually specify base directory to use when relativising image file names. This is used to properly write files, when images are not located in a subdirectory (like "../images" for some software). " Mon, 14 Feb 2011 13:54:15 +0000 Author : Robert Osfield From Johannes Bauerle, "I experienced problems using binary shaders in osgt files (=the osg-serializer plugins). At runtime std::bad_alloc errors were thrown when using binary shaders.The reason is that the .osgt text files do not provide size information about the contained binary shader hence leading to a bad allocation when reading the shader data, probably size 0 ? The reader method in the responsible serializer class (serializers/osg/BinaryShader) is correct and does not need to be changed as it queries the size as expected. The writer method supports two paths(binary output .osgb and text output .osgt/.osgx). Only the text path is affected as the binary path writes the size. I extended the writer in the text path by the size information. The results before and after the fix are shown below: Erroneous code for binary shader in osgt file before fix: Data { 0a 0d 0 ... } Corrected code for binary shader in osgt file after fix: Data 524 { 0a 0d 0 ... } After my fix the the thrown error disappeared." Mon, 14 Feb 2011 13:50:14 +0000 Author : Robert Osfield From Jahannes Bauerle, "l discovered that the shader class(/src/osg/Shader.cpp) shows wrong behavior when using binary shaders . When shader objects are compared the reference pointer behind the _shaderBinary member is not included in the comparison.I included binary shaders into an osgt model file. These shaders only consists of the binary shader code, I did not supply the text version additionally. When loading the model the osg::Optimizer threw away all shaders except the first one. In the current trunk version of the file two shader objects are identical despite differing _shaderBinary members as the compare method of the Shader class does not include the comparison of that member. The fix in this submission adds the check for identity of the referenced binary shaders to the shader class. When comparing two shader objects with text source shaders the new lines of comparison are not even executed as the comparison returns false in the previous lines when the text shaders differ. With this fix I get expected behavior, the Optimizer handles the different shaders correctly." Mon, 14 Feb 2011 12:55:44 +0000 Author : Robert Osfield Set debug message to INFO Mon, 14 Feb 2011 12:54:21 +0000 Author : Robert Osfield From Michael Platings, I've added initial support to osg for glGetProgramBinary and glProgramBinary. This means that shader programs can now be cached to disk and later reloaded, which is much faster than linking shaders from source code. This should mean significantly shorter load times for people who use lots of combinations of shaders. Mon, 14 Feb 2011 12:14:36 +0000 Author : Robert Osfield Fixed typo Fri, 11 Feb 2011 12:11:17 +0000 Author : Robert Osfield From Jean-Sebastien Guay, event handler for controlling the field of view of the viewer's camera using 0, - and = keys. Fri, 11 Feb 2011 11:08:00 +0000 Author : Robert Osfield Update ChangeLog Fri, 11 Feb 2011 09:18:36 +0000 Author : Robert Osfield Added check against the NodePath being empty. Thu, 10 Feb 2011 14:24:39 +0000 Author : Robert Osfield Tweak to output details Thu, 10 Feb 2011 14:09:04 +0000 Author : Robert Osfield Updated AUTHORS and Contributors.cpp files Thu, 10 Feb 2011 12:23:18 +0000 Author : Robert Osfield From Martin von Gagern, build fix for latest ffmpeg changes Tue, 8 Feb 2011 14:36:15 +0000 Author : Robert Osfield Added const Mon, 7 Feb 2011 14:19:58 +0000 Author : Robert Osfield Implementated experimental reuse of PBO's after download Fri, 4 Feb 2011 12:43:00 +0000 Author : Robert Osfield Added support for enabling the assignment of PixelBufferObjects to loaded Images to aid the download of images to the GPU. Feature can be enabled/disabled (default) by setting the env : OSG_ASSIGN_PBO_TO_IMAGES to ON or OFF Fri, 4 Feb 2011 10:27:05 +0000 Author : Robert Osfield Added support for getting the current screen refresh rate using the XrandR extension. Thu, 3 Feb 2011 17:07:01 +0000 Author : Robert Osfield Refactored NodeTrackerManipulator to use osg::ObserverNodePath rather than it's only local equivilant. Thu, 3 Feb 2011 14:27:50 +0000 Author : Robert Osfield Added call to GraphicsCostEstimator::calibrate. Thu, 3 Feb 2011 12:42:23 +0000 Author : Robert Osfield Moved GraphicsCostEstimator ref pointer into osg::State Thu, 3 Feb 2011 12:22:09 +0000 Author : Robert Osfield Moved GraphicsCostEstimator from osgUtil into core OSG library Wed, 2 Feb 2011 17:23:12 +0000 Author : Robert Osfield From Jean-Sebastien Guay, build fix Wed, 2 Feb 2011 16:44:21 +0000 Author : Michael PLATINGS Updated information about the FBX SDK version Tue, 1 Feb 2011 18:12:59 +0000 Author : Robert Osfield From Sukender, "Vertices in DOUBLE PRECISION were not handled by Remapper classes. I added missing virtual methods." Tue, 1 Feb 2011 12:18:47 +0000 Author : Robert Osfield Fixed the setting of the Drawable modes Tue, 1 Feb 2011 12:18:22 +0000 Author : Robert Osfield Added experimental timing and PBO usage into ICO+GCE classes Tue, 1 Feb 2011 12:17:40 +0000 Author : Robert Osfield Fixed bug in PixelBufferObject constructor for the case when a null Image is passed in to it. Added extra checks for NULL buffer data. Mon, 31 Jan 2011 11:40:35 +0000 Author : Robert Osfield Ran: svn propset svn:eol-style native include/*/* svn propset svn:keywords "Author Date Id Revision" include/*/* Mon, 31 Jan 2011 11:35:50 +0000 Author : Robert Osfield svn propset svn:keywords "Author Date Id Revision" include/OpenThreads/* Mon, 31 Jan 2011 10:41:17 +0000 Author : Robert Osfield Set eol-style to native. Fri, 28 Jan 2011 14:24:30 +0000 Author : Robert Osfield Temporarily disabled the cost estimate code for the 2.9.11 release Fri, 28 Jan 2011 13:54:44 +0000 Author : Robert Osfield From Ulrich Hertlein, "I adapted the Cocoa implementation so that it reports the unmodified key and the modified key as requested. Can other OS X developers please test the attached file, to make sure it works for everybody?I fixed the problem with the caps-lock-key, too." Fri, 28 Jan 2011 12:34:49 +0000 Author : Robert Osfield Fixed size of default font Fri, 28 Jan 2011 11:07:51 +0000 Author : Robert Osfield From Per Fahlberg, warning fixes Fri, 28 Jan 2011 10:59:50 +0000 Author : Robert Osfield From Mathias Froehlich, "Driven by the last qfontimplementation changes, I realized, that I never contributed my testcase/demo for the original implementation. This attached change is similar to osgtext but uses the QFontImplementation in a Qt based viewer. With that, it should be easier for all of us to test changes in qfontimplementation" Fri, 28 Jan 2011 10:53:49 +0000 Author : Robert Osfield From Ulrich Hertlien, "the changes from r12126 (see below) in dae/domSourceReader.h cause compiler errors on OS X with gcc-4.2.1:In file included from /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/daeRAnimations.cpp:3: /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:43: error: explicit specialization in non-namespace scope 'class osgDAE::domSourceReader' /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:45: error: explicit specialization in non-namespace scope 'class osgDAE::domSourceReader' /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:47: error: explicit specialization in non-namespace scope 'class osgDAE::domSourceReader' /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:49: error: explicit specialization in non-namespace scope 'class osgDAE::domSourceReader' /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:51: error: explicit specialization in non-namespace scope 'class osgDAE::domSourceReader' ... The attached file fixes this." Fri, 28 Jan 2011 10:50:24 +0000 Author : Robert Osfield From Mourad Boufarguine, "This is a tiny fix for some typos in osg code." Thu, 27 Jan 2011 18:49:22 +0000 Author : Robert Osfield From Andreas Roth, "simple fix to support quad buffer stereo in osgQt" Thu, 27 Jan 2011 17:14:28 +0000 Author : Robert Osfield From Eric Buehler, "I believe that the osgWidget::Window::HA_CENTER alignment should be center aligned rather than by the origin, as the osgWidget::Window::VA_TOP causes.The current setAnchorHorizontal() command doesn't center the center of the object, it just center's the object's origin. The following change to osgWidget::Window::update() will correct that behavior so that it is consistent with setAnchorVertical() behavior. " Thu, 27 Jan 2011 17:12:23 +0000 Author : Robert Osfield From Sukender, "I found the bug I was chasing! Here is my "twin" submission, from latest trunk rev: 12124.1. DAE submission: DAE plugin now correctly writes images URI in Collada file, when images are used twice. I also greatly improved readability and maintenability of geometry reading (mainly daeRGeometry.cpp), by factorizing code, templatizing it (for double/single precision), and removing ugly macros. 2. osgDB submission: I updated osgDB::getPathRelative(): it is now far more readable, it handles more cases (especially when you want to relativise "a/c" from "a/b", which results in "../c"), and I added comments to make it clearer to maintain." Thu, 27 Jan 2011 16:23:48 +0000 Author : Robert Osfield From Alexander Sinditskiy, "reason of this changes described in http://forum.openscenegraph.org/viewtopic.php?t=7596and another problem is: example osgkeyboard is not work (keys not highlight) if user have 2 keyboard layout native and english and current user layout is native I try to explain my changes we need something that is identify key without modifier keys and layout -> this is UnmodifedKey I think osg must have its own UnmodifiedKeys table. Code must be run same on different platforms. This can de guaranteed by UnmodifiedKeys table. Mikhail Izmestev helped me. He implemented VirtualKey changes in GraphicsWindowX11" Thu, 27 Jan 2011 09:41:37 +0000 Author : Robert Osfield Removed the executable property from source files Wed, 26 Jan 2011 18:47:55 +0000 Author : Robert Osfield Implement first pass at texture compile estimation Wed, 26 Jan 2011 16:47:40 +0000 Author : Robert Osfield Replaced CompileStats with GraphicsCostEstimator Wed, 26 Jan 2011 16:46:58 +0000 Author : Robert Osfield From Mourad Biyfarguine, "This is a fix to some 'potentially uninitialized local variable' warnings in src/osg/glu/libutil/mipmap.cpp." Wed, 26 Jan 2011 16:45:36 +0000 Author : Robert Osfield From Mathias Froehlich, build fix for Solaris Wed, 26 Jan 2011 16:10:42 +0000 Author : Robert Osfield From Wang Rui, "I've found a problem when using QFont (osgQt/QFontImplementation.cpp) to read fonts: only the first character of a whole text is correctly shown and others are disappeared. I haven't got into the font implementation so can't explain why this happened and how it should work under other platforms, but it seems to be fixed by specifying width and height of the glyph object. The source file is attached for future developments. At present it just works for my own project. :-) " Wed, 26 Jan 2011 12:51:46 +0000 Author : Robert Osfield Moved GraphicsCostEstimator into osgUtil. Wed, 26 Jan 2011 12:07:56 +0000 Author : Robert Osfield Implemented first pass at geometry cost estimation. Tue, 25 Jan 2011 16:48:53 +0000 Author : Robert Osfield Fixed warnings Tue, 25 Jan 2011 11:11:47 +0000 Author : Robert Osfield Further work on GraphicsCostEstimator classes Mon, 24 Jan 2011 21:12:25 +0000 Author : Robert Osfield From Mathias Froehlich, build fixes Mon, 24 Jan 2011 20:45:02 +0000 Author : Robert Osfield Added osggraphicscost example as a base of for developing and testing the new osgUtil::GraphicsCostEsimator class. Mon, 24 Jan 2011 11:45:45 +0000 Author : Cedric Pinson From Michael Platings, Fix animation duration when adding channel to animation Fri, 21 Jan 2011 14:11:22 +0000 Author : Robert Osfield Added #include to fix build Fri, 21 Jan 2011 13:40:28 +0000 Author : Robert Osfield From Sukender, " DAE plugin was linking ORIGINAL images in the Collada file, using image->getName() as a path (even if images were modified in memory!). As the behaviour was not the one of other plugins (3DS, FBX, and such), I made the plugin relativise images filenames (as those plugins) and write the image which is in memory. However, in order to avoid removing features, I kept the previous behaviour but moved it in an option. Here are the options of the plugin I changed: - daeForceTexture was unclear in this new context and removed in favor of two new options - daeLinkOriginalTexturesNoForce: Writes reference to the original image if found, instead of writing the image in memory - daeLinkOriginalTexturesForce: Writes reference to the original image even if not found, instead of writing the image in memory Of course, if you specify no option, images are written as for other plugins.Other thing I changed is the UTF8 support as I told you in a previous conversation. Now there is a simple option, "daeNamesUseCodepage", which makes all names except filenames (materials, animation, geometries...) be considered as encoded using current codepage. If so, they'll be converted to UTF8 when writing; else they are written directly. Of course, filenames follow OSG_USE_UTF8_FILENAME as usual. I did " Fri, 21 Jan 2011 12:17:18 +0000 Author : Michael PLATINGS From Sukender: I had to call code from the FBX plugin (to relativise paths). I thus extracted it from FBX and moved it in osgDB (FileNameUtils) Fri, 21 Jan 2011 11:46:15 +0000 Author : Robert Osfield From Sukender, getPathRelative() method. Thu, 20 Jan 2011 12:34:41 +0000 Author : Robert Osfield Added export to see if it address Mingw link problems Thu, 20 Jan 2011 12:32:20 +0000 Author : Robert Osfield From Matthew Johnson-Roberson, "Small fix for operation thread to protect the access to _operations vector by functions getNumOperationsInQueue() and empty(). It is simply an addition of OpenThreads::ScopedLock lock(_operationsMutex); to protect against accessing while writing which was segfaulting in VPB specifically in void ThreadPool::run(osg::Operation* op) in the waiting loopwhile (_operationQueue->getNumOperationsInQueue() >= _maxNumberOfOperationsInQueue) " Thu, 20 Jan 2011 12:27:51 +0000 Author : Robert Osfield From Per Fahlberg, warning fixes Thu, 20 Jan 2011 12:23:04 +0000 Author : Robert Osfield From Simon Julier, "I have been using the ply plugin to read files created by bundler and pmvs2 (http://grail.cs.washington.edu/software/pmvs/). This program generates models in the form of vertices only. However, the existing ply reader implementation was not able to handle the models generated in a satisfactory manner for two reasons:1. It did not support normals applied to individual vertices. 2. It would only support red / green / blue colour triples, but the pmvs models are generated with diffuse colours. (The PLY format, http://local.wasp.uwa.edu.au/~pbourke/dataformats/ply/, lists specular and ambient colour forms as well.) To partially overcome these limitations, please find attached modified versions of src/osgPlugins/ply/vertexData.cpp src/osgPlugins/ply/vertexData.h The changes I've made are: 1. I have changed the boolean hasColor flag to a vertexField (which is a boolean operation on an enum) to indicate what fields are present in the ply file. (This is required because Turk's ply reader spits out warnings for every line where you try to read fields which do not exist.) 2. I have modified the code to apply valid normals to either triangles or vertices. 3. I have kludged in "support" for the various colour variants. Specifically, all the colour specified can be read from the file. However, they are all applied in the same way (namely as a colour array, bound to each vertex)." Wed, 19 Jan 2011 10:57:58 +0000 Author : Robert Osfield From Simon Julier, "I ran across linking errors with osgdb_exr. Specifically, I found it was necessary to link against libImlIlf, libImlThread, libHalf, libIex and libzip.I have attached a patch, against the trunk from 13:30 today, which consists of the following: 1. CMakeModules/FindOpenEXR.cmake: Look for libIlmThread and libIex as well. 2. src/osgPlugins/CMakeList.txt: Only include the exr subdirectory if both the OpenEXR and zip libraries were found. 3. src/osgPlugins/exr/CMakeLists.txt: Add ZIP_LIBRARY to TARGET_EXTERNAL_LIBRARIES." Wed, 19 Jan 2011 10:38:39 +0000 Author : Robert Osfield From Sukender, normalized option names Wed, 19 Jan 2011 10:31:49 +0000 Author : Robert Osfield From Sukender, "Added ability for writer to read from Vec3/4d/f. Plugin now warns if it finds another type of data" Wed, 19 Jan 2011 09:53:34 +0000 Author : Robert Osfield From Sukender, "Factorized the depth loop ("while ( lastDepth >= _nodePath.size() )...") into a method called updateCurrentDaeNode(). Added missing calls into apply(osg::LightSource &) and daeWriter::apply(osg::Camera &) and daeWriter::apply(osg::CameraView &)" Wed, 19 Jan 2011 09:36:21 +0000 Author : Robert Osfield From Sukender, "Fixed ReaderWriterDAE::ConvertFilePathToColladaCompatibleURI(): It now handles paths containing '#' character as expected." Wed, 19 Jan 2011 09:34:26 +0000 Author : Robert Osfield From Sukender and Robert Osfield, clean up of options Tue, 18 Jan 2011 16:14:24 +0000 Author : Robert Osfield From Michael Platings, "I've attached a fix for a subtle bug that causes animations (and quite possibly other things) to be serialized incorrectly.For the following code: #define MYMACRO(NAME) myOutputStream << #NAME; MYMACRO(Group) you would expect that "Group" would be output. However, as there are many overloaded operator<< functions, none of which take a const char* argument, the function that's actually called is operator<<(bool). Hence what actually gets output is "TRUE". An actual example of this is in serializers\osgAnimation\Animation.cpp, WRITE_CHANNEL_FUNC2. So the simple solution to this is to add operator<<(const char*), attached. " Tue, 18 Jan 2011 15:00:36 +0000 Author : Robert Osfield Moved the StateSet query and texcoord settings to within the if (vertices) block to avoid an attempt to dereferences geometry->getStateSet() when non Geometry drawable is intersected. Tue, 18 Jan 2011 11:20:53 +0000 Author : Robert Osfield Fixed CompileSet so it returns true when there is nothing to compile at all. Tue, 18 Jan 2011 09:54:47 +0000 Author : Robert Osfield Build fix Mon, 17 Jan 2011 17:17:19 +0000 Author : Robert Osfield Implemented better coupling of DatabasePager and IcrementalCompileOperation, removing functional duplication and opening the door to dynamic enabling/disabling of pre compile based on load. Mon, 17 Jan 2011 09:10:14 +0000 Author : Robert Osfield Added getNum methods Sat, 15 Jan 2011 18:12:19 +0000 Author : Robert Osfield First steps on the path to integrating ImageProcessor Fri, 14 Jan 2011 14:30:19 +0000 Author : Robert Osfield From Guy Volckaert, "Changes to the openflight plugin to support replacing double sided polygons by 2 opposite facing polygons. This is sometimes required to resolved lighting and intersection issues. A new import option was was added to activate this feature called "replaceDoubleSidedPolys". Fri, 14 Jan 2011 13:31:07 +0000 Author : Robert Osfield From Sukender, "- Lowered one notify level (it's now coherent with the "if" just above)" Fri, 14 Jan 2011 12:08:46 +0000 Author : Robert Osfield From Wang Rui, "I'd like to submit a small new feature to the osgmanipulator example which could fix the dragger size in screen, so that no matter how we zoom in/out the camera, the dragger will never be scaled.This is what 3D graphics software like 3dsmax and maya behave, which helps users select and manipulate draggers more easily. You may turn on the feature with the new --fixedDraggerSize argument: # osgmanipulator.exe --fixedDraggerSize --dragger TranslateAxisDragger cessna.osg " Fri, 14 Jan 2011 12:03:37 +0000 Author : Robert Osfield From Sukender, "TIFF plugin now outputs messages coming from libtiff. " Fri, 14 Jan 2011 11:49:55 +0000 Author : Robert Osfield From Sukender, "Small submission: - 3DS reader now takes care to not create Texture2D duplicates" Fri, 14 Jan 2011 11:46:43 +0000 Author : Robert Osfield Fixed for build with non autoatic ref_ptr<> to C pointer conversion Fri, 14 Jan 2011 11:00:11 +0000 Author : Robert Osfield From Brad Christiansen, "Attached is a fix which implements the lazy loading of optional layers (if requested) in the new osgb/osgt formats." Thu, 13 Jan 2011 18:49:12 +0000 Author : Robert Osfield Updated so version number Thu, 13 Jan 2011 18:05:59 +0000 Author : Robert Osfield From Tim Moore, added missing ImageProcessor header reference Thu, 13 Jan 2011 14:59:29 +0000 Author : Robert Osfield Added ImageProcessor interface class and plugin mechnanism for ImageProcessor implementations to osgDB::Registry.Add NVidiaTextureTools based plugin that provides an ImageProcessor implementation within an nvtt plugin. Wed, 12 Jan 2011 19:29:24 +0000 Author : Robert Osfield Refactored the way that the DatabasePager passes the Terrain decorator node onto the TerrainTile.The DatabasePager now passes the Terrain pointer into the ReaderWriter's via osgDB::Options object, rather than pushing a NodePath containing the Terrain onto NodeVisitor. This change means that the DatabasePager nolonger needs to observer the whole NodePath and will be lighter and quicker for it. The change also means that ReadFileCallback can now run custom NodeVisitor's on the scene graph without having to worry about TerrainTile's constructing scene graphs prior to the Terrain being assigned. Also changed is the NodeVisitor::DatabaseRequestHandler which now requires a NodePath to the node that you wish to add to rather than just the pointer to the node you wish to add to. This is more robust when handling scenes with multiple parental paths, whereas previously errors could have occurred due to the default of picking the first available parental path. This change means that subclasses of DatabasePager will need to be updated to use this new function entry point. Wed, 12 Jan 2011 17:39:35 +0000 Author : Robert Osfield Fixed comment Tue, 11 Jan 2011 17:29:47 +0000 Author : Robert Osfield From Sukender, "FBX plugin did not relay the osgDB::ReaderWriter::Options* when writing images (the writeImage() call). Now it does." Tue, 11 Jan 2011 17:29:11 +0000 Author : Robert Osfield Changed dos endings to unix line endings Tue, 11 Jan 2011 17:23:22 +0000 Author : Robert Osfield From Mikhail Izmestev, "Current osgManipulator::AntiSquishCallback stops update traversal of childrens." Tue, 11 Jan 2011 17:20:25 +0000 Author : Robert Osfield From Wojciech Lewandowski, "We encountered a problem when we tried overloading StandardManipulator class. Linker was unable to find StandardManipulator::AnimationData methods. Prefixing AnimationData with OSGGA_EXPORT removed the issue.Fixed header is attached." Tue, 11 Jan 2011 17:18:44 +0000 Author : Robert Osfield From Chris Hanson, "As an extension to this excellent work: http://forum.openscenegraph.org/viewtopic.php?t=7285 This file adds the same string API wrapper to the State object for other older apps that track Uniforms by string. The original comment about performance is preserved." Tue, 11 Jan 2011 17:05:24 +0000 Author : Robert Osfield Changed debug messages to INFO Tue, 11 Jan 2011 17:04:37 +0000 Author : Robert Osfield From Glenn Waldron, "Attached is a fix to State::convertVertexShaderSourceToOsgBuiltIns. The method was incorrectly inserting new declarations before a GLSL "#version" directive, which must always be the first line in a shader. This patch detects the #version directive and ensures that new declarations are inserted after it.Attached is the modified State.cpp file. I have also attached a sample transcript, showing the new code working properly. I ran it against osgEarth's shaders and it works as expected. " Tue, 11 Jan 2011 16:58:17 +0000 Author : Robert Osfield From Tim Moore, "This patch fixes a race condition in Renderer::ThreadSafeQueue that was causing some notifications of available SceneView objects to be missed. I saw a very noticeable performance problem (60 fps -> 8 fps) in DrawThreadPerContext mode in an osgEarth application before this patch. I had high hopes that this change might fix the much-discussed multiple GPU problem; no such luck, but I think the root cause of that is probably a similar threading issue." Tue, 11 Jan 2011 16:18:49 +0000 Author : Robert Osfield From Guy Volckaert, warning fixes Tue, 11 Jan 2011 11:39:50 +0000 Author : Robert Osfield Added more flexible testing of Text3D Tue, 11 Jan 2011 11:39:31 +0000 Author : Robert Osfield Unified more of the 2D and 3D text setup, fixed bugs in Text3D setup which address the problems of black 3D text and the kerning causing problems with font positioning. Mon, 10 Jan 2011 13:28:23 +0000 Author : Robert Osfield Improved the handling of application argument output when the options are very long. Wed, 5 Jan 2011 11:43:37 +0000 Author : Robert Osfield Added check for invalid face size to prevent a crash Tue, 4 Jan 2011 10:21:50 +0000 Author : Robert Osfield Added extra checks to osg::Geometry::verifyArrays(std::ostream&) Mon, 3 Jan 2011 19:41:06 +0000 Author : Robert Osfield Added osg::Geometry::verifyArray(std::ostream&) method to enable checks to be done on osg::Geometry to see if the arrays are big enough to handle the primitives used in the geometry.Added usage of verifyArray into osgfilecache so that it reports any problems on reading files in paged database. Fri, 24 Dec 2010 19:47:31 +0000 Author : Robert Osfield Added iterator include Fri, 24 Dec 2010 19:19:48 +0000 Author : Robert Osfield Refactored IncrementalCompileOperation to make it more flexible. Thu, 23 Dec 2010 13:11:15 +0000 Author : Robert Osfield Fixed warnings Thu, 23 Dec 2010 10:45:43 +0000 Author : Robert Osfield Deleted old makefile files that are no longer required now we have CMake Thu, 23 Dec 2010 10:07:27 +0000 Author : Robert Osfield From Per Fahlberg, "The FindCOLLADA.cmake module failed to find the static libs for the latest collada dom, attached is the fixed file." Thu, 23 Dec 2010 10:05:55 +0000 Author : Robert Osfield From Ulrich Hertlein (applied by Robert Osfield), "OpenThreads/win32/Win32Condition.h is not used anymore and could be removed from the repository and win32/OpenThreads.mak and win32/CMakeLists.txt." Thu, 23 Dec 2010 09:59:35 +0000 Author : Robert Osfield From Jean-Sebastien, "In my auto-build today there are 3 errors caused by using a ref_ptr in a function taking a T* when building without the implicit conversion." Wed, 22 Dec 2010 20:11:05 +0000 Author : Robert Osfield Converted FrameStamp::g/setFrameNumber from int to uint Tue, 21 Dec 2010 12:54:06 +0000 Author : Robert Osfield From Tim Moore, Dereference the databaseRequest while the queue is locked. This prevents the request from being deleted at an unpredictable time within addLoadedDataToSceneGraph. Tue, 21 Dec 2010 12:51:15 +0000 Author : Robert Osfield Introduced a local reference to the appropriate EasyCurl object to avoid seperate getEasyCurl() incurring a mutex lock overhead. Tue, 21 Dec 2010 10:23:31 +0000 Author : Robert Osfield Improved indentation to make it more readable and consistent with OSG. Tue, 21 Dec 2010 09:36:03 +0000 Author : Robert Osfield Cleaned up the frame number increment. Tue, 21 Dec 2010 09:12:18 +0000 Author : Robert Osfield From Paul Martz, Fix for "in expGeometryRecords.cpp lines 813-820, we write the UV list data incorrectly. According to the FLT spec, the data should be grouped per-vertex, not per-layer.We should have: UV for vertex 0, layer 1 UV for vertex 0, layer 2 UV for vertex 1, layer 1 UV for vertex 1, layer 2 ...etc... Instead, we have this: UV for vertex 0, layer 1 UV for vertex 1, layer 1 ...etc... UV for vertex 0, layer 2 UV for vertex 1, layer 2 ...etc..." Mon, 20 Dec 2010 17:04:59 +0000 Author : Robert Osfield From Andy Skinner, "In this file I’ve changed TriangleFunctor to TemplatePrimitiveFunctor, and added operator() methods for:· points (just look at points in frustum) · lines (simple line clip—replace the external point) · quadrilaterals (call operator() for triangles twice)" Mon, 20 Dec 2010 16:23:27 +0000 Author : Robert Osfield From Andy Skinner, "We use a shared array for our OpenSceneGraph arrays, and the existing (deprecated) OSG plugin casts the Array to IntArray and FloatArray and the like. Because our arrays don’t use FloatArray, this crashes for us.Attached is src/osgWrappers/deprecated-dotosg/osg/Geometry.cpp. It gets the data pointer out and casts it to a pointer to the element type, rather than casting the array object itself. This seems to work." Mon, 20 Dec 2010 12:17:40 +0000 Author : Robert Osfield Moved the GL3 include to within the code block that handles GL1/GL2 Mon, 20 Dec 2010 12:03:56 +0000 Author : Robert Osfield Fixed memory leak by introducing use of ref_ptr<> Mon, 20 Dec 2010 12:02:50 +0000 Author : Robert Osfield From Kim Seokhwan, "Error fix in example/osganimationmorph/osganimationmorph.cppin this file, function, osg::Geometry* getShape(const std::string& name) (line 51) tries to use null pointer when model is not provided. I added simple comment in attached file." Mon, 20 Dec 2010 10:49:30 +0000 Author : Robert Osfield From Trajce Nikolov, Fixes to avoid cracks in older archives, tested with archives 2.0, 2.1, 2.2 . Sun, 19 Dec 2010 13:25:45 +0000 Author : Robert Osfield From Trajce Nicklov, "I went thru the TileMapper today very carefuly and I remove all the tileStack approach - it made everything simplier and I think more proper. Cleaned the code as well. It was tested on huge archive with many lods as well with variable lods. Fix attached." Fri, 17 Dec 2010 13:43:41 +0000 Author : Robert Osfield From Tim Moore, fix for race conditions in takeOrGenerate() methods Fri, 17 Dec 2010 11:46:42 +0000 Author : Robert Osfield Fixed warnings Fri, 17 Dec 2010 11:19:29 +0000 Author : Robert Osfield Added --speed command line parameter to osgviewer to enable control of the speed that animation paths are played back at. Fri, 17 Dec 2010 10:59:05 +0000 Author : Robert Osfield Fixed the GLBufferObjectSet::deleteAllGLBufferObjets() and TextureObjectSet::deletaAllTextureObjects() methods and improved the checkConsistency() usage so it's now possible to switch if off completed from being compiled in. Wed, 15 Dec 2010 19:44:29 +0000 Author : Robert Osfield Fixed the size computation Wed, 15 Dec 2010 16:30:48 +0000 Author : Robert Osfield Removed no longer used static member variables Wed, 15 Dec 2010 12:34:16 +0000 Author : Robert Osfield Improvements to GLBufferObject and TextureObject pools Tue, 14 Dec 2010 20:22:34 +0000 Author : Robert Osfield Added report of ration of current size to max target size for buffer. Tue, 14 Dec 2010 20:07:41 +0000 Author : Robert Osfield Added --speed option and output of buffer object and texture object pool stats at the end of the animation path. Tue, 14 Dec 2010 20:07:00 +0000 Author : Robert Osfield Added AnimationCompletedCallback, s/getTimeScale and s/getTimeOffset() method to enable finer control of AnimationPathManipulator. Tue, 14 Dec 2010 19:29:01 +0000 Author : Robert Osfield Added methods for checking sizes of various buffer object/texture object pool sizes. Tue, 14 Dec 2010 15:28:31 +0000 Author : Robert Osfield Removed redundent MinimumNumberOfTextureObjectsToRetainInCache static variable Tue, 14 Dec 2010 14:32:16 +0000 Author : Robert Osfield Improved the parsing of output filename Tue, 14 Dec 2010 13:43:32 +0000 Author : Robert Osfield Added GLBufferObjectManager::reportStats() Tue, 14 Dec 2010 10:42:08 +0000 Author : Robert Osfield From Alan Dickenson, "I modified the CPack CMake files to provide the ability to easily create packages of the OpenSceneGraph components.I modified the OsgCPackConfig.cmake.in and OsgCPack.cmake files to expose access to select the package generator mechanism through cmake CPACK_GENERATOR option. The user can specify the type of package generator (i.e. rpms. deb, NSIS, tar, zip, etc) that they would like to use from the CPack supported packages/installation methods. I also changed the CPACK_PACKAGE_FILE_NAME to use OSG_PACKAGE_FILE_NAME which contains the name of each component so all of the component packages can be generated without renaming the files. This should make it even easier to create distribution packages for the various linux, windows and mac distribution methods supported by CPack." Tue, 14 Dec 2010 08:58:27 +0000 Author : Robert Osfield Moved Performer and Inventor plugins into block protected to only compile when not using GLES. Tue, 14 Dec 2010 08:53:20 +0000 Author : Robert Osfield From Wang Rui, "A modified version is attached. The blank while generating is in fact used to avoid dual update traversals of the scene, which is not allowed in my application (but I forgot the reason ;-) Now the blank problem will disappear.Inactive mode is also available, using the --inactive mode and --camera-eye and --camera-hpr to set camera position: ./osgposter --output-poster --poster output.bmp --tilesize 800 600 --finalsize 8000 6000 cow.osg --inactive --camera-eye 0 0 20 " Mon, 13 Dec 2010 17:54:27 +0000 Author : Robert Osfield Renamed osgviewerQtContext to osgviewerQt, and removed deprecated examples from CMakeLists.txt Mon, 13 Dec 2010 17:50:57 +0000 Author : Robert Osfield Moved osgviewerQT and osgviewQtWidget to deprecated as osgviewerQtContext will no be the main Qt example Mon, 13 Dec 2010 17:50:00 +0000 Author : Robert Osfield Moved osgbrowser into svn/trunk. Mon, 13 Dec 2010 17:49:37 +0000 Author : Robert Osfield Move osgcegui into deprecated Mon, 13 Dec 2010 17:37:42 +0000 Author : Robert Osfield Have moved FindXUL.cmake to deprecated Mon, 13 Dec 2010 17:36:02 +0000 Author : Robert Osfield Have moved gecko plugin to deprecated Mon, 13 Dec 2010 17:09:31 +0000 Author : Robert Osfield Added resizeGLObjectBuffers(uint) and relaseGLObjects(State*) to BufferData. Mon, 13 Dec 2010 16:25:50 +0000 Author : Robert Osfield Moved GraphicsWindowQt from osgviewerQtContext into osgQt. Mon, 13 Dec 2010 13:41:42 +0000 Author : Robert Osfield Fixed warnings Mon, 13 Dec 2010 13:37:37 +0000 Author : Robert Osfield From Wang Rui, "Attachment is an example of rendering 3D scenes to high resolution screenshots.I uses a queue of Camera objects to do offscreen rendering with the Camera::attach() function. The entire picture is split into many tiles and it will take a few seconds while attaching and detaching cameras with tiles. You may select to output every tile as an image file, or combine them together to create a large poster, for example, a 12800 x 9600 image. Start the program like this: ./osgposter --output-poster --poster output.bmp --tilesize 800 600 --finalsize 8000 6000 cow.osg Adjust the scene camera to a suitable position and press 'p' or 'P' on the keyboard. Wait until sub-cameras dispatching is finished. And the poster file will be created while closing window. A 8000 x 6000 output.bmp will be created to show a fine-printed cow. :) The command below may also help: ./osgposter --help " Mon, 13 Dec 2010 12:16:57 +0000 Author : Robert Osfield Form Richard Schmidt, "The following features were added:* the glsl plugin now supports processing #includes. The file extension sets the shader type. * the registry releases gl objects of the shared state manager " Mon, 13 Dec 2010 11:34:33 +0000 Author : Robert Osfield From Wang Rui, "I implemented a customized viewer event traversal here to read state changes from the DirectInput devices and add events to the event queue. I've tested with the keyboard and joystick supports. Because of only having a very old 6-button gamepad, I can't do more experiments. Hope this will bring more ideas to those who face similar problems, especially simulation game designers. :)I didn't map all DirectInput key values to GUIEventAdapter key symbols. Users may add more in the buildKeyMap() function freely. The mouse handling operations are also ignored, but will be easily improved in the same way of creating keyboard and joystick devices. Please add a line: FIND_PACKAGE(DirectInput) in the CMakeLists of root directory. And in the examples/CMakeLists.txt: IF(DIRECTINPUT_FOUND) ADD_SUBDIRECTORY(osgdirectinput) ENDIF(DIRECTINPUT_FOUND) DirectX SDK 2009 is used here, but an older version like DX8 should also work in my opinion. " Mon, 13 Dec 2010 10:46:18 +0000 Author : Robert Osfield From Eduardo Poyart, "The attached patch fixes a race condition that caused OSG to try to render the scene before the window is realized. It works ok in my osgviewerWX-derived application under Linux." Sun, 12 Dec 2010 10:00:57 +0000 Author : Robert Osfield Added TODO notes Sun, 12 Dec 2010 09:58:45 +0000 Author : Robert Osfield From Wojciech Lewandowski, added docs on Swap Method env vars and command line options Sun, 12 Dec 2010 09:52:29 +0000 Author : Robert Osfield From Trajce Nikolov, "attached is a fix for the txp loader (in TileMapper). The code was giving wrong parent tile ids using the stack - I implemented differnt approach for that" Sun, 12 Dec 2010 09:40:16 +0000 Author : Robert Osfield From David Fries, "The ffmpeg lockmanager was introduced in ffmpeg 52 30 1, but later backported to 52 20 1, so add that to the version check in ReaderWriterFFmpeg.cpp." Sun, 12 Dec 2010 09:37:14 +0000 Author : Robert Osfield From David Fries, "Avoid a terrapage crash with outstanding requests to a removed archive file. ReaderWriterTXP::getArchiveName will create an archive if it doesn't exist. This is causing a crash if the terrain is removed and there are outstanding database requests in the database pager. The request will create a new archive, and as the archive is newly create doesn't have the materials etc to support the subtile that was just loaded. To fix the problem getArchiveName will only return existing archives. createArchiveName was added to create archives. " Sun, 12 Dec 2010 09:22:09 +0000 Author : Robert Osfield From Wojciech Lewandowski, "As suggested I have added missing method to PerContextProgram. Tested with our programs.I see that we should expect some performance penalty for using this method. It won’t be painful in my current case because I have only a few animated characters. But I suspect some day I will have to fix osgCal to use int UniformIds natively for larger crowds." Sun, 12 Dec 2010 08:56:58 +0000 Author : Robert Osfield From Wang Rui, "I've found a possible bug in the new SmoothingVisitor implementation (with a great 'crease angle' feature), which will crash if the normal array is already set but without BIND_PER_VERTEX. I just believe that we should reallocate the normal array in these cases, as the old implementation does. " Sun, 12 Dec 2010 08:54:58 +0000 Author : Robert Osfield Introuced a local typedef of the index array type to keep the functor parameters consistent Sat, 11 Dec 2010 15:12:09 +0000 Author : Robert Osfield From Cedric Pinson, "Here a small fix about gdal plugin used to read dem file, if you dont setup the log level to INFO it does not work. It's because of this line: OSG_INFO << " GetGeoTransform == "<< dataset->GetGeoTransform(geoTransform)<<"I have just put the function outside of an stream stuff, and it works. It's possible we have other code like that in other plugins, I guess it's a side effect of the MACRO stuff about notification." Fri, 10 Dec 2010 15:27:19 +0000 Author : Robert Osfield Refactor of DatabasePage/IncrementalCompileOperation to use the IncrementalCompileOperator for compiling objects Fri, 10 Dec 2010 13:22:21 +0000 Author : Robert Osfield Build fixes to keep up with changes in head inclusions/API in osgDB Thu, 9 Dec 2010 12:16:11 +0000 Author : Robert Osfield Added handling of CoordinateSystemNode when they decorate a loaded model, copying the contents of the CoordinateSystemNode across to the Terrain node Wed, 8 Dec 2010 11:01:37 +0000 Author : Robert Osfield Updated version number for 2.9.11 dev release Wed, 8 Dec 2010 10:34:29 +0000 Author : Robert Osfield From Ulrich Hertlein, "attached are patches to osgTerrain that fix some typos and add a bit of documentation. " Wed, 8 Dec 2010 09:54:23 +0000 Author : Robert Osfield Added protection against the Registry from being deleted prior to the proxy objects unregistering themselves Wed, 8 Dec 2010 09:52:58 +0000 Author : Robert Osfield Fixes for benign threading memory contentions. Mon, 6 Dec 2010 10:35:02 +0000 Author : Robert Osfield Renamed YES and NO enums with more description names that don't overlap with iOS #define's Fri, 3 Dec 2010 19:04:50 +0000 Author : Robert Osfield Updated ChangeLog and AUTHORS for release Fri, 3 Dec 2010 17:50:38 +0000 Author : Robert Osfield From Johannes Bauerle, "When trying to use the osgText functionality in an osg application built without support for the fixed function pipeline I got a lot of warning messages about invalid calls. I found two indirect calls to the glTexEnv in the file Text.cpp:state.applyTextureAttribute(0,getActiveFont()->getTexEnv()); In the attached fix I surrounded these calls with #ifdef's checking for OSG_GL_FIXED_FUNCTION_AVAILABLE to ensure that the above function is only called when the fixed function pipeline is available. " Fri, 3 Dec 2010 17:20:32 +0000 Author : Robert Osfield Removed redundent call. Fri, 3 Dec 2010 14:24:23 +0000 Author : Robert Osfield Commented out debug message Fri, 3 Dec 2010 14:18:16 +0000 Author : Robert Osfield Introduced bool Texture2D::textureObjectValid(State) and bool SubloadCallback::textureObjectValid(Texture2D&,State&) method to make it tell Texture2D::apply() whether the texture object is still valid or whether it's no longed valid for the any changes to the image attached to the Texture Thu, 2 Dec 2010 14:20:52 +0000 Author : Robert Osfield From Ulrich Hertlein, "Attached; here's a summary of the changes: - CMakeLists.txt -- don't look for GL when compiling for iOS (device or simulator), look for OGLES instead -- use architecture i386 for simulator -- removed iphoneos-version-min for simulator- examples/osgviewerIPhone/CMakeLists.txt -- added build dependencies for osgdb_osg, osgdb_freetype, osgdb_imageio -- added framework QuartzCore link dependency - src/osgDB/CMakeLists.txt -- don't link against Carbon on iOS (device or simulator) - src/osgPlugins/freetype/CMakeLists.txt -- don't link against OpenGL on iOS device or simulator - src/osgViewer/CMakeLists.txt -- link against OpenGLES on iOS (device or simulator) - src/osgPlugins/imageio/CMakeLists.txt -- compile ReaderWriterImageIO_IOS.cpp as Objective-C++ " Thu, 2 Dec 2010 14:13:54 +0000 Author : Robert Osfield From Mathias Froehlich, "Attached are most of the fixes that are required to build osg on solaris and hpux. I have skipped irix this time as irix is too dead to keep osg building there.As usual, solaris does not like member templates in stl containers. Some headers missing and link problems due to missing libraries." Thu, 2 Dec 2010 14:01:54 +0000 Author : Robert Osfield Ran dos2unix to fix line endings Thu, 2 Dec 2010 13:53:10 +0000 Author : Robert Osfield From Brad Christiansen, commented out debug messages Thu, 2 Dec 2010 09:39:31 +0000 Author : Robert Osfield Removed redudent makeCurrentImplementation() that was causing a crash in osgscreencapture. Wed, 1 Dec 2010 20:14:34 +0000 Author : Robert Osfield Updated AUTHORS and Contributors.cpp to reflect new ChangeLog correctly Wed, 1 Dec 2010 19:49:03 +0000 Author : Robert Osfield From Jason Daly, "OK, I dug a bit into the CMake scripts and found a fairly obvious solution to the QtWebkit issue on RHEL 6 (see my other message on osg-users). I just moved the osgQtWidgets example in examples/CMakeLists.txt under the check for QtWebKit.Fix is attached:" Wed, 1 Dec 2010 14:03:10 +0000 Author : Robert Osfield Updated ChangeLog Wed, 1 Dec 2010 13:33:31 +0000 Author : Robert Osfield From Fabien Lavignotte, "I use Texture2D::copyTexImage2D to generate some textures at each frame on a PagedLOD databases. There was some performance problems after a long run, because textures created with copyTexImage2D were not reused. After investigation, there is a problem with the Texture Pool when a texture object is created with an empty profile, and then move after creation to TextureObjectSet with good profile using setAllocated method. I have just changed a little bit the code of Texture2D::copyTexImage2D, to generate the texture object with the good profile at the start." Tue, 30 Nov 2010 16:22:37 +0000 Author : Robert Osfield From "Matthew Roberso, I've attached a small fix to the src/osgWrappers/serializers/osg/Texture2DArray.cpp against the svn head r11965 it simply calls setTextureDepth before attempting to load the individual textures into the array. Currently without that the loading fails with the following printout "Warning: Texture2DArray::setImage(..) failed, the given layer number is bigger then the size of the texture array." and the texture array is empty if loaded from an osga/b." Tue, 30 Nov 2010 14:36:37 +0000 Author : Robert Osfield Fixed the readObject method so it could handle reading from a file contains any valid type of osg::Object Tue, 30 Nov 2010 12:34:06 +0000 Author : Robert Osfield Added passing of existingObj parameter Tue, 30 Nov 2010 11:34:33 +0000 Author : Robert Osfield From Stephan Huber, compile fix for iOS Tue, 30 Nov 2010 09:26:18 +0000 Author : Robert Osfield From Ulrich Hertlein and Stephan Huber, improves to iOS build Tue, 30 Nov 2010 08:12:06 +0000 Author : Robert Osfield From Wang Rui, Compile fixes Mon, 29 Nov 2010 17:43:27 +0000 Author : Robert Osfield From Tim Moore, "Here is initial support for uniform buffer objects. The binding between a buffer object and an indexed target is implemented as a new StateAttribute, UniformBufferBinding. I've included an example program based on the code in the ARB_uniform_buffer_object specification.A few things remain to do: * The binding between a uniform block in a shader program and a buffer indexed target number is fixed, like a vertex attribute binding. This is too restrictive because that binding can be changed without relinking the program. This mapping should be done by name in the same way that uniform values are handled i.e., like a pseudo state attribute; * There's no direct way yet to query for the offset of uniforms in uniform block, so only the std140 layout is really usable. A helper class that implemented the std140 rules would be quite helpful for setting up uniform blocks without having to link a program first; * There's no direct support for querying parameters such as the maximum block length, minimum offset alignment, etc. Having that information available outside of the draw thread would make certain instancing techniques easier to implement." Mon, 29 Nov 2010 09:32:43 +0000 Author : Robert Osfield Removed deperecated variables that are no longer used. Fri, 26 Nov 2010 18:19:28 +0000 Author : Robert Osfield From Tomas Holgarth and Stephan Huber, " attached you'll find the second part of the IOS-submission. It contains* GraphicsWindowIOS, which supports external and "retina" displays, multisample-buffers (for IOS > 4.0) and multi-touch-events * an ios-specific implementation of the imageio-plugin * an iphone-viewer example * cMake support for creating a xcode-project * an updated ReadMe-file describing the necessary steps to get a working xcode-project-file from CMake Please credit Thomas Hogarth and Stephan Huber for these changes. This brings the ios-support in line with the git-fork on github. It needs some more testing and some more love, the cmake-process is still a little complicated. You'll need a special version of the freetype lib compiled for IOS, there's one bundled in the OpenFrameworks-distribution, which can be used." Notes, from Robert Osfield, modified CMakeLists.txt files so that the IOS specific paths are within IF(APPLE) blocks. Fri, 26 Nov 2010 17:37:42 +0000 Author : Robert Osfield From Katharina Plugge, fix for regression in handling of multitexturing. Fri, 26 Nov 2010 17:35:06 +0000 Author : Robert Osfield From Eduardo Poyart, OSG patch: made it read ancillary IndexedStrings into MultiSwitch Fri, 26 Nov 2010 17:32:10 +0000 Author : Robert Osfield Updated ChangeLog Fri, 26 Nov 2010 13:54:11 +0000 Author : Robert Osfield From Marin Platings and Robert Osfield, fix of Uniform unique ID by making osg::Object::setName() virtual. Fri, 26 Nov 2010 12:44:53 +0000 Author : Robert Osfield From Martin Beck, " recently we noticed a little mistake for 3DS files using instances of the same meshs: Every groupnode gets the same name instead of the (correct) instance name of the object. The fix only consists of two additional lines which check whether an instance_name is given for the object and then uses this one instead of the node name." Fri, 26 Nov 2010 12:23:56 +0000 Author : Robert Osfield From Fabien Lavignotte, "There was a small bug when using the new serializer with AnimationPath. The serializer assumes NO_LOOPING is the defaut for LoopMode, but in fact it is LOOP. The new serializer avoids to write default values in text mode, so the loop mode is not always correctly set." Fri, 26 Nov 2010 12:22:06 +0000 Author : Robert Osfield Removed debug messages Fri, 26 Nov 2010 10:31:34 +0000 Author : Robert Osfield From Magnus Kessler, "Typo in usage string of examples/osganalysisplease specifies -> please specify" Thu, 25 Nov 2010 16:06:04 +0000 Author : Robert Osfield From Thomas Hogarth and Stephan Huber, "attached you'll find part one of iphone-support. It includes* support for NPOT-textures on IOS * support for FBOs (only renderToTexture for now) on IOS (should work for other OpenGL ES 1/2 targets, too) * FileUtils-support for IOS" Thu, 25 Nov 2010 13:00:24 +0000 Author : Robert Osfield From Tim Moore, fix to stats timing Thu, 25 Nov 2010 12:30:38 +0000 Author : Robert Osfield From Michael Platings, To address performance bottleneck that occurs when using large number of uniforms introduced a name to uniqued ID scheme for Uniforms so comparisons can be done on a uint rather than a string. Thu, 25 Nov 2010 12:07:59 +0000 Author : Robert Osfield From Hartwig Wiesmann, "in the files Image, Observer and TerrainTechnique unused parameters exist resulting in a couple of compiler warnings (depending on the compiler settings though). The attached patches comment out the unused parameter names. " Thu, 25 Nov 2010 11:59:33 +0000 Author : Robert Osfield From Magnus Kessler, "applications/osgconv: fix typo in tool optionstransprent -> transparent" Thu, 25 Nov 2010 11:40:09 +0000 Author : Robert Osfield Removed default assignement of GeometryTechnique as the TerrainTechniquePrototype. Wed, 24 Nov 2010 20:26:08 +0000 Author : Robert Osfield From Wang Rui, "I'd like to provide a quick updates of the new tessellation shader serializers and dotosgwrappers. It includes reading/writing supports for the two new shader types and the GL_PATCHES enum. The setParameterfv() method is not wrapped at present because it is still not finished.Enum serialziers don't require back-compatibility checks if only add/remove enum items, so I'm not going to use the new UPDATE_TO_VERSION macro this time." Wed, 24 Nov 2010 20:20:57 +0000 Author : Robert Osfield From Jean-Sebastien Guay, build fixes for windows. Wed, 24 Nov 2010 17:01:09 +0000 Author : Robert Osfield Added workaround for AMD/ATI driver bug Wed, 24 Nov 2010 10:38:28 +0000 Author : Robert Osfield From Tim Moore, Fix for drivers that don't properly support timer extensions."" Wed, 24 Nov 2010 10:09:04 +0000 Author : Robert Osfield From Wojciech Lewandowski, "1: fix for a issue with MinimalShadowMap and LightSpacePerspectiveShadowMapVB techniques ignoring minLightMargin parameter. 2: minor tweak for a DebugHUD drawn improperly case when multiple slave views shared one window. It now uses slave view viewport to correctly position DebugHUD. 3: deactivated ConvexPolyhedron notifications (they were accidentaly activated when you replaced osg::notify calls with OSG_NOTIFY macro). These warnings are useful only for shadow map developer working on shadow volume optimizations. So there is no sense in having them active all the time." Tue, 23 Nov 2010 17:33:43 +0000 Author : Robert Osfield Moved TextNode from osgText into example/osgtext3D in prep for 3.0 Tue, 23 Nov 2010 14:50:31 +0000 Author : Robert Osfield From Holger Helmich, Tessellation shader support Tue, 23 Nov 2010 11:11:58 +0000 Author : Robert Osfield From David Callu, "Here a fix for pssm.Problem 1 : With GLSL, multi pass to apply each shadow map is not required. Problem 2 : GLSL code use "shadow2DProj" build-in function to look up in shadow texture. Projection is orthogonal so "shadow2D" build-in function is sufficient. Problem 3: Bad calcul in osgShadow::ParallelSplitShadowMap::calculateLightViewProjectionFormFrustum(..) provide some visual error in specific configuration. to reproduce pssm_bug.jpg, you need to add a light direction in osgshadow.cpp example (done in joint osgshadow.cpp file) then "osgshadow --noUpdate --pssm --maxFarDist 500 --minNearSplit 500 --mapcount 6 --debug-color model_test.3ds" As you can see in pssm_bug.jpg and pssm_fix.jpg, performance is really better when Problem 1 is fixed. " Mon, 22 Nov 2010 19:38:18 +0000 Author : Robert Osfield Build fixes for building OSG with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF Mon, 22 Nov 2010 19:18:00 +0000 Author : Robert Osfield Fixed typo Mon, 22 Nov 2010 17:39:43 +0000 Author : Robert Osfield From Michael Platings, "the attached cmake file recognises the latest version of the FBX SDK, and now works correctly on 64 bit Windows." Mon, 22 Nov 2010 17:37:35 +0000 Author : Robert Osfield From Michael Platings, "the build is broken if you have the OSG_REF_PTR_IMPLICIT_OUTPUT_CONVERSION turned off - the attached files fix this." Mon, 22 Nov 2010 17:30:44 +0000 Author : Robert Osfield From Stephan Huber, "attached you'll find a proposal for handling multi-touch-events with osgGA. My approach is to bundle all touchpoints into one custom data structure which is attached to an GUIEventAdapter.The current approach simulates a moving mouse for the first touch-point, so basic manipulators do work, sort of. I created a MultiTouchTrackballManipulator-class, one touch-point does rotate the view, two touch-points pan and zoom the view as known from the iphone or other similar multi-touch-devices. A double-tap (similar to a double-click) resets the manipulator to its home-position. The multi-touch-trackball-implementation is not the best, see it as a first starting point. (there's a demo-video at http://vimeo.com/15017377 )" Mon, 22 Nov 2010 15:52:20 +0000 Author : Robert Osfield Fixed indentation Mon, 22 Nov 2010 11:31:35 +0000 Author : Robert Osfield From Johan Nouvel, "I've attached ReaderWriterVRML2.h. It is the same as the previous one, I've just add supportsOption() calls." Mon, 22 Nov 2010 11:22:03 +0000 Author : Robert Osfield Fixed typo of commercial Mon, 22 Nov 2010 10:41:04 +0000 Author : Robert Osfield From Hartwig Wiesmann, fix to font search path under OSX. Mon, 22 Nov 2010 10:37:49 +0000 Author : Robert Osfield From Brad Christiansen, "Attached is a very small change to allow the Collada libs for VS 2010 to be found automatically." Fri, 19 Nov 2010 18:26:02 +0000 Author : Robert Osfield From Katherina Plugge, "if using multitexturing and converting osg files to OpenFlight texture coordinates get corrupted. The texture coordinates for slot 1 and following are not computed correctly (see thread http://forum.openscenegraph.org/viewtopic.php?t=6993).The attached files solve the problem. " Fri, 19 Nov 2010 18:07:17 +0000 Author : Robert Osfield From Sukender, fix for precision of Plane::asVec4() Fri, 19 Nov 2010 17:47:53 +0000 Author : Robert Osfield Commented out debug output Fri, 19 Nov 2010 17:47:30 +0000 Author : Robert Osfield Update SOVERSION Fri, 19 Nov 2010 09:57:56 +0000 Author : Robert Osfield Update Text wrappers to handle new Color member Fri, 19 Nov 2010 09:57:34 +0000 Author : Robert Osfield Updated SO version to reflect changes in API of osgText Thu, 18 Nov 2010 17:59:55 +0000 Author : Robert Osfield Moved text color into TextBase, added support for colour into Text3D Thu, 18 Nov 2010 17:18:31 +0000 Author : Robert Osfield Added resetting of the freetype size when getting Glyph3D glyph's as otherwise use of 2D and 3D Text would cause incorrect text sizing. Thu, 18 Nov 2010 12:03:06 +0000 Author : Robert Osfield Improved handling of pending orphaned texture objects and max texture pool size. Wed, 17 Nov 2010 14:06:26 +0000 Author : Robert Osfield From Jean-Sebastien Guay, Changed debug info in State::frameCompleted() to OSG_INFO Wed, 17 Nov 2010 10:19:25 +0000 Author : Robert Osfield Added texture pool handler to print out results from texture pool Wed, 17 Nov 2010 10:16:45 +0000 Author : Robert Osfield Added quite size test. Mon, 15 Nov 2010 17:21:30 +0000 Author : Robert Osfield From Sherman Wilcox, "added the following to the ADD_LIBRARY list -- ${OPENSCENEGRAPH_VERSIONINFO_RC}" Fri, 12 Nov 2010 11:04:53 +0000 Author : Robert Osfield Fixed warnings Fri, 12 Nov 2010 09:48:21 +0000 Author : Robert Osfield Fixed crash on intialization of static applications by moving the static mutexes inside singleton methods. Thu, 11 Nov 2010 16:51:46 +0000 Author : Robert Osfield Moved finding of RSVG, Poppler-glib and GtkGl out into their own Find*.cmake modules to enable easier specialization. Thu, 11 Nov 2010 11:47:24 +0000 Author : Robert Osfield From Wang Rui, "I've finally completed the static build support for dotosg wrapper and serialization libraries. My submission mainly includes: 1. Add two new macros USE_DOTOSGWRAPPER_LIBRARY and USE_SERIALIZER_WRAPPER_LIBRARY. Applications using static OSG must include corresponding static-link libraries and use these two macros to predefine native format wrappers. Please see osgstaticviewer and present3D in the attachment for details.2. Add a LibraryWrapper.cpp file in each osgWrappers/deprecated-dotosg/... and osgWrappers/serializers/... subfolder, which calls all USE_...WRAPPERS macros inside. The LibraryWrapper file is automatically generated by the wrapper_includer.cpp (with some slight fixes), which is also attached for your reference. The deprecated-dotosg/osgAnimation is not included because it doesn't us REGISTER_DOTOSGWRAPPER to define its wrappers. 3. Modify the ReaderWriterOSG.cpp to prevent calling loadWrappers() when static build. 4. An uncorrelated fix to Serializer and ObjectWrapper.cpp, which ensures version variables of serialziers are initialized, and serializers out-of-version are not written to model files. " Thu, 11 Nov 2010 10:53:23 +0000 Author : Robert Osfield From Wang Rui, "The latest modification of osg/State uses the GLuint64EXT type, which belongs to GL_EXT_timer_query and should be decalared to avoid compiling errors if the extension is not supported. I've attached this small fix." Thu, 11 Nov 2010 10:42:41 +0000 Author : Robert Osfield From Mark Sciabica, "It's not Windows API calls that are causing the problem. It's a new templated constructor of std::pair not being able to automatically convert 0 to a pointer. Rather than use preprocessor checks and #defines, I think a cleaner solution is to cast the std::pair arguments to the appropriate types to help the compiler out. I attached an updated version of the file implementing this." Wed, 10 Nov 2010 16:58:58 +0000 Author : Robert Osfield From Tim More and Robert Osfield, implementation of ARB_timer_query based GPU timing stats syncronization.Initial email from Tim : "I've implemented using a timestamp, available with ARB_timer_query and OpenGL 3.3, to gather GPU stats. This is nice because it can accurately fix the GPU draw time with respect to the other times on the stats graph, rather than having to estimate the wall time of the end of GPU drawing. This also prevents anomalies like the GPU phase starting before the draw phase..." Changes to Tim's submission by Robert: Removal of need for swap buffer callback in ViewerBase.cpp, by integrating a osg::State::frameCompleted() method that does the stats timing collection. Introduction of a GraphicsContext::swapBuffersCallbackOrImplementation() method that calls the State::frameCompleted() and the swap buffers callback or the swapImplementation as required. Wed, 10 Nov 2010 12:50:06 +0000 Author : Robert Osfield From Mourad Boufarguine, "This is a small fix to osg::createGeodeForImage to adapt Tex coords to image origin." Tue, 9 Nov 2010 17:17:13 +0000 Author : Robert Osfield Added traversal of salve camera subgraphs when the slave camera doesn't share it's scene graph wiht the View's master scene graph. Tue, 9 Nov 2010 15:48:46 +0000 Author : Robert Osfield From Wang Rui with small tweak from Robert Osfield, fix of memory leak in gif plugin when using GifImageStream Tue, 9 Nov 2010 14:57:20 +0000 Author : Robert Osfield From Wang Rui, "I'm now testing static building of OSG and found a possible bug in the present3D application. As static-link present3d should depend on freetype, png, pdf and some other plugins, any mis-compiling of these plugins will make present3d fail to be built. Some lirbaries like poppler and cairo are not popular under Windows, so it is very common that we don't have osgdb_pdf compiled and thus get errors when building present3d. I've modified the CMakeLists and present3d.cpp to avoid this problem." Tue, 9 Nov 2010 14:39:32 +0000 Author : Robert Osfield From Sukender, "As discussed in osg-users, I found output directories with CMake >= 2.8.1 are wrong under MSVC (As Chuck said, it's to be related to CMake, and not MSVC).But I also found rev. 11354 (from Wang Rui) added a change in OsgMacroUtils which adresses a similar issue: Wang told the "../../bin" prefix wasn't working. However I think the fix isn't correct because it checks the MSVC version instead of the CMake version. Here is my fix, against latest trunk (root CMakeLists.txt, and CMakeModules/OsgMacroUtils.cmake). Tests I made: | Unix Makefiles | MSVC 9 | MSVC 10 x64 --------------------------------------------------- CMake 2.4 | | OK | N/A CMake 2.6.4 | | OK | N/A CMake 2.8.0 | | OK | broken support? CMake 2.8.2 | | OK | OK " Tue, 9 Nov 2010 13:23:43 +0000 Author : Robert Osfield Refactored the versioning of serializers so it now uses a _firstVersion and _lastVersion make it possible to specify what range of versions support each serializer. Tue, 9 Nov 2010 12:41:55 +0000 Author : Robert Osfield From Wang Rui, "I'd like to submit my latest modification of the serialization IO functionalities. It includes two main parts: a version checking macro for handling backward-compatiblity since 3.0, and enhencement of current schema mechanism. I also change the option handling process to use getPluginStringData(), and add new USE_SERIALIZER_WRAPPER macro in the Registry header to allow for static-link usage as well.The enhencement of schema machanism just tells the type of each serializer while outputting them, such as: osg::Group = Children:1 The meaning of the number can be found in the osgDB/Serializer header, BaseSerializer::Type enum. It may help 3rdparty utilities understand the structure of the wrapper and do some reflection work in the future. The new macro UPDATE_TO_VERSION can help indicate the InputStream (no affect on the writer) that a serializer is added/removed since certain OSG version. An example wrapper file is also attached. The Geode_modified.cpp is based on the serializers/osg/Geode.cpp file (hey, don't merge it :-), but assumes that a new user serializer 'Test' is added since version 65 (that is, the OSG_SOVERSION): REGISTER_OBJECT_WRAPPER( Geode, ... ) { ADD_USER_SERIALIZER( Drawables ); // origin ones UPDATE_TO_VERSION( 65 ) { ADD_USER_SERIALIZER( Test ); // a serializer added from version 65 } } All kinds of ADD_... macros following UPDATE_TO_VERSION will automatically apply the updated version. The braces here are only for typesetting! While reading an osgt/osgb/osgx file, OSG will now check if the file version (recorded as the writer's soversion, instead of previous meaningless "#Version 2") is equal or greater than Test's version, and try reading it, or just ignore it if file version is lesser. And we also have the REMOVE_SERIALIZER macro will mark a named serializer as removed in some version, with which all files generated by further versions will just ignore it: UPDATE_TO_VERSION( 70 ) { REMOVE_SERIALIZER( Test ); } This means that from version 70, the serializer Test is removed (but not actually erased from the list) and should not be read anymore. If the read file version is less than 70 (and equal or greater than 65), Test will still be handled when reading; otherwise it will be ignored to keep compatiblity on different OSG versions. " Mon, 8 Nov 2010 15:49:30 +0000 Author : Robert Osfield From Johan Nouvel, "Some times ago, I have coded an osg to vrml2 writer. Today, I have updated our writer to osg 2.9.9. As it works (for our needs at least) I've done and attached a tar.gz file for the VRML2 plugin with a new part to write a VRML2 file from an osg one.The read part is the same as in osg 2.9.9. The write part code is in convertToVRML.cpp and .h files. It works for some osg nodes (group, geode, matrixTransform, positionAttitudeTransform and geometry). Textures are converted to jpeg (if not translucent) or png (if translucent). There are some options that could be given to the writer (with -O switch) : convertTextures=0 to copy textures without converting them to jpeg or png convertTextures=-1 do not copy textures, keep them in their original format and location convertTextures=-2 do not use textures, parse only geometry convertTextures=-3 (default) convert textures to jpeg or png ones. textureUnit=X in case of multiple textures, X= texture unit to use (default value=0) directoryTexture=aPath when texture will be copied, it will be in this directory, not in the current one." Mon, 8 Nov 2010 12:28:31 +0000 Author : Robert Osfield From Jean-Sebastien Guay, "As promised, here is the fix for the background size. I also added another instance variable _lineHeight to clean up the code a bit more.Also I've done the osguserstats example. I've kept the "toy example" that was in the modified osgviewer.cpp I had sent you, because they show different uses of custom stats lines (a value displayed directly, a value without bars and a value with bars and graph). I also added a function and a thread that will sleep for a given number of milliseconds and record this time in the stats. I think it clearly shows how to record the time some processing takes and add that to the stats graph, whether the processing takes place on the same thread as the viewer or on another thread. BTW, feel free to modify the colors I've given to each user stats line... I'm not very artistic. :-) I've also added more doc comments to the addUserStats() method in ViewerEventHandlers, so hopefully the arguments are clear and the way to get the results you want is also clear. Maybe I went overboard, but the function makes some assumptions that may not be obvious and has many arguments, so I preferred to be explicit." Fri, 5 Nov 2010 17:31:25 +0000 Author : Robert Osfield From David Fries and Robert Osfield, fix for handling remote GLX server that declares GL 3.0 support but doesn't actually implement it correctly. Fri, 5 Nov 2010 17:24:50 +0000 Author : Robert Osfield From Javier Taibo, "ere is the new code with Billboard "rotate around axis" functionality. A new AutoRotateMode was added. I named it ROTATE_TO_AXIS to be consistent with the other AutoRotateModes, even though it changes from how is called in Billboard (AXIAL_ROT). Setters and getters for rotation axis and normal were also added to the AutoTransform class interface. The implementation is mainly a copy-paste from Billboard code. " Fri, 5 Nov 2010 17:09:58 +0000 Author : Robert Osfield From Alexander Irion, "Please find another bugfix for the ReaderWriterGZ. This time, the writing did not work for me - the created output file could not be deflated by zip. " Fri, 5 Nov 2010 17:07:17 +0000 Author : Robert Osfield From Ulrich Hertlein, "attached is a tiny cleanup for ReaderWriterFFmpeg that provides more accurate descriptions for some extensions and also adds 'm2ts' for MPEG-2 transport streams. " Fri, 5 Nov 2010 17:04:08 +0000 Author : Robert Osfield From Sukender, "1. More handled cases in MergeGeometryVisitor - Algorithm doesn't try to merge double and single precision arrays together - Algorithm doesn't try to merge incompatible geometries (ex: one with "vertices + texoords", and another with only vertices)2. Better TextureAtlasBuilder Algorithm is still sub-optimal, but it now tries to fill more blanks, using "unused space in the current line". (Don't know if I already submitted it, but I guess not) One day, someone should try to find a good solution to this NP-problem... For instance : http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.140.200&rep=rep1&type=pdf " Fri, 5 Nov 2010 11:21:55 +0000 Author : Robert Osfield From Peter Bear, "Attached is a fix for the detection of GDAL 1.7.0. The previous CMake file only supported up to 1.6, this fix supports 1.7." Fri, 5 Nov 2010 10:29:18 +0000 Author : Robert Osfield From Alaxandre Irion, "Trying to load the attached texture file "texture.dds.gz" fails and causes the following warning on the console:ReadDDSFile warning: couldn't read mipmapData The issue is caused, when the last block of data is read from the file (less than chunk size of 16384 bytes). The read operation in ReaderWriterGZ::read() then sets the eof and fail bit in the stream and the lines if (fin.fail()) { (void)inflateEnd(&strm); return false; } causes the reading to be aborted with the last read data not beeing inflated. Please find the attached fix for this problem." Fri, 5 Nov 2010 09:12:28 +0000 Author : Robert Osfield From Wang Rui, "Attached is a fix to the latest PVR plugin to make it compile under MSVC. I've added definition to uint_32 and replaced std::max() with osg::maximum(), because it is not supported by some VisualStudio versions." Thu, 4 Nov 2010 17:53:58 +0000 Author : Robert Osfield From Fabien Lavingotte and Robert Osfield, Fixed handling of texture pool size when TextureObject::setAllocate(..) is called. Thu, 4 Nov 2010 15:24:00 +0000 Author : Robert Osfield From Jan Klimke, "I did recently some work understanding the osgAnimation classes. Here the osganimationsolid example seems not to be very helpful at the moment. There are basically no comments in it and additionally there is a second animation defined which was simply not working (wrong channel type for angle animation). I added some comments and fixed the example to contain 2 working animations by now. I think this could help others who are trying to understand the osgAnimation plugin. " Thu, 4 Nov 2010 13:53:31 +0000 Author : Robert Osfield From Jason Beverage, "Here is a small change to the DirectShow plugin to support finding the video and sound pins by type rather than searching for them by name since the names of the pins can change based on what kind of file you are opening. This also removes the need for an explicit check to see if the file is a .wmv file.Also changes to the directshow plugin's CMakeLists.txt. It is not necessary to link against d3dx9 to build the plugin. " Thu, 4 Nov 2010 11:39:47 +0000 Author : Robert Osfield From Sukender, "I replaced std::min() with osg::minimum() in RandomRateCounter, to avoid including the STL header (Or else it doesn't compile under MSVC 10)." Thu, 4 Nov 2010 11:05:47 +0000 Author : Robert Osfield From David Callu, fix in FrameBufferObject when using Texture2Darray and GeometryShader. Thu, 4 Nov 2010 11:02:37 +0000 Author : Robert Osfield From Per Fahlberg, "I have added support for PowerVR texture compression. osg::Texture and osg::Image have been modified to support the texture formats and I have added a plugin to load pvr files. All modified files are in the attached zip. " Wed, 3 Nov 2010 10:37:32 +0000 Author : Robert Osfield From Wang Rui, "additional FFmpegParameters class in the ffmpeg plugin for setting parameters before opening the video file, which benefits from getPluginStringData() as shown in the ReaderWriter implementation.Now we can use ffmpeg to render webcam video (using the vfwcap device) under Windows: osgmovie 0 -e ffmpeg -O "format=vfwcap frame_rate=25" The number 0 just indicates a default device number in ffmpeg. I think this can work under Linux, too, and should be a bit better than comparing the filename with a '/dev/' string. Just type: ./osgmovie /dev/yourcam -e ffmpeg -O "format=video4linux2 frame_rate=30 size=320x240"" Wed, 3 Nov 2010 10:37:02 +0000 Author : Robert Osfield From Wang Rui, "a new parsePluginStringData() method in the osgDB::Options class which will be automatically executed to parse option string to the string data map" Wed, 3 Nov 2010 10:04:34 +0000 Author : Robert Osfield From Jean-Sebastien Guay, "For a long time now I've wanted to be able to add custom values into the stats handler's graph. Here is my proposal of how I'd do this. It's surely not perfect and I'm open to suggestions, but I've already made more changes than I wanted to in order to be able to implement this...The user calls statsHandler->addUserStatsLine() providing: - the label they want for that line in the graph - the text and bar colors they want in the graph - the stats names they want queried (one for time taken, one for begin and one for end time) and a few settings for how these will be displayed. Then all they have to do is call viewer->getViewerStats()->setAttribute(framenumber, name, value) for their three attributes each frame and they'll have their stats in the graph. They can also give only a time taken attribute (or some other numerical value they want printed, which can be averaged or not), or only begin+end attributes, and the graph will accordingly display only the (average or not) numerical value or only the bars. Along the way I cleaned up the existing code a bit: * Each time the setUpScene() or createCameraTimeStats() methods added a line to the graph, they did pretty much the same thing, so I moved that into a separate method called createTimeStatsLine() which is called by setUpScene() and createCameraTimeStats(). * I moved the font, characterSize, startBlocks and leftPos variables to member variables, since they were being passed around everywhere but were set only once at the beginning. * The geode on which stats lines are added is also kept in a member variable, and createCameraTimeStats() adds the per-camera lines to this geode instead of returning a new Group with a new Geode. This further reduces the number of variables the createCameraTimeStats() method needs as input. " Wed, 3 Nov 2010 09:51:12 +0000 Author : Robert Osfield From Jean-Sebastien Guay, "For a while now I've been bugged (pun) by a problem in the stats graph I submitted a long time ago. When it scrolled, sometimes it would scroll too little, leading to an empty space at the left that would grow as time went by. I was in that code today for something else so I fixed it. " Wed, 3 Nov 2010 09:28:28 +0000 Author : Robert Osfield From David Fries, "Fix remote X11 crash querying GL_NUM_EXTENSIONSIn osg::isGLExtensionOrVersionSupported in src/osg/GLExtensions.cpp when using indirect X11 rendering, glGetIntegerv( GL_NUM_EXTENSIONS, &numExt ); is leaving numExt uninitilized causing the following glGetStringi to return NULL when the extension number isn't present. Passing NULL to std::string() then crashes. This is with the following nVidia driver. OpenGL version string: 3.3.0 NVIDIA 256.35 I went ahead and initialized some of the other variables before glGetInitegerv in other files as well. I don't know for sure which ones can fail, so I don't know which are strictly required. " Tue, 2 Nov 2010 14:00:50 +0000 Author : Robert Osfield From Chuck Seberino, "Here is a minor fix for the vrml plugin when building with Visual Studio 2010. 2010 has updated STL/TR1 libraries that create a naming conflict with the current source. The fix is to remove the 'using boost::next' line and use the fully-qualified boost::next to get rid of the ambiguity. Here is the patch and attached changes." Tue, 2 Nov 2010 12:15:18 +0000 Author : Robert Osfield From Brad Christiansen and Robert Osfield, "I have added the new function as suggested. The change was made against trunk from an hour or so ago. I haven't tested the performance yet (and probably won't get a chance till next week) but I have checked my terrains still work. I defaulted the equalization to off as I thought this was best until we can look into why there is the performance hit. ", note from Robert, tweaked the names and enabled the code path. Tue, 2 Nov 2010 11:44:20 +0000 Author : Robert Osfield From Mikhail Izmestev, "There is bug in GLBufferObject::compileBuffer when changed not first buffer entry, then generated new wrong offset. " Tue, 2 Nov 2010 11:27:38 +0000 Author : Robert Osfield Fixed function name Tue, 2 Nov 2010 11:19:17 +0000 Author : Robert Osfield From Javier Taibo, " In current SVN code, when exporting an osgParticle::Particle object to the .osg file format, it crashes if no drawable was set in the particle. In the attached file (src/osgWrappers/deprecated-dotosg/osgParticle/IO_Particle.cpp) I have added a check for the existence of the drawable before writing it to the file. " Mon, 1 Nov 2010 17:19:39 +0000 Author : Robert Osfield From John Ivar Haugland & Robert Osfield, fix for bug in VisualStudio where it adds an redundent '/n' on the end of the command line arguments for no reason. Mon, 1 Nov 2010 17:05:53 +0000 Author : Robert Osfield From Alexander Irion, "When a osg::Geometry node is loaded from a ".osgb" file, there is no element buffer object created for the primitives element indices, although _useVertexBufferObjects is enabled. This bug decreases the rendering performance." Mon, 1 Nov 2010 17:02:48 +0000 Author : Robert Osfield From Sukender, fix for incorrect for loop test. Mon, 1 Nov 2010 13:57:44 +0000 Author : Robert Osfield From Jan Peciva, "attaching Matrix_implementation fix for two problems:- using m.getPerspective( fovy, tmp, tmp, tmp ) to get only FOV does not work. The reason is that getPerspective is taking tmp as reference - thus all the three variables points to the same memory location. Then, zNear (third parameter) is used inside the method, while zNear content was spoiled by zFar that was written to the same place, resulting in fovy set to nan. I consider that it is the right of programmers to use 3 times tmp as parameter and I fixed the code in the method. I have done the same for getFrustum and getLookAt. - I fixed makeFrustum to accept infinite zFar. (Some graphics techniques like shadow volumes require placing zFar to infinity to avoid visual artifacts.)" Note from Robert Osfield, change the local near & far variable names to temp_near and temp_far MS Visual Studio has a record of using near and far names. Mon, 1 Nov 2010 11:06:12 +0000 Author : Robert Osfield From Jean-Sebastien Guay, osgDB functions to expand wildcards - required to aid windows consule usage as this doesn't not automatically expand * usage. Mon, 1 Nov 2010 10:52:20 +0000 Author : Robert Osfield From Jean-Sebastien Guay and Robert Osfield, cleaned up the way that unix/windows file separators are managed. Mon, 1 Nov 2010 10:31:30 +0000 Author : Robert Osfield From Mathias Goldau, "Added very brief documentation when to use the triangle mesh class. I generated the make doc_openscenegraph target to verify that this change does not break something. " Fri, 29 Oct 2010 15:18:34 +0000 Author : Robert Osfield From Mikhail Izmestev, "I have discovered problem with draggers from osgManipulator in HUD.This problem caused because osgManipulator::Dragger uses matrices of top camera instead last absolute Camera in NodePath. I attached modified osgManipulator/Dragger.cpp file, where added code for finding last absolute camera. With this changes draggers works in HUD. Example for demonstrate this problem you can find in osg-users list [1]. Mikhail. [1] http://thread.gmane.org/gmane.comp.graphics.openscenegraph.user/62636 " Fri, 29 Oct 2010 09:56:09 +0000 Author : Robert Osfield From Sherman Wilcox, "there's a bug in the cmake file for the tiff plugin. See attached. The problem was that the output files were not properly setting the debug/release libs due to this cmake bug. What occurred was the release lib was set in all configurations." Fri, 29 Oct 2010 09:35:54 +0000 Author : Robert Osfield Fri, 29 Oct 2010 08:33:10 +0000 Author : Robert Osfield Added X11_X11_LIB to LIB_EXTRA_LIBS when build X11 version of osgViewer to enable use of Mesa's GLES/EGL implementation Fri, 29 Oct 2010 08:31:54 +0000 Author : Robert Osfield Fixed warning Thu, 28 Oct 2010 15:52:52 +0000 Author : Robert Osfield Commented out unused ElapsedTimer Thu, 28 Oct 2010 14:04:57 +0000 Author : Robert Osfield Added use ObjectWrapper's FinishObjectReadCallback to fix VertexBufferObject handling in osg::Geometry and a call to the TileLoaded callback in osgTerrain. Thu, 28 Oct 2010 14:04:07 +0000 Author : Robert Osfield Added FinishedObjectReadCallback to ObjectWrapper which allows wrappers to register their own handling of post processing of objects once they have been read. Thu, 28 Oct 2010 14:01:47 +0000 Author : Robert Osfield Added handling of vertex buffer objects into osg::Geometry copy constructor. Thu, 28 Oct 2010 14:01:10 +0000 Author : Robert Osfield Improved code style consistency Thu, 28 Oct 2010 14:00:25 +0000 Author : Robert Osfield Quitened down debug messages Wed, 27 Oct 2010 13:49:16 +0000 Author : Robert Osfield Fixed getEnableDepthWrites() naming. Tue, 26 Oct 2010 14:59:12 +0000 Author : Robert Osfield Added command line options:--tristripper --no-tristripper --smoother --no-smoother --remove-duplicate-vertices / --rdv --optimize-vertex-cache / --ovc --optimize-vertex-order / --ovo Mon, 25 Oct 2010 13:42:01 +0000 Author : Robert Osfield Added number of primitive sets to on screen stats Sat, 23 Oct 2010 09:51:11 +0000 Author : Robert Osfield Added -o postfile option to allow the output of processed filesDisabled tri-stripping when simplifing to fix performance issue that introduces. Fri, 22 Oct 2010 16:44:52 +0000 Author : Robert Osfield Added StateSetManipulator usage Fri, 22 Oct 2010 16:35:28 +0000 Author : Robert Osfield Added support for enable VBO's and doing simplification. Fri, 22 Oct 2010 12:28:50 +0000 Author : Robert Osfield Cleaned up main loop, so it's more readable, seperating out the paging and non paging implementations Fri, 22 Oct 2010 12:19:22 +0000 Author : Robert Osfield Added paging support to osganalysis example Thu, 21 Oct 2010 16:29:23 +0000 Author : Robert Osfield Integrated IncementalCompileOperation into DatabasePager.Improved various facilities in IncrementalCompileOperation. Thu, 21 Oct 2010 16:28:23 +0000 Author : Robert Osfield Added new osganalysis example as a testbed for profiling peformance of various aspects of OSG/OpenGL and scene graphs. Thu, 14 Oct 2010 18:16:03 +0000 Author : Robert Osfield Introduction of IncrementalCompileOperation support to DatabasePager. Thu, 14 Oct 2010 13:35:36 +0000 Author : Robert Osfield Introduced SubloadCallback::generatdTextureObject() method. Thu, 14 Oct 2010 12:20:51 +0000 Author : Robert Osfield From Wang Rui, warning fix. Thu, 14 Oct 2010 11:10:16 +0000 Author : Robert Osfield From Brad Christiansen, fix function entry points under Windows to address crash Thu, 14 Oct 2010 09:31:09 +0000 Author : Robert Osfield From Wang Rui, QT based OpenThreads implementation Wed, 13 Oct 2010 15:03:02 +0000 Author : Robert Osfield Added support for using a custom osg::Geometry that attempts to force the OpenGL driver to download the texture object to graphics card.Calling IncrementalCompileOperation::assignForceTextureDownloadGeometry() assigns a geometry to the job. Sat, 9 Oct 2010 11:51:24 +0000 Author : Robert Osfield Changed the _ARB cube map defines to non ARB versions. Sat, 9 Oct 2010 11:27:45 +0000 Author : Robert Osfield Removed redudent set up of GL_ cubemap defines as these are now also in include/osg/Texture Fri, 8 Oct 2010 18:53:16 +0000 Author : Robert Osfield Tempory fix for regression due to remove of glPushAttrib/glPopAttrib Fri, 8 Oct 2010 18:13:10 +0000 Author : Robert Osfield Disabled the build of Qt examples when building against GLES1 & 2 as Qt GL includes OpenGL headers itself that cause conflict. Fri, 8 Oct 2010 17:13:59 +0000 Author : Robert Osfield Build fixes for GLES1, GLES2 and GL3 Fri, 8 Oct 2010 11:20:56 +0000 Author : Robert Osfield Refactored the Texture3D extension setup in osg::Texture3D and gluBuild3DMipmaps and gluBuild3DMipmapLevels. Thu, 7 Oct 2010 11:53:28 +0000 Author : Robert Osfield Introduced osg namespace to new local GLU functions Thu, 7 Oct 2010 10:51:22 +0000 Author : Robert Osfield Introduced new gluScaleImage function that uses a PixelStorageModes structure to pass in details on image packing, rather than relying upon glGet's to get the values. Wed, 6 Oct 2010 19:09:48 +0000 Author : Robert Osfield Added #define GL_PROXY_TEXTURE_3D Wed, 6 Oct 2010 18:51:53 +0000 Author : Robert Osfield Fixed warning Wed, 6 Oct 2010 18:37:43 +0000 Author : Robert Osfield Changed tabs to 8 spaces Wed, 6 Oct 2010 18:34:36 +0000 Author : Robert Osfield From Jean-Sebastien Guay and Robert Osfield, build fix for Windows Wed, 6 Oct 2010 18:29:23 +0000 Author : Robert Osfield Added #define for Windows build Wed, 6 Oct 2010 17:19:01 +0000 Author : Robert Osfield Added #define GLAPIENTRY to attempt to resolve some Windows build issues Wed, 6 Oct 2010 16:36:30 +0000 Author : Robert Osfield Added #define's and local include to fix Windows GL 1.1 build against Wed, 6 Oct 2010 16:29:16 +0000 Author : Robert Osfield From Jean-Sebasien Guay, fix windows compile error Wed, 6 Oct 2010 15:33:43 +0000 Author : Robert Osfield Removed gluois.h reference Wed, 6 Oct 2010 15:14:01 +0000 Author : Robert Osfield Removed usage gluos.h and redundent gluint.h Wed, 6 Oct 2010 14:44:52 +0000 Author : Robert Osfield Copied libutil and libtess implementations in form Mesa 7.9/src/glu into the src/osg/glu, changed extensions from .c to .cpp and got compiling as C files as part of the osg core library.Updated and cleaned up the rest of the OSG to use the new internal GLU. Mon, 4 Oct 2010 15:23:19 +0000 Author : Robert Osfield Improved the handling of matrices in serialization so that it's more reliable, change was to use doubles for reading and writing matrices regardless of type of Matrix being serialized.Change does break backwards compatibility though, so code path supporting original format has been left in for the time being. However, this code is not reliable enough and is over complicated compared to the simplified handling. Once the new code has been bedded down for a while I'll remove this code block. Mon, 4 Oct 2010 11:29:39 +0000 Author : Robert Osfield From Stephan Huber, "just a follow-up: I looked at the code of osg/Referenced.cpp and notice a discrepancy in getOrCreateObserverSet. For the atomic- and mutex-codepaths the newly created observerset gets manually ref'ed, but not in the codepath used when OPENTHREADS_ATOMIC_USE_MUTEX is defined. I added the manual ref and tadaaa, the crash went away." Mon, 4 Oct 2010 11:24:54 +0000 Author : Robert Osfield Added glMultMatrixf path for GLES1 Mon, 4 Oct 2010 11:19:41 +0000 Author : Robert Osfield Added checks for NULL images to prevent crashes when no valid images are created Fri, 1 Oct 2010 18:02:24 +0000 Author : Robert Osfield From Wojciech Lewandowski, "As promised I prepared a patch to expose WGL_SWAP_METHOD / PFD_SWAP_METHOD selection via GraphicsContext::Traits. Since Traits don't define any enums (I guess to be simple to use) I tried to keep it that way and have added two boolean values: swapCopy & swapExchange. It is somewhat similar approach to GDI PixelFormatDescription were both options can be present together. Feel free to replace it with enum if you find it more appropriate.I also uderstand that there is a need to select system wide default method and have also modified DisplaySettings to contain swapMethod parameter. Swap method in Traits uses value set in DisplaySettings as default. Proper environment and command line args were added. Its possible to define default DeisplaySettings swap method in standard way via system flags or with comand line. Env Vars: OSG_SWAP_METHOD = DEFAULT | COPY | EXCHANGE or Command Line: --swap-method DEFAULT | COPY | EXCHANGE I also added handling of WM_ERASEBKGND in GraphicsWindowWin32. It may be unneccessary but code should be safer this way than without handling it. I have placed a comment explaining the reason above the change. Changes were made against today trunk. PS. I tested only Windows code. I briefly checked X11 & Cocoa files but have not noticed SwapMethod to be used there. " Fri, 1 Oct 2010 17:07:27 +0000 Author : Robert Osfield Fri, 1 Oct 2010 15:58:49 +0000 Author : Robert Osfield From Magnes Kessler, "Attached are some fixes for the environment variable help strings in DisplaySettings. They contain spelling fixes and an attempt to use consistent expressions throughout." Fri, 1 Oct 2010 15:37:35 +0000 Author : Robert Osfield From Wojciech Lewandowski,"These are our changes to DatabasePager. To check if parent PLOD is registered, I resurrected PagedLODList::containsPagedLOD() method. This method was available some time ago, but got removed and was not currently present in trunk. To add this method I had to also modify the DatabasePager header. " Thu, 30 Sep 2010 16:57:02 +0000 Author : Robert Osfield From Magnus Kessler, "After a closer look at this particular issue, I used some grep and sed magic to fix all occurrences of "macro's" and "paramter". " Thu, 30 Sep 2010 16:31:22 +0000 Author : Robert Osfield From Craig Bosma, "Attached is an updated Image.cpp that fixes a very specific compatability regression that was introduced almost 2 years ago in r8834. The IVE version number was bumped to 32 because of the change in binary layout, but the guard for reading/writing the new field was checked against 31. Of course this only causes a problem (as for us) when you've produced IVE files at version 31, which no longer load (or crash) when loaded by newer OSG/IVE versions." Thu, 30 Sep 2010 16:03:04 +0000 Author : Robert Osfield From Chuck Seberino, "Here is a small optimization in osgDB/Serializer that only uses a single accessor call when retrieving serializable values during writing. This is a sizable win for some of my code since the getter() methods are non-trivial. I also removed some explicit namespace qualifiers to be consistent with the rest of the codebase." Thu, 30 Sep 2010 14:25:27 +0000 Author : Robert Osfield From WojciechLewandowski, Added DispaySettings::SwapMethod and support for it in GraphicsContext::Traits Thu, 30 Sep 2010 09:40:48 +0000 Author : Robert Osfield From Stephan Huber, fixed build under OSX 10.5. Thu, 30 Sep 2010 09:34:41 +0000 Author : Robert Osfield From Wang Rui, "I've fixed the problem that osgx format doesn't read the Font property and wrapped string correctly. The first problem happened because the matchString() made a mistake in comparing two strings with the same start but different size. The second just needs complete rewriting of writeWrappedString() and readWrappedString() in src/osgPlugins/osg/XmlStreamOperator.hI also fixed a possible bug in osgDB::XmlParser that doesn't handle control characters (like " to ") when reading node attributes, because the writeWrappedString() and readWrappedString() now depend heavily on control characters. An additional improvement is that osgx now supports comments." Wed, 29 Sep 2010 13:21:34 +0000 Author : Robert Osfield Fixed Text3D's handling of character aspect ratio. Wed, 29 Sep 2010 12:45:35 +0000 Author : Robert Osfield Moved handling of character aspect ratio into osgText::Style. Wed, 29 Sep 2010 12:38:56 +0000 Author : Robert Osfield Added command line option for writing out the scene graph to file. Wed, 29 Sep 2010 11:34:55 +0000 Author : Robert Osfield Moved set/getFont from Text/Text3D into TextBase Wed, 29 Sep 2010 11:09:32 +0000 Author : Robert Osfield Removed getScale() parameter from osgText::Font Wed, 29 Sep 2010 10:54:53 +0000 Author : Robert Osfield Fixed type of numberical constant Mon, 27 Sep 2010 17:11:12 +0000 Author : Robert Osfield Moved Text3D across to using Style for character thickness. Quitened down debug messages in 3D text geometry creation. Improved the Text3D implementation of the new 3D text geometry. Mon, 27 Sep 2010 16:18:20 +0000 Author : Robert Osfield Added support for osgText::Style into osgText::Text3D. Refactored Text3D implementation to use new GlyphGeometry class. Implemented GlyphGeometry backend and cleaned up Glyph3D interface. Mon, 27 Sep 2010 09:58:07 +0000 Author : Robert Osfield Changed the reading of animation paths so that it's always done without using the osgDB object cache. This fixes a bug of reusing the animination path in an P3D file. Sun, 26 Sep 2010 11:02:03 +0000 Author : Robert Osfield Added include to fix compile error Fri, 24 Sep 2010 14:53:10 +0000 Author : Robert Osfield From Alexander Wiebel, "I did some spell checking in my spare time. Here come 20 files." Fri, 24 Sep 2010 14:40:56 +0000 Author : Robert Osfield From Jean-Sebastien Guay, "Changeset 10833 renames discardAllDeletedGLObjects() to discardAllGLObjects() in src/osg/GLObjects.cpp, but the declaration of the function in include/osg/GLObjects remained. So an app using an old version of OSG that called this function would now fail with a linker error instead of a compile error as it should.Removed the declaration. Also fixed a small typo in the following doxygen comment." Fri, 24 Sep 2010 14:38:01 +0000 Author : Robert Osfield From Mikhail Izmestev, "This patch fixes operator >> used with std::istream without std::ios::skipws flag. This allow using boost::lexical_cast with osg vectors types, because boost's lexical_cast disable std::ios::skipws flag of std::istream before using operator >>. " Fri, 24 Sep 2010 12:59:37 +0000 Author : Robert Osfield From Eric Wing, QTKit plugin for reading movies under OSX using QTKit + CoreVideo Fri, 24 Sep 2010 12:57:55 +0000 Author : Robert Osfield Moved Style and Bevel classes out into their own include/osgText/Style header.Introduced GlyphGeometry class for handling the geometry data for rendering 3D text Thu, 23 Sep 2010 16:12:05 +0000 Author : Robert Osfield Refactored the handling of readImage/writeImage/readObject/writeObject to avoid double setting of unique ID's, fixing the problem in reading/writing files with images Wed, 22 Sep 2010 09:50:07 +0000 Author : Robert Osfield Added deprecated notices. Tue, 21 Sep 2010 11:40:50 +0000 Author : Robert Osfield Updated ChangeLog and AUTHORS file for release Tue, 21 Sep 2010 10:28:50 +0000 Author : Robert Osfield From David Guthrie, "The cocoa version of the window for Mac OS X doesn't implement the requestWarpPointer function, but it turns out that the code from the Carbon version of the window is the same because it uses the windowing interface, so it this version, based on 2.8.3 GraphicsWindowCocoa, I copied the function over. The trunk version it also missing the function and the code looks to be very similar, so I assume it will transfer simply enough. " Mon, 20 Sep 2010 16:04:22 +0000 Author : Robert Osfield From Per Fahlberg, "imageio was not spelled correctly when registering the plugin, attached is a fixed version of ReaderWriterImageIO.cpp." Mon, 20 Sep 2010 11:50:24 +0000 Author : Robert Osfield From Wang Rui, reverted changes to osgPartcile that caused problems with osgparticleeffects. Mon, 20 Sep 2010 11:02:40 +0000 Author : Robert Osfield From Ulrich Hertlein, "attached is a fix that addresses these compiler warnings from the 64-bit OS X build:/Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp: In function ?std::string getFileName(const std::string&)?: /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp:88: warning: comparison is always false due to limited range of data type /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp: In function ?bool is83(const std::string&)?: /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp:102: warning: comparison is always false due to limited range of data type /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp: In function ?bool is3DSpath(const std::string&, bool)?: /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp:118: warning: comparison is always false due to limited range of data type /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp:121: warning: comparison is always true due to limited range of data type The code was using 'unsigned int' in places where it should've used 'size_t' for correct comparison with 'std::string::npos' (which is size_t). " Fri, 17 Sep 2010 15:41:55 +0000 Author : Robert Osfield From Mathieu Marache, "This modified version of FindCOLLADA finds it correctly when installed with macports as in 'port install collada-dom'" Fri, 17 Sep 2010 15:39:53 +0000 Author : Robert Osfield Add clamping of the maximum number of particles per frame to avoid too many particles being introduced at once when the particle system comes back on screen. Fri, 17 Sep 2010 14:26:27 +0000 Author : Robert Osfield Updated ChangeLog, AUTHORS for 2.9.9 dev release Fri, 17 Sep 2010 13:33:09 +0000 Author : Robert Osfield Build fixes for when OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION is disabled Fri, 17 Sep 2010 13:09:23 +0000 Author : Robert Osfield Reverted changes from Vivien Delage as there were some regressions discovered. Will need to revist this code to deal with bugs that Vivien was tackling. Fri, 17 Sep 2010 11:20:11 +0000 Author : Robert Osfield From Ulrich Hertlein, "I've added a command line switch '--testOcclusion' that enables display of other models in front and behind the outlined object." Thu, 16 Sep 2010 13:04:55 +0000 Author : Robert Osfield From Magnus Kessler, "Changes to the quicktime plugin to remove unused variables and an unused static function." Thu, 16 Sep 2010 10:33:51 +0000 Author : Robert Osfield From Alexander Wiebel, "I came across some functions in Vec* that I thought could benefit from some doxygen documentation. Additionally, I made the comment on value_type more meaningful (in my opinion)." Thu, 16 Sep 2010 09:49:22 +0000 Author : Robert Osfield From Magnus Kessler, "I'm resubmitting a slightly different version of the changes you left out for osg/Camera. The ::glName issue masked the fact that the "(..)" isn't handled well in doxygen and leads to "(." in the generated files.I'm also submitting a minor documentation fix to osgGA/DriveManipulator to get it out of my patch queue ;)" Thu, 16 Sep 2010 09:09:43 +0000 Author : Robert Osfield From March Sciabica, "Here is the solution I coded up over the weekend. For improved performance option, I added a flag to control whether the depth writing pass is performed.Since text is alpha-blended when rendering, it is placed in the transparent bin and rendered back to front. Writing to the depth buffer should therefore be unnecessary. Indeed, rendering something behind text (or any blended object) after that object is drawn will give incorrect results whether the depth buffer is written or not. I therefore think it is safe to keep this option off by default. Users can turn it on for any special needs they have. I did not fix the existing backdrop implementations to work with the new code since this new method of rendering intrinsically handles backdrops correctly. Its results are more accurate than all of the existing backdrop implementations. Its only downside is that it requires two passes if depth buffer updates are desired, whereas DEPTH_RANGE and POLYGON_OFFSET achieve their (less accurate) results in one pass. The NO_DEPTH_BUFFER method also only uses one pass, but it disables depth tests and not depth writes so will have serious problems if anything is drawn in front of the text before OR after the text is drawn. Given the better all-around behavior of the new method, I believe the other backdrop implementations can be safely removed. Code that adjusts the backdrop implementation will of course be broken if the member functions are removed. For this reason I left them in, but set the new rendering method as the default backdrop implementation. At the very least I think the old backdrop implementations should be deprecated and removed at a later date. " Note from Robert Osfield, testing this submission with osgtext I found that the text would not render correctly when different text labels were overlapping in deth and screen space. I change _enableDepthWrites to default to true and found the that which artifacts still occurred around the alpha blended edges the artifacts where better than issue with occlusion of nearer pixels that was happening with _enableDepthWrites set to false.I therefore set the _enableDepthWrites to true as I feel it's the lesser of the two artefacts. Thu, 16 Sep 2010 08:46:38 +0000 Author : Robert Osfield From Mathias Fielder, "i found an issue with the serializer writing shared arrays. At OutputStream::writeArray(), if the currently latest array is shared the full array content will be written. The following code snippet will reproduce this issue:Code: osg::Vec2 vec(0.f, 0.f); osg::Array* sharedArray = new osg::Vec2Array(1, & vec); // create 2 geometries sharing same array osg::Geometry* geom0 = new osg::Geometry; osg::Geometry* geom1 = new osg::Geometry; geom0->setVertexArray(sharedArray); geom1->setVertexArray(sharedArray); osg::ref_ptr geode = new osg::Geode; geode->addDrawable(geom0); geode->addDrawable(geom1); std::stringstream buffer; // write node osg::ref_ptr options = new osgDB::Options("Ascii"); osgDB::ReaderWriter* rw = osgDB::Registry::instance()->getReaderWriterForExtension("osgt"); osgDB::ReaderWriter::WriteResult wr = rw->writeNode(*geode, buffer, options.get()); // print result; array will be written twice with full content, though with same ID std::cout << buffer.str() << std::endl; // trying to read back node will print warnings about unmatched properties osgDB::ReaderWriter::ReadResult rr = rw->readNode(buffer, options.get()); To fix this i made a change in OutputStream::writeArray(). I think the same issue applies to OutputStream::writeObject(). So i made the same change there. " Wed, 15 Sep 2010 13:24:37 +0000 Author : Robert Osfield From Paul de Repentigny, Commented out section of code that didn't work properly Wed, 15 Sep 2010 13:04:35 +0000 Author : Robert Osfield Fixed warning Wed, 15 Sep 2010 12:50:16 +0000 Author : Robert Osfield From Magnus Kessler, "Fix a small typo in present3D usage string" Wed, 15 Sep 2010 12:00:12 +0000 Author : Robert Osfield From Magnus Kessler, "Attached are a number of files where I have tried to fix up some of the documentation. I have accumulated them over some time, but rebased onto the subversion trunk." Wed, 15 Sep 2010 11:36:45 +0000 Author : Robert Osfield From Laura Cerritelli, "I modified TXPPagedLOD::traverse to prevent the terrain from inappropriately unloading the higher level of detail tiles. It wasn?t updating the frame number of the tile or the range it was traversing, causing PagedLOD::removeExpiredChildren to always consider the range expired." Wed, 15 Sep 2010 11:32:51 +0000 Author : Robert Osfield From Wang Rui, "I've fixed some pen-slips in SharedStateManager.cpp, which writing the last few examples for my to-be-finished book. I also do a minor fix to the share() method to make it work for geodes, too." Wed, 15 Sep 2010 11:27:31 +0000 Author : Robert Osfield From Lukasz Izdebski, "I made some changes in OcclusionQueryNode file. I move declaration of classes TestResult, QueryGeometry from cpp to header file and made a void createSupportNodes() a virtual method.Now is possible to inherit from class OcclusionQueryNode." Wed, 15 Sep 2010 11:10:10 +0000 Author : Robert Osfield Renamed file3ds and options member variables to _file3ds and _options to avoid confusion and keep the code consistent with the rest of the class/OSG.Added _option parameter to writeImageFile(..) call. Wed, 15 Sep 2010 10:50:24 +0000 Author : Robert Osfield From Todd Furlong, "I made a couple of changes to the osgFX::Outline class (SVN patch attached). I had a couple of issues with it that I was trying to resolve:1. When an outline object was occluded by another object, the backfacing wireframe was exposed. To fix that, I removed the disabling of GL_DEPTH_TEST. 2. In some cases, the outline color was the same color as the geometry being drawn instead of the specified color. I'm not sure I have completely fixed this issue, but I did make some changes to match up to how we do a scribe effect." Wed, 15 Sep 2010 10:24:59 +0000 Author : Robert Osfield Added https, ftp and ftps to list of supported server protocols, and add ability for curl plugin to ignore the need for a server address when .curl extension is used. Wed, 15 Sep 2010 09:56:16 +0000 Author : Robert Osfield From Jan Peciva, "please, find attached improved Stencil and StencilTwoSided classes.Goals: - to handle INCR_WRAP values nicely if not supported by OpenGL (old hardware) - to support two side stenciling of OpenGL 2.0. Current implementation does not work on ATI as it uses Nvidia extension. Ready for commit: - Stencil and Stencil.cpp - please, review them Ready with "hack": - StencilTwoSided.cpp: please, see the line 113 in apply(): glEnable(GL_STENCIL_TEST_TWO_SIDE); This line used to be in getModeUsage() as usage.usesMode(GL_STENCIL_TEST_TWO_SIDE); but it produces OpenGL errors on ATI as it is unknown value there (it is Nvidia extension). Problems with my "glEnable" solution: - it enables two side stenciling forever, and it will disturb any other single-side stenciling in the scene graph. " Wed, 15 Sep 2010 09:24:45 +0000 Author : Robert Osfield From Wang Rui, "I've changed it back to _alive, _current_size and _current_alpha, and placed them one by one for setTexCoordPointer() to use.All size() methods are now renamed to volume(). At present only the CompositePlacer will use it for randomly choose a place according to the volumes of all children. " Tue, 14 Sep 2010 15:47:29 +0000 Author : Robert Osfield Form Wang Rui, "An initial GLSL shader support of rendering particles. Only the POINT type is supported at present. The attached osgparticleshader.cpp will show how it works. It can also be placed in the examples folder. But I just wonder how this example co-exists with another two (osgparticle and osgparticleeffect)?Member variables in Particle, including _alive, _current_size and _current_alpha, are now merged into one Vec3 variable. Then we can make use of the set...Pointer() methods to treat them as vertex attribtues in GLSL. User interfaces are not changed. Additional methods of ParticleSystem are introduced, including setDefaultAttributesUsingShaders(), setSortMode() and setVisibilityDistance(). You can see how they work in osgparticleshader.cpp. Additional user-defined particle type is introduced. Set the particle type to USER and attach a drawable to the template. Be careful because of possible huge memory consumption. It is highly suggested to use display lists here. The ParticleSystemUpdater can accepts ParticleSystem objects as child drawables now. I myself think it is a little simpler in structure, than creating a new geode for each particle system. Of course, the latter is still compatible, and can be used to transform entire particles in the world. New particle operators: bounce, sink, damping, orbit and explosion. The bounce and sink opeartors both use a concept of domains, and can simulate a very basic collision of particles and objects. New composite placer. It contains a set of placers and emit particles from them randomly. The added virtual method size() of each placer will help determine the probability of generating. New virtual method operateParticles() for the Operator class. It actually calls operate() for each particle, but can be overrode to use speedup techniques like SSE, or even shaders in the future. Partly fix a floating error of 'delta time' in emitter, program and updaters. Previously they keep the _t0 variable seperately and compute different copies of dt by themseleves, which makes some operators, especially the BounceOperator, work incorrectly (because the dt in operators and updaters are slightly different). Now a getDeltaTime() method is maintained in ParticleSystem, and will return the unique dt value (passing by reference) for use. This makes thing better, but still very few unexpected behavours at present... All dotosg and serialzier wrappers for functionalities above are provided. ... According to some simple tests, the new shader support is slightly efficient than ordinary glBegin()/end(). That means, I haven't got a big improvement at present. I think the bottlenack here seems to be the cull traversal time. Because operators go through the particle list again and again (for example, the fountain in the shader example requires 4 operators working all the time). A really ideal solution here is to implement the particle operators in shaders, too, and copy the results back to particle attributes. The concept of GPGPU is good for implementing this. But in my opinion, the Camera class seems to be too heavy for realizing such functionality in a particle system. Myabe a light-weight ComputeDrawable class is enough for receiving data as textures and outputting the results to the FBO render buffer. What do you think then? The floating error of emitters (http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2009-May/028435.html) is not solved this time. But what I think is worth testing is that we could directly compute the node path from the emitter to the particle system rather than multiplying the worldToLocal and LocalToWorld matrices. I'll try this idea later. " Tue, 14 Sep 2010 13:19:55 +0000 Author : Robert Osfield From Ulrich Hertlein, "not sure how severe this is but I believe there's a bug in Texture.cpp:applyTexImage2D_subload: unsigned char* data = = (unsigned char*)image->data(); if (needImageRescale) { // allocates rescale buffer data = new unsigned char[newTotalSize]; // calls gluScaleImage into the data buffer } const unsigned char* dataPtr = image->data(); // subloads 'dataPtr' // deletes 'data' In effect, the scaled data would never be used. I've also replaced bits of duplicate code in Texture1D/2D/2DArray/3D/Cubemap/Rectangle that checks if the texture image can/should be unref'd with common functionality in Texture.cpp. " Tue, 14 Sep 2010 13:19:12 +0000 Author : Robert Osfield Moved GL_RED and associated GL defines that aren't defined by GLES into the include/osg/Image to aid portability. Thu, 9 Sep 2010 16:49:10 +0000 Author : Robert Osfield From Jean-Sebastien Guay, "osgWidget::WindowManager did nothing in its keyUp event, and in particular didn't call any callbacks. Since I wanted to have callbacks on keyUp, I copied what it does on keyDown, which works for me. I could have just used keyDown and saved myself the trouble, but you know me... :-)osgWidget::Input: [Functional changes] - Previously, the field would be filled with spaces up to its max length, and typing would just replace the spaces. Also, there was a _textLength variable that kept track of the real length of text in the field, since the osgText::Text's length just reflected the length of spaces+text entered. This was not great, as you could still select the spaces with the mouse and it just feels hacky. So I changed it to only contain the text entered, no spaces, and _textLength was removed since it's now redundant (the osgText::Text's length is used instead). - Fixed the selection size which (visually only) showed one more character selected than what was really selected. - Fixed selection by dragging the mouse, it would sometimes not select the last character of the string. - Cursor will now accurately reflect whether insert mode is activated (block cursor) or we're in normal mode (line cursor) like in most editors. - Implemented Ctrl-X (cut) - Added a new clear() method that allows the field to be emptied correctly. Useful for a command line interface, for example (hint, hint). - Mouse and keyboard event handler methods would always return false, which meant selecting with the mouse would also rotate the trackball, and typing an 's' would turn on stats. [Code cleanup] - Renamed the (local) _selectionMin and _selectionMax variables which are used in a lot of places, as the underscores would lead to think they were members. Either I called them selection{Min|Max} or delete{Min|Max} where it made more sense. - Fixed some indenting which was at 3 spaces (inconsistently), I'm sure I didn't catch all the lines where this was the case though. - Put spaces between variable, operator and value where missing, especially in for()s. Again I only did this where I made changes, there are probably others left. The result is that delete, backspace, Ctrl-X, Ctrl-C, Ctrl-V, and typing behaviour should now be consistent with text editor conventions, whether insert mode is enabled or not. I hope. :-) Note, there's a nasty const_cast in there. Why isn't osgText::Font::getGlyph() declared const? Also, as a note, the current implementation of cut, copy and paste (in addition to being Windows only, yuck) gets and puts the data into an std::string, thus if the osgText::String in the field contains unicode characters I think it won't work correctly. Perhaps someone could implement a proper clipboard class that would be cross-platform and support osgText::String (more precisely other languages like Chinese) correctly? Cut, copy and paste are not critical to what I'm doing so I won't invest the time to do that, but I just thought I'd mention it. " Thu, 9 Sep 2010 10:44:11 +0000 Author : Robert Osfield From Torben Dannhauer, "I extended the attached CMAKE module to search for the collada libraries of my VS2008 3rdParty package if no other library is found.No CMAKE should recognize all libraries of the VS2008 3rdParty Package." Thu, 9 Sep 2010 10:17:55 +0000 Author : Robert Osfield From Joachim Pouderoux, "Please find attached a very small fix for the DXF reader. The bug made OSG crash with some files. Actually, itr was incremented into the loop and after the test with nlist.end(). Then, the unreferencing of itr when nlist is equals to nlist.end() caused the crash." Thu, 9 Sep 2010 10:14:54 +0000 Author : Robert Osfield From Joachim Pouderoux, "I have added the support for wkbMultiPolygon & wkbMultiPolygon25D in the OGR plugin (it was mysteriously missing and no prevent warning messages was print)." Thu, 9 Sep 2010 10:09:31 +0000 Author : Robert Osfield From Tassilo Glander, "I want to submit a fix for the plugin to load .x model files (Direct X).The current version crashes when encountering global materials, as also reported in the forum by the author of the plugin. The problem in mesh.cpp (app. ln 247) is, that references to global materials that are given in curly brackets {} are not supported by the reader. However, curly brackets seem to be common, according to Bourke. Unfortunately, I found no specification. However, also the DirectX model viewer that comes with the DirectX-SDK (August 2009) expects curly brackets and refuses models without them. My fix checks 2 more cases ("{ aMaterial }" -> 3 tokens and "{aMaterial}" -> 1 token), and extracts the material name for the lookup. I don't know if this is the most elegant solution, but the tokenizer seems to split based on white spaces. You can reproduce the bug with the attached model (box.x), which loads fine in other tools, such as 3DSmax, DeepExploration or the DirectX model viewer. When I remove the curly brackets at the reference of "myGlobalMaterial", it loads in osgviewer, but is not standard conform. " Thu, 9 Sep 2010 10:03:58 +0000 Author : Robert Osfield From Roland Smeenk, "this submission adds a "Fast Drawable" line to the camera scene statistics. It shows the total number of sorted and unsorted drawables that use the fastpath for rendering." Thu, 9 Sep 2010 09:47:31 +0000 Author : Robert Osfield From Jean-Sebastien Guay, "I've added a second ctor where no argument is optional, and documented that it's meant to be used when the InteractiveImage is going to be used in a fullscreen HUD. " Thu, 9 Sep 2010 09:05:33 +0000 Author : Robert Osfield Added version check for av_lockmgr_register support. Thu, 9 Sep 2010 08:47:12 +0000 Author : Robert Osfield From Nathan Monteleone and Robert Osfield,submission email from Nathan: "I discovered a problem with POINT_ROT_EYE billboards in IntersectionVisitor: because we pass in just the model matrix to Billboard::computeBillboardMatrix, the billboard gets the wrong up vector. It really needs to take the view matrix into account to get the correct up vector. This version of IntersectionVisitor.cpp is made against today's SVN. It corrects the problem by computing the billboard matrix using the complete modelview, and then multiplies by the inverse of the view matrix before pushing onto IntersectionVisitor's model stack. The only code I changed is in apply(Billboard&)." notes from Robert, refactored the matrix multiplication code and the use of RefMatrix to make Nathan's changes more efficient. Wed, 8 Sep 2010 11:02:39 +0000 Author : Robert Osfield Cleaned up debug info, and changed Text3D across to using GL_NORMALIZE instead of GL_RESCALE_NORMAL. Wed, 8 Sep 2010 10:46:49 +0000 Author : Robert Osfield Added support for honouring PrimitiveSet names in new smoothing algorithm Wed, 8 Sep 2010 08:09:01 +0000 Author : Robert Osfield From Jean-Sebastien Guay, build fixes for Windows Tue, 7 Sep 2010 19:55:41 +0000 Author : Robert Osfield Removed files that have been moved into osgText. Tue, 7 Sep 2010 18:20:03 +0000 Author : Robert Osfield Moved Glyph and Glyph3D out of Font header/source file into their own header/source file. Tue, 7 Sep 2010 18:18:35 +0000 Author : Robert Osfield Moved TextNode into osgText.Cleaned up freetype plugin so it no longer does tesselation - instead Glyph and TextNode do this. Mon, 6 Sep 2010 15:43:59 +0000 Author : Robert Osfield Further work on new 3D text support Fri, 3 Sep 2010 15:03:42 +0000 Author : Robert Osfield Added basic wiring up of TextTechnique to 3D glyph code Fri, 3 Sep 2010 09:10:27 +0000 Author : Robert Osfield Removed now redundent Font3D files Fri, 3 Sep 2010 09:08:19 +0000 Author : Robert Osfield Refactored to use a typedef of Font to Font3D rather than have a separate Font3D class Fri, 3 Sep 2010 08:26:46 +0000 Author : Robert Osfield Refactored osgText::Font so that it now supports both 2D and 3D glyphs.Added TextNode.h and TextNode.cpp to examples/osgtext3D in prep for introducing the new node to osgText library Thu, 2 Sep 2010 07:55:36 +0000 Author : Robert Osfield Added to Text::resizeGLObjectBuffers(uint) the follow: _textureObjectBuffer.resize(maxSize); _texParametersDirtyList.resize(maxSize); Wed, 25 Aug 2010 16:59:27 +0000 Author : Robert Osfield Implemented a greedy triangle associate technique to minimize the number of duplicate vertices required to produce crease angles. Wed, 25 Aug 2010 14:34:08 +0000 Author : Robert Osfield Changed --flat to --flat-shaded to avoid conflict with oiginal --flat ratio control. Wed, 25 Aug 2010 11:07:30 +0000 Author : Robert Osfield Cleaned up main and introduced --samples , --flat, --smooth command line controls.Add StatsHandler to viewer to enable review of different settings on number vertices/triangles. Wed, 25 Aug 2010 11:06:10 +0000 Author : Robert Osfield Added support for controlling the number of curves samples to generate on Glyph3D's. Set via Font3D::setNumberCurveSamples(num). Tue, 24 Aug 2010 16:08:50 +0000 Author : Robert Osfield Implemented the shell geometry code Tue, 24 Aug 2010 16:06:31 +0000 Author : Robert Osfield Added "SORT_BACK_TO_FRONT" and "SORT_FRONT_TO_BACK" RenderBin's to default prototype list Tue, 24 Aug 2010 14:22:58 +0000 Author : Robert Osfield Refactored 3d text geometry creation code so that the text is all placed in one osg::Geometry. Fri, 20 Aug 2010 10:24:06 +0000 Author : Robert Osfield Fixed bug in handling large osg::Geometry. Thu, 19 Aug 2010 16:24:08 +0000 Author : Robert Osfield Implemented generation of front, back and bevel geometries to complete the 3d glyphs. Wed, 18 Aug 2010 11:14:58 +0000 Author : Robert Osfield Improved the detection of problem vetices and associated triangles Tue, 17 Aug 2010 19:48:19 +0000 Author : Robert Osfield Fixed indentation Tue, 17 Aug 2010 19:48:07 +0000 Author : Robert Osfield Implemented basic duplication of points that sit on sharp edges. Tue, 17 Aug 2010 13:25:46 +0000 Author : Michael PLATINGS From Donn Mielcarek: The fbx plugin won't compile using gcc 4.3.2. I made the following minor changes:1. WriterNodeVisitor.cpp needed limits.h added to the headers. 2. gcc does not allow structures to be defined inside of functions, so I moved the definition of PolygonRef out of the function to a global scope (right above the function readMesh). I also removed a bunch of embedded carriage returns Tue, 17 Aug 2010 13:10:18 +0000 Author : Robert Osfield Added support for RGTC1 and RGTC2 enums Mon, 16 Aug 2010 15:02:04 +0000 Author : Robert Osfield From Guillaume Taze, "Here are some bugs fix :- missing copy attribute _referenceFrame in ClipNode in copy constructor - checked iterators against the end in osgText - close codec context in ffmpeg plugin to avoid memory leak " Mon, 16 Aug 2010 14:54:16 +0000 Author : Robert Osfield From Maria Ten, "Importing 3ds files with a texture for the diffuse component and other one for opacity does not work with the osg 3ds plugin. In the attached file, there is a fix to solve this issue but it does not support textures without alpha channel in the opacity component (like black and white textures used in 3ds max to achieve the transparency). There is attached a test 3ds file too. " Mon, 16 Aug 2010 14:39:53 +0000 Author : Robert Osfield From Wang Rui, "Attachment is the implementation of the writing operation of the TGA format. I wrote it just for one of my client. At present it only outputs uncompressed RGBA images, but the OSG community can go deeper at any time." Mon, 16 Aug 2010 14:24:12 +0000 Author : Robert Osfield Added material setName. Mon, 16 Aug 2010 14:14:03 +0000 Author : Robert Osfield Added support for USE_RGBT1_COMPRESSION and USE_RGBT2_COMPRESSION Mon, 16 Aug 2010 14:11:49 +0000 Author : Robert Osfield From Lukasz Izdebski, "Texture: added support for GL_EXT_texture_compression_rgtc, I added support (read and write ) for BC4 BC5 Block Compression to dds file format." Mon, 16 Aug 2010 11:03:24 +0000 Author : Robert Osfield Changed setTransformation(eye, center, up) paramter ordering to match gluLookAt conventions. Mon, 16 Aug 2010 10:11:49 +0000 Author : Robert Osfield From Bradley Anderegg, "I fixed a problem with a stack overflow error in Particle.cpp. When the hexagon particle renders it does a glPushMatrix with no matching glPopMatrix, I simply added a glPopMatrix at the end of the rendering code." Mon, 16 Aug 2010 09:35:59 +0000 Author : Robert Osfield From Alexander Wiebel, "Documentation of PrimitiveSet" Mon, 9 Aug 2010 17:02:31 +0000 Author : Robert Osfield From David Fries, merge from a series of related submission emails:"enable thread locking in libavcodec This is required for a multithreaded application using ffmpeg from another thread." "Prevent the audio from videos from hanging on exit if they are paused. The video decoder already has similar logic." "Add a way to retrieve the creation time for MPEG-4 files." "fmpeg, improve wait for close logic Both audio and video destructors have been succesfully using the logic, if(isRunning()) { m_exit = true; join(); } since it was introduced, but the close routines are using, m_exit = true; if(isRunning() && waitForThreadToExit) { while(isRunning()) { OpenThreads::Thread::YieldCurrentThread(); } } which not only is it doing an unnecessary busy wait, but it doesn't guaranteed that the other thread has terminated, just that it has progressed far enough that OpenThreads has set the thread status as not running. Like the destructor set the m_exit after checking isRunning() to avoid the race condition of not getting to join() because the thread was running, but isRunning() returns false. Now that FFmpeg*close is fixed, call it from the destructor as well to have that code in only one location." Mon, 9 Aug 2010 16:19:50 +0000 Author : Robert Osfield Aded option for doing a glFlush() after compiling texture objects, with a dedicated compile thread default to issuing the glFlush. Mon, 9 Aug 2010 16:14:25 +0000 Author : Robert Osfield Cleaned up the inline methods Sun, 8 Aug 2010 15:45:25 +0000 Author : Robert Osfield From Stephan Huber, "attached you'll find a small enhancement for GraphicsWindowCocoa, so osgViewer behaves smarter, when the computer will reboot or shutdown. In older versions the reboot/shutdown got cancelled by GraphicsWindowCocoa, now it behaves more system conform. " Sun, 8 Aug 2010 15:44:03 +0000 Author : Robert Osfield Removed the erroneous subclassing from osg::Observer Sun, 8 Aug 2010 15:34:43 +0000 Author : Robert Osfield From Farshid Lashkari, "This patch simply reduces some messages output in osg::Program from NOTICE to INFO, since they are not important for most users." Sun, 8 Aug 2010 15:32:58 +0000 Author : Robert Osfield From Cedric Pinson, "I used the lod of the texture manager to track the instance, and it seems that the number of current active texture is wrong. It's because of the line in Texture::TextureObjectSet::flushDeletedTextureObjects_parent->getNumberActiveTextureObjects() += numDeleted;" Wed, 4 Aug 2010 08:35:49 +0000 Author : Cedric Pinson From Rob Smith, makes hardware skinning use of the existing stateset Sat, 31 Jul 2010 10:33:20 +0000 Author : Robert Osfield From Jan Peciva, "I am sending pov plugin for exporting scene to POV-Ray format. POV-Ray is photorealistic ray tracer." Sat, 31 Jul 2010 10:22:37 +0000 Author : Robert Osfield From Jeremy Moles, "The version of GCC I use (4.4.3-4ubuntu5) gives the following warning about the Observer header:/home/cubicool/local/include/osg/Observer: In copy constructor ?osg::ObserverSet::ObserverSet(const osg::ObserverSet&)?: /home/cubicool/local/include/osg/Observer:66: warning: base class ?class osg::Referenced? should be explicitly initialized in the copy constructor I've been fixing this by hand by using the attached Observer header; it does exactly what the warning requests. Purely cosmetic, I believe, but other than that OSG seems to compile w/ -W -Wall just fine." Sat, 31 Jul 2010 10:20:31 +0000 Author : Robert Osfield From Farshid Lashkari, "I noticed that some of my applications output the following notification message: no PixelBufferObject 00000000, 00000000 pbo=00000000 It's kind of annoying since there is nothing actually wrong. The message is generated from TextureRectangle::applyTexImage_subload when it fails to create a pbo, even if the Image object is not even requesting to use a pbo. This message is not generated by all the other code in TextureRectangle.cpp & Texture.cpp that also attempts to create pbo's. I've modified TextureRectangle.cpp to remove this message, so it is at least consistent with the other code." Sat, 31 Jul 2010 10:18:41 +0000 Author : Robert Osfield From Warren Macchi, "While tracing texture artifacts with the 2.9.8 dev release we uncovered what looks like a type in the "src\osgPlugins\dae\ daeRMaterials.cpp" file. Line 1094 reads: ^^^ parameters.filter_min = getFilterMode(sampler->getMagfilter()-> getValue(), false); whereas it should read ^^^ parameters.filter_mag = getFilterMode(sampler->getMagfilter()-> getValue(), false); " Sat, 31 Jul 2010 10:17:06 +0000 Author : Robert Osfield From Brad Christiansen, "To build OSG using Visual Studio 2010 Terrain.cpp requires #include . This is a very common fix when using 2010 due to changes in Microsoft STL. " Sat, 31 Jul 2010 09:21:50 +0000 Author : Robert Osfield Fixed build Sat, 31 Jul 2010 09:04:18 +0000 Author : Robert Osfield From Ryan Kawicki, "I found a memory leak within the Terrex plugin.Out application has the ability to switch to different types of terrains on the fly. This problem only exists in this type of situation. The TXPArchive is held by the ReadWriterTXP class. When the TXPNode, which is the top level node, is released from memory, the archive associated to that TXPNode is also released. The issue is that the reference count on the TXPArchive never gets to zero. The reason why the reference count never gets to zero is because the TXPParse, which is owned by the TXPArchive, stores a ref_ptr to the TXPArchive. You can then see why this becomes a problem. The TXPParser's ref_ptr cannot be unreferenced since the TXPArchive has not released the TXPParser. Since the TXPParser is fully contained within the TXPArchive, I don't see the reason to have the TXPParser have a ref_ptr to the TXPArchive. I've made this change locally and have had no problems and our memory leak has been fixed. " Sat, 31 Jul 2010 09:03:04 +0000 Author : Robert Osfield From Ryan Kawicki, fixed indentation Sat, 31 Jul 2010 08:57:52 +0000 Author : Robert Osfield From Stephan Huber, "changed the CmakeFiles for OpenThreads and the osg-frameworks, so they are versioned by OPENSCENEGRAPH_SOVERSION. "And from a later email: "Attached you'll find a fixed version of ModulInstall.cmake. Hopefully it works for old CMake-versions. I removed the offending line, and the compile went fine on my end." Sat, 31 Jul 2010 08:56:44 +0000 Author : Robert Osfield Added output of triangles at problem vertices Fri, 30 Jul 2010 19:39:38 +0000 Author : Robert Osfield Beginning of crease angle support for SmoothingVisitor to all it duplicate vertices are creases thus enabling separate normals for triangles adjacent to the creases. Fri, 30 Jul 2010 16:06:22 +0000 Author : Robert Osfield Changed emit() to emitParticles() to avoid collision with Qt. Thu, 29 Jul 2010 16:09:49 +0000 Author : Robert Osfield From Wang Rui, fixes to handling of indentation. Mon, 26 Jul 2010 11:12:45 +0000 Author : Robert Osfield Added bevel geometry Mon, 26 Jul 2010 11:06:45 +0000 Author : Robert Osfield Clean up boudnary code Mon, 26 Jul 2010 08:41:05 +0000 Author : Robert Osfield Added a os<