diff --git a/ChangeLog b/ChangeLog index 464ca43fe..e05412635 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,603 @@ +Fri, 3 Jun 2016 17:57:04 +0100 +Checked in by : 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 +Checked in by : 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 +Checked in by : 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 +Checked in by : 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 +Checked in by : Björn Blissing +VS2015 build fix + +Fri, 3 Jun 2016 11:30:48 +0100 +Checked in by : Björn Blissing +Fixed VS2015 compiler warnings + +Fri, 3 Jun 2016 11:28:10 +0100 +Checked in by : 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 +Checked in by : Robert Osfield +Fixed Clang warnings related to external dependencies + +Fri, 3 Jun 2016 09:33:47 +0100 +Checked in by : Robert Osfield +Fixed clang warnings + +Thu, 2 Jun 2016 20:00:42 +0100 +Checked in by : 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 +Checked in by : Robert Osfield +Moved the REGISTER_WINDOWINGSYSTEMINTERFACE macro into the osgViewer namespace + +Thu, 2 Jun 2016 17:50:53 +0100 +Checked in by : Robert Osfield +Removed osgViewer:: prefix to addres build error + +Thu, 2 Jun 2016 16:04:06 +0100 +Checked in by : 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 +Checked in by : Robert Osfield +Fixed potential memory leak + +Thu, 2 Jun 2016 15:41:15 +0100 +Checked in by : Robert Osfield +Fixed uninitialized variable. + +Thu, 2 Jun 2016 15:35:47 +0100 +Checked in by : Robert Osfield +Added handling of failure to create ElementBufferObject. + +Thu, 2 Jun 2016 15:23:38 +0100 +Checked in by : Robert Osfield +Removed debugging code + +Thu, 2 Jun 2016 14:56:43 +0100 +Checked in by : Robert Osfield +Moved status check to quieten coverity warning + +Thu, 2 Jun 2016 14:53:11 +0100 +Checked in by : Robert Osfield +Added missing break + +Thu, 2 Jun 2016 14:38:23 +0100 +Checked in by : Robert Osfield +Removed debug message + +Thu, 2 Jun 2016 14:36:38 +0100 +Checked in by : Robert Osfield +Fixed redundent checks and clean up clone usage + +Thu, 2 Jun 2016 14:33:32 +0100 +Checked in by : Robert Osfield +Added missing break + +Thu, 2 Jun 2016 14:31:44 +0100 +Checked in by : Robert Osfield +Fixed method to match parent class. + +Thu, 2 Jun 2016 14:30:58 +0100 +Checked in by : Robert Osfield +Fixed method to match parent class. + +Thu, 2 Jun 2016 14:22:25 +0100 +Checked in by : Robert Osfield +Removed redudent codepaths, standardizing on the most portable Texture2D path. + +Thu, 2 Jun 2016 14:18:12 +0100 +Checked in by : Robert Osfield +Removed redudent code paths + +Thu, 2 Jun 2016 13:51:46 +0100 +Checked in by : Robert Osfield +Cleaned up the cloning usage + +Thu, 2 Jun 2016 13:23:34 +0100 +Checked in by : Robert Osfield +Fixed unitialized variables + +Thu, 2 Jun 2016 13:03:07 +0100 +Checked in by : 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 +Checked in by : Robert Osfield +Fixed typo + +Thu, 2 Jun 2016 12:22:51 +0100 +Checked in by : 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 +Checked in by : Robert Osfield +Bumped version number for 3.5.3 dev release + +Thu, 2 Jun 2016 11:06:50 +0100 +Checked in by : 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 +Checked in by : 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 +Checked in by : Robert Osfield +Fixed line endings + +Wed, 1 Jun 2016 16:22:42 +0100 +Checked in by : Robert Osfield +Added _LIBRARIES var to mix + +Wed, 1 Jun 2016 15:51:49 +0100 +Checked in by : 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 +Checked in by : Robert Osfield +Fixed line endings + +Wed, 1 Jun 2016 14:20:14 +0100 +Checked in by : Robert Osfield +Fixed doxygen warnings + +Wed, 1 Jun 2016 13:41:17 +0100 +Checked in by : Robert Osfield +Removed no longer supported doxygen settings + +Wed, 1 Jun 2016 13:40:06 +0100 +Checked in by : Robert Osfield +Fixed line endings + +Wed, 1 Jun 2016 12:49:55 +0100 +Checked in by : Robert Osfield +Fixed missing " + +Wed, 1 Jun 2016 11:41:10 +0100 +Checked in by : Robert Osfield +Added macosx10.11 to the list of supported OSX SDK's + +Wed, 1 Jun 2016 11:25:31 +0100 +Checked in by : Robert Osfield +Added in extra search paths for FBX + +Wed, 1 Jun 2016 10:55:19 +0100 +Checked in by : OpenSceneGraph git repository +Merge pull request #74 from susnux/fix-61Added missing stdexcept header, fixes #61 + +Wed, 1 Jun 2016 10:32:35 +0100 +Checked in by : Andreas Cadhalpun +Replace deprecated FFmpeg API to fix build with ffmpeg-3.0.x + +Wed, 1 Jun 2016 10:01:44 +0100 +Checked in by : Julien Valentin +Added glDrawArraysIndirect, glMultiDrawArraysIndirect, glDrawElementsIndirect and glMultiDrawElementsIndirect extensions. + +Wed, 6 Mar 2013 09:38:48 +0100 +Checked in by : Stephan van Alste +Do not install non existant pdb file in release build mode + +Tue, 12 Feb 2013 13:09:00 +0100 +Checked in by : Ralf Habacker +Install msvc debug files along with the binaries + +Tue, 31 May 2016 16:14:51 +0100 +Checked in by : Ralf Habacker +Fixed bug not detecting unc pathes in osgDB::isAbsolutePath() + +Tue, 31 May 2016 12:58:57 +0100 +Checked in by : Alberto Luaces +defines for building on Hurd and BSD kernels + +Tue, 31 May 2016 12:45:28 +0100 +Checked in by : 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 +Checked in by : Pjotr Svetachov +small optimization to the osgb/t serializers. + +Tue, 31 May 2016 11:05:02 +0100 +Checked in by : 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 +Checked in by : Robert Osfield +Fixed indentation + +Tue, 31 May 2016 10:32:43 +0100 +Checked in by : Robert Osfield +Fixed warning message + +Tue, 31 May 2016 10:28:08 +0100 +Checked in by : Robert Osfield +Removed the redudent ive::ReadWrite base class + +Tue, 31 May 2016 09:46:03 +0100 +Checked in by : 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 +Checked in by : Jannik Heller +Fixed typo of method name + +Mon, 30 May 2016 12:41:25 +0100 +Checked in by : 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 +Checked in by : Alberto Luaces +Typo fixes + +Fri, 27 May 2016 10:34:15 +0100 +Checked in by : 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 +Checked in by : 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 +Checked in by : 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 +Checked in by : 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 +Checked in by : 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 +Checked in by : Robert Osfield +Fixed shadows warning + +Thu, 26 May 2016 11:13:56 +0100 +Checked in by : Robert Osfield +Fixed shadows warnings + +Thu, 26 May 2016 10:35:33 +0100 +Checked in by : Robert Osfield +Fixed shadows warnigns + +Thu, 26 May 2016 10:24:44 +0100 +Checked in by : Robert Osfield +Fixed shadows warnings + +Thu, 26 May 2016 10:24:31 +0100 +Checked in by : Robert Osfield +Fixed shadows warnings + +Thu, 26 May 2016 10:01:20 +0100 +Checked in by : Robert Osfield +Fixed shadows warnings + +Thu, 26 May 2016 09:48:16 +0100 +Checked in by : Robert Osfield +Fixed shadows warnings + +Thu, 26 May 2016 08:25:12 +0100 +Checked in by : Robert Osfield +Fixed shadows warnings + +Wed, 25 May 2016 18:12:43 +0100 +Checked in by : Robert Osfield +Fixed shadows warnings in lwo plugin + +Wed, 25 May 2016 17:39:25 +0100 +Checked in by : 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 +Checked in by : Robert Osfield +Fixed shadows warnigns + +Wed, 25 May 2016 17:10:54 +0100 +Checked in by : Robert Osfield +Fixed shadows warnings + +Wed, 25 May 2016 17:08:51 +0100 +Checked in by : Robert Osfield +Fixed shadows warnings - txp plugin was a mess w.r.t shadowing member variables. + +Wed, 25 May 2016 13:58:06 +0100 +Checked in by : Robert Osfield +Fixed shadows warnings + +Wed, 25 May 2016 13:27:35 +0100 +Checked in by : Robert Osfield +Fixed shadows warnings + +Wed, 25 May 2016 13:22:51 +0100 +Checked in by : Robert Osfield +Fixed shadows warning + +Wed, 25 May 2016 11:30:49 +0100 +Checked in by : Robert Osfield +Fixed shadows warnings + +Wed, 25 May 2016 11:20:13 +0100 +Checked in by : Robert Osfield +Fixed shadows warning and an associated by in osgAnimation::Statshandler::changeYposition(..) + +Wed, 25 May 2016 11:11:11 +0100 +Checked in by : Robert Osfield +Fixed shadows warnings + +Wed, 25 May 2016 11:00:35 +0100 +Checked in by : Robert Osfield +Fixed shadows warnings + +Wed, 25 May 2016 10:26:35 +0100 +Checked in by : Robert Osfield +Fixed shadows warnings + +Wed, 25 May 2016 10:10:43 +0100 +Checked in by : Robert Osfield +Fixed shadows warnings + +Wed, 25 May 2016 10:09:18 +0100 +Checked in by : Robert Osfield +Fixed line endings + +Wed, 25 May 2016 09:56:40 +0100 +Checked in by : Robert Osfield +Fixed shadows warnings + +Tue, 24 May 2016 20:46:44 +0100 +Checked in by : 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 +Checked in by : Robert Osfield +Fixed shadows warnings + +Mon, 23 May 2016 16:22:49 +0100 +Checked in by : Robert Osfield +Fixed shadows warning + +Mon, 23 May 2016 16:20:59 +0100 +Checked in by : Robert Osfield +Fixed shadows warnings + +Mon, 23 May 2016 11:31:02 +0100 +Checked in by : Robert Osfield +Fixed build error introduced by c3f2711b09457b550133c8564632f1d29ee3de85 + +Mon, 23 May 2016 11:29:07 +0100 +Checked in by : OpenSceneGraph git repository +Merge pull request #73 from susnux/safeptradd safety checking when dereferencing ref_ptr + +Mon, 23 May 2016 11:24:50 +0100 +Checked in by : Robert Osfield +Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph + +Mon, 23 May 2016 11:24:23 +0100 +Checked in by : OpenSceneGraph git repository +Merge pull request #72 from bjornblissing/feature/gitignore-visualstudioGitIgnorePatterns for Visual Studio + +Mon, 23 May 2016 10:52:55 +0100 +Checked in by : Robert Osfield +Fixed shadows warnings + +Mon, 23 May 2016 10:36:00 +0100 +Checked in by : Robert Osfield +Fixed shadows warning + +Mon, 23 May 2016 10:31:56 +0100 +Checked in by : Robert Osfield +Fixed shadows warning + +Mon, 23 May 2016 10:30:22 +0100 +Checked in by : Robert Osfield +Removed redundent local variable + +Mon, 23 May 2016 10:28:45 +0100 +Checked in by : Robert Osfield +Fixed shadows warning + +Mon, 23 May 2016 10:22:16 +0100 +Checked in by : Robert Osfield +Fixed shadows warnings + +Sat, 21 May 2016 21:40:07 +0200 +Checked in by : Rohan Budhiraja +Added missing stdexcept header, fixes #61 + +Sat, 21 May 2016 21:29:14 +0200 +Checked in by : rdiankov +add safety checking when dereferencing ref_ptr + +Fri, 20 May 2016 13:38:34 +0100 +Checked in by : Robert Osfield +Fixes shadows warnings + +Fri, 20 May 2016 14:12:09 +0200 +Checked in by : 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 +Checked in by : Robert Osfield +Added -Wshadow tp OSG_AGGRESSIVE_WARNING_FLAGS for GNU compiler + +Thu, 19 May 2016 18:54:11 +0100 +Checked in by : Robert Osfield +Merge branch 'AdriCS-master' + +Thu, 2 Oct 2014 12:27:20 +0200 +Checked in by : Adri +Extra header include.Removed an extra header include for + + +Thu, 19 May 2016 18:51:58 +0100 +Checked in by : Robert Osfield +Added include/osgQt/Version and src/osgQt/__ to .gitignore + +Thu, 19 May 2016 17:38:50 +0100 +Checked in by : Robert Osfield +Removed redundent #if OSG_USE_BOUND block + +Thu, 19 May 2016 17:32:24 +0100 +Checked in by : 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 +Checked in by : 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 +Checked in by : Robert Osfield +Fixed build error associated with change of type of getInterface() + +Mon, 16 May 2016 16:23:21 +0100 +Checked in by : Robert Osfield +Win32 Build fixesRemoved the duplicate constructor and destructor + + +Wed, 18 May 2016 18:30:51 +0100 +Checked in by : 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 +Checked in by : Robert Osfield +Replaced static ref_ptr<> with observer_ptr<> to avoid local static references hanging around. + +Mon, 16 May 2016 13:45:31 +0100 +Checked in by : 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 +Checked in by : Robert Osfield +Added GLES3 path for setting up with EGL + +Fri, 6 May 2016 17:49:01 +0100 +Checked in by : Robert Osfield +Added 3.4 press release to NEWS.txt + +Fri, 29 Apr 2016 10:39:57 +0100 +Checked in by : Robert Osfield +Added using to quieten warning + +Wed, 27 Apr 2016 14:21:11 +0100 +Checked in by : Robert Osfield +Moved the IdentifierMap from global to into osg namespace and changed to static + +Thu, 21 Apr 2016 14:07:22 +0100 +Checked in by : Robert Osfield +Fixed copy _readBuffer bug. + +Mon, 18 Apr 2016 20:46:45 +0100 +Checked in by : 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 +Checked in by : Robert Osfield +From Vladimir Chebaev, fixed handling of outline orientiation + +Thu, 14 Apr 2016 17:46:27 +0100 +Checked in by : Robert Osfield +From Vladimir Chebaev, fixed handling of outline orientiation + +Thu, 31 Mar 2016 19:22:03 +0100 +Checked in by : Robert Osfield +Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph + +Thu, 31 Mar 2016 17:52:29 +0100 +Checked in by : Robert Osfield +added assignment of mipmap levels from source image. + +Thu, 31 Mar 2016 17:52:29 +0100 +Checked in by : Robert Osfield +From Sherman Wilcox, added assignment of mipmap levels from source image. + +Thu, 31 Mar 2016 17:12:28 +0100 +Checked in by : 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 +Checked in by : 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 +Checked in by : 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 +Checked in by : 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 +Checked in by : 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), "<, 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: @@ -445,32 +1045,32 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15164 16af872 Fri, 9 Oct 2015 08:44:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -498,37 +1098,37 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15140 16af872 Fri, 25 Sep 2015 10:09:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -537,7 +1137,7 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15130 16af872 Fri, 4 Sep 2015 15:35:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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)) @@ -564,7 +1164,7 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15129 16af872 Fri, 4 Sep 2015 15:04:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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) @@ -585,7 +1185,7 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15125 16af872 Fri, 4 Sep 2015 14:50:39 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -604,7 +1204,7 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15124 16af872 Fri, 4 Sep 2015 14:34:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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) { @@ -639,102 +1239,102 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15121 16af872 Fri, 4 Sep 2015 14:24:40 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -746,7 +1346,7 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15041 16af872 Fri, 31 Jul 2015 13:46:57 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -765,7 +1365,7 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15036 16af872 Fri, 31 Jul 2015 13:44:39 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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: @@ -786,102 +1386,102 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15035 16af872 Fri, 31 Jul 2015 10:59:11 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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" @@ -891,32 +1491,32 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14984 16af872 Fri, 17 Jul 2015 09:04:30 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -943,42 +1543,42 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14963 16af872 Thu, 16 Jul 2015 11:01:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Standardize the call to setUpThreading() in CompositeViewer/Viewer::realize().Standardize the call to scene->resizeGLObjects(). @@ -986,97 +1586,97 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14944 16af872 Mon, 13 Jul 2015 08:48:46 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -1086,42 +1686,42 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14918 16af872 Mon, 15 Jun 2015 13:51:29 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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: @@ -1136,12 +1736,12 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14908 16af872 Wed, 10 Jun 2015 16:47:15 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -1149,72 +1749,72 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14905 16af872 Tue, 9 Jun 2015 16:49:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -1222,27 +1822,27 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14890 16af872 Wed, 3 Jun 2015 09:07:41 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -1261,32 +1861,32 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14885 16af872 Tue, 2 Jun 2015 09:18:19 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -1310,32 +1910,32 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14879 16af872 Mon, 1 Jun 2015 10:41:43 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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())) @@ -1350,12 +1950,12 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14873 16af872 Tue, 26 May 2015 17:09:25 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -1363,77 +1963,77 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14871 16af872 Tue, 26 May 2015 08:48:33 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -1444,97 +2044,97 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14854 16af872 Mon, 20 Apr 2015 10:41:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -1547,97 +2147,97 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14831 16af872 Mon, 13 Apr 2015 09:50:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Introduced osg::Camera::resize(..) method and associated enum thus: enum ResizeMask { RESIZE_VIEWPORT=1, @@ -1656,72 +2256,72 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14811 16af872 Tue, 31 Mar 2015 15:08:13 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Konstantin Matveyev, "More "LibraryWrapper" fixes for osg and osgAnimation NodeKits in the attachment (for 3.3.6 version :)Fixes: osg: @@ -1737,37 +2337,37 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14795 16af872 Tue, 17 Mar 2015 08:19:05 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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) @@ -1779,12 +2379,12 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14786 16af872 Thu, 12 Mar 2015 17:11:11 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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" @@ -1794,22 +2394,22 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14782 16af872 Thu, 12 Mar 2015 13:41:00 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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" @@ -1817,7 +2417,7 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14776 16af872 Wed, 11 Mar 2015 17:27:08 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -1825,77 +2425,77 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14775 16af872 Wed, 11 Mar 2015 15:44:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -1915,22 +2515,22 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14752 16af872 Tue, 3 Mar 2015 12:00:52 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -1939,12 +2539,12 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14747 16af872 Sun, 1 Mar 2015 15:20:37 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -1952,82 +2552,82 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14744 16af872 Fri, 27 Feb 2015 10:01:56 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -2038,7 +2638,7 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14720 16af872 Wed, 25 Feb 2015 19:25:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -2059,17 +2659,17 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14719 16af872 Wed, 25 Feb 2015 19:19:37 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -2077,87 +2677,87 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14716 16af872 Wed, 25 Feb 2015 14:55:59 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -2165,72 +2765,72 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14692 16af872 Fri, 13 Feb 2015 07:45:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. " @@ -2241,92 +2841,92 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14676 16af872 Fri, 23 Jan 2015 13:51:09 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -2340,57 +2940,57 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14654 16af872 Wed, 7 Jan 2015 10:36:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -2398,7 +2998,7 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14640 16af872 Wed, 24 Dec 2014 10:55:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -2409,7 +3009,7 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14639 16af872 Wed, 24 Dec 2014 10:47:25 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -2417,97 +3017,97 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14638 16af872 Wed, 24 Dec 2014 10:14:03 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -2515,17 +3115,17 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14613 16af872 Thu, 18 Dec 2014 09:03:15 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -2542,27 +3142,27 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14609 16af872 Wed, 17 Dec 2014 10:19:02 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -2570,12 +3170,12 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14604 16af872 Tue, 16 Dec 2014 09:34:15 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -2586,197 +3186,197 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14602 16af872 Wed, 10 Dec 2014 18:23:32 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -2784,12 +3384,12 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14560 16af872 Fri, 28 Nov 2014 16:20:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -2797,92 +3397,92 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14557 16af872 Fri, 28 Nov 2014 10:54:40 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -3018,17 +3618,17 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14531 16af872 Tue, 25 Nov 2014 10:33:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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): @@ -3054,22 +3654,22 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14527 16af872 Mon, 24 Nov 2014 14:54:39 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -3088,37 +3688,37 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14522 16af872 Fri, 21 Nov 2014 20:15:30 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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: @@ -3145,17 +3745,17 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14514 16af872 Fri, 21 Nov 2014 10:21:46 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -3165,17 +3765,17 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14508 16af872 Thu, 20 Nov 2014 16:38:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -3183,57 +3783,57 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14503 16af872 Thu, 20 Nov 2014 10:05:52 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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: @@ -3246,57 +3846,57 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14484 16af872 Wed, 19 Nov 2014 11:30:53 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -3304,52 +3904,52 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14471 16af872 Thu, 6 Nov 2014 10:40:54 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -3360,12 +3960,12 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14458 16af872 Tue, 21 Oct 2014 14:47:43 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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(). @@ -3375,57 +3975,57 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14456 16af872 Tue, 21 Oct 2014 08:27:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -3433,137 +4033,137 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14440 16af872 Mon, 8 Sep 2014 08:53:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -3579,7 +4179,7 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14407 16af872 Fri, 8 Aug 2014 16:34:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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: @@ -3611,7 +4211,7 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14405 16af872 Fri, 8 Aug 2014 16:09:39 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -3619,27 +4219,27 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14403 16af872 Fri, 8 Aug 2014 15:45:54 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -3647,82 +4247,82 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14396 16af872 Thu, 31 Jul 2014 18:29:31 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -3730,22 +4330,22 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14377 16af872 Mon, 21 Jul 2014 16:36:47 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -3799,82 +4399,82 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14372 16af872 Mon, 21 Jul 2014 12:21:42 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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' @@ -3887,107 +4487,107 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14343 16af872 Tue, 1 Jul 2014 07:31:46 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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" @@ -4004,27 +4604,27 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14300 16af872 Thu, 26 Jun 2014 11:09:46 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -4032,17 +4632,17 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14290 16af872 Thu, 26 Jun 2014 09:38:56 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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". @@ -4065,7 +4665,7 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14285 16af872 Wed, 25 Jun 2014 15:55:21 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -4075,17 +4675,17 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14283 16af872 Wed, 25 Jun 2014 15:47:59 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -4093,12 +4693,12 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14277 16af872 Wed, 25 Jun 2014 09:58:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -4121,7 +4721,7 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14275 16af872 Wed, 25 Jun 2014 08:21:13 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -4129,37 +4729,37 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14273 16af872 Wed, 25 Jun 2014 08:18:05 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -4170,32 +4770,32 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14261 16af872 Fri, 13 Jun 2014 17:17:09 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added frame support to ComboBox.Improved the alingment support for text @@ -4203,27 +4803,27 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14252 16af872 Wed, 11 Jun 2014 16:31:17 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed redudent NodeVisitor::s/getUserData() as osg::Object provide this.Added using run entry to InteractiveImageHandler to quieten warning @@ -4233,212 +4833,212 @@ git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14247 16af872 Fri, 6 Jun 2014 09:12:43 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated shaders from OpenSceneGraph-Data sources Tue, 3 Jun 2014 15:05:51 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Reverted change of Node::ParentList from being a vector back to a vector Tue, 3 Jun 2014 09:23:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Refactor osg::Geode to subclass from osg::Group and reuse the NodeList children container Mon, 2 Jun 2014 16:20:39 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Roni Zanolli, build fix for iPhone Fri, 30 May 2014 16:44:36 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Implemented basic frame graphic Thu, 29 May 2014 15:21:42 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Futher work on ComboBox/Popup Thu, 29 May 2014 10:51:26 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added beginnings of ComboBox popup functionality. Wed, 28 May 2014 10:18:57 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved handling of text Mon, 26 May 2014 16:32:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed Dialog/Popup::open/close() methods as they are replaced by the setVisible() method Mon, 26 May 2014 16:27:33 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Implemented Widger::Visible and Enabled usage Mon, 26 May 2014 16:15:33 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added Visible and Enalbed properties to Widget Mon, 26 May 2014 16:15:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed missing initilaizer Mon, 26 May 2014 15:58:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added item serializer Fri, 23 May 2014 18:59:16 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Implemented clipping of widget to the widgets extents. Fri, 23 May 2014 15:00:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Implemented scheme for making sure nested widgest overdraw parent widgets graphics Fri, 23 May 2014 15:00:09 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added wrappers for open and close methods Thu, 22 May 2014 10:02:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Addd method implementation in serializers Wed, 21 May 2014 10:17:31 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed handling of traverse Wed, 21 May 2014 09:45:11 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Renamed callbacks to avoid overlap with Node callbacks Tue, 20 May 2014 16:09:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved the handling of updating of text Tue, 20 May 2014 08:35:19 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added shell of Popup class Tue, 20 May 2014 08:34:32 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Add shell of Dialog class Mon, 19 May 2014 09:30:36 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added handling of up/down key to ComboBox Fri, 16 May 2014 19:24:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added initial cut of ComboBox Fri, 16 May 2014 10:38:40 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added initial shell of PushButton implementation Thu, 15 May 2014 16:30:17 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Pjotr Svetachov, build fixes for VisualStudio Thu, 15 May 2014 13:34:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added osgGA dependency Thu, 15 May 2014 13:22:47 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Cleaned up code Wed, 14 May 2014 10:19:43 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Tue, 13 May 2014 08:43:07 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -4453,27 +5053,27 @@ From Farshid Lashkari, "As discussed, I've added the ability to handle Drawable Mon, 12 May 2014 11:27:54 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Replaced obsolete __linux usage. Tue, 6 May 2014 09:43:32 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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);". @@ -4489,19 +5089,19 @@ The trick is just starting the thread in suspended mode so the StartThread funct Thu, 1 May 2014 15:50:14 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Stephan Huber, fix for OSX build Wed, 30 Apr 2014 13:19:22 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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). @@ -4522,15 +5122,15 @@ thinking the best way was to just write the files. Tue, 29 Apr 2014 13:41:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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: @@ -4541,44 +5141,44 @@ Files: Mon, 28 Apr 2014 14:58:36 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed type error Fri, 25 Apr 2014 08:57:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Reordered the configuiration file blocks to make it more understandable Fri, 25 Apr 2014 08:18:03 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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: @@ -4599,7 +5199,7 @@ The rest of it is very similar from previous revision, and there has been some f Thu, 24 Apr 2014 10:49:57 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -4612,23 +5212,23 @@ COMPONENTS, REQUIRED etc.) we may have to revise this scheme. Thu, 24 Apr 2014 10:38:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed reference invalidation bug. Thu, 24 Apr 2014 07:22:55 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed typo in OPENSCENEGRAPH_OPENGL_HEADER name Thu, 24 Apr 2014 07:20:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added src/osg/OpenGL.in configuration file and include/osg/OpenGL header files Wed, 23 Apr 2014 09:08:26 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -4662,15 +5262,15 @@ The new configuration options are stored in the include/osg/OpenGL header that d Mon, 14 Apr 2014 16:16:08 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed comment Sun, 13 Apr 2014 16:04:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 )" @@ -4678,43 +5278,43 @@ From Paul Cheyrou-Lagreze, "Attached is fix/feature for FBX osgplugins against l Wed, 9 Apr 2014 17:20:26 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog and fixed Contributors list Tue, 8 Apr 2014 12:00:52 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed build when using of double BoundingBox/BoundingSphere Mon, 7 Apr 2014 14:17:57 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -4733,7 +5333,7 @@ investigate. Let me know in the case of any problems." Mon, 7 Apr 2014 14:11:14 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -4749,11 +5349,11 @@ Thank you! Mon, 7 Apr 2014 14:03:40 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -4764,7 +5364,7 @@ direction) missing initialisation of _parent Mon, 7 Apr 2014 13:48:15 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -4773,35 +5373,35 @@ My attached change moves these definitions out of the #ifndef GL_VERSION_3_1 con Fri, 4 Apr 2014 11:25:51 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed iso surface shaders Tue, 1 Apr 2014 18:56:57 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved the setting of sample density/ratio so that they are consistent Tue, 1 Apr 2014 18:33:02 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed handling of volume tiles with a region. Thu, 27 Mar 2014 12:47:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added cube and hull rendering support Wed, 19 Mar 2014 17:56:40 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Restructured the handling of TileData to make it more extensible and flexible. Tue, 18 Mar 2014 18:14:15 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for animating volume hulls. Thu, 13 Mar 2014 14:02:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -4810,73 +5410,73 @@ So fonts should work on iOS when loaded remotely, even when a local file is avai Thu, 13 Mar 2014 13:59:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Stephan Huber, fix for building lua plugin from local source Thu, 13 Mar 2014 10:28:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved support for passing events between scripts and Present3D application Tue, 11 Mar 2014 10:52:10 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for osg::Image to the lua plugin. Tue, 4 Mar 2014 13:36:13 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Implement add, set and get methods for StateSet. Tue, 4 Mar 2014 13:35:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Relaxed the handling of Image objects Tue, 4 Mar 2014 13:34:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed handling of OverrideValue Fri, 28 Feb 2014 17:38:36 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added MapReverseIterator implementation. Wed, 26 Feb 2014 18:18:08 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for vector and map containers in osgDB::Serailizer's and lua plugin. Mon, 24 Feb 2014 10:19:48 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -4884,43 +5484,43 @@ Added missing properties to PrimitiveSet serializers Thu, 13 Feb 2014 11:01:36 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added inital cut of PrimitiveSetSet wrappers to scripting Wed, 12 Feb 2014 18:10:52 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added full range of Array subclasses to wrappers Wed, 12 Feb 2014 18:03:53 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved support for setting/getting properties via the osg::UserDataContainer. Tue, 11 Feb 2014 10:56:51 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Quitened down debug messages Tue, 11 Feb 2014 09:43:08 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for serailizing and scripting BoundingBox and BoundingSphere objects Sat, 8 Feb 2014 17:53:51 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -4929,72 +5529,72 @@ Fixed handling of boolean values in the Lua plugin Sat, 8 Feb 2014 10:39:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for enum's in the Lua script integration Sat, 8 Feb 2014 10:38:51 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed export Fri, 7 Feb 2014 16:06:57 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added initial Widget wrapper Thu, 6 Feb 2014 17:32:41 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for casting objects to allow one to access a parent classes methods. Wed, 5 Feb 2014 11:08:39 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Tweaked the detection of when the position transform for the hull is required. Wed, 5 Feb 2014 11:07:03 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for a tag that can be used within tag. Wed, 5 Feb 2014 11:04:29 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved the white space trimming Tue, 4 Feb 2014 16:49:13 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added test code for nesting a within a volume tag. Tue, 4 Feb 2014 11:24:01 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -5003,23 +5603,23 @@ Renamed ScriptCallback to ScriptNodeCallback to avoid possibly confusion between Wed, 29 Jan 2014 11:01:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog Tue, 28 Jan 2014 16:49:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Kristofer Tingdahl, made method virtual Tue, 28 Jan 2014 16:48:47 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed MingW build's handling of debug d postfix. Tue, 28 Jan 2014 15:28:17 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed the invocation of gcc on all platforms Tue, 28 Jan 2014 11:01:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -5028,11 +5628,11 @@ Tweaked the positioning of title text of vertic scalar bar to avoid overlap of t Mon, 27 Jan 2014 15:43:36 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed unimplemented method Fri, 24 Jan 2014 17:31:09 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -5045,7 +5645,7 @@ and for svn brach(r14044): attached as Geometry_osg_svn.zip" Fri, 24 Jan 2014 17:06:32 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -5056,53 +5656,53 @@ I've added a test to enable drawbuffers only if target is "DRAW" or "READ_DRAW", Fri, 24 Jan 2014 16:45:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Michael Schanne, "small fix for a duplicate OR operand in KdTree.cpp." Fri, 24 Jan 2014 16:28:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Torben Dannhauer, VisualStudio 2013 build fixes Fri, 24 Jan 2014 16:19:38 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warnings Fri, 24 Jan 2014 14:26:25 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warnings Thu, 23 Jan 2014 16:48:29 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -5119,7 +5719,7 @@ From Robert Osfield, changed the name of the new applyBBox(..) method to applyBo Thu, 23 Jan 2014 15:37:48 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -5128,35 +5728,35 @@ forward_touch_event_to_device needs some more testing, (e.g. with image-streams Thu, 23 Jan 2014 10:56:17 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed debug message Thu, 23 Jan 2014 10:50:55 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Cleaned up debug message. Thu, 23 Jan 2014 10:09:53 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added GL_TEXTURE_2D_MULTISAMPLE to texture mode list. Wed, 22 Jan 2014 17:29:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -5167,71 +5767,71 @@ Refactored .p3d loader to make it less strict about the tag, property and value Wed, 22 Jan 2014 11:25:54 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for sampleRatio and sampleRatioWhenMoving properties Tue, 21 Jan 2014 18:58:52 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Build fixes for when ref_ptr<> automatic type conversion is turned off Tue, 21 Jan 2014 18:48:53 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Build fixes for when ref_ptr<> has no auto type conversion Tue, 21 Jan 2014 17:27:21 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed build error Tue, 21 Jan 2014 17:00:56 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed build error due to typo. Mon, 20 Jan 2014 17:23:11 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Integrated multipass volume rendering shaders from OpenSceneGraph-Data Mon, 20 Jan 2014 17:03:29 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed nolonger used code paths Mon, 20 Jan 2014 15:54:48 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Disable depth test for rendering of hull backface Mon, 20 Jan 2014 15:10:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warning Fri, 17 Jan 2014 18:20:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Stephan Huber, fix for OSX build issue Fri, 17 Jan 2014 14:02:30 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -5256,7 +5856,7 @@ PKG_CHECK_MODULES(RSVG librsvg-2.0>=2.35) Fri, 17 Jan 2014 13:59:29 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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&)': @@ -5287,19 +5887,19 @@ I've added osg::Object to the initalization list of EventHandler and GUIEventHan Fri, 17 Jan 2014 13:54:14 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Jordi Torres, "Fixed a typo in ReaderWriterCURL::ReaderWriterCURL() changed Psuedo for Pseudo." Fri, 17 Jan 2014 12:40:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed handling of background colours. Thu, 16 Jan 2014 17:26:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed old redundent TexGen usage. Thu, 16 Jan 2014 17:17:37 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added hull="hul-filename" property support to tag that can used thus: CardiacCT @@ -5308,83 +5908,83 @@ Added hull="hul-filename" property support to tag that can used thus: Thu, 16 Jan 2014 16:08:43 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Paul Martz, build fix for Windows GL3 build Thu, 9 Jan 2014 09:41:43 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed near/far values to use CullVisitor::value_type and use std::numeric_limits<>. Wed, 8 Jan 2014 10:33:00 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed more odd characters Wed, 8 Jan 2014 10:28:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed more odd characters Wed, 8 Jan 2014 10:24:43 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed odd characters Wed, 8 Jan 2014 10:16:39 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Moved destructor to protected Tue, 7 Jan 2014 19:06:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Refined the GLint64 definitions Tue, 7 Jan 2014 18:32:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed duplicated instances of GLint64EXT declarations Tue, 7 Jan 2014 16:43:07 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed execute properties via svn propdel svn:executable file Tue, 7 Jan 2014 16:29:22 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Bumped SO_VERSION number of OpenThreads to avoid conflicts with Debian SO_VERSION bump Tue, 7 Jan 2014 16:15:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added State::getMaxTextureCoords() and State::getMaxTextureUnits() inline methods. Mon, 6 Jan 2014 17:19:21 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for Switch::set/getValue() Mon, 6 Jan 2014 16:58:07 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added Group::setChild(..) and Geode::setDrawable(..) MethodObjects Mon, 6 Jan 2014 15:46:36 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed the prototype MethodObject classes Mon, 6 Jan 2014 15:45:46 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -5392,23 +5992,23 @@ Added addChild/removeChild() etc to Group.cpp, and addDrawable/removeDrawable() Mon, 6 Jan 2014 10:23:26 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed build of V8 and Python plugins Wed, 25 Dec 2013 17:36:32 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Preliminary support for wrapping methods in the lua script plugin. Fri, 20 Dec 2013 09:57:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -5416,11 +6016,11 @@ The attached src/osgQt/CMakeLists.txt that can be patched into 3.2 safely. For t Thu, 19 Dec 2013 15:10:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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: @@ -5444,7 +6044,7 @@ Looks like LuaScriptEngine was missing implementation of those 2 member function Thu, 19 Dec 2013 13:49:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -5457,7 +6057,7 @@ Here’s an example: Thu, 19 Dec 2013 13:44:42 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. " @@ -5465,100 +6065,100 @@ From Stephan Hunber, "I found some time and ported osgDB::FileUtils and DarwinUt Thu, 19 Dec 2013 10:02:16 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Implemented support for calling scripts from with Present3D. Tue, 17 Dec 2013 12:18:06 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added experimental image 3d downsample function. Mon, 16 Dec 2013 11:28:10 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed the unused Texture::Extensions::numTextureUnits() Fri, 13 Dec 2013 12:38:01 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Implemented ability to switch between different shaders with new MultipassTechnique Thu, 12 Dec 2013 09:53:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added SampleRatioWhenMoving property and support to new osgVolume::MultipassTechnique. Thu, 12 Dec 2013 09:51:30 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Applied unquie CullVisitor::Identifier rather than reusing the cloned one. Wed, 11 Dec 2013 17:20:14 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed epsilon to 1e-5 to address picking problems with planaer objects Wed, 11 Dec 2013 12:00:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added initial support for 1D transfer functions to MultipassTechnique Tue, 10 Dec 2013 13:38:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for handling viewports with offset origins, and with it split stereo. Tue, 10 Dec 2013 10:43:48 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improvements to new MultipassTechnique Fri, 6 Dec 2013 19:31:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Further work on new MultipassTechnique/VolumeScene. Fri, 6 Dec 2013 09:35:57 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Mike Krus, compile fix to enable compiling across a wider set of versions. Tue, 26 Nov 2013 19:03:46 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for using shaders to render the RTT textures with depth Tue, 26 Nov 2013 10:38:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Replaced readShaderFile() usage to readRefShaderFile() Mon, 25 Nov 2013 17:36:17 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added initial render to texture functionality into osgVolume::VolumeScene Fri, 22 Nov 2013 10:27:15 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Warning fixes Fri, 22 Nov 2013 09:48:02 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed trailing spaces, added missing return to last lines Thu, 21 Nov 2013 18:17:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -5567,7 +6167,7 @@ Also, while looking into this issue, I noticed that the osgDB::InputStream class Thu, 21 Nov 2013 13:59:00 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -5576,15 +6176,15 @@ Also, while looking into this issue, I noticed that the osgDB::InputStream class Thu, 21 Nov 2013 11:02:08 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Converted std::max to osg::maximum to fix VS2013 build error Thu, 21 Nov 2013 10:31:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -5593,140 +6193,140 @@ From Stephan Huber, "minor ios-fixes/-enhancements* force _OPENTHREADS_ATOMIC_US Mon, 18 Nov 2013 13:31:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Stephan Huber, compile fix for OpenGL ES on iOS. Mon, 18 Nov 2013 13:25:55 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added panning and zooming functionality to transfer function UI prototype code. Mon, 18 Nov 2013 12:45:04 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Restored the rescaleToZeroToOneRange() to address rendering issues. Mon, 11 Nov 2013 10:55:51 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed unused variables Fri, 8 Nov 2013 12:28:51 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for assinging and display transfer functions Fri, 8 Nov 2013 12:25:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Quietened down debug messages Thu, 7 Nov 2013 12:37:10 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed the LineSegmentIntersector to RayIntersector to provide more reliable intersections with flat meshes. Thu, 7 Nov 2013 12:35:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Re-enabled the disable of the transfer function Wed, 6 Nov 2013 09:49:51 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed handling of web cams Wed, 6 Nov 2013 09:23:21 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Restructed the call to avformat_open_input to provide more information. Tue, 5 Nov 2013 15:23:32 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed typo Fri, 1 Nov 2013 14:40:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Likasz Izebski, "added support for etc2/eac compression" Fri, 25 Oct 2013 15:47:41 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Remoed -fpermissive Fri, 25 Oct 2013 09:02:39 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warning Thu, 24 Oct 2013 20:22:13 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warning Thu, 24 Oct 2013 19:56:04 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed depreated glib call Thu, 24 Oct 2013 19:32:00 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed FileInfo self intialization bug Thu, 24 Oct 2013 17:43:02 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed build problems with the OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION off Thu, 24 Oct 2013 12:15:37 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Stephan Huber, add support for controlling the OSXMenubarBehavior set by DisplaySettings. Thu, 24 Oct 2013 09:06:52 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Cleaned up addChild/getChild/setChild/getNumChildren methods and added readNodeFile, readImageFile and readObjectFile functions Wed, 23 Oct 2013 16:17:26 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for Group::addChild/setChild/getChild/getNumChildren. Tue, 22 Oct 2013 19:12:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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(). @@ -5734,92 +6334,92 @@ Added assignment of the DisplaySettings to the WindowSystemInterface in Viewer/C Tue, 22 Oct 2013 18:58:15 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Preliminary remapping of internalFormat for GL3 core profile Tue, 22 Oct 2013 16:28:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warnings Tue, 22 Oct 2013 11:32:21 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added State::releaseGLObjects() and ShaderComposer::releaseGLObjects() to avoid problems with cleanup of graphics context Mon, 21 Oct 2013 09:54:41 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Build fixes for clang Fri, 18 Oct 2013 09:57:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Vladimir Chebeav, fix for removal of nested callbacks Fri, 18 Oct 2013 07:55:26 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Konstantin Matveyev, "Multiple light fix in FBX-importer" Fri, 18 Oct 2013 07:52:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Colin McDonald, "Some missing updates to the serializer static build support." Fri, 18 Oct 2013 07:31:22 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Stephan Huber, build fix Thu, 10 Oct 2013 20:43:03 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added set/get to the ImageSerializer and removed some redudent comments Thu, 10 Oct 2013 20:42:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Laurens Voerman, compile fix for VisualStudio Thu, 10 Oct 2013 14:41:41 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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) @@ -5837,39 +6437,39 @@ From Stephan Huber, "attached you’ll find a bunch of fixes + enhancements for Mon, 7 Oct 2013 09:33:46 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Cleaned up line endings Fri, 4 Oct 2013 20:42:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for Lua 5.2 and osg::Object creation from within Lua scripts. Fri, 4 Oct 2013 16:29:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added createObject() interface Fri, 4 Oct 2013 16:28:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated version number after 3.3.0 dev release Thu, 3 Oct 2013 16:20:29 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed errors in Contributors list Thu, 3 Oct 2013 08:45:57 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Jan Peciva, RayIntersector implementation Wed, 2 Oct 2013 13:59:00 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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, @@ -5885,18 +6485,18 @@ creation until if & when actually required." Wed, 2 Oct 2013 11:29:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Re-ordered the public/protected sections to keep the public section all together Wed, 2 Oct 2013 11:09:29 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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) @@ -5916,19 +6516,19 @@ osg::Array::BIND_PER_VERTEX); Tue, 1 Oct 2013 19:34:21 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed build with no automatic ref_ptr<> conversion Tue, 1 Oct 2013 19:31:48 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated AUTHORS files Tue, 1 Oct 2013 19:00:02 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog in prep for dev release Tue, 1 Oct 2013 17:01:21 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -5938,11 +6538,11 @@ All methods are const, so I think there is no side-effects." Tue, 1 Oct 2013 16:20:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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: @@ -5977,7 +6577,7 @@ which is strongly discouraged by the man page. Tue, 1 Oct 2013 09:11:26 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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)." @@ -5985,13 +6585,13 @@ This is what this patch does, according to this suggestion: http://msdn.microsof Tue, 1 Oct 2013 09:05:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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" @@ -5999,75 +6599,75 @@ Finally in OSXAvFoundationCoreVideoTexture.cpp the include OSXAVFoundationVideo. Mon, 30 Sep 2013 18:15:51 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fri, 27 Sep 2013 18:43:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Unified Vec/Plane/Quat handling code. Fri, 27 Sep 2013 13:04:04 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Initial cut of setting and getting osg::Object properties within Lua scripts Tue, 24 Sep 2013 15:17:42 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed redundent spaces Mon, 23 Sep 2013 14:10:36 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added test for osgGA::GUIEventAdapter Fri, 20 Sep 2013 15:43:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed unnceccesary setNumChildrenRequiringUpdateTraversal from VolumeTile constructor. Fri, 20 Sep 2013 10:44:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added initial cut of white and black lists Fri, 20 Sep 2013 10:25:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added compoundClassName() convinience method to standardize the generation of the compoundClassName. Fri, 20 Sep 2013 10:04:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added type maps to help with querrying supported type names Thu, 19 Sep 2013 16:19:32 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed unneccessary return Wed, 11 Sep 2013 15:44:08 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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] " @@ -6075,37 +6675,37 @@ From Giuseppe Donvito, "I'm using OSG 320 and I need to flush a DDS 3D texture o Tue, 10 Sep 2013 13:29:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Colin Cochran, OES support for point sprites Mon, 9 Sep 2013 13:33:13 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Ulrich Hertlein, "Patch for FindAVFoundation to work with OS X 10.9" Mon, 9 Sep 2013 12:37:52 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -6116,11 +6716,11 @@ From Laurens Voerman, "two minor fixes, both in a CMakeList.txt file,1> osgmulti Fri, 6 Sep 2013 09:35:56 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Initial cut of Audio/Volume/Movie/Image presentation objects Thu, 5 Sep 2013 10:23:05 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -6132,169 +6732,169 @@ Not a build fix, but I spotted a typo in osgUtil/SceneView." Thu, 5 Sep 2013 10:08:09 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warnings Thu, 5 Sep 2013 08:42:00 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added missing Model.cpp Wed, 4 Sep 2013 17:27:26 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added PrintProperties visitor Wed, 4 Sep 2013 15:39:17 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added PrintPropertiesAction to osgPresentation Wed, 4 Sep 2013 10:33:11 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added Action class NodeVisitor that supports osgPresentation nodes. Tue, 3 Sep 2013 15:50:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added test for osgPresentatation::Group::getSupportedProperties() Tue, 3 Sep 2013 10:17:06 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added beginings of Text implementation Mon, 2 Sep 2013 10:56:48 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed double copy in StackedTransform copy constructor Mon, 2 Sep 2013 08:29:09 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added IO test for new osgPresentation nodes Sun, 1 Sep 2013 17:24:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added Audio, Image, Movie, Model and Volume class to osgPresentation. Fri, 23 Aug 2013 16:47:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed build Fri, 23 Aug 2013 11:42:52 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added color property to FontData parsing Thu, 22 Aug 2013 13:39:36 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Quitened down debug message Thu, 22 Aug 2013 12:37:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed debug messages Thu, 22 Aug 2013 12:07:55 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Quitened down debug message Thu, 22 Aug 2013 11:18:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Quitened down debug message Thu, 22 Aug 2013 10:09:21 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added warning when model file has not be found Thu, 22 Aug 2013 10:05:29 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added test for serializers and fixed serializers Wed, 21 Aug 2013 19:54:03 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added initial classes for present3D refactor Sun, 18 Aug 2013 18:10:39 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Moved old osgPresentation source files to osgPresentation/deprecated subdirectory. Sun, 18 Aug 2013 16:59:11 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed CameraNode reference Fri, 9 Aug 2013 07:46:22 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed unused includes Fri, 9 Aug 2013 07:38:32 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed old cursor code Thu, 8 Aug 2013 17:21:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added osgPresentation::Cursor class to wrap up 3D cursor in the scene functionality Wed, 7 Aug 2013 17:08:38 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added missing initializer for _epsilon Thu, 1 Aug 2013 11:25:02 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Anish Thomas, added catch for to an empty DrawElementsUInt creation. Thu, 1 Aug 2013 10:38:02 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog and AUTHORS file Thu, 1 Aug 2013 10:28:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -6311,87 +6911,87 @@ it seems to work as well." Thu, 1 Aug 2013 10:00:31 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed trailing spaces Tue, 30 Jul 2013 06:12:31 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Merged from OSG-3.2 branch the removal of check for Asio under Windows Wed, 24 Jul 2013 17:30:46 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed default of serialize draw to off Wed, 24 Jul 2013 14:24:33 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Pulled in READE, NEWS and AUTHORS changes from OSG-3.2 branch. Wed, 24 Jul 2013 13:02:32 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated NEWS from OSG-3.2 branch Wed, 24 Jul 2013 12:48:59 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warning Wed, 24 Jul 2013 12:25:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated SO version for post 3.2 era. Wed, 24 Jul 2013 12:17:06 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added getCallbacks() methods Tue, 23 Jul 2013 18:11:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Rocco Martino, build fix for compiling against ffmpeg/trunk Tue, 23 Jul 2013 15:28:31 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed crash when open(..) returns an error. Tue, 23 Jul 2013 05:25:39 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -6402,19 +7002,19 @@ FindNVTT: introduced management of debug libraries (also auto detected). Mon, 22 Jul 2013 13:31:32 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added FRAME_BUFFER_OBJECT enum Mon, 22 Jul 2013 10:15:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated OpenThreads version Fri, 19 Jul 2013 21:05:54 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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: @@ -6427,51 +7027,51 @@ 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added default setting of BIND_PER_VERTEX when applying Geometry::setTexCoordArray() Fri, 19 Jul 2013 17:00:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated OpenThreads version to be in sync with OSG version Fri, 19 Jul 2013 14:55:36 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated AUTHORS file for new 3.2 branch Fri, 19 Jul 2013 14:06:11 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Update ChangeLog and AUTHORS files for 3.1.10 dev release Fri, 19 Jul 2013 10:17:26 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updater version for 3.1.10 dev release Fri, 19 Jul 2013 10:11:42 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed #if 0 #endif block Fri, 19 Jul 2013 09:43:54 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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() @@ -6479,11 +7079,11 @@ From Mathieu Marache, "we found that events where not caught when running in ON_ Thu, 18 Jul 2013 20:17:48 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added a dirty() call to Image::setData(..) Thu, 18 Jul 2013 16:29:13 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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: @@ -6503,19 +7103,19 @@ small 3rdparty package today. Thu, 18 Jul 2013 16:27:17 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Lionel Lagarde, "The extension name is misspelled. It conflicts with GLEW." Tue, 2 Jul 2013 19:24:10 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated AUTHORS and ChangeLog for 3.1.9 dev release Tue, 2 Jul 2013 14:35:29 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Laurens Voerman, "With fstream inheritaince now removed the warning can be enabled again." Tue, 2 Jul 2013 14:17:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -6526,7 +7126,7 @@ modified file (OpenSceneGraph\src\osgPlugins\ive\Geometry.cpp) attached in Zip" Tue, 2 Jul 2013 14:02:06 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -6541,11 +7141,11 @@ openscenegraph\src\osgplugins\osg\BinaryStreamOperator.h(213): warning C4138: '* Tue, 2 Jul 2013 13:45:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -6553,11 +7153,11 @@ Here is a modified version of this class, which add some "virtual" method to all Tue, 2 Jul 2013 09:44:46 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -6565,51 +7165,51 @@ called and breaking the ability to attached state to Camera's StateSet. Mon, 1 Jul 2013 16:15:25 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated AUTHORS, ChangeLog for dev release Mon, 1 Jul 2013 10:22:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed debug build compile problem Mon, 1 Jul 2013 08:21:13 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Alberto Luaces, "Documentation for -p and --speed options in osgviewer" Fri, 28 Jun 2013 14:38:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Marcel Pursche, fixed checking of destination dimensions in osg::copyImage. Fri, 28 Jun 2013 14:32:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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()); @@ -6624,11 +7224,11 @@ if (in->getVersion() >= VERSION_0045) Fri, 28 Jun 2013 14:21:43 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Gill Peacegood, "fix for a memory leak in the DelaunayConstraint class" Fri, 28 Jun 2013 14:08:36 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -6638,11 +7238,11 @@ adding a space before /* fixes the problem Fri, 28 Jun 2013 14:07:31 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed handling of DISPLAY=127.0.0.1:2 usage. Fri, 28 Jun 2013 13:43:46 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Aurelien Albert, Added support for glPrimitiveRestartIndex."The idea of this new OpenGL feature is : - set RestartIndex = "n" @@ -6683,38 +7283,38 @@ To solve this, I think there is two ways : Fri, 28 Jun 2013 12:45:39 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added handling of an odd number rows in the capsule rendering and primitive calculation. Fri, 28 Jun 2013 12:00:43 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From David Callu, warning fixes and removal of spaces at end of lines. Fri, 28 Jun 2013 10:59:01 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From David Callu, serializer support for new Vec* and Vec*Array classes Fri, 28 Jun 2013 08:11:46 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Thu, 27 Jun 2013 17:37:03 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From David Callu, "Added Vec3ub, Vec3us, Vec4us, Vec2ub and Vec2us classes" Thu, 27 Jun 2013 16:44:32 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -6724,67 +7324,67 @@ From Lionel Lagarde, "Support for paging and shared PBO""The attached file conta Thu, 27 Jun 2013 15:18:38 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Replaced deprecatated osg::Geometry::get*Binding() calls. Thu, 27 Jun 2013 13:37:26 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added Geometry::containsDeprecatedData() / fixDeprecatedData() Thu, 27 Jun 2013 10:58:26 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed deprecated usage of osg::Geometry::get*Binding() Thu, 27 Jun 2013 09:59:33 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Replaced deprecated osg::Geometry::set*Binding() usage. Thu, 27 Jun 2013 09:54:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Replaced deprecated osg::Geometry::set*Binding() usage Thu, 27 Jun 2013 09:54:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Replaced deprecated osg::Geometry::set*Binding() usage. Thu, 27 Jun 2013 08:44:15 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Replaced deprecated osg::Geometry::set*Binding() usage Thu, 27 Jun 2013 08:30:51 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Replaced deprecated Geometry::set*Binding() Wed, 26 Jun 2013 18:06:09 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Replaced deprecated Geometry::set*Binding() usage Wed, 26 Jun 2013 17:58:57 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed deprecated Geometry::set*Binding() usage Wed, 26 Jun 2013 17:54:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Replaced deprecated osg::Geometry::set*Binding() usage Wed, 26 Jun 2013 17:44:30 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Replaced deprecated osg::Geometry::set*Binding() calls. Wed, 26 Jun 2013 16:16:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -6798,19 +7398,19 @@ There is a few new methods on osg::State : Wed, 26 Jun 2013 12:59:40 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed unused methods Wed, 26 Jun 2013 12:33:40 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed spaces from end of line Wed, 26 Jun 2013 12:33:14 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed bug in TemplateTargetAttributeDispatch that was causing a crash with the osgsimplegl3 example Wed, 26 Jun 2013 09:04:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -6818,23 +7418,23 @@ From Pjotr Svetachov and Robert Osfield, "the index mesh and vertex pre-transfor Wed, 26 Jun 2013 08:53:56 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed Geometry::fixDeprecatedData() as it won't work on const Geometry Wed, 26 Jun 2013 07:08:26 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed #include as it's nolonger required in the header Tue, 25 Jun 2013 16:10:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -6855,52 +7455,52 @@ From Robert Osfield, ported the code to work under Linux and without the automat Tue, 25 Jun 2013 09:52:38 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updatd SO_VERSION to reflect changes in ABI from merging submissions. Mon, 24 Jun 2013 12:27:19 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Convert usage to use const versions of containers Mon, 24 Jun 2013 09:59:22 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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) @@ -6910,15 +7510,15 @@ Patch: https://github.com/openscenegraph/osg/pull/8/files" Mon, 24 Jun 2013 09:51:30 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 =================================================================== @@ -6946,11 +7546,11 @@ originates in svn trunk revision 13355. Thanks!" Mon, 24 Jun 2013 09:02:32 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Introduced typedef's to make the code more readble and maintanable Mon, 24 Jun 2013 08:48:55 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 { @@ -6998,13 +7598,13 @@ Hope these changes can work smoothly with present and future community projects. Mon, 24 Jun 2013 08:22:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. " @@ -7012,75 +7612,75 @@ From Wang Rui, "The osgdb_ffmpeg plugin may not work with latest ffmpeg windows Mon, 24 Jun 2013 08:18:08 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated version number after dev release Fri, 21 Jun 2013 19:35:26 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed spaces from end of lines Fri, 21 Jun 2013 14:37:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed author name error introduced by xxdiff Fri, 21 Jun 2013 14:30:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Reapplied AUTHORS changes Fri, 21 Jun 2013 14:29:00 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Update ChangeLog and AUTHORS.txt for release Fri, 21 Jun 2013 14:17:42 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed unneccessary handling of BIND_PER_PRIMITIVE on output code Fri, 21 Jun 2013 13:59:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Pjotr Svetachov, introduced use of osg::observer_ptr in place of osg::Camera* Fri, 21 Jun 2013 13:41:03 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Laurens Voerman, build fix Fri, 21 Jun 2013 10:59:03 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Build fixes for new osg::Geometry Fri, 21 Jun 2013 10:14:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Converted osg::Geometry::ArrayData usage across to osg::Array. Fri, 21 Jun 2013 10:03:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Converted ArrayData usage across to set*Array() usage with new binding parameter Fri, 21 Jun 2013 09:43:15 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed spaces at ends of lines Fri, 21 Jun 2013 09:17:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -7097,43 +7697,43 @@ whereas it previously failed to compile." Fri, 21 Jun 2013 08:56:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added local namespace for util functions, and fixed the return type of checkDeprecatedData() Thu, 20 Jun 2013 12:15:57 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Commented out verbose debug messages for shader composition Thu, 20 Jun 2013 10:42:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog and AUTHORS file Thu, 20 Jun 2013 10:05:56 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -7143,35 +7743,35 @@ I attach a modified osgQt/GraphicsWindowQt.cpp with this change." Thu, 20 Jun 2013 09:30:31 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Jan Ciger, compilation fix for Qt 5.0.2 Thu, 20 Jun 2013 09:27:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Laurens Voerman, build fix for VS. Wed, 19 Jun 2013 17:28:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed svn:executable property. Wed, 19 Jun 2013 17:26:59 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed svn:executable property Wed, 19 Jun 2013 17:25:55 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed svn:executable property. Wed, 19 Jun 2013 16:24:59 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Cleaned up usage of BIND_PER_PRIMITIVE where possible. Wed, 19 Jun 2013 12:32:40 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Magnus Kessler, typo fixes to doxygen docs and comments Wed, 19 Jun 2013 12:28:06 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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; @@ -7198,11 +7798,11 @@ tri_stripper::BackLinkToNeighbour(const Wed, 19 Jun 2013 12:27:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Converted tabs to four spaces Wed, 19 Jun 2013 12:19:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -7220,77 +7820,77 @@ in osg/GL " Wed, 19 Jun 2013 10:56:31 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Build fixes for new deprecated osg::Geometry functions Tue, 18 Jun 2013 19:09:33 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Moved the assignment of the normal binding to after the setNormalArray call Tue, 18 Jun 2013 17:48:43 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed BIND_PER_PRIMITIVE reference Tue, 18 Jun 2013 15:03:26 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Moved the set binding and normalize for VertexAttrib to after the VertexAttrib array assignment Tue, 18 Jun 2013 14:52:26 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed header guard back to original, and removed deprecated enum Tue, 18 Jun 2013 14:22:43 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed order of binding. Tue, 18 Jun 2013 11:49:03 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed experiment GeometryNew as it's no longer required. Tue, 18 Jun 2013 11:18:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Martin Naylor, replace osgDB::fstream with an osgDB::open() call. Tue, 11 Jun 2013 10:52:37 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed indentation Tue, 11 Jun 2013 09:05:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed remove and add callback so they properly handle nested callbacks Fri, 7 Jun 2013 10:54:55 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -7299,89 +7899,89 @@ return osg::Image::computeImageSizeInBytes(width, height, depth, pixelFormat, pi Fri, 7 Jun 2013 10:52:29 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Replaced OpenThreads::Mutex with a OpenThreads::ReentrantMutex to allow draw callbacks to use Renderer. Wed, 5 Jun 2013 07:55:05 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Reorder member variables to ensure better packing in memory. Wed, 5 Jun 2013 07:27:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed now redundent osggeodemo Tue, 4 Jun 2013 13:29:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed geo plugin as the modelling tool it was assocaited is long defunct. Tue, 4 Jun 2013 10:06:19 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Cleaned up BIND_PER_PRIMITIVE and array indice usage Tue, 4 Jun 2013 09:32:59 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed deprecated usage of osg::Geometry indices and BIND_PER_PRIMITIVE Mon, 3 Jun 2013 15:10:53 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Aurelien Albert, Added support for texture swizzle. Mon, 3 Jun 2013 14:38:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated version and so_version in prep for 3.1.8 developer release Mon, 3 Jun 2013 14:27:14 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added Vec*b, Vec4ub, Vec*s, Vec*i, Vec*ui serializers Mon, 3 Jun 2013 12:19:06 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added Vec2i, Vec2ui, Vec3i, Vec3ui, Vec4i and Vec4ui headers to CMake header list Mon, 3 Jun 2013 11:38:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Art Tevs, int and uint Vec classes Mon, 3 Jun 2013 09:19:46 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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: @@ -7392,23 +7992,23 @@ From Laurens Voerman, "I made some changes to the top level CMakeLists.txt that Fri, 31 May 2013 10:23:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Renamed PanoramicSphericalDisplay.cpp to fix a typo Tue, 28 May 2013 16:39:48 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog and Contributors list Tue, 28 May 2013 15:43:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -7418,7 +8018,7 @@ This seems to indicate that the check for alpha should be against the opacity ma Tue, 28 May 2013 15:40:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -7428,15 +8028,15 @@ Note from Robert, Michael only change State::apply(StateSet*) so I also applied Tue, 28 May 2013 15:18:59 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed date typo Tue, 28 May 2013 14:35:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -7444,54 +8044,54 @@ I'm not sure if the printing was accidentally left in or is meant to be enabled. Tue, 28 May 2013 14:14:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Sukender, "Added ".dds" file deletion on writing failure." Tue, 28 May 2013 11:46:01 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed the computation of the spot light direction. Tue, 28 May 2013 09:20:48 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed View::setUpViewInWindow() parameter Tue, 28 May 2013 08:38:09 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added an OSG_INIT_SINGLETON_PROXY(..) to initialize the static s_GLExtensionDisableString variable Mon, 27 May 2013 09:10:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated AUTHORS file Mon, 27 May 2013 09:07:53 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated AUTHORS file Mon, 27 May 2013 09:05:14 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog and AUTHORS file Mon, 27 May 2013 08:13:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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? @@ -7501,69 +8101,69 @@ Attached is the easy fix :)." Mon, 27 May 2013 08:10:42 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Moved quad buffer definitions into include/osg/Camera Sun, 26 May 2013 10:44:11 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated AUTHORS file Sun, 26 May 2013 10:27:07 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog Sat, 25 May 2013 10:09:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Farshid Lashkari, " small update to TangentSpaceGenerator to support QUAD_STRIP primitive types." Fri, 24 May 2013 17:16:57 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed redudent code Fri, 24 May 2013 09:35:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Pawel Ksiezopolski, Added example of using osg::TextureBuffer + GLSL to render forest. Thu, 23 May 2013 14:14:51 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Quitened down debug messages Wed, 22 May 2013 13:16:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed debug messages Wed, 22 May 2013 13:09:38 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -7575,7 +8175,7 @@ Attached is a fix for src/osgPlugins/vnc/CMakeLists.txt" Wed, 22 May 2013 12:49:46 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -7584,11 +8184,11 @@ second email: "After a while I found that osg::Texture::applyTexParameters() use Wed, 22 May 2013 11:06:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -7605,77 +8205,77 @@ I remove ENDIF argument, it is no longer needed by cmake" Tue, 21 May 2013 17:41:07 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Valeriy Dubov, fix for Android build under OSX Tue, 21 May 2013 09:48:16 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added use of SingleWindow for when only one screen is used Mon, 20 May 2013 19:24:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for controlling border and override redirect to the SingleWindow View::Config Mon, 20 May 2013 10:23:03 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for setting the left/right cull masks Thu, 16 May 2013 14:51:07 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed the default of OSG_SPLIT_STEREO_AUTO_ADJUST_ASPECT_RATIO to OFF Thu, 16 May 2013 14:11:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed stereo offsets of HORIZONTAL_SPLIT and VERTICAL_SPLIT stereo modes Thu, 16 May 2013 14:07:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Reverted back to changes before experiements with ViewConfig Thu, 16 May 2013 10:28:01 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Cleaned up the WoWVxDisplay command line parsing Thu, 16 May 2013 10:11:06 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Renamed osgViewer::Config osgViewer::ViewConfig and moved it's declaration into include/osgViewer. Thu, 16 May 2013 09:08:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added WoWVxDisplay view config Wed, 15 May 2013 16:15:38 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for osgViewer::Config in osgViewer::Viewer command line parsing Wed, 15 May 2013 11:31:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Lionel Lagarde, "When a function do:OSG_DEBUG << "Hello world!\n"; the underlying stream is not automatically flushed. It is flushed @@ -7709,205 +8309,205 @@ the current severity changes. Tue, 14 May 2013 16:18:41 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog Tue, 14 May 2013 13:34:54 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated version after dev release Mon, 13 May 2013 13:12:13 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added OSGUTIL_EXPORT for Windows build Mon, 13 May 2013 12:08:05 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated version number for dev release Mon, 13 May 2013 11:59:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog for dev release Mon, 13 May 2013 11:51:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated links to svn repository Mon, 13 May 2013 11:02:40 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed build for when automatic type conversion isn't enabled for ref_ptr<> Mon, 13 May 2013 09:53:54 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed the render order to the Render To Texture cameras used in stereo keystoning. Mon, 13 May 2013 09:49:54 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved the use of the Keystone's defined in the DisplaySettings object. Mon, 13 May 2013 09:18:37 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added keystone file handling Fri, 10 May 2013 11:56:09 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Moved Keystone support from osgkeystone example into osgViewer::View Thu, 9 May 2013 15:18:14 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Moved Keystone class into osgViewer library. Tue, 7 May 2013 14:43:36 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Cleaned up event handler and namespaces in prep for integrating keystone functionality into osgViewer Tue, 7 May 2013 13:34:47 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added keystone support for left eye, right eye and quad buffer stereo Tue, 7 May 2013 11:13:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Commented out debug output Fri, 3 May 2013 19:26:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield As a test of new repository updated date in README.txt Thu, 18 Apr 2013 17:02:57 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Refactored Keystone setup as a step toward integrating Keystone correction with stereo Thu, 18 Apr 2013 09:47:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Implemented initial cut of anaglyphic stereo Tue, 16 Apr 2013 09:26:40 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed point to osg::ref_ptr<> to prevent memory leaks. Mon, 15 Apr 2013 14:21:32 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Preperation for adding stereo support direclty into osgViewer. Fri, 12 Apr 2013 13:01:51 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Moved keystone event handler onto the keystone distortion Camera. Fri, 12 Apr 2013 08:52:21 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Moved the keystone geometry computation into a Keystone::compute3DPositions(..) method Wed, 10 Apr 2013 16:36:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed old experimental keystone code to clean up the example Thu, 28 Mar 2013 10:46:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed the way that the keystone geometry is calculated. Wed, 27 Mar 2013 16:29:01 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added keypad control of corner points Tue, 26 Mar 2013 17:03:22 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Moved local variable into local scope to avoid it being created when not used. Tue, 26 Mar 2013 16:47:52 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Introduced shearing of the image Tue, 26 Mar 2013 11:00:05 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved the setup of the keystone distortion correction mesh. Thu, 21 Mar 2013 16:42:09 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated developer release number Thu, 21 Mar 2013 16:22:30 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added check against isVertexBufferObjectSupported() in set*Pointer() methods Thu, 21 Mar 2013 11:35:21 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added keystone grid to aid editing Wed, 20 Mar 2013 14:03:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improve corner point tracking/keystone computation Tue, 19 Mar 2013 12:44:03 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added event handle for interactive setting of keystone variables Fri, 15 Mar 2013 17:35:43 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Experiments with modifying the projection matrix to provide keystoning. Thu, 14 Mar 2013 16:24:22 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Initial skeleton of new osgkeystone example Mon, 11 Mar 2013 17:16:32 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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), @@ -7928,11 +8528,11 @@ From Chris Hanson, " Adds missing copy for _bbox member variable to copy constr Wed, 13 Feb 2013 16:29:03 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Lukasz Izdebski,"added support for gl_SampleMaski." Wed, 13 Feb 2013 16:03:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -7946,19 +8546,19 @@ Thanks to Jan Ciger for spotting the bug and find a possible solution. " Tue, 12 Feb 2013 15:44:52 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Jordi Torres, Android build fix Tue, 12 Feb 2013 15:40:21 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Jordi Torres, fix for Android build Tue, 12 Feb 2013 15:18:06 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Stephan Huber, fixed bug in setting _numMessagesPerEvent and added more debug information Thu, 7 Feb 2013 19:16:07 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -7969,19 +8569,19 @@ From Mike Connell, "3 smaller fixes for the 3DS loader (against trunk)1. Respect Thu, 7 Feb 2013 11:10:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Lukasz Izdebski , "I added write and read numInstances in PrimitiveSet." Thu, 7 Feb 2013 11:08:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated SO version in prep for serialization foramt change Thu, 7 Feb 2013 08:46:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated AUTHORS list Wed, 6 Feb 2013 16:04:13 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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() @@ -8006,7 +8606,7 @@ else Wed, 6 Feb 2013 14:50:37 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 ---- @@ -8015,11 +8615,11 @@ M include/osg/State Wed, 6 Feb 2013 14:49:48 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added TODO note about RGB -> RGBA Wed, 6 Feb 2013 12:46:03 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -8081,93 +8681,93 @@ Since most video will not contain an alpha channel, using a 24 bit texture will Wed, 6 Feb 2013 12:02:05 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Simplified include/osg/Math to use Standard C++ maths headers - and Wed, 6 Feb 2013 11:16:29 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warning Wed, 6 Feb 2013 09:20:10 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Stephan Huber, fixed for Windows 64bit build Tue, 5 Feb 2013 18:22:46 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added .get()'s to fix compilation when ref_ptr<> type conversion is disabled Mon, 4 Feb 2013 16:25:52 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog Mon, 4 Feb 2013 14:42:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated version number after 3.1.4 developer release Mon, 4 Feb 2013 13:28:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warning Mon, 4 Feb 2013 13:27:46 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warnings Mon, 4 Feb 2013 13:11:13 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warning Mon, 4 Feb 2013 12:50:51 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warning and converted tabs to four spaces Mon, 4 Feb 2013 12:38:08 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warnings Mon, 4 Feb 2013 12:01:26 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warning Thu, 31 Jan 2013 16:26:06 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added handling of movies into Timeout Wed, 30 Jan 2013 10:49:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -8175,7 +8775,7 @@ It also added a search for libtiff to Apple builds mainly for use with osg earth Fri, 25 Jan 2013 11:54:03 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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" @@ -8185,90 +8785,90 @@ Compute shader information can be found at "http://www.opengl.org/registry/specs Fri, 25 Jan 2013 11:08:32 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed compile warning Fri, 25 Jan 2013 10:24:11 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added debug message for Timout Thu, 24 Jan 2013 18:48:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed usage of META_NodeVisitor so it doesn't include "" Wed, 23 Jan 2013 17:38:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Wang Rui with edits from Robert Osfield, additional GLenums for cross platform build Wed, 23 Jan 2013 15:54:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Lionel Lagarde, fixed typo bug Wed, 23 Jan 2013 11:50:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed redundent code block Wed, 23 Jan 2013 11:45:31 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added and functionality to .p3d functionality. Tue, 22 Jan 2013 10:33:19 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added Options support to ImageSequence LOAD_* functionality Fri, 18 Jan 2013 16:30:55 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Update SO_VERSION to reflect new API changes Fri, 18 Jan 2013 16:21:17 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added and support to to allow the different timeout statges to be broadcast. Thu, 17 Jan 2013 11:57:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed the defaults of the Timeout to be DBL_MAX by default. Thu, 17 Jan 2013 11:48:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Completed support, to use it with p3d use it along the lines: Test @@ -8293,19 +8893,19 @@ Completed support, to use it with p3d use it along the lines: Thu, 17 Jan 2013 09:51:15 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for to Timeout support. Wed, 16 Jan 2013 16:13:30 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Implemented basic Timeout display and timing codes Tue, 15 Jan 2013 11:31:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added shell of Timeout class Fri, 11 Jan 2013 11:30:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added movie volume animation control to and tags to be used in the form: 0.20 @@ -8335,15 +8935,15 @@ Added movie volume animation control to and tags to be us Thu, 10 Jan 2013 19:55:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. " @@ -8351,19 +8951,19 @@ From Stephan Huber, "thanks for your input, unfortunately I could not get it wor Wed, 9 Jan 2013 16:29:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added case for FORWARD_EVENT to address warning Mon, 7 Jan 2013 15:03:22 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -8376,61 +8976,61 @@ I've replaced it with : Mon, 7 Jan 2013 12:41:16 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Made UpdateVisitor::TravesalMode default to TRAVERSE_ACTIVE_CHILDREN Thu, 20 Dec 2012 12:14:53 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed lighting of trk lines Wed, 19 Dec 2012 12:38:17 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed the colour calculation and added gl_ClipVertex to enable clipping. Tue, 18 Dec 2012 11:20:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed erroneous region setting Tue, 18 Dec 2012 09:49:01 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added handling of aspect ratio for vertical/horizontal split stereo. Fri, 14 Dec 2012 16:31:07 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated SO version Thu, 13 Dec 2012 17:35:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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)." @@ -8441,35 +9041,35 @@ M include/osg/Image Thu, 13 Dec 2012 16:23:38 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added colouring and lighting of track using shader Tue, 11 Dec 2012 17:45:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed handling of image colour space conversion when pixel format changes Tue, 11 Dec 2012 17:27:22 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Disabled lighting and set the colour to white Tue, 11 Dec 2012 09:55:48 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield First cut of generating lines from .trk data Mon, 10 Dec 2012 11:11:19 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added setting of the fusion distance. Sat, 8 Dec 2012 16:11:00 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -8486,79 +9086,79 @@ With these changes it is now possible to reference a movie inside a presentation Fri, 7 Dec 2012 19:04:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added template swapBytes method Fri, 7 Dec 2012 13:59:57 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed handling of window size/projection matrix Fri, 7 Dec 2012 10:19:05 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Intial shell of .trk plugin Thu, 6 Dec 2012 18:12:00 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Stephan Huber, build fix Thu, 6 Dec 2012 14:42:36 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added default value for initialization of port number Thu, 6 Dec 2012 11:36:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed typo Thu, 6 Dec 2012 11:36:13 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added creation of directory path for ouput if one is required Thu, 6 Dec 2012 08:02:08 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Stephan Huber, ZerConfDevice plugin for Windows and Apple Wed, 5 Dec 2012 17:15:53 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed default camera position Tue, 4 Dec 2012 18:51:21 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed the -w and -h options to --width and --height respectively. Tue, 4 Dec 2012 18:30:33 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Cleaned up command line usage Tue, 4 Dec 2012 18:28:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Tidied up command line docs. Tue, 4 Dec 2012 18:21:53 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Tidied up CaptureSettings and added command line docs Tue, 4 Dec 2012 12:47:46 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -8570,49 +9170,49 @@ Added CameraProperty and associated command line parameters for controlling came Tue, 4 Dec 2012 09:11:17 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added missing break; Mon, 3 Dec 2012 16:49:47 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Renamed souce file Mon, 3 Dec 2012 10:10:46 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed error in Unfiform set method Mon, 3 Dec 2012 09:35:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added include of osc plugin directory to help with Windows build Sun, 2 Dec 2012 11:45:57 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Wang Rui, build fix Fri, 30 Nov 2012 20:03:31 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed crash when no CameraManipulator is assigned to the viewer Fri, 30 Nov 2012 16:52:59 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for 0x and numeric defintion of keys to be used with functionality. Fri, 30 Nov 2012 15:43:31 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for pausing and restart the property_animation. Fri, 30 Nov 2012 14:21:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added xml defined property/property animation to .p3d format for propeties: alpha="$alphaname" cutoff="$cutoffname" region="$minx $miny $minz $maxx $maxy $maxz" @@ -8623,135 +9223,135 @@ Added xml defined property/property animation to .p3d format for propet Wed, 28 Nov 2012 13:28:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Stephan Huber, New OscSendingDevice and OscReceivingDevice classes Wed, 28 Nov 2012 10:43:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for tag for , and scope to compliment the scope of Tue, 27 Nov 2012 15:09:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added preliminary support for Thu, 22 Nov 2012 15:13:46 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Simplified CMakeLists and adjusted OscHostEndianness to automatically detect the endian at compile time Thu, 22 Nov 2012 11:47:03 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Stephan Huber, updates to explictly set the HOST Endian using Cmake Thu, 22 Nov 2012 09:49:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Stephan Huber, further work on osc plugin Wed, 21 Nov 2012 14:27:54 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Paul Martz, fix for Windows build Tue, 20 Nov 2012 13:01:57 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Stephan Huber, added missing windows dependency Tue, 20 Nov 2012 10:37:42 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added ws2_32 library to Win32 build Mon, 19 Nov 2012 11:25:52 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Paul Martz, build fixes Mon, 19 Nov 2012 10:48:37 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Frm Stephan Huber, osc plugin that supports send and recieving events via UDP packets. Fri, 16 Nov 2012 15:40:41 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added first cut implememtation of PropertyAnimation class Thu, 15 Nov 2012 12:11:19 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Moved PropertyManager related classes out from SlideEventHandler into their own dedicated header/source file. Tue, 13 Nov 2012 16:15:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Stephan Huber, fixed warning Tue, 13 Nov 2012 13:32:01 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed COLOUR to COLOR to be consistent with OpenGL spelling Tue, 13 Nov 2012 13:16:10 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added first step to adding pruning of expired image requests. Tue, 13 Nov 2012 11:20:36 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Stephan Huber, introduced syncornization of osgGA::Device Mon, 12 Nov 2012 16:46:08 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added osgframerenderer example Mon, 12 Nov 2012 10:36:21 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed the default settings to fix a jump problems Sat, 10 Nov 2012 12:12:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added missing files in support of key_jump and key_run tags Fri, 9 Nov 2012 21:32:54 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -8759,51 +9359,51 @@ I attached fix for this issue." Thu, 8 Nov 2012 15:45:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for Thu, 8 Nov 2012 15:28:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed the way the mouse position is update to handle the remote device control. Thu, 8 Nov 2012 14:15:59 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added check to avoid doing update when the imagesequence is empty. Thu, 8 Nov 2012 11:19:31 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Refactored ImageSequence to better handle random access usage. Tue, 6 Nov 2012 17:49:32 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Tweaked casts/types to fix build under Linux Tue, 6 Nov 2012 14:25:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added f qualifer to 1.0 to fix build problem under MSVS Tue, 6 Nov 2012 11:18:33 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Stephan Huber, improved performance by using native apple functions for flipping image Mon, 5 Nov 2012 17:22:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Quitened down debug output Mon, 5 Nov 2012 12:03:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added static cast to float to avoid compile error under MSV Thu, 1 Nov 2012 18:06:46 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -8816,39 +9416,39 @@ pick the geometry in the transform with the reference frame set to ABSOLUTE_RF." Thu, 1 Nov 2012 16:11:13 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed the PropertyEventCallback to only respond to mouse releated events. Thu, 1 Nov 2012 14:29:26 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Wed, 31 Oct 2012 17:06:29 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added reading of the P3D_DEVICE env var for setting up the --device entry. Wed, 31 Oct 2012 16:07:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Stephan Huber, RestHttpDevice plugin for support of remote application control via Rest http. Mon, 29 Oct 2012 15:58:02 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Intial work towards support an interaction tag in Present3D. Fri, 26 Oct 2012 15:31:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Luc Frauciel, "Compile Fix - KTX plugin with Visual Studio, not defined under MSVC" Wed, 24 Oct 2012 16:10:38 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -8861,7 +9461,7 @@ Back to the AVFoundation-plugin: the current implementation does not support Cor Tue, 23 Oct 2012 16:15:03 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -8873,37 +9473,37 @@ Added sdl plugin to provides very basic joystick osgGA::Device integration. Mon, 22 Oct 2012 16:21:04 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added mutex lock to Uniform::addParent()/removeParent(). Fri, 12 Oct 2012 14:51:08 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added serializers for osgGA Tue, 9 Oct 2012 16:14:21 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added a static_cast to avoid build issues under Windows Mon, 8 Oct 2012 16:03:16 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warning Mon, 8 Oct 2012 15:10:56 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 : @@ -8916,13 +9516,13 @@ And it compiles fine Mon, 8 Oct 2012 12:00:53 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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*) @@ -8960,7 +9560,7 @@ M src/osgPlugins/dae/daeReader.h Mon, 8 Oct 2012 11:10:25 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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/ @@ -8985,31 +9585,31 @@ management) Fri, 5 Oct 2012 16:31:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Made TouchData and osg::Object to aid with serialization. Fri, 5 Oct 2012 10:37:36 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added set methods to assist with serialization support Thu, 4 Oct 2012 13:45:54 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -9026,7 +9626,7 @@ The change attached (against rev 13153) corrects this." Thu, 27 Sep 2012 08:34:56 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -9040,29 +9640,29 @@ Luckily GL_DEPTH24_STENCIL8_EXT happens to have the same value as iOSs GL_DEPTH2 Wed, 26 Sep 2012 08:42:04 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed dispatch to virtual Mon, 24 Sep 2012 10:10:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Luc Frauciel, Added sRGB FrameBuffer string Thu, 20 Sep 2012 11:27:57 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -9075,60 +9675,60 @@ then all works correctly. Thu, 20 Sep 2012 11:18:19 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added ReadQueue::size() method to help with debugging. Wed, 12 Sep 2012 16:35:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated version after 3.1.3 dev release Fri, 7 Sep 2012 17:04:31 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog for 3.1.3 dev release Fri, 7 Sep 2012 14:55:09 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added check so not intialization is down when you select the current camera manipulator Thu, 6 Sep 2012 13:53:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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). @@ -9143,7 +9743,7 @@ From Robert Osfield, changed assert in Piotr's code to a runtime check warning r Thu, 6 Sep 2012 10:52:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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, ...) @@ -9156,23 +9756,23 @@ it seems to be doing the right thing: here the same type is used for *ptr, oldva Thu, 6 Sep 2012 10:32:07 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Fredric Bouvier, fix to CMake build selection of FLTK Wed, 5 Sep 2012 21:03:41 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed inappropriate comment Wed, 5 Sep 2012 13:48:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. " @@ -9180,193 +9780,193 @@ From Thomas Hogarth, "I submitted a change for the IOS CMake system a few weeks Wed, 5 Sep 2012 10:24:10 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated SO version number to avoid collision with new additions to serializers Wed, 5 Sep 2012 09:08:25 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Ulrich Hertlein, "fixes a typo and adds support for OS X 10.8" Wed, 5 Sep 2012 08:42:14 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added deprecated note to indices entry. Tue, 4 Sep 2012 08:21:09 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Adjusted the #define's to help GLES2 build Mon, 3 Sep 2012 08:30:01 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Johannes Scholz, fix for writing out of hexidecimal numbers Thu, 23 Aug 2012 15:06:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed typo Tue, 21 Aug 2012 09:45:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed the erronous creation of a local ShadowSettings object Tue, 24 Jul 2012 09:05:04 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added FireGL to prefernce list for use glGenerateMipMap Mon, 23 Jul 2012 08:15:57 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed build Thu, 12 Jul 2012 16:41:53 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed indentation Wed, 11 Jul 2012 08:39:11 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed parameter default value to avoid warning Tue, 10 Jul 2012 16:20:32 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Replaced use of now deprecated methods. Tue, 10 Jul 2012 16:11:40 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Enabled the use the getReceivesShadowTraversalMask(). Tue, 10 Jul 2012 16:11:15 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed settings of masks to use ShadowSettings. Tue, 10 Jul 2012 15:50:46 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Moved mask settings into ShadowSettings Mon, 9 Jul 2012 17:49:04 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed spelling of FileNameComparator Fri, 15 Jun 2012 09:04:32 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Enabled 6 ImageThreads in the ImagePager Tue, 12 Jun 2012 10:31:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added ImageStream support to and tags in .p3d Fri, 8 Jun 2012 04:18:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added osg::ImageSequence support into osgPresentation::SlideShowConstructor and the associated tag in .p3d. Thu, 7 Jun 2012 10:08:42 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added --fps support Thu, 31 May 2012 14:45:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added typdef for Win32 Fri, 25 May 2012 16:07:11 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added Dragger::get/setActivationMouseButtonMask(uint). Fri, 25 May 2012 08:56:25 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -9377,59 +9977,59 @@ it user defined." Thu, 24 May 2012 18:15:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Jaap Gas, added missing break, and missing removeDraggerCallback. Mon, 21 May 2012 09:12:13 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed trailing spaces Wed, 2 May 2012 13:58:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed for including cmath before osg/Math. Fri, 27 Apr 2012 09:43:25 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Ran dos2unx on file Fri, 20 Apr 2012 09:38:51 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed build with OSG_USE_REF_PTR_IMPLICIT_OUTPUT set to OFF. Thu, 19 Apr 2012 10:27:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -9440,23 +10040,23 @@ Thanks to Paul Martz to spot me when the bug appear." Thu, 19 Apr 2012 10:10:26 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added missing getUniformBlocks implmentation Thu, 19 Apr 2012 09:50:10 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -9468,47 +10068,47 @@ in some of the text node setups in the example. Wed, 18 Apr 2012 09:50:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated version number Fri, 6 Apr 2012 11:29:29 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Ulrich Hertlein, Fix for MatrixTemplate compile errors Thu, 5 Apr 2012 13:53:47 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Update AUTHORS for release Fri, 30 Mar 2012 16:58:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog for dev release Fri, 30 Mar 2012 10:10:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added check to avoid accessing pointer past the end of the string. Thu, 29 Mar 2012 15:08:15 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Magnus Kessler, typo and documentation fixes Thu, 29 Mar 2012 14:58:00 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Magnus Kessler, "remove unecessary conversion from float in double precision method" Thu, 29 Mar 2012 09:43:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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, @@ -9517,23 +10117,23 @@ original idea from geeks3d.com." Thu, 29 Mar 2012 08:27:21 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added int packing parameter to Image::readPixels(..) Fri, 23 Mar 2012 16:09:30 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed trailing spaces Fri, 23 Mar 2012 11:32:10 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog and AUTHORS for 3.1.2 dev release Fri, 23 Mar 2012 11:20:17 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed potential memory leak Fri, 23 Mar 2012 11:16:01 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -9563,7 +10163,7 @@ They load well in Google Earth Fri, 23 Mar 2012 10:24:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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' @@ -9580,11 +10180,11 @@ On OS X the cast compiles cleanly on both g++ (i686-apple-darwin11-llvm-g++-4.2 Fri, 23 Mar 2012 10:21:51 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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") ... @@ -9614,43 +10214,43 @@ I implemented the last option and verified that at least the following Mac OS SD Wed, 21 Mar 2012 17:36:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Ran script to remove trailing spaces and tabs Wed, 21 Mar 2012 16:02:32 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From David Callu, "just a typo fix that break the compilation under windows" Wed, 21 Mar 2012 11:36:54 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added Traits::getContextVersion(uint,uint) Wed, 21 Mar 2012 11:26:09 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated version number Tue, 20 Mar 2012 12:01:02 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed inappropriate warning Tue, 20 Mar 2012 11:18:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Replaced && with & to address error in handling bitmask Mon, 19 Mar 2012 09:49:41 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Lukasz Izdebski, Added StencilTwoSided support to ive plugin Fri, 16 Mar 2012 13:22:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed the order of setting of CenterMode Wed, 14 Mar 2012 16:42:07 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. " @@ -9658,7 +10258,7 @@ From Wang Rui, "I'd like to submit a slightly modified version of the ViewDepend Mon, 12 Mar 2012 14:22:48 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Moved static initializers into global scope to prevent problems with using exit(). Sun, 11 Mar 2012 22:05:29 +0000 @@ -9666,26 +10266,26 @@ Checked in by : Cedric Pinson Changed osgAnimation::StackedTransform::update(t). It can now be used for custom usage Fri, 9 Mar 2012 13:16:39 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog and AUTHORS file for 3.1.1 dev release Fri, 9 Mar 2012 10:20:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated version number for 3.1.1 dev release Thu, 8 Mar 2012 16:05:17 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Olaf Flebbe, "Appended now a bugfixed proposition for the Win7 Multitouch Support.Now examples/osgmultitouch really works ;-) Based on yesterdays trunk. @@ -9700,7 +10300,7 @@ Based on yesterdays trunk. Tue, 6 Mar 2012 10:35:57 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. " @@ -9708,15 +10308,15 @@ The fix is to skip textures with NULL image when inserting textures in the build Tue, 6 Mar 2012 10:33:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. " @@ -9724,15 +10324,15 @@ From Chuck Seberino, "Here is a fix for the RotateCylinderDragger. This patch f Tue, 6 Mar 2012 10:06:00 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added RotateCylinderDragger and RotateSphereDragger to list of manipulators for testing purposes Mon, 5 Mar 2012 14:17:01 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Paul Martz, "Just a minor update and typo fix. " Thu, 1 Mar 2012 11:33:31 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -9745,11 +10345,11 @@ Tested with osg plugin, FME (Safe software), Autodesk DWG TrueView Thu, 1 Mar 2012 11:03:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From David Callu, "I found a bug in osg::Program.in osg::Program::PerContextProgram : typedef std::vector LastAppliedUniformList; @@ -9769,19 +10369,19 @@ all driver." Thu, 1 Mar 2012 10:14:55 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed redudent spaces at ends of lines Wed, 29 Feb 2012 14:01:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog and AUTHORS for dev release Wed, 29 Feb 2012 10:22:56 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved the handling of endian swap of osg::Array Wed, 29 Feb 2012 10:22:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -9791,7 +10391,7 @@ I also updated the member variables to use OSG's leading-underscore convention." Tue, 28 Feb 2012 12:03:48 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -9805,35 +10405,35 @@ Please find as attachment the proposed patch against latest svn version. Tue, 28 Feb 2012 11:37:09 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added build problem with using float Matrix. Tue, 28 Feb 2012 10:21:21 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Thomas Hogarth, build fix for IOS build Mon, 27 Feb 2012 09:50:47 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added fin.imbue(std::locale::classic()); to avoid problems with parsing of .obj files Fri, 24 Feb 2012 21:07:02 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for using glGenerateMipmap instead of GL_GENERATE_MIPMAP_SGIS on GLES2 Fri, 24 Feb 2012 11:43:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Cleaned up CMake warning Thu, 23 Feb 2012 17:51:40 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -9842,15 +10442,15 @@ into the #if defined(OSG_GL_FIXED_FUNCTION_AVAILABLE) block to solve problems un Thu, 23 Feb 2012 15:55:30 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -9894,11 +10494,11 @@ The attached code resolves this issue by passing UniqueID in readObjectFields me Tue, 21 Feb 2012 17:20:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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: @@ -9911,39 +10511,39 @@ Now OSG compiles out of the box for MacOSX 10.7. , tested with gcc and clang wi Tue, 21 Feb 2012 11:13:25 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Chris Denham, "ReaderWriter3DS smoothing group handling corrections" Tue, 21 Feb 2012 10:42:59 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warnings Tue, 21 Feb 2012 10:38:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Alexander Sinditskiy, "Fix loading small monochrome bmp images" Mon, 20 Feb 2012 12:33:17 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Riccardo Corsi, Added passing of EventVisitor pointer to event handlers. Mon, 20 Feb 2012 12:12:43 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -9954,7 +10554,7 @@ In case you accept the submission, I've removed the comment as it would be misle Mon, 20 Feb 2012 12:03:14 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -9962,27 +10562,27 @@ Note from Robert Osfield, changed the Image::supportsTextureSubloading() to be c Fri, 17 Feb 2012 16:51:10 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added usage of OSG_CPP_EXCEPTIONS_AVAILABLE for plugins that use std::exceptions. Fri, 10 Feb 2012 17:24:08 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -9997,17 +10597,17 @@ complexity." Fri, 10 Feb 2012 16:12:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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). @@ -10016,7 +10616,7 @@ In particular, there in an option in glu tesselator that force the generated pri Thu, 9 Feb 2012 17:52:13 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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". @@ -10025,11 +10625,11 @@ I also modified osgDB::FileCache to create correct filenames if the data source Thu, 9 Feb 2012 17:45:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog, AUTHORS and Contriburos.cpp files Thu, 9 Feb 2012 16:42:47 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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: @@ -10063,7 +10663,7 @@ I'm assigning my copyright in this change to the osg project leads. Thu, 9 Feb 2012 15:54:13 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -10091,32 +10691,32 @@ index 0b88d63..2137bbd 100644 Thu, 9 Feb 2012 15:51:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Paul Martz, a simple GL3 example Thu, 9 Feb 2012 15:08:30 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Colin McDonald, fix for Solaris build. Thu, 9 Feb 2012 14:33:13 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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: @@ -10136,7 +10736,7 @@ Code: Thu, 9 Feb 2012 12:50:42 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. " @@ -10148,15 +10748,15 @@ up submission to add back in this feature. Wed, 8 Feb 2012 17:12:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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). @@ -10198,31 +10798,31 @@ svn/trunk." Wed, 8 Feb 2012 09:34:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Alexander Irion, "Added missing format GL_ALPHA to Image::computeFormatDataType()." Tue, 7 Feb 2012 12:02:04 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -10242,15 +10842,15 @@ the pointer, so it is currently safe." Tue, 7 Feb 2012 11:21:11 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -10268,7 +10868,7 @@ src/osgGA/FirstPersonManipulator.cpp." Tue, 7 Feb 2012 10:40:04 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -10277,66 +10877,66 @@ to Tue, 7 Feb 2012 10:33:09 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed indendation and line endings Mon, 6 Feb 2012 12:06:40 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed silly compiler warning that was being produced in error. Mon, 6 Feb 2012 11:17:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -10367,7 +10967,7 @@ There's even a small example video here: http://vimeo.com/31611842" Fri, 3 Feb 2012 14:25:08 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -10398,15 +10998,15 @@ There's even a small example video here: http://vimeo.com/31611842" Fri, 3 Feb 2012 11:10:17 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved handling of archives Fri, 3 Feb 2012 11:09:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Terry Welsh, improved support for handling archives Wed, 1 Feb 2012 17:42:42 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -10419,43 +11019,43 @@ shared contexts. I have also changed a misleading diagnostic message. Wed, 1 Feb 2012 17:38:37 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Renamed selection to transform to make it clear to understand what is being done. Wed, 1 Feb 2012 17:10:48 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for Scale1DDragger, Scale2DDragger and TranslatePlaneDragger to --dragger command line option Fri, 27 Jan 2012 09:49:06 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Kristofer Tingdahl, Added missing core OSG libraries. Thu, 26 Jan 2012 18:03:26 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Quietend down debug message Thu, 26 Jan 2012 13:08:19 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -10465,32 +11065,32 @@ The only place where the RESIZE event is generated in GraphicsWindowX11 is in Ch Wed, 25 Jan 2012 17:37:55 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From J.P. Delport, "GraphicsWindowX11 typo, I believe X/Y's should match." Wed, 25 Jan 2012 17:31:07 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed the KeyEventToggleTexturing to 'e' to avoid conflict with 't' used for transparency. Tue, 24 Jan 2012 17:57:01 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Made the cursor state protected. Tue, 24 Jan 2012 17:49:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -10500,31 +11100,31 @@ Only tested on OS X Lion (10.7). Please do some testing as well since I'm fairly Tue, 24 Jan 2012 17:47:04 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed indentation and spaces at ends of lines. Tue, 24 Jan 2012 17:40:31 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Chris Denham, fixed type of parameters to ensure they are longs where appropriate. Tue, 24 Jan 2012 17:30:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed compile error Tue, 24 Jan 2012 14:34:02 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -10542,37 +11142,37 @@ image plugins that doing writing. Tue, 24 Jan 2012 14:27:17 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed the return value of SlideEventHandler::selectLayer() so that the 'n' now works correctly. Mon, 2 Jan 2012 16:54:05 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Chris Denham, Implementation of write functions in CURL plugin Fri, 23 Dec 2011 17:40:31 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -10584,7 +11184,7 @@ and Fri, 23 Dec 2011 17:34:07 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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(); @@ -10609,7 +11209,7 @@ The suggested fix submitted changes from using Mutex to ReentrantMutex. Fri, 23 Dec 2011 17:21:59 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -10617,173 +11217,173 @@ So you can now easily "hide" some objects from manipulators." Fri, 23 Dec 2011 17:16:06 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Ulrich Hertlein, typo fixes Fri, 23 Dec 2011 12:42:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added handling of an empty filename when writing out an image file. Mon, 19 Dec 2011 16:18:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed inappropriate static usage Mon, 19 Dec 2011 09:37:57 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Moved the createSpotLightImage function into include/osg/ImageUtils Mon, 19 Dec 2011 09:09:30 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Moved osgshaders example across to use the new osgUtil::PerlinNoise example Tue, 13 Dec 2011 21:12:00 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed build under Tiny Core. Fri, 25 Nov 2011 12:48:03 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Jean-Sebastien Guay, fix for handling texture unit >= 8 and negative LigthNum. Tue, 22 Nov 2011 21:55:30 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added prelimanary support for parallel split shadow maps into ViewDependentShadowMap. Fri, 18 Nov 2011 08:20:04 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed indentation Thu, 17 Nov 2011 18:45:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added .get() to fix build Fri, 11 Nov 2011 10:36:17 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated built in volume shaders to honour the osg::Matierial setting Fri, 11 Nov 2011 10:25:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Implement presentation update feature that reloads the presentation on pressing 'u'. Fri, 4 Nov 2011 12:47:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved handling of resetting of the EventQueue::startTick(). Fri, 4 Nov 2011 12:44:01 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added removeFromObjectCache method. Wed, 2 Nov 2011 10:57:17 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added setting of the sampleDensityWhenMovingProperty at the same time as when setting the sampleDensityProperty Tue, 1 Nov 2011 10:30:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed the use DCM_SeriesDescription Tue, 1 Nov 2011 10:27:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed the notification level to INFO. Fri, 28 Oct 2011 11:00:08 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed the default for SampleBuffers to be 1 when set. Fri, 28 Oct 2011 09:45:51 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed the default depth to 24. Thu, 27 Oct 2011 16:33:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -10791,15 +11391,15 @@ the interaction more intuitive. Thu, 27 Oct 2011 09:24:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for ignore returns as white space. Thu, 27 Oct 2011 08:34:53 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -10808,149 +11408,149 @@ whether the pixelformat should be swapped or set to a specific format. Wed, 26 Oct 2011 12:48:57 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added password support into present3D's vnc support via the tag usage : hostname Wed, 26 Oct 2011 12:29:38 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added password support into osgvnc example and vnc plugin Wed, 26 Oct 2011 09:34:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Implement a simply attempt at detecting when the pixel format needs to be swapped. Tue, 25 Oct 2011 15:55:33 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for 32bit depth buffer Tue, 25 Oct 2011 15:31:46 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed handling of slide with no layers. Sat, 22 Oct 2011 09:02:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed build of StreamOperator Fri, 21 Oct 2011 15:39:51 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed handling of Vec3dArray in GLBeginEdnAdapter/ArrayDispatchers. Fri, 21 Oct 2011 11:00:29 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added flipDepth() method Fri, 21 Oct 2011 09:31:56 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed handling of reading/writing of osgVolume::VolumeTile tiles Thu, 20 Oct 2011 16:35:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved handling of recent Cmake versions Thu, 20 Oct 2011 08:59:47 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed typo Mon, 17 Oct 2011 14:41:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improvements to the compute near/far Mon, 17 Oct 2011 14:40:29 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improvements to osgShadow::ViewDependentShadowMap and ShadowSettings Mon, 17 Oct 2011 11:12:05 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Quitened down debug message Mon, 17 Oct 2011 10:25:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Jean-Sebastien Guay, add --mapres size option to ViewDependentShadowMap settings. Mon, 3 Oct 2011 15:57:06 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Add catch for when shadows are enabled between the update and draw traversals. Mon, 3 Oct 2011 15:25:16 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed getVertical(..) so it uses the same coord scale as the getGlyph Mon, 3 Oct 2011 14:56:38 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed handling of ShadowSetting LightNum Mon, 3 Oct 2011 10:36:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added Font::getVertical(float& ascender, float& descender) methods. Wed, 28 Sep 2011 11:52:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added better error reporting and handling when tag contents are not valid. Tue, 20 Sep 2011 10:01:07 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added handling of tag and "" options. Mon, 19 Sep 2011 10:42:54 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -10960,27 +11560,27 @@ I haven't modified deprecated osg, since it's deprecated" Mon, 19 Sep 2011 10:12:53 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed memory leak Wed, 14 Sep 2011 10:22:04 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added missing forward declaration Wed, 14 Sep 2011 10:02:11 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added asCamera() methods into osg::Camera and osg::Node Wed, 14 Sep 2011 09:49:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -11015,7 +11615,7 @@ I think this is the correct fix: Tue, 13 Sep 2011 13:38:26 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -11023,84 +11623,84 @@ From Morten Hauknes, "I have been using the getLastVisiblePixelCount on pre 3.0 Tue, 13 Sep 2011 13:33:41 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Jean-Sebastien Guay, removed unneccessary BUILD_QT_EXAMPLES cmake option Tue, 13 Sep 2011 11:48:06 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Reverted Paul Idstein warning fix as this was breaking the build Mon, 12 Sep 2011 16:24:08 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Ulrich Hertlein, Added some error checks and memory cleanup. Mon, 12 Sep 2011 16:20:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Stephan Huber, fixed build for OSX 10.6 and earlier Mon, 12 Sep 2011 16:17:33 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Johannes Baeuerle, opptimization of ES support of osg/BufferObject Mon, 12 Sep 2011 12:38:41 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Magnus Kessler, documentation fixes Mon, 12 Sep 2011 12:04:46 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved the clarity of doxygen comments Mon, 12 Sep 2011 11:51:14 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed typos in the documentation Mon, 12 Sep 2011 11:28:14 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Cedric Pinson, from three submissions:"Here a patch that correct like the previous assign collada material name to stateset." @@ -11123,19 +11723,19 @@ and Mon, 12 Sep 2011 11:24:52 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Bob Kuehne, build fix for OSX 10.7 SDK. Mon, 12 Sep 2011 11:24:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Paul Idstein, warning fixes for OSX 10.7 Mon, 12 Sep 2011 10:52:16 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Magnus Kessler, typo fixes Mon, 12 Sep 2011 10:47:59 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -11145,218 +11745,218 @@ more compatible and portable." Mon, 12 Sep 2011 10:46:42 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added handling the ShadowSettings::LightNum for selecting which light to use. Wed, 7 Sep 2011 16:26:57 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added -5 model option using Wang Rui's test demo as a base Tue, 6 Sep 2011 11:11:38 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed the heights of the trees and houses Tue, 6 Sep 2011 10:12:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Replaced use of ShapeDrawable with osgTerrain for the terrain tile Fri, 2 Sep 2011 10:16:16 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added s/getTextureSize() method for setting the shadow map texture size. Fri, 2 Sep 2011 07:46:08 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Disabled the use of the ReceivesShadowTraversalMask() mask Thu, 1 Sep 2011 18:49:33 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added test line for COMPUTE_NEAR_USING_PRIMITIVES Thu, 1 Sep 2011 18:48:21 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Tony Horrobin, build fix Mon, 29 Aug 2011 10:26:05 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added fallback base texture Mon, 29 Aug 2011 09:59:47 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for setting the MinimumShadowMapNearFarRatio. Fri, 26 Aug 2011 15:40:09 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed bug in computaton of the min/max x/z ratios. Fri, 26 Aug 2011 15:36:33 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added names to models to help with debugging. Fri, 26 Aug 2011 10:52:25 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added releaseGLObjects/resizeGLObjectBuffers support Thu, 25 Aug 2011 17:21:38 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved the handling of depth partitioning and orthographic datasets Thu, 25 Aug 2011 15:39:09 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added event handling for toggling on/off the light source animation. Wed, 24 Aug 2011 19:38:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for user defined setting of the shadow texture unit Wed, 24 Aug 2011 13:57:15 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Imorovements to the new perspective/lispsm style shadow implementation. Wed, 24 Aug 2011 12:31:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Quitened down and fixed warning Fri, 19 Aug 2011 12:42:51 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Quitended down debug messages and added passing of RenderStage to LispSM code Fri, 19 Aug 2011 10:43:38 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved the LispSM computation Fri, 19 Aug 2011 10:43:15 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed the local variable near/far type Wed, 17 Aug 2011 17:06:55 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added back in control of the backface culling. Wed, 17 Aug 2011 16:09:17 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield intermin check-in of work on new LispSM implementation Mon, 15 Aug 2011 14:37:16 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added missing assignement of _simulationTime. Sat, 13 Aug 2011 19:09:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Implemented first pass at shaders for new ViewDepedentShadow map class Tue, 9 Aug 2011 15:57:37 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed RTT Camera to use depth. Tue, 9 Aug 2011 13:39:57 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Implemented caching of Camera, Texture and TexGen Tue, 9 Aug 2011 06:54:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Further work on basic ViewDependentShadowMaps, adding implementation of RTT camera and texgen setup. Sun, 7 Aug 2011 15:54:21 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Preliminary work on new ViewDependentShadowMap base class Fri, 29 Jul 2011 11:22:32 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed comment on end barrier position. Thu, 28 Jul 2011 16:40:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved handling of the scaling of dicom imagery. Thu, 28 Jul 2011 12:07:22 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Refectored the EGL setup so that it's honours the Traits values. Thu, 28 Jul 2011 11:05:10 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -11365,15 +11965,15 @@ This leads to an invalid enum error, when GL_TEXTURE_BORDER_COLOR is tried to se Fri, 22 Jul 2011 08:25:29 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed typo Thu, 21 Jul 2011 09:07:22 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -11383,35 +11983,35 @@ Also this change adds some Notify output for the error paths. Thu, 21 Jul 2011 08:52:02 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Claus Scheiblauer, fixed handling of horizontal mouse wheel events. Wed, 20 Jul 2011 09:10:32 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added doxygen comments explaining read file callback functionality. Mon, 18 Jul 2011 09:40:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Alberto Luacas, typo fixes Sun, 17 Jul 2011 10:30:40 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -11419,15 +12019,15 @@ Checked in by : Cedric Pinson Fix crash in osgAnimation when keyframe container are empty Fri, 15 Jul 2011 09:47:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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] @@ -11437,91 +12037,91 @@ From Ryan Pavlik, "Fix inventor state copy constructor. Clang warning: Fri, 15 Jul 2011 08:32:04 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Converted tabs to four spaces Tue, 28 Jun 2011 07:54:00 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Merged the OSG-3.0 branch versions of into svn/trunk. Tue, 28 Jun 2011 07:23:52 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Tweaked the comments Mon, 27 Jun 2011 21:32:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated NEWS and fixed typo in Contributors. Mon, 27 Jun 2011 10:20:37 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed typo Mon, 27 Jun 2011 10:19:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved the setContextID doxygen comment. Sat, 25 Jun 2011 20:51:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Tightened up float usage. Fri, 24 Jun 2011 19:17:25 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Tightened up the float/double usage Fri, 24 Jun 2011 16:15:47 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed redundent assert and associated variables to fix warnings. Fri, 24 Jun 2011 15:04:16 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Implemented missing writeShader Fri, 24 Jun 2011 13:35:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Martin Innus, fixed erroneous change of INTEGER to UNKNOWN, reverting back to INTEGER. Fri, 24 Jun 2011 12:40:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added operator ==, != and < to fix VS build Thu, 23 Jun 2011 19:58:52 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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) @@ -11541,7 +12141,7 @@ src/osgManipulator/Dragger.cpp:187:18: warning: using the result of an assignmen Thu, 23 Jun 2011 18:24:07 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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)?: @@ -11557,31 +12157,31 @@ OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp:1181:10: warning: variable ?d Thu, 23 Jun 2011 16:36:36 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed virtual method mismtaches between subclasses and parent classes. Thu, 23 Jun 2011 15:42:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Ulrich Hertlein, build fix for OSX. Thu, 23 Jun 2011 15:37:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed typo in name Thu, 23 Jun 2011 11:27:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog and AUTHORS file Thu, 23 Jun 2011 11:26:51 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed name typo Thu, 23 Jun 2011 11:09:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -11606,23 +12206,23 @@ OpenSceneGraph/include/osgManipulator/Dragger:47:9: warning: base class ?class o Thu, 23 Jun 2011 09:26:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Converted tabs to four spaces Wed, 22 Jun 2011 16:18:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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&)’: @@ -11735,33 +12335,33 @@ Resolved warnings reported by g++ 4.6's -Wunused-but-set-variable.Warnings were: Wed, 22 Jun 2011 09:12:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed regression in --run-on-demand feature Tue, 21 Jun 2011 17:26:40 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed assert() that always evaluated to true. Tue, 21 Jun 2011 13:01:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog Tue, 21 Jun 2011 09:54:57 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added returns to end of files Tue, 21 Jun 2011 09:54:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added return to end of file Tue, 21 Jun 2011 09:53:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Conveted tabs to four spaces and added a return to end of file Tue, 21 Jun 2011 09:29:32 +0000 @@ -11769,11 +12369,11 @@ Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -11850,129 +12450,129 @@ Fixed a range of issues reported by cppcheck:[examples/osgphotoalbum/PhotoArchiv Mon, 20 Jun 2011 14:09:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed unneccesary namespace qualifiers, and issue picked out by cppcheck. Mon, 20 Jun 2011 12:36:53 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Farshid Lashkari, BGR write support for BMP, PNG and TGA Mon, 20 Jun 2011 11:25:52 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added catch for window manager doesn't set the window size to full screen. Mon, 20 Jun 2011 09:28:39 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Introduced a workaround for fullscreen toggle issues under modern X11 window managers. Mon, 20 Jun 2011 09:20:39 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added extern "C" to fix build issues under OSX Fri, 17 Jun 2011 12:31:07 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog, NEWS and READE for 3.0.0-rc1 Fri, 17 Jun 2011 11:47:47 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated version number Fri, 17 Jun 2011 11:47:33 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed Jorge Izquierdo name. Fri, 17 Jun 2011 11:02:40 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated OpenThreads version number for stable release Fri, 17 Jun 2011 10:35:00 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated AUTHORS file for 3.0.0-rc1 Fri, 17 Jun 2011 09:19:11 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog Fri, 17 Jun 2011 09:05:48 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated version number of 3.0.0-rc1 Fri, 17 Jun 2011 08:47:36 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added GLES version checks to prevent build problems under GLES1 and GLES2 Fri, 17 Jun 2011 08:42:54 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Refined the version checking Fri, 17 Jun 2011 08:41:56 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Build fix Fri, 17 Jun 2011 08:26:51 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warning Fri, 17 Jun 2011 06:09:25 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warnings Fri, 17 Jun 2011 05:57:29 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added disabling of VisualStudio warning C4324 : structure was padded due to __declspec(align()) Thu, 16 Jun 2011 18:43:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warnings. Thu, 16 Jun 2011 18:25:46 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for new InternalTextureFormatModes Thu, 16 Jun 2011 18:12:55 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added wider file extension support to ExternalFileWriter::generateObjectName Thu, 16 Jun 2011 16:02:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -11984,105 +12584,105 @@ other CMakeLists.txt with libraries in OSG. I have tested it on both Thu, 16 Jun 2011 15:57:40 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Windows warning fixes Thu, 16 Jun 2011 13:00:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed indentation issues Thu, 16 Jun 2011 10:05:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved indentation. Thu, 16 Jun 2011 08:59:48 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Replaced tabs with four spaces Thu, 16 Jun 2011 08:46:30 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved the handling of compiling vs flushing deleted objects Wed, 15 Jun 2011 17:00:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed the key handling code to use EventQueue::getTime() rather then the theEvent timestamp. Wed, 15 Jun 2011 09:36:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed blitting of FBO's with multiple render targets. Wed, 15 Jun 2011 09:35:25 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Replaced .osg with .osgt file usage Tue, 14 Jun 2011 16:50:40 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved the handling of command line parameters Tue, 14 Jun 2011 15:55:36 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated version Tue, 14 Jun 2011 15:48:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed issue with events having a negative delta of time between them. Tue, 14 Jun 2011 10:15:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed executable permission. Tue, 14 Jun 2011 09:01:54 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed wild card search when wild card filename includes a path. Mon, 13 Jun 2011 08:52:11 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Jeremy Moles, fixed style == operator. Mon, 13 Jun 2011 08:45:25 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Stephan Huber, build fix for IOS Fri, 10 Jun 2011 11:42:02 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added handling of s/gUserValue() directly on a UserDataContainer. Thu, 9 Jun 2011 14:20:46 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog and AUTHORS file for 2.9.16 dev release Thu, 9 Jun 2011 14:11:04 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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: @@ -12101,209 +12701,209 @@ And that's all. Now I'm looking to fix the environmental mapping with true GLES Thu, 9 Jun 2011 12:57:14 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Mathias Froehlich, "the attached patch adds an additional null pointer check" Thu, 9 Jun 2011 11:05:36 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed the defaults volume setting to not enable the SampleDensityWhenMoving property. Wed, 8 Jun 2011 17:45:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed OSG_EXPORT Wed, 8 Jun 2011 09:24:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Introduced a less conservative near ratio. Wed, 8 Jun 2011 09:24:29 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Simplified the osgdepthpartion example to use the osgView::View::setUpDepthPartition(..) feature Tue, 7 Jun 2011 20:24:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for .osgt, .osgb and .osgx plugins to osgvolume example Tue, 7 Jun 2011 15:33:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog and AUTHORS file for release Tue, 7 Jun 2011 14:28:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Mathias Froehlich, build fixes for legacy unix systems Tue, 7 Jun 2011 13:02:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added the return of the index position of the added UserObject Tue, 7 Jun 2011 08:53:03 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for --tf-255 transfer function files Fri, 3 Jun 2011 13:47:59 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for using the sampleDensityWhenMoving tag with all techniques Thu, 2 Jun 2011 22:49:29 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added extra check to make sure that _userDataContainer was available before copying it Thu, 2 Jun 2011 22:07:16 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Add new macro's to help with serialization of new user objects Thu, 2 Jun 2011 22:06:56 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for new osg::Object user objects. Thu, 2 Jun 2011 22:04:08 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated version Thu, 2 Jun 2011 20:38:13 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added ref_ptr<> usage to avoid possible memory leak. Thu, 2 Jun 2011 14:42:21 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated version and so number for next dev release Mon, 30 May 2011 15:43:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated AUTHORS and ChangeLog for 2.9.15 dev release Mon, 30 May 2011 13:02:13 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Dimi Christop, build fix for RHEL 4. Mon, 30 May 2011 09:26:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added closing of the _eventDisplay on failure of initializing the context properly. Mon, 30 May 2011 09:25:11 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed indentation Fri, 27 May 2011 11:07:04 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Reverted Bryce Eldrige submission. Thu, 26 May 2011 16:52:08 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Form Jorge Ciges, improved GL version detection code. Thu, 26 May 2011 16:34:33 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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). @@ -12315,11 +12915,11 @@ Existing behavior (PACKBITS compression, DPI tags left at default) is preserved Thu, 26 May 2011 16:19:54 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -12330,15 +12930,15 @@ The very first seek_set on the empty stream with zero offset." Thu, 26 May 2011 16:13:04 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed indentation Thu, 26 May 2011 15:47:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -12350,19 +12950,19 @@ ReaderWriterZip.cpp - modified to use the ZipArchive class" Wed, 25 May 2011 09:34:53 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog Wed, 25 May 2011 09:34:02 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Olaf Flebbe, fixes for OSX AGL build Wed, 25 May 2011 09:13:26 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed now redundent local implementation of getDirectoryContexts() Wed, 25 May 2011 09:04:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -12375,14 +12975,14 @@ ReaderWriterZip.cpp - modified to use the ZipArchive class" Tue, 24 May 2011 13:05:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12396,7 +12996,7 @@ Non-static class member _areTessellationShadersSupported is not initialized in t Tue, 24 May 2011 10:19:22 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12405,7 +13005,7 @@ Failing to save storage allocated by "this->_kdTreePrototype->cloneType()" leaks Tue, 24 May 2011 10:18:47 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12413,7 +13013,7 @@ Non-static class member _allocationMode is not initialized in this constructor n Tue, 24 May 2011 10:18:05 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12421,7 +13021,7 @@ Non-static class member _primitiveMode is not initialized in this constructor no Tue, 24 May 2011 10:16:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12436,7 +13036,7 @@ Failing to save storage allocated by "this->getVertexArray()->clone(struct osg:: Tue, 24 May 2011 10:15:39 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12444,7 +13044,7 @@ Non-static class member _simulationTime is not initialized in this constructor n Tue, 24 May 2011 10:15:17 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12452,7 +13052,7 @@ Non-static class member _ximpl is not initialized in this constructor nor in any Tue, 24 May 2011 10:14:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12460,7 +13060,7 @@ Non-static class member _isARBOcclusionQuerySupported is not initialized in this Tue, 24 May 2011 10:14:03 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12469,7 +13069,7 @@ Non-static class member _glVertexAttrib1dv is not initialized in this constructo Tue, 24 May 2011 10:13:07 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12478,35 +13078,35 @@ Non-static class member _isUniformBufferObjectSupported is not initialized in th Tue, 24 May 2011 10:08:40 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed build error Mon, 23 May 2011 16:58:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed unused numX, numY member variables, and added initializer for firstHeaderWrite. Mon, 23 May 2011 08:17:02 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Uppded the default acceleration as it was too slow for reasonable sized models Tue, 17 May 2011 12:57:46 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Wang Rui, added close button hint Mon, 16 May 2011 12:44:39 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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) @@ -12521,15 +13121,15 @@ Code also make use of osgDB::ExternalFileWriter I submitted, so please merge thi Mon, 16 May 2011 09:17:30 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Renamed example from osgviewerQtContext to osgviewerQt. Mon, 16 May 2011 09:16:22 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated example to use new GraphicsWindowQt::getGLWidget() method instead of deprecated getGraphWidget() method Mon, 16 May 2011 09:15:02 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -12539,7 +13139,7 @@ Added support for setting threading model from command line and changed default Mon, 16 May 2011 09:06:06 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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, @@ -12562,11 +13162,11 @@ From Robert Osfield, added back in getGraphWidget() method for backwards compati Mon, 16 May 2011 08:59:10 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed traling spaces Mon, 16 May 2011 08:50:59 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -12595,54 +13195,54 @@ From Robert Osfield, added doxygen comments to clarify the role of the methods. Sun, 15 May 2011 08:27:04 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Wang Rui, build fix Fri, 13 May 2011 19:19:00 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed handling of Font implementations that don't handle multiple font resolutions. Fri, 13 May 2011 11:20:48 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved the size, advance and bearing settings Thu, 12 May 2011 18:52:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Warning and build fixes Thu, 12 May 2011 18:40:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added newline to end of file Thu, 12 May 2011 14:07:15 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Sukender, ported across to use the new osgDB::ExternalFileWriter Thu, 12 May 2011 13:27:14 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed unused parameter Thu, 12 May 2011 12:28:43 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -12651,15 +13251,15 @@ attached you will find the correct CMakeLists.txt Thu, 12 May 2011 10:28:47 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed redundent method Thu, 12 May 2011 10:10:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added setting of size. Mon, 9 May 2011 10:54:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12669,7 +13269,7 @@ Non-static class member _t is not initialized in this constructor nor in any fun Mon, 9 May 2011 10:54:10 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12677,7 +13277,7 @@ Non-static class member _endian is not initialized in this constructor nor in an Mon, 9 May 2011 10:53:38 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12685,7 +13285,7 @@ Non-static class member _updateCamera is not initialized in this constructor nor Mon, 9 May 2011 10:53:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12696,7 +13296,7 @@ Non-static class member _cosMinFadeElevation is not initialized in this construc Mon, 9 May 2011 10:52:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12722,7 +13322,7 @@ Non-static class member _leftRightSurfaces is not initialized in this constructo Mon, 9 May 2011 10:51:52 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12733,27 +13333,27 @@ Non-static class member _traversalNumber is not initialized in this constructor Sun, 8 May 2011 12:06:25 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated version number to 2.9.15 after dev release Sun, 8 May 2011 11:57:53 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated AUTHORS for 2.9.14 dev release Sun, 8 May 2011 11:56:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Update ChangeLog Fri, 6 May 2011 16:46:13 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added osg::ref_ptr osgDB::Registry::getRefFromArchiveCache() and osg::ref_ptr osgDB::Registry::getRefFromObjectCache(). Fri, 6 May 2011 12:32:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed trailing spaces Fri, 6 May 2011 12:30:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12764,11 +13364,11 @@ Non-static class member primitiveIndex is not initialized in this constructor no Fri, 6 May 2011 12:30:21 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Moved constructor implementation into .cpp Fri, 6 May 2011 12:27:19 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12783,7 +13383,7 @@ Non-static class member _updateTransparency is not initialized in this construct Fri, 6 May 2011 12:26:13 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12791,7 +13391,7 @@ Non-static class member _plane_mask is not initialized in this constructor nor i Fri, 6 May 2011 12:25:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed Coverity reported issue.CID 11826: Uninitialized scalar field (UNINIT_CTOR) Class member declaration for _recordHeightsAsAttributes. @@ -12799,7 +13399,7 @@ Class member declaration for _recordHeightsAsAttributes. Fri, 6 May 2011 12:25:02 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12807,7 +13407,7 @@ Non-static class member _geometry is not initialized in this constructor nor in Fri, 6 May 2011 12:24:19 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12822,7 +13422,7 @@ Non-static class member _ratio is not initialized in this constructor nor in any Fri, 6 May 2011 12:23:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12830,7 +13430,7 @@ Non-static class member _primitiveMode is not initialized in this constructor no Fri, 6 May 2011 12:22:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12838,7 +13438,7 @@ Non-static class member _fullscreen is not initialized in this constructor nor i Fri, 6 May 2011 12:22:10 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12849,7 +13449,7 @@ Non-static class member _instance is not initialized in this constructor nor in Fri, 6 May 2011 12:21:11 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12857,7 +13457,7 @@ Non-static class member _startTick is not initialized in this constructor nor in Fri, 6 May 2011 12:20:48 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12869,7 +13469,7 @@ Non-static class member _tmpText is not initialized in this constructor nor in a Fri, 6 May 2011 10:30:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12882,7 +13482,7 @@ Non-static class member _outexp is not initialized in this constructor nor in an Fri, 6 May 2011 10:29:47 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12901,7 +13501,7 @@ Non-static class member _index is not initialized in this constructor nor in any Fri, 6 May 2011 10:28:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed Coverity reported issueCID 11441: Non-array delete for scalars (DELETE_ARRAY) "_dwobj::readOpenings(_iobuf *, int)" allocates "obj.fc1". [show details] @@ -12911,7 +13511,7 @@ Fixed Coverity reported issueCID 11441: Non-array delete for scalars (DELETE_ARR Fri, 6 May 2011 10:27:59 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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". @@ -12956,11 +13556,11 @@ The constructor allocates field "polycols" of "struct vertexInfo" but there is n Fri, 6 May 2011 09:26:14 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated SO version number for dev release Fri, 6 May 2011 09:22:17 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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]". @@ -12972,7 +13572,7 @@ The constructor allocates field "_currentPtr" of "struct DataConverter" but ther Fri, 6 May 2011 09:21:40 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -12986,7 +13586,7 @@ This case (value 6) is not terminated by a 'break' statement. Fri, 6 May 2011 09:21:04 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -13011,7 +13611,7 @@ Non-static class member _minIndex is not initialized in this constructor nor in Fri, 6 May 2011 09:20:06 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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". @@ -13021,7 +13621,7 @@ The constructor allocates field "bsp_data" of "struct bsp::VBSPReader" but the d Fri, 6 May 2011 09:19:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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". @@ -13049,11 +13649,11 @@ Non-static class member gset is not initialized in this constructor nor in any f Fri, 6 May 2011 09:00:46 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed build problem Thu, 5 May 2011 12:40:03 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed Coverity reported issue.CID 11845: Structurally dead code (UNREACHABLE) This code cannot be reached: ".basic_string("");". @@ -13061,7 +13661,7 @@ This code cannot be reached: ".basic_string("");". Thu, 5 May 2011 12:39:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed Coverity reported issue.CID 11855: Use after free (USE_AFTER_FREE) "operator delete[](void *)" frees "buffer". @@ -13069,7 +13669,7 @@ Fixed Coverity reported issue.CID 11855: Use after free (USE_AFTER_FREE) Thu, 5 May 2011 12:38:48 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -13077,7 +13677,7 @@ Pointer "node" returned by "lib3ds_node_new(LIB3DS_NODE_CAMERA)" is never used. Thu, 5 May 2011 12:37:00 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -13086,11 +13686,11 @@ Index: ../include/osgDB/Serializer Thu, 5 May 2011 11:31:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warning Thu, 5 May 2011 11:27:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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". @@ -13098,7 +13698,7 @@ Assigning: "szFilename" = "path.c_str()", which extracts wrapped state from loca Thu, 5 May 2011 10:31:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed 4 Coverity reported issuesCID 11851: Unused pointer value (UNUSED_VALUE) Pointer "gfd" returned by "gr->getField(26)" is never used. @@ -13115,15 +13715,15 @@ Pointer "gfd" returned by "grec->getField(3)" is never used. Thu, 5 May 2011 10:28:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed typo Wed, 4 May 2011 16:36:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Mathias Froehlich, build fix for gcc 4.6 Wed, 4 May 2011 16:01:21 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -13131,23 +13731,23 @@ in the distribution." Wed, 4 May 2011 09:53:11 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed unncessary references to FREETYPE Wed, 4 May 2011 09:48:10 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Michael Platings, fix for build with cmake 2.6.x Tue, 3 May 2011 12:43:00 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added OSGVIEWER_EXPORT Tue, 3 May 2011 10:14:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added missing break; Tue, 3 May 2011 09:58:31 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -13155,11 +13755,11 @@ Checked in by : Michael PLATINGS Updated to use FBX SDK 2012.1 Fri, 29 Apr 2011 16:50:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved the handling of different combinations of slashes and dirNames. Fri, 29 Apr 2011 16:34:26 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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; @@ -13176,15 +13776,15 @@ Added implementations of these new methods into src/osgPlugins/osga/OSGA_Archive Fri, 29 Apr 2011 14:31:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Update ChangeLog Thu, 28 Apr 2011 16:33:14 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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))". @@ -13204,7 +13804,7 @@ issue further. Thu, 28 Apr 2011 10:23:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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". @@ -13217,7 +13817,7 @@ is no longer really worth keeping so I've removed it for cleanness sake. Thu, 28 Apr 2011 10:23:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -13228,7 +13828,7 @@ before it was used anyway so wouldn't have resulted in a runtime bug. Thu, 28 Apr 2011 10:22:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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". @@ -13240,7 +13840,7 @@ looks to be working fine and less code is better than more code when it comes to Wed, 27 Apr 2011 16:37:25 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -13250,7 +13850,7 @@ Non-static class member phase is not initialized in this constructor nor in any Wed, 27 Apr 2011 16:35:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -13269,7 +13869,7 @@ This less-than-zero comparison of an unsigned value is never true. "cpunum < 0U" Wed, 27 Apr 2011 16:06:32 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -13279,14 +13879,14 @@ Non-static class member _minimumNumberAccumRedBits is not initialized in this co Wed, 27 Apr 2011 16:06:10 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -13294,7 +13894,7 @@ Non-static class member _glBlendColor is not initialized in this constructor nor Wed, 27 Apr 2011 16:05:13 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -13307,7 +13907,7 @@ Non-static class member _previousWidth is not initialized in this constructor no Wed, 27 Apr 2011 16:04:37 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -13315,7 +13915,7 @@ Non-static class member _glBeginEndAdapter is not initialized in this constructo Wed, 27 Apr 2011 16:03:37 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -13333,7 +13933,7 @@ Variable "sharedStateSet" is not freed or pointed-to in function "osg::Object::s Wed, 27 Apr 2011 16:02:10 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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]". @@ -13342,7 +13942,7 @@ Assigning: "dataPtr" = storage returned from "new unsigned char[newTotalSize]". Wed, 27 Apr 2011 16:01:43 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -13363,7 +13963,7 @@ Assigning: "ebo" = storage returned from "new osg::ElementBufferObject". Wed, 27 Apr 2011 16:00:32 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -13372,7 +13972,7 @@ Allocating a multiple of 36 bytes to pointer "other->props", which needs 8 bytes Tue, 26 Apr 2011 19:31:04 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -13380,34 +13980,34 @@ potentially a higher impact that the severity suggested by Coverity. Tue, 26 Apr 2011 19:29:22 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed 3 Coverity Low Impact performance issues relating to "Big parameter passed by value". Tue, 26 Apr 2011 15:24:21 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated version after 2.9.13 dev release Tue, 26 Apr 2011 14:55:19 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog and AUTHORS for 2.9.13 dev release Tue, 26 Apr 2011 12:07:37 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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/ @@ -13417,7 +14017,7 @@ Works in recent ubuntu with cmake-2.8.4 and msvc2010 with cmake-2.8.2" Thu, 21 Apr 2011 17:04:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -13427,13 +14027,13 @@ The changes mainly consist in the definition on new enum values in the classes a Thu, 21 Apr 2011 13:34:03 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -13442,7 +14042,7 @@ In my situation, this prevents a GL 3.x context from being created. Thu, 21 Apr 2011 12:53:22 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -13455,7 +14055,7 @@ From Jorge Ciges, "1rst - Changes in Cmake: They make possible "make install" wi Thu, 21 Apr 2011 12:12:40 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -13469,7 +14069,7 @@ GetFloat4Param(cot->getParam()->getRef(), f4)) {...} Thu, 21 Apr 2011 12:06:06 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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, @@ -13492,25 +14092,25 @@ The main motivation for this is to easily allow the user to specifiy that the de Wed, 20 Apr 2011 19:20:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Magnus Kessler, "A few minor fixes in the documentation strings of ReaderWriterFLT.cpp" Tue, 19 Apr 2011 14:11:13 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -13518,11 +14118,11 @@ is loaded but before being passed along to the plugin." Tue, 19 Apr 2011 13:32:25 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -13544,35 +14144,35 @@ to checkWindowStatus() to eventTraversal. Tue, 19 Apr 2011 11:46:05 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed spaces from end of lines Tue, 19 Apr 2011 11:40:22 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Ran svn propset -R svn:eol-style native . on the OpenSceneGraph Tue, 19 Apr 2011 09:54:14 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved the handling of unitialized bounding box Tue, 19 Apr 2011 09:53:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Cleaned up example Mon, 18 Apr 2011 12:58:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated SO version number Mon, 18 Apr 2011 12:35:19 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -13581,15 +14181,15 @@ terminal program itself." Thu, 14 Apr 2011 15:22:43 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Cleaned up DXT1 support Thu, 14 Apr 2011 15:21:53 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added IF (WIN32) around OSG_USE_UTF8_FILENAME Thu, 14 Apr 2011 10:44:37 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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."); @@ -13601,27 +14201,27 @@ And set the default not to modify and detect the RGB or RGBA pixel format for DX Thu, 14 Apr 2011 09:16:09 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added setting of the internal texture format Wed, 13 Apr 2011 19:28:30 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield quitened down debug output Wed, 13 Apr 2011 19:26:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added handling of DXT1 in osg::Image::isImageTranslucent() Mon, 11 Apr 2011 19:11:25 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for explitly requesting DXT1a and DXT1c compression Mon, 4 Apr 2011 10:16:46 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -13629,11 +14229,11 @@ etc and not for KEY_KP_0 - KEY_KP_9." Thu, 31 Mar 2011 14:57:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -13641,31 +14241,31 @@ From Tim Moore, Fixes to race in DatabasePager where a parent PagedLOD of newly Wed, 23 Mar 2011 14:01:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added m4v as a handled movie file extension Mon, 21 Mar 2011 21:28:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added dciimage library to DCMTK libs Mon, 21 Mar 2011 21:28:02 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved handling of RGB data. Sat, 19 Mar 2011 16:25:01 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added .get() to fix build Fri, 18 Mar 2011 12:21:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -13678,110 +14278,110 @@ To switch the feature off set the value to 0, i.e. Thu, 17 Mar 2011 15:37:39 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added SampleDensityWhenMovingProperty to control LOD property of osgVolume. Thu, 17 Mar 2011 13:56:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Torben Dannhauer, "adds an additional library name of libpng ( libpng15 ) to search fo" Wed, 16 Mar 2011 13:41:39 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support hud property for title, bullets and paragraph tags Tue, 15 Mar 2011 14:04:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Sukender, "Fixed a case where getUniqueName() does not work properly" Tue, 15 Mar 2011 14:02:39 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Torben Dannhauer, update to reflect addition of NVTT to Windows 3rdPartyPackage Tue, 15 Mar 2011 13:53:59 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added checked against GL version number for enabled _isTexture3DSupported. Tue, 15 Mar 2011 13:40:13 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warning Tue, 15 Mar 2011 13:30:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added OSG_EXPORT to declaration of View::Slave. Tue, 15 Mar 2011 12:48:40 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Re-enabled the fallback compute of bounding volume. Tue, 15 Mar 2011 12:26:16 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Implemented billboard="on" option for image, bullet and paragraph tags Mon, 14 Mar 2011 11:29:08 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for placing comments at end of each line. Mon, 14 Mar 2011 10:07:15 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Farshid Lashkari, removal of redundent spaces at the end of lines. Fri, 11 Mar 2011 16:31:01 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed the case insenstive search under unices Fri, 11 Mar 2011 10:24:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 '/'. @@ -13790,31 +14390,31 @@ Additionally I fixed packaging/ld.so.conf.d/openscenegraph.conf.in to add a '/' Thu, 10 Mar 2011 14:53:39 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Rafa Gaitan, "Attached the fix to remove the symlinks created with make install." Thu, 10 Mar 2011 10:52:47 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Quitened down timing stats Wed, 9 Mar 2011 16:30:48 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Johannes Baeuerle, fix for memory leak Wed, 9 Mar 2011 15:55:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -13824,11 +14424,11 @@ contain transparent pixels Wed, 9 Mar 2011 14:44:14 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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: @@ -13839,11 +14439,11 @@ Attachment contains all changed Export files in their original locations." Wed, 9 Mar 2011 13:10:38 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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: @@ -13863,7 +14463,7 @@ similar for examples, applications" Wed, 9 Mar 2011 12:29:14 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -13880,38 +14480,38 @@ proper className overloads for Input and Window." Wed, 9 Mar 2011 12:15:39 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated versions for next OSG dev release Wed, 9 Mar 2011 10:35:00 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed error in X11 string name Tue, 8 Mar 2011 16:35:37 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -13934,31 +14534,31 @@ processors to speed up the building. Tue, 8 Mar 2011 15:31:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed indentation Tue, 8 Mar 2011 13:51:13 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added comments Mon, 7 Mar 2011 13:45:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed all .c++ to .cpp's Mon, 7 Mar 2011 12:35:30 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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); @@ -13969,47 +14569,47 @@ Moved intial cut of depth partition support into osgViewer::View via two new met Thu, 3 Mar 2011 12:33:57 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Build fix Wed, 2 Mar 2011 16:24:07 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Made parameter a little easier to adjust and commented out verbose debug info Wed, 2 Mar 2011 16:09:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Implemented first cut of more flexible depth partitioning code. Tue, 1 Mar 2011 16:21:38 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed typo Tue, 1 Mar 2011 15:04:56 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added experiment depth partioning support in the form of an slave camera configuration. Tue, 1 Mar 2011 14:48:48 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for an View::Slave::UpdateSlaveCallback Sat, 26 Feb 2011 16:04:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed handling of write and reading of straight Node objects in the scene graph. Sat, 26 Feb 2011 15:52:51 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed TrapezoidalShadowMap due to discovery of patent on algorithm. Wed, 23 Feb 2011 22:52:01 +0000 @@ -14017,71 +14617,71 @@ Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed typo Wed, 23 Feb 2011 16:46:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Wojciech Lewandowski, intial cut at new TrapezoidalShadowMap ShadowTechnique Wed, 23 Feb 2011 16:45:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for negative --xMultipler, --yMultiple and --zMultiplier values Wed, 23 Feb 2011 12:48:17 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for positive values of --xMultiple --yMultiplier and --zMultiplier Wed, 23 Feb 2011 12:13:43 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added error reporting for old options Wed, 23 Feb 2011 11:28:43 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added -n option Wed, 23 Feb 2011 10:37:51 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for GL_BGR and GL_BGRA pixel formats Tue, 22 Feb 2011 10:53:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added computePositions() call to Text3D::resizeGLObjectsBuffers(uint) Mon, 21 Feb 2011 10:02:53 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added missing Terrain.h reference Sun, 20 Feb 2011 09:57:07 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed build of various LiSPSM algorithms Sun, 20 Feb 2011 09:55:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added --fov and --light-pos and --light-dir command line parameters Fri, 18 Feb 2011 11:04:01 +0000 @@ -14089,7 +14689,7 @@ Checked in by : Michael PLATINGS Disabled the RGB components of the opacity texture Mon, 14 Feb 2011 16:24:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -14129,31 +14729,31 @@ With this support, users are able to include additional information in their mod Mon, 14 Feb 2011 16:09:51 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added copyop parameter to cloneOptions() method Mon, 14 Feb 2011 15:59:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Moved ProgramBinary into osg::Program scope Mon, 14 Feb 2011 14:16:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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"). @@ -14167,7 +14767,7 @@ Added "baseImageDir" as a plugin string data, in order to manually specify base Mon, 14 Feb 2011 13:54:15 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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: @@ -14195,7 +14795,7 @@ After my fix the the thrown error disappeared." Mon, 14 Feb 2011 13:50:14 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -14207,77 +14807,77 @@ With this fix I get expected behavior, the Optimizer handles the different shade Mon, 14 Feb 2011 12:55:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Set debug message to INFO Mon, 14 Feb 2011 12:54:21 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed typo Fri, 11 Feb 2011 12:11:17 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Update ChangeLog Fri, 11 Feb 2011 09:18:36 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added check against the NodePath being empty. Thu, 10 Feb 2011 14:24:39 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Tweak to output details Thu, 10 Feb 2011 14:09:04 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated AUTHORS and Contributors.cpp files Thu, 10 Feb 2011 12:23:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Martin von Gagern, build fix for latest ffmpeg changes Tue, 8 Feb 2011 14:36:15 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added const Mon, 7 Feb 2011 14:19:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Implementated experimental reuse of PBO's after download Fri, 4 Feb 2011 12:43:00 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for getting the current screen refresh rate using the XrandR extension. Thu, 3 Feb 2011 17:07:01 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Refactored NodeTrackerManipulator to use osg::ObserverNodePath rather than it's only local equivilant. Thu, 3 Feb 2011 14:27:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added call to GraphicsCostEstimator::calibrate. Thu, 3 Feb 2011 12:42:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Moved GraphicsCostEstimator ref pointer into osg::State Thu, 3 Feb 2011 12:22:09 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Moved GraphicsCostEstimator from osgUtil into core OSG library Wed, 2 Feb 2011 17:23:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Jean-Sebastien Guay, build fix Wed, 2 Feb 2011 16:44:21 +0000 @@ -14285,57 +14885,57 @@ Checked in by : Michael PLATINGS Updated information about the FBX SDK version Tue, 1 Feb 2011 18:12:59 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed the setting of the Drawable modes Tue, 1 Feb 2011 12:18:22 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added experimental timing and PBO usage into ICO+GCE classes Tue, 1 Feb 2011 12:17:40 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield svn propset svn:keywords "Author Date Id Revision" include/OpenThreads/* Mon, 31 Jan 2011 10:41:17 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Set eol-style to native. Fri, 28 Jan 2011 14:24:30 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Temporarily disabled the cost estimate code for the 2.9.11 release Fri, 28 Jan 2011 13:54:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed size of default font Fri, 28 Jan 2011 11:07:51 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Per Fahlberg, warning fixes Fri, 28 Jan 2011 10:59:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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: @@ -14355,22 +14955,22 @@ The attached file fixes this." Fri, 28 Jan 2011 10:50:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Mourad Boufarguine, "This is a tiny fix for some typos in osg code." Thu, 27 Jan 2011 18:49:22 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Andreas Roth, "simple fix to support quad buffer stereo in osgQt" Thu, 27 Jan 2011 17:14:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -14382,7 +14982,7 @@ I updated osgDB::getPathRelative(): it is now far more readable, it handles more Thu, 27 Jan 2011 16:23:48 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -14397,51 +14997,51 @@ Mikhail Izmestev helped me. He implemented VirtualKey changes in GraphicsWindowX Thu, 27 Jan 2011 09:41:37 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed the executable property from source files Wed, 26 Jan 2011 18:47:55 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Implement first pass at texture compile estimation Wed, 26 Jan 2011 16:47:40 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Replaced CompileStats with GraphicsCostEstimator Wed, 26 Jan 2011 16:46:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Mathias Froehlich, build fix for Solaris Wed, 26 Jan 2011 16:10:42 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Moved GraphicsCostEstimator into osgUtil. Wed, 26 Jan 2011 12:07:56 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Implemented first pass at geometry cost estimation. Tue, 25 Jan 2011 16:48:53 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warnings Tue, 25 Jan 2011 11:11:47 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Further work on GraphicsCostEstimator classes Mon, 24 Jan 2011 21:12:25 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Mathias Froehlich, build fixes Mon, 24 Jan 2011 20:45:02 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -14449,11 +15049,11 @@ Checked in by : Cedric Pinson From Michael Platings, Fix animation duration when adding channel to animation Fri, 21 Jan 2011 14:11:22 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added #include to fix build Fri, 21 Jan 2011 13:40:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 " @@ -14465,26 +15065,26 @@ Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Sukender, getPathRelative() method. Thu, 20 Jan 2011 12:34:41 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added export to see if it address Mingw link problems Thu, 20 Jan 2011 12:32:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Per Fahlberg, warning fixes Thu, 20 Jan 2011 12:23:04 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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.) @@ -14502,7 +15102,7 @@ The changes I've made are: Wed, 19 Jan 2011 10:57:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -14510,27 +15110,27 @@ From Simon Julier, "I ran across linking errors with osgdb_exr. Specifically, I Wed, 19 Jan 2011 10:38:39 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Sukender, normalized option names Wed, 19 Jan 2011 10:31:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Sukender, "Fixed ReaderWriterDAE::ConvertFilePathToColladaCompatibleURI(): It now handles paths containing '#' character as expected." Wed, 19 Jan 2011 09:34:26 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Sukender and Robert Osfield, clean up of options Tue, 18 Jan 2011 16:14:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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; @@ -14545,39 +15145,39 @@ So the simple solution to this is to add operator<<(const char*), attached. Tue, 18 Jan 2011 15:00:36 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed CompileSet so it returns true when there is nothing to compile at all. Tue, 18 Jan 2011 09:54:47 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Build fix Mon, 17 Jan 2011 17:17:19 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added getNum methods Sat, 15 Jan 2011 18:12:19 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield First steps on the path to integrating ImageProcessor Fri, 14 Jan 2011 14:30:19 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -14590,37 +15190,37 @@ cessna.osg Fri, 14 Jan 2011 12:03:37 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Sukender, "TIFF plugin now outputs messages coming from libtiff. " Fri, 14 Jan 2011 11:49:55 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Sukender, "Small submission: - 3DS reader now takes care to not create Texture2D duplicates" Fri, 14 Jan 2011 11:46:43 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed for build with non autoatic ref_ptr<> to C pointer conversion Fri, 14 Jan 2011 11:00:11 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated so version number Thu, 13 Jan 2011 18:05:59 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Tim Moore, added missing ImageProcessor header reference Thu, 13 Jan 2011 14:59:29 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -14639,40 +15239,40 @@ function entry point. Wed, 12 Jan 2011 17:39:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed comment Tue, 11 Jan 2011 17:29:47 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed dos endings to unix line endings Tue, 11 Jan 2011 17:23:22 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Mikhail Izmestev, "Current osgManipulator::AntiSquishCallback stops update traversal of childrens." Tue, 11 Jan 2011 17:20:25 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed debug messages to INFO Tue, 11 Jan 2011 17:04:37 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -14682,89 +15282,89 @@ I have also attached a sample transcript, showing the new code working properly. Tue, 11 Jan 2011 16:58:17 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Guy Volckaert, warning fixes Tue, 11 Jan 2011 11:39:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added more flexible testing of Text3D Tue, 11 Jan 2011 11:39:31 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved the handling of application argument output when the options are very long. Wed, 5 Jan 2011 11:43:37 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added check for invalid face size to prevent a crash Tue, 4 Jan 2011 10:21:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added extra checks to osg::Geometry::verifyArrays(std::ostream&) Mon, 3 Jan 2011 19:41:06 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added iterator include Fri, 24 Dec 2010 19:19:48 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Refactored IncrementalCompileOperation to make it more flexible. Thu, 23 Dec 2010 13:11:15 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warnings Thu, 23 Dec 2010 10:45:43 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Deleted old makefile files that are no longer required now we have CMake Thu, 23 Dec 2010 10:07:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Converted FrameStamp::g/setFrameNumber from int to uint Tue, 21 Dec 2010 12:54:06 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved indentation to make it more readable and consistent with OSG. Tue, 21 Dec 2010 09:36:03 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Cleaned up the frame number increment. Tue, 21 Dec 2010 09:12:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -14784,7 +15384,7 @@ Instead, we have this: Mon, 20 Dec 2010 17:04:59 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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) @@ -14795,21 +15395,21 @@ From Andy Skinner, "In this file I’ve changed TriangleFunctor to TemplatePrimi Mon, 20 Dec 2010 16:23:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Moved the GL3 include to within the code block that handles GL1/GL2 Mon, 20 Dec 2010 12:03:56 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed memory leak by introducing use of ref_ptr<> Mon, 20 Dec 2010 12:02:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Kim Seokhwan, "Error fix in example/osganimationmorph/osganimationmorph.cppin this file, function, osg::Geometry* getShape(const std::string& name) @@ -14823,71 +15423,71 @@ I added simple comment in attached file." Mon, 20 Dec 2010 10:49:30 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Tim Moore, fix for race conditions in takeOrGenerate() methods Fri, 17 Dec 2010 11:46:42 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warnings Fri, 17 Dec 2010 11:19:29 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed the size computation Wed, 15 Dec 2010 16:30:48 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed no longer used static member variables Wed, 15 Dec 2010 12:34:16 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improvements to GLBufferObject and TextureObject pools Tue, 14 Dec 2010 20:22:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added report of ration of current size to max target size for buffer. Tue, 14 Dec 2010 20:07:41 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added AnimationCompletedCallback, s/getTimeScale and s/getTimeOffset() method to enable finer control of AnimationPathManipulator. Tue, 14 Dec 2010 19:29:01 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added methods for checking sizes of various buffer object/texture object pool sizes. Tue, 14 Dec 2010 15:28:31 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed redundent MinimumNumberOfTextureObjectsToRetainInCache static variable Tue, 14 Dec 2010 14:32:16 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved the parsing of output filename Tue, 14 Dec 2010 13:43:32 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added GLBufferObjectManager::reportStats() Tue, 14 Dec 2010 10:42:08 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -14898,11 +15498,11 @@ This should make it even easier to create distribution packages for the various Tue, 14 Dec 2010 08:58:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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: @@ -14913,43 +15513,43 @@ From Wang Rui, "A modified version is attached. The blank while generating is in Mon, 13 Dec 2010 17:54:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Renamed osgviewerQtContext to osgviewerQt, and removed deprecated examples from CMakeLists.txt Mon, 13 Dec 2010 17:50:57 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Moved osgbrowser into svn/trunk. Mon, 13 Dec 2010 17:49:37 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Move osgcegui into deprecated Mon, 13 Dec 2010 17:37:42 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Have moved FindXUL.cmake to deprecated Mon, 13 Dec 2010 17:36:02 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Have moved gecko plugin to deprecated Mon, 13 Dec 2010 17:09:31 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added resizeGLObjectBuffers(uint) and relaseGLObjects(State*) to BufferData. Mon, 13 Dec 2010 16:25:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Moved GraphicsWindowQt from osgviewerQtContext into osgQt. Mon, 13 Dec 2010 13:41:42 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warnings Mon, 13 Dec 2010 13:37:37 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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: @@ -14966,7 +15566,7 @@ The command below may also help: Mon, 13 Dec 2010 12:16:57 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -14975,7 +15575,7 @@ Form Richard Schmidt, "The following features were added:* the glsl plugin now s Mon, 13 Dec 2010 11:34:33 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -14998,45 +15598,45 @@ also work in my opinion. Mon, 13 Dec 2010 10:46:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added TODO notes Sun, 12 Dec 2010 09:58:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Wojciech Lewandowski, added docs on Swap Method env vars and command line options Sun, 12 Dec 2010 09:52:29 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -15044,43 +15644,43 @@ it's a side effect of the MACRO stuff about notification." Fri, 10 Dec 2010 15:27:19 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Refactor of DatabasePage/IncrementalCompileOperation to use the IncrementalCompileOperator for compiling objects Fri, 10 Dec 2010 13:22:21 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Build fixes to keep up with changes in head inclusions/API in osgDB Thu, 9 Dec 2010 12:16:11 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated version number for 2.9.11 dev release Wed, 8 Dec 2010 10:34:29 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixes for benign threading memory contentions. Mon, 6 Dec 2010 10:35:02 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog and AUTHORS for release Fri, 3 Dec 2010 17:50:38 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -15089,19 +15689,19 @@ In the attached fix I surrounded these calls with #ifdef's checking for OSG_GL_F Fri, 3 Dec 2010 17:20:32 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed redundent call. Fri, 3 Dec 2010 14:24:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Commented out debug message Fri, 3 Dec 2010 14:18:16 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -15123,7 +15723,7 @@ From Ulrich Hertlein, "Attached; here's a summary of the changes: - CMakeLists.t Thu, 2 Dec 2010 14:13:54 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -15131,61 +15731,61 @@ Some headers missing and link problems due to missing libraries." Thu, 2 Dec 2010 14:01:54 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Ran dos2unix to fix line endings Thu, 2 Dec 2010 13:53:10 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Brad Christiansen, commented out debug messages Thu, 2 Dec 2010 09:39:31 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed redudent makeCurrentImplementation() that was causing a crash in osgscreencapture. Wed, 1 Dec 2010 20:14:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated AUTHORS and Contributors.cpp to reflect new ChangeLog correctly Wed, 1 Dec 2010 19:49:03 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog Wed, 1 Dec 2010 13:33:31 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added passing of existingObj parameter Tue, 30 Nov 2010 11:34:33 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Stephan Huber, compile fix for iOS Tue, 30 Nov 2010 09:26:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Ulrich Hertlein and Stephan Huber, improves to iOS build Tue, 30 Nov 2010 08:12:06 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Wang Rui, Compile fixes Mon, 29 Nov 2010 17:43:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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; @@ -15198,11 +15798,11 @@ From Tim Moore, "Here is initial support for uniform buffer objects. The binding Mon, 29 Nov 2010 09:32:43 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed deperecated variables that are no longer used. Fri, 26 Nov 2010 18:19:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -15226,41 +15826,41 @@ Notes, from Robert Osfield, modified CMakeLists.txt files so that the IOS specif Fri, 26 Nov 2010 17:37:42 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Katharina Plugge, fix for regression in handling of multitexturing. Fri, 26 Nov 2010 17:35:06 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Eduardo Poyart, OSG patch: made it read ancillary IndexedStrings into MultiSwitch Fri, 26 Nov 2010 17:32:10 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog Fri, 26 Nov 2010 13:54:11 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed debug messages Fri, 26 Nov 2010 10:31:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Magnus Kessler, "Typo in usage string of examples/osganalysisplease specifies -> please specify" Thu, 25 Nov 2010 16:06:04 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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) @@ -15271,29 +15871,29 @@ for other OpenGL ES 1/2 targets, too) Thu, 25 Nov 2010 13:00:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Tim Moore, fix to stats timing Thu, 25 Nov 2010 12:30:38 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Magnus Kessler, "applications/osgconv: fix typo in tool optionstransprent -> transparent" Thu, 25 Nov 2010 11:40:09 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed default assignement of GeometryTechnique as the TerrainTechniquePrototype. Wed, 24 Nov 2010 20:26:08 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -15301,33 +15901,33 @@ UPDATE_TO_VERSION macro this time." Wed, 24 Nov 2010 20:20:57 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Jean-Sebastien Guay, build fixes for windows. Wed, 24 Nov 2010 17:01:09 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added workaround for AMD/ATI driver bug Wed, 24 Nov 2010 10:38:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Tim Moore, Fix for drivers that don't properly support timer extensions."" Wed, 24 Nov 2010 10:09:04 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Moved TextNode from osgText into example/osgtext3D in prep for 3.0 Tue, 23 Nov 2010 14:50:31 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Holger Helmich, Tessellation shader support Tue, 23 Nov 2010 11:11:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From David Callu, "Here a fix for pssm.Problem 1 : With GLSL, multi pass to apply each shadow map is not required. @@ -15352,23 +15952,23 @@ As you can see in pssm_bug.jpg and pssm_fix.jpg, performance is really better wh Mon, 22 Nov 2010 19:38:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed typo Mon, 22 Nov 2010 17:39:43 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -15384,94 +15984,94 @@ first starting point. (there's a demo-video at http://vimeo.com/15017377 )" Mon, 22 Nov 2010 15:52:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed indentation Mon, 22 Nov 2010 11:31:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed typo of commercial Mon, 22 Nov 2010 10:41:04 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Hartwig Wiesmann, fix to font search path under OSX. Mon, 22 Nov 2010 10:37:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Sukender, fix for precision of Plane::asVec4() Fri, 19 Nov 2010 17:47:53 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Commented out debug output Fri, 19 Nov 2010 17:47:30 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Update SOVERSION Fri, 19 Nov 2010 09:57:56 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Update Text wrappers to handle new Color member Fri, 19 Nov 2010 09:57:34 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated SO version to reflect changes in API of osgText Thu, 18 Nov 2010 17:59:55 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Moved text color into TextBase, added support for colour into Text3D Thu, 18 Nov 2010 17:18:31 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved handling of pending orphaned texture objects and max texture pool size. Wed, 17 Nov 2010 14:06:26 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Jean-Sebastien Guay, Changed debug info in State::frameCompleted() to OSG_INFO Wed, 17 Nov 2010 10:19:25 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added texture pool handler to print out results from texture pool Wed, 17 Nov 2010 10:16:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added quite size test. Mon, 15 Nov 2010 17:21:30 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Sherman Wilcox, "added the following to the ADD_LIBRARY list -- ${OPENSCENEGRAPH_VERSIONINFO_RC}" Fri, 12 Nov 2010 11:04:53 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warnings Fri, 12 Nov 2010 09:48:21 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -15491,15 +16091,15 @@ serializers out-of-version are not written to model files. Thu, 11 Nov 2010 10:53:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -15510,25 +16110,25 @@ the swap buffers callback or the swapImplementation as required. Wed, 10 Nov 2010 12:50:06 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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: @@ -15544,11 +16144,11 @@ CMake 2.8.2 | | OK | OK Tue, 9 Nov 2010 13:23:43 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -15602,7 +16202,7 @@ to keep compatiblity on different OSG versions. Mon, 8 Nov 2010 15:49:30 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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). @@ -15620,7 +16220,7 @@ directoryTexture=aPath when texture will be copied, it will be in this director Mon, 8 Nov 2010 12:28:31 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. :-) @@ -15630,11 +16230,11 @@ I've also added more doc comments to the addUserStats() method in ViewerEventHan Fri, 5 Nov 2010 17:31:25 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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). @@ -15648,15 +16248,15 @@ AutoTransform class interface. Fri, 5 Nov 2010 17:09:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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) @@ -15666,11 +16266,11 @@ One day, someone should try to find a good solution to this NP-problem... For in Fri, 5 Nov 2010 11:21:55 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -15688,21 +16288,21 @@ Please find the attached fix for this problem." Fri, 5 Nov 2010 09:12:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. " @@ -15710,19 +16310,19 @@ From Jason Beverage, "Here is a small change to the DirectShow plugin to support Thu, 4 Nov 2010 11:39:47 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From David Callu, fix in FrameBufferObject when using Texture2Darray and GeometryShader. Thu, 4 Nov 2010 11:02:37 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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" @@ -15736,11 +16336,11 @@ I think this can work under Linux, too, and should be a bit better than comparin Wed, 3 Nov 2010 10:37:02 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -15764,11 +16364,11 @@ Along the way I cleaned up the existing code a bit: Wed, 3 Nov 2010 09:51:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 ); @@ -15785,42 +16385,42 @@ which ones can fail, so I don't know which are strictly required. Tue, 2 Nov 2010 14:00:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed function name Tue, 2 Nov 2010 11:19:17 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Sukender, fix for incorrect for loop test. Mon, 1 Nov 2010 13:57:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -15831,19 +16431,19 @@ Note from Robert Osfield, change the local near & far variable names to temp_nea Mon, 1 Nov 2010 11:06:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -15860,51 +16460,51 @@ Mikhail. Fri, 29 Oct 2010 09:56:09 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fri, 29 Oct 2010 08:33:10 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warning Thu, 28 Oct 2010 15:52:52 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Commented out unused ElapsedTimer Thu, 28 Oct 2010 14:04:57 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added handling of vertex buffer objects into osg::Geometry copy constructor. Thu, 28 Oct 2010 14:01:10 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved code style consistency Thu, 28 Oct 2010 14:00:25 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Quitened down debug messages Wed, 27 Oct 2010 13:49:16 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed getEnableDepthWrites() naming. Tue, 26 Oct 2010 14:59:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added command line options:--tristripper --no-tristripper --smoother @@ -15918,63 +16518,63 @@ Added command line options:--tristripper Mon, 25 Oct 2010 13:42:01 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added number of primitive sets to on screen stats Sat, 23 Oct 2010 09:51:11 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added StateSetManipulator usage Fri, 22 Oct 2010 16:35:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for enable VBO's and doing simplification. Fri, 22 Oct 2010 12:28:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added paging support to osganalysis example Thu, 21 Oct 2010 16:29:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Integrated IncementalCompileOperation into DatabasePager.Improved various facilities in IncrementalCompileOperation. Thu, 21 Oct 2010 16:28:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Introduction of IncrementalCompileOperation support to DatabasePager. Thu, 14 Oct 2010 13:35:36 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Introduced SubloadCallback::generatdTextureObject() method. Thu, 14 Oct 2010 12:20:51 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Wang Rui, warning fix. Thu, 14 Oct 2010 11:10:16 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Brad Christiansen, fix function entry points under Windows to address crash Thu, 14 Oct 2010 09:31:09 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Wang Rui, QT based OpenThreads implementation Wed, 13 Oct 2010 15:03:02 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -15982,85 +16582,85 @@ to the job. Sat, 9 Oct 2010 11:51:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed the _ARB cube map defines to non ARB versions. Sat, 9 Oct 2010 11:27:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Tempory fix for regression due to remove of glPushAttrib/glPopAttrib Fri, 8 Oct 2010 18:13:10 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Build fixes for GLES1, GLES2 and GL3 Fri, 8 Oct 2010 11:20:56 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Refactored the Texture3D extension setup in osg::Texture3D and gluBuild3DMipmaps and gluBuild3DMipmapLevels. Thu, 7 Oct 2010 11:53:28 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Introduced osg namespace to new local GLU functions Thu, 7 Oct 2010 10:51:22 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added #define GL_PROXY_TEXTURE_3D Wed, 6 Oct 2010 18:51:53 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warning Wed, 6 Oct 2010 18:37:43 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed tabs to 8 spaces Wed, 6 Oct 2010 18:34:36 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Jean-Sebastien Guay and Robert Osfield, build fix for Windows Wed, 6 Oct 2010 18:29:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added #define for Windows build Wed, 6 Oct 2010 17:19:01 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added #define GLAPIENTRY to attempt to resolve some Windows build issues Wed, 6 Oct 2010 16:36:30 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added #define's and local include to fix Windows GL 1.1 build against Wed, 6 Oct 2010 16:29:16 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Jean-Sebasien Guay, fix windows compile error Wed, 6 Oct 2010 15:33:43 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed gluois.h reference Wed, 6 Oct 2010 15:14:01 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed usage gluos.h and redundent gluint.h Wed, 6 Oct 2010 14:44:52 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -16071,19 +16671,19 @@ the new code has been bedded down for a while I'll remove this code block. Mon, 4 Oct 2010 11:29:39 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added glMultMatrixf path for GLES1 Mon, 4 Oct 2010 11:19:41 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added checks for NULL images to prevent crashes when no valid images are created Fri, 1 Oct 2010 18:02:24 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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: @@ -16101,133 +16701,133 @@ PS. I tested only Windows code. I briefly checked X11 & Cocoa files but have not Fri, 1 Oct 2010 17:07:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fri, 1 Oct 2010 15:58:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From WojciechLewandowski, Added DispaySettings::SwapMethod and support for it in GraphicsContext::Traits Thu, 30 Sep 2010 09:40:48 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Stephan Huber, fixed build under OSX 10.5. Thu, 30 Sep 2010 09:34:41 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed Text3D's handling of character aspect ratio. Wed, 29 Sep 2010 12:45:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Moved handling of character aspect ratio into osgText::Style. Wed, 29 Sep 2010 12:38:56 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added command line option for writing out the scene graph to file. Wed, 29 Sep 2010 11:34:55 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Moved set/getFont from Text/Text3D into TextBase Wed, 29 Sep 2010 11:09:32 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed getScale() parameter from osgText::Font Wed, 29 Sep 2010 10:54:53 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed type of numberical constant Mon, 27 Sep 2010 17:11:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added include to fix compile error Fri, 24 Sep 2010 14:53:10 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Eric Wing, QTKit plugin for reading movies under OSX using QTKit + CoreVideo Fri, 24 Sep 2010 12:57:55 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added deprecated notices. Tue, 21 Sep 2010 11:40:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog and AUTHORS file for release Tue, 21 Sep 2010 10:28:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Wang Rui, reverted changes to osgPartcile that caused problems with osgparticleeffects. Mon, 20 Sep 2010 11:02:40 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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: @@ -16252,46 +16852,46 @@ comparison with 'std::string::npos' (which is size_t). Fri, 17 Sep 2010 15:41:55 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Updated ChangeLog, AUTHORS for 2.9.9 dev release Fri, 17 Sep 2010 13:33:09 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Build fixes for when OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION is disabled Fri, 17 Sep 2010 13:09:23 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -16331,7 +16931,7 @@ _enableDepthWrites to true as I feel it's the lesser of the two artefacts. Thu, 16 Sep 2010 08:46:38 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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); @@ -16370,44 +16970,44 @@ I think the same issue applies to OutputStream::writeObject(). So i made the sam Wed, 15 Sep 2010 13:24:37 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Paul de Repentigny, Commented out section of code that didn't work properly Wed, 15 Sep 2010 13:04:35 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed warning Wed, 15 Sep 2010 12:50:16 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Magnus Kessler, "Fix a small typo in present3D usage string" Wed, 15 Sep 2010 12:00:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -16415,11 +17015,11 @@ From Todd Furlong, "I made a couple of changes to the osgFX::Outline class (SVN Wed, 15 Sep 2010 10:24:59 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -16444,14 +17044,14 @@ Problems with my "glEnable" solution: Wed, 15 Sep 2010 09:24:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -16524,7 +17124,7 @@ matrices. I'll try this idea later. Tue, 14 Sep 2010 13:19:55 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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) { @@ -16551,11 +17151,11 @@ Texture.cpp. Tue, 14 Sep 2010 13:19:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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] @@ -16582,21 +17182,21 @@ Also, as a note, the current implementation of cut, copy and paste (in addition Thu, 9 Sep 2010 10:44:11 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -16609,19 +17209,19 @@ You can reproduce the bug with the attached model (box.x), which loads fine in o Thu, 9 Sep 2010 10:03:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added version check for av_lockmgr_register support. Thu, 9 Sep 2010 08:47:12 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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&)." @@ -16632,55 +17232,55 @@ notes from Robert, refactored the matrix multiplication code and the use of RefM Wed, 8 Sep 2010 11:02:39 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for honouring PrimitiveSet names in new smoothing algorithm Wed, 8 Sep 2010 08:09:01 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Jean-Sebastien Guay, build fixes for Windows Tue, 7 Sep 2010 19:55:41 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed files that have been moved into osgText. Tue, 7 Sep 2010 18:20:03 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Further work on new 3D text support Fri, 3 Sep 2010 15:03:42 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added basic wiring up of TextTechnique to 3D glyph code Fri, 3 Sep 2010 09:10:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed now redundent Font3D files Fri, 3 Sep 2010 09:08:19 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added to Text::resizeGLObjectBuffers(uint) the follow: _textureObjectBuffer.resize(maxSize); _texParametersDirtyList.resize(maxSize); @@ -16688,53 +17288,53 @@ Added to Text::resizeGLObjectBuffers(uint) the follow: _textureObjectBuffer.r Wed, 25 Aug 2010 16:59:27 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed --flat to --flat-shaded to avoid conflict with oiginal --flat ratio control. Wed, 25 Aug 2010 11:07:30 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Implemented the shell geometry code Tue, 24 Aug 2010 16:06:31 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed bug in handling large osg::Geometry. Thu, 19 Aug 2010 16:24:08 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Implemented generation of front, back and bevel geometries to complete the 3d glyphs. Wed, 18 Aug 2010 11:14:58 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Improved the detection of problem vetices and associated triangles Tue, 17 Aug 2010 19:48:19 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed indentation Tue, 17 Aug 2010 19:48:07 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Implemented basic duplication of points that sit on sharp edges. Tue, 17 Aug 2010 13:25:46 +0000 @@ -16749,11 +17349,11 @@ From Donn Mielcarek: The fbx plugin won't compile using gcc 4.3.2. I made the f Tue, 17 Aug 2010 13:10:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for RGTC1 and RGTC2 enums Mon, 16 Aug 2010 15:02:04 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -16763,39 +17363,39 @@ From Guillaume Taze, "Here are some bugs fix :- missing copy attribute _referenc Mon, 16 Aug 2010 14:54:16 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added material setName. Mon, 16 Aug 2010 14:14:03 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added support for USE_RGBT1_COMPRESSION and USE_RGBT2_COMPRESSION Mon, 16 Aug 2010 14:11:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed setTransformation(eye, center, up) paramter ordering to match gluLookAt conventions. Mon, 16 Aug 2010 10:11:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Alexander Wiebel, "Documentation of PrimitiveSet" Mon, 9 Aug 2010 17:02:31 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -16836,27 +17436,27 @@ to have that code in only one location." Mon, 9 Aug 2010 16:19:50 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Cleaned up the inline methods Sun, 8 Aug 2010 15:45:25 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Removed the erroneous subclassing from osg::Observer Sun, 8 Aug 2010 15:34:43 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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;" @@ -16866,11 +17466,11 @@ Checked in by : Cedric Pinson From Rob Smith, makes hardware skinning use of the existing stateset Sat, 31 Jul 2010 10:33:20 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -16884,7 +17484,7 @@ other than that OSG seems to compile w/ -W -Wall just fine." Sat, 31 Jul 2010 10:20:31 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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." @@ -16892,7 +17492,7 @@ It's kind of annoying since there is nothing actually wrong. The message is gene Sat, 31 Jul 2010 10:18:41 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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); @@ -16907,15 +17507,15 @@ whereas it should read Sat, 31 Jul 2010 10:17:06 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Fixed build Sat, 31 Jul 2010 09:04:18 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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. @@ -16928,11 +17528,11 @@ Since the TXPParser is fully contained within the TXPArchive, I don't see the re Sat, 31 Jul 2010 09:03:04 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Ryan Kawicki, fixed indentation Sat, 31 Jul 2010 08:57:52 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 @@ -16942,31 +17542,31 @@ compile went fine on my end." Sat, 31 Jul 2010 08:56:44 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added output of triangles at problem vertices Fri, 30 Jul 2010 19:39:38 +0000 -Checked in by : Robert OSFIELD +Checked in by : 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 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Changed emit() to emitParticles() to avoid collision with Qt. Thu, 29 Jul 2010 16:09:49 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield From Wang Rui, fixes to handling of indentation. Mon, 26 Jul 2010 11:12:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added bevel geometry Mon, 26 Jul 2010 11:06:45 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Clean up boudnary code Mon, 26 Jul 2010 08:41:05 +0000 -Checked in by : Robert OSFIELD +Checked in by : Robert Osfield Added a os<