Hi All, I have just tagged the latest developer release, OpenSceneGraph-3.1.7.
OpenSceneGraph-3.1.7, released on 27th May 2013, key deliverables in this dev release are: Introduced new osgViewer::ViewConfig and SingleWindow, SingleScreen, AllScreens, SphericalDisplay, PanormaicSphericalDisplay and WoWVxDisplay display configurations Serialization support for new ViewConfig implementations to allow .osgt, .osgb and .osgx files to store above view configurations, that can be loaded and passed in when configuring viewers. Improved vnc plugin Build fixes for Android and iOS General bug fixes source package : OpenSceneGraph-3.1.7.zip svn tag: svn co http://svn.openscenegraph.org/osg/OpenSceneGraph/tags/OpenSceneGraph-3.1.7 OpenSceneGraph Thanks to everyone that has contributed - the total number of contributors has now hit 498! For those with submissions still not merged yet, please be patient I'm steadily making my way through the submissions backlog, I'll tackle more this week and make another dev release to wrap another chunk of submissions in a weeks time. Cheers, Robert. -- Full ChangeLog since 3.1.6: 2013-05-27 08:13 robert * examples/osgforest/osgforest.cpp: From Martin Naylor, "I am receiving 1 build error whilst building the SVN, its in osgforest as follows: error C2065: 'GL_RGBA32F' : undeclared identifier Shoudlnt that be GL_RGBA32F_ARB as defined in texture header? Attached is the easy fix :)." 2013-05-27 08:10 robert * include/osg/Camera, src/osgUtil/SceneView.cpp: Moved quad buffer definitions into include/osg/Camera 2013-05-26 10:44 robert * AUTHORS.txt, applications/osgversion/Contributors.cpp: Updated AUTHORS file 2013-05-26 10:27 robert * ChangeLog: Updated ChangeLog 2013-05-25 10:09 robert * src/osgUtil/TangentSpaceGenerator.cpp: From Farshid Lashkari, " small update to TangentSpaceGenerator to support QUAD_STRIP primitive types." 2013-05-24 17:16 robert * src/osg/Uniform.cpp, src/osgViewer/Scene.cpp: Resrtuctured the use of static's in the Uniform::getNameID() method to avoid problems under Android. 2013-05-24 17:06 robert * examples/osgAndroidExampleGLES1/jni/osgNativeLib.cpp, examples/osgAndroidExampleGLES2/jni/osgNativeLib.cpp: 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. " 2013-05-24 09:43 robert * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: Removed redudent code 2013-05-24 09:35 robert * include/osgGA/Device, include/osgGA/EventQueue, include/osgViewer/CompositeViewer, include/osgViewer/GraphicsWindow, include/osgViewer/View, include/osgViewer/Viewer, include/osgViewer/ViewerBase, include/osgViewer/api/Carbon/GraphicsWindowCarbon, include/osgViewer/api/Cocoa/GraphicsWindowCocoa, include/osgViewer/api/IOS/GraphicsWindowIOS, include/osgViewer/api/Win32/GraphicsWindowWin32, include/osgViewer/api/X11/GraphicsWindowX11, src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp, src/osgPlugins/ZeroConfDevice/ReaderWriterZeroConfDevice.cpp, src/osgPlugins/osc/OscReceivingDevice.hpp, src/osgPlugins/sdl/JoystickDevice.cpp, src/osgPlugins/sdl/JoystickDevice.h, src/osgViewer/CompositeViewer.cpp, src/osgViewer/GraphicsWindowCarbon.cpp, src/osgViewer/GraphicsWindowCocoa.mm, src/osgViewer/GraphicsWindowIOS.mm, src/osgViewer/GraphicsWindowWin32.cpp, src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/Viewer.cpp: 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 2013-05-23 18:29 robert * src/osgParticle/ParticleSystem.cpp: Added repolation of the _deadparts stack which would otherwise been invalidatd by the depth sort of particles. 2013-05-23 15:55 robert * examples/osgforest/osgforest.cpp: From Pawel Ksiezopolski, Added example of using osg::TextureBuffer + GLSL to render forest. 2013-05-23 14:14 robert * CMakeLists.txt: From David Fries, "This updates the CMakeLists.txt instructions for the commands to make the doxygen documentation." 2013-05-23 12:29 robert * src/osgPlugins/vnc/ReaderWriterVNC.cpp: Refactored the idle mechanism to fix problems with the vnc thread going idle when it shouldn't have. 2013-05-23 10:25 robert * src/osgWidget/PdfReader.cpp, src/osgWidget/VncClient.cpp: 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. 2013-05-22 15:48 robert * src/osgViewer/View.cpp: Quitened down debug messages 2013-05-22 13:16 robert * src/osg/ShaderAttribute.cpp: Removed debug messages 2013-05-22 13:09 robert * src/osgPlugins/vnc/CMakeLists.txt: From Nico Kruithof, "For the VNC server, it seems that the wrong include path is used. Instead of INCLUDE_DIRECTORIES(${LIBVNCCLIENT_INCLUDE_DIR}) the CMake variable INCLUDE_DIRECTORIES(${LIBVNCSERVER_INCLUDE_DIR}) should be used. Attached is a fix for src/osgPlugins/vnc/CMakeLists.txt" 2013-05-22 12:49 robert * include/osg/BufferObject, include/osg/TextureBuffer, src/osg/BufferObject.cpp, src/osg/CMakeLists.txt, src/osg/TextureBuffer.cpp: 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." 2013-05-22 11:06 robert * src/osgWrappers/serializers/osgAnimation/RigGeometry.cpp: 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. " 2013-05-22 10:28 robert * CMakeLists.txt: From David Callu, "ust a simple IF ENDIF mismatch in last commit (I use git so no available SVN commit number ) : CMake Warning (dev) in CMakeLists.txt: A logical block opening on the line /home/ledocc/work/perso/osg_Workspace/osg/CMakeLists.txt:823 (IF) closes on the line /home/ledocc/work/perso/osg_Workspace/osg/CMakeLists.txt:893 (ENDIF) with mis-matching arguments. I remove ENDIF argument, it is no longer needed by cmake" 2013-05-21 17:41 robert * src/osg/State.cpp: 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." 2013-05-21 10:22 robert * CMakeLists.txt, src/osgDB/CMakeLists.txt, src/osgViewer/CMakeLists.txt: From Valeriy Dubov, fix for Android build under OSX 2013-05-21 09:48 robert * src/osgManipulator/Dragger.cpp: 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." 2013-05-21 09:44 robert * src/osgViewer/View.cpp, src/osgViewer/config/AcrossAllScreens.cpp, src/osgViewer/config/SingleWindow.cpp: Added use of SingleWindow for when only one screen is used 2013-05-20 19:24 robert * examples/osgkeystone/osgkeystone.cpp, include/osgViewer/View, include/osgViewer/config/SingleWindow, src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp, src/osgViewer/config/SingleScreen.cpp, src/osgViewer/config/SingleWindow.cpp, src/osgWrappers/serializers/osgViewer/SingleWindow.cpp: Refactored the support for stereo and keystone RTT setup so that it can be applied to an existing Camera. 2013-05-20 14:17 robert * include/osgViewer/config/SingleWindow, src/osgViewer/config/SingleWindow.cpp, src/osgWrappers/serializers/osgViewer/SingleWindow.cpp: Added support for controlling border and override redirect to the SingleWindow View::Config 2013-05-20 10:23 robert * src/osgViewer/View.cpp: 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 2013-05-16 15:52 robert * src/osgViewer/View.cpp: Added support for setting the left/right cull masks 2013-05-16 14:51 robert * src/osg/DisplaySettings.cpp: Changed the default of OSG_SPLIT_STEREO_AUTO_ADJUST_ASPECT_RATIO to OFF 2013-05-16 14:11 robert * src/osgViewer/View.cpp: Fixed stereo offsets of HORIZONTAL_SPLIT and VERTICAL_SPLIT stereo modes 2013-05-16 14:07 robert * examples/osgkeystone/osgkeystone.cpp: Reverted back to changes before experiements with ViewConfig 2013-05-16 10:28 robert * src/osgViewer/Viewer.cpp: Cleaned up the WoWVxDisplay command line parsing 2013-05-16 10:11 robert * examples/osgkeystone/osgkeystone.cpp, include/osgViewer/Config, include/osgViewer/View, include/osgViewer/config/AcrossAllScreens, include/osgViewer/config/PanoramicSphericalDisplay, include/osgViewer/config/SingleScreen, include/osgViewer/config/SingleWindow, include/osgViewer/config/SphericalDisplay, include/osgViewer/config/WoWVxDisplay, src/osgViewer/CMakeLists.txt, src/osgViewer/Config.cpp, src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp, src/osgWrappers/serializers/osgViewer/Config.cpp, src/osgWrappers/serializers/osgViewer/PanoramicSphericalDisplay.cpp, src/osgWrappers/serializers/osgViewer/SingleScreen.cpp, src/osgWrappers/serializers/osgViewer/SingleWindow.cpp, src/osgWrappers/serializers/osgViewer/SphericalDisplay.cpp, src/osgWrappers/serializers/osgViewer/WoWVxDisplay.cpp: Renamed osgViewer::Config osgViewer::ViewConfig and moved it's declaration into include/osgViewer. 2013-05-16 09:08 robert * examples/osgkeystone/osgkeystone.cpp, include/osgViewer/config/PanoramicSphericalDisplay, include/osgViewer/config/WoWVxDisplay, src/osgViewer/config/PanormaicSphericalDisplay.cpp, src/osgViewer/config/WoWVxDisplay.cpp, src/osgWrappers/serializers/osgViewer/WoWVxDisplay.cpp: Added WoWVxDisplay view config 2013-05-15 16:15 robert * examples/osgkeystone/osgkeystone.cpp, include/osgViewer/Config, include/osgViewer/config, include/osgViewer/config/AcrossAllScreens, include/osgViewer/config/PanoramicSphericalDisplay, include/osgViewer/config/SingleScreen, include/osgViewer/config/SingleWindow, include/osgViewer/config/SphericalDisplay, src/osgViewer/CMakeLists.txt, src/osgViewer/Config.cpp, src/osgViewer/config, src/osgViewer/config/AcrossAllScreens.cpp, src/osgViewer/config/PanormaicSphericalDisplay.cpp, src/osgViewer/config/SingleScreen.cpp, src/osgViewer/config/SingleWindow.cpp, src/osgViewer/config/SphericalDisplay.cpp, src/osgWrappers/serializers/osgViewer/AcrossAllScreens.cpp, src/osgWrappers/serializers/osgViewer/PanoramicSphericalDisplay.cpp, src/osgWrappers/serializers/osgViewer/SingleScreen.cpp, src/osgWrappers/serializers/osgViewer/SingleWindow.cpp, src/osgWrappers/serializers/osgViewer/SphericalDisplay.cpp, src/osgWrappers/serializers/osgViewer/ViewAcrossAllScreens.cpp, src/osgWrappers/serializers/osgViewer/ViewInWindow.cpp: Created a dedicated include/osgViewer/config and src/osgViewer/config directories to place all the Config classes. 2013-05-15 12:50 robert * src/osgViewer/Viewer.cpp: Added support for osgViewer::Config in osgViewer::Viewer command line parsing 2013-05-15 11:31 robert * include/osgViewer/Config, src/osgViewer/CMakeLists.txt, src/osgViewer/Config.cpp, src/osgViewer/Keystone.cpp, src/osgWrappers/serializers/CMakeLists.txt, src/osgWrappers/serializers/osgViewer, src/osgWrappers/serializers/osgViewer/CMakeLists.txt, src/osgWrappers/serializers/osgViewer/Config.cpp, src/osgWrappers/serializers/osgViewer/Keystone.cpp, src/osgWrappers/serializers/osgViewer/ViewAcrossAllScreens.cpp, src/osgWrappers/serializers/osgViewer/ViewInWindow.cpp: Introduced osgViewer::Config base class and beginnigs of various Config implementations. Introduced osgViewer serializers plugin for serialization support for osgViewer::Config implementations and Keystone 2013-05-14 16:23 robert * src/osg/Notify.cpp: From Lionel Lagarde, "When a function do: OSG_DEBUG << "Hello world!\n"; the underlying stream is not automatically flushed. It is flushed if endl is queued instead of \n: OSG_DEBUG << "Hello world!" << std::endl; The notify macros do: stream->setCurrentSeverity(severity); return *stream; So, if a function do: OSG_DEBUG << "This is a debug message\n"; OSG_NOTICE << "This is a notice message" << std::endl; the debug message will be classified as a notice message. It is a problem when the application uses a NotifyHandler. The notify method of the handler is called with: severity = NOTICE message = "This is a debug message\nThis is a notice message" The attached Notify.cpp contains an automatic flush of the stream when the current severity changes. " 2013-05-14 16:18 robert * include/osg/GL2Extensions: From Michael Kapelko, "The provided patch (against SVN revision 13380) adds missing constness to returning calls (without it the user code does not compile)." 2013-05-14 16:15 robert * src/osgPlugins/tga/ReaderWriterTGA.cpp: From Farshid Lashkari, "The tga image loader was not properly reading in 16-bit images. Fix is attached." 2013-05-14 16:12 robert * include/osg/BufferObject, include/osg/Geode, include/osg/LOD, include/osg/PagedLOD, include/osg/Program, include/osg/Shader, include/osg/StateSet, include/osg/Texture, include/osg/Uniform, include/osgDB/DatabasePager, include/osgDB/ImagePager, include/osgDB/Options, include/osgDB/Serializer, include/osgGA/GUIEventAdapter, include/osgTerrain/Layer, include/osgTerrain/TerrainTile: From Ulrich Hertlein, "Attached is a patch that introduces 'static_cast<unsigned int>' on some instances where the code returns '.size()' of a std::vector. This caused some warnings when using clang++ on OS X." 2013-05-14 13:35 robert * ChangeLog: Updated ChangeLog 2013-05-14 13:34 robert * CMakeLists.txt, include/osg/Version: Updated version after dev release _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

