All Versions
16
Latest Version
Avg Release Cycle
73 days
Latest Release
635 days ago

Changelog History
Page 2

  • v3.5.9

    November 29, 2017
  • v3.5.8

    November 14, 2017
  • v3.5.7

    October 09, 2017
  • v3.2.3

    February 03, 2018
  • v0.0 Changes

    M include/osg/State

    Wed, 6 Feb 2013 14:49:48 +0000 Author : Robert Osfield ➕ Added TODO note about RGB -> RGBA

    Wed, 6 Feb 2013 12:46:03 +0000 Author : Robert Osfield 🚀 From David Longest, "I have updated the FFmpeg plugin to support the 1.0 release version of FFmpeg. The files attached were modified in order to facilitate the update. Below are the details for all changes made.Header update

    🚀 FindFFmpeg.cmake has been changed in order to support the new header include format for FFmpeg. In the 1.0 release, a new file had been added with the name “time.h” in the avutil library. The previous method of adding includes caused conflicts with the ANSI C “time.h” file. Now the include directive will only use the main include folder. All files using the old include format have been updated to reflect the change.

    Added __STDC_CONSTANT_MACROS define to CMakeLists.txt

    🚚 Since there is no guarantee that FFmpegHeaders.hpp will be included before stdint.h is included, the define has been moved from FFmpegHeaders.hpp to be part of the CMakeLists.txt for the FFmpeg plugin. This will allow the define to work on all compilers regardless of include order.

    Replaced AVFormatParameters with AVDictionary

    ⚡️ AVFormatParameters is no longer supported in FFmpeg and has been replaced with a key/value map of strings for each setting. FFmpegParameters and FFmpegDecoder has been updated to reflect this.

    Replaced av_open_input_file with avformat_open_input

    FFmpeg now opens files using avformat_open_input. Since the av_open_input_file method is deprecated, the FFmpegDecoder class has been updated to reflect this change.

    ➕ Added custom AVIOContext field to options

    👀 Since some formats and inputs may not be supported by FFmpeg, I have added a new parameter that allows a user to allocate their own AVIOContext. This class will allow for creating a read, seek, and write callback if they desire.

    Checking for start_time validity

    It is possible for some file formats to not provide a start_time to FFmpeg. This would cause stuttering in the video since the clocks class would be incorrect.

    ✂ Removed findVideoStream and findAudioStream

    🚀 The new FFmpeg release already has a function that will find the best audio and video stream. The code has been replaced with this function.

    ⚡️ Updated error reporting

    🔊 Some functions would not log an error when opening a file or modifying a file failed. New logs have been added as well as a function to convert error numbers to their string descriptions.

    decode_video has been replaced

    🚚 The old decode_video function would remove extra data that some decoders use in order to properly decode a packet. Now av_codec_decode_video2 has replaced that function.

    Picture format changed from RGBA32 to RGB24

    Since most video will not contain an alpha channel, using a 24 bit texture will use less memory."

    Wed, 6 Feb 2013 12:02:05 +0000 Author : Robert Osfield Simplified include/osg/Math to use Standard C++ maths headers - and

    Wed, 6 Feb 2013 11:16:29 +0000 Author : Robert Osfield 🛠 Fixed warning

    Wed, 6 Feb 2013 09:20:10 +0000 Author : Robert Osfield 🏁 From Stephan Huber, fixed for Windows 64bit build

    Tue, 5 Feb 2013 18:22:46 +0000 Author : Robert Osfield ➕ Added .get()'s to fix compilation when ref_ptr<> type conversion is disabled

    Mon, 4 Feb 2013 16:25:52 +0000 Author : Robert Osfield ⚡️ Updated ChangeLog

    Mon, 4 Feb 2013 14:42:44 +0000 Author : Robert Osfield 🚀 Updated version number after 3.1.4 developer release

    Mon, 4 Feb 2013 13:28:45 +0000 Author : Robert Osfield From Jordi Torres, "The info about cdash reports was outdated. Now it points to the right URL. BTW I have checked it out and the cdash server is working ok again. "

    Mon, 4 Feb 2013 13:28:05 +0000 Author : Robert Osfield 🛠 Fixed warning

    Mon, 4 Feb 2013 13:27:46 +0000 Author : Robert Osfield 🛠 Fixed warnings

    Mon, 4 Feb 2013 13:11:13 +0000 Author : Robert Osfield 🛠 Fixed warning

    Mon, 4 Feb 2013 12:50:51 +0000 Author : Robert Osfield 🛠 Fixed warning and converted tabs to four spaces

    Mon, 4 Feb 2013 12:38:08 +0000 Author : Robert Osfield 🛠 Fixed warnings

    Mon, 4 Feb 2013 12:01:26 +0000 Author : Robert Osfield 🛠 Fixed warning

    Thu, 31 Jan 2013 16:26:06 +0000 Author : Robert Osfield Standardized use of GL_HALF_FLOAT_NV and GL_HALF_FLOAT_ARB to GL_HALF_FLOAT

    Thu, 31 Jan 2013 11:09:03 +0000 Author : Robert Osfield ↪ From Stephan Huber, introduction of message id scheme were osc messages are sent with an unique id, and can be dispatched multiple times to workaround network packet losses.

    Wed, 30 Jan 2013 11:31:27 +0000 Author : Robert Osfield ➕ Added handling of movies into Timeout

    Wed, 30 Jan 2013 10:49:18 +0000 Author : Robert Osfield ➕ Added disabling of the traversal of the Timeout in update when the timout is not displayed and disabled traversal by the SlideEventHandler.

    Wed, 30 Jan 2013 10:40:26 +0000 Author : Robert Osfield 🛠 Fixed the erronous header so that it is OSGPL like the rest of the osgAnimation.

    Wed, 30 Jan 2013 10:21:45 +0000 Author : Robert Osfield From Stephan Huber, "As I have not all referenced image-data, SlideShowConstructor crashed on my end. Attached is a fix for that crash."

    Mon, 28 Jan 2013 14:56:52 +0000 Author : Robert Osfield 🛠 From Wang Rui, "I've fixed the bug of writing/reading scenes including the ImageSequence serializer. Current trunk version will fail when handing image sequences because it forces to set className to "osg::Image" in InputStream.cpp. I have to read a value saved in file instead so I must add a hardhanded version checking for backward compatibility.Now we can work with ImageSequence objects, in both osgt and osgb files."

    Mon, 28 Jan 2013 14:30:21 +0000 Author : Robert Osfield 🏁 From Laurens Voerman, "I have implemented and tested (on windows only) your suggestion for resetCullingMask(), it's far less intrusive than my previous submission. attached are the changes to current svn (28 Jan 2013 / rev :13312). "

    Fri, 25 Jan 2013 16:54:30 +0000 Author : Robert Osfield 🔧 From Thomas Hogarth, "Attached are two minor modifications to the master CMakeLists.txt file.It now points to sdk version 6.0 (I do intend to make this configurable my command line)

    🏗 It also added a search for libtiff to Apple builds mainly for use with osg earth."

    Fri, 25 Jan 2013 11:54:03 +0000 Author : Robert Osfield ⚡️ From Wang Rui, "In the attached files I've added the Compute Shader support for OSG, as well as serializer updates and a new osgcomputeshaders example. My submission also include a setComputeGroups() function in Program for setting compute-shader work groups, and a bindToImageUnit() function in Texture for binding textures as image variables in shaders.All code are tested on Windows 7 + NVIDIA GFX 570 with the latest GeForce 310.70 Driver (BETA), which could support OpenGL 4.3.

    Compute shader information can be found at "http://www.opengl.org/registry/specs/ARB/compute_shader.txt" "

    Fri, 25 Jan 2013 11:08:32 +0000 Author : Robert Osfield 🏁 From Lukasz Izdebski, "Adding this GL mode makes possibly to use this GL Modes (added in core OpenGL 3.2) in Windows."

    Fri, 25 Jan 2013 10:36:42 +0000 Author : Robert Osfield 🛠 Fixed compile warning

    Fri, 25 Jan 2013 10:24:11 +0000 Author : Robert Osfield ➕ Added debug message for Timout

    Thu, 24 Jan 2013 18:48:34 +0000 Author : Robert Osfield 🛠 Fixed usage of META_NodeVisitor so it doesn't include ""

    Wed, 23 Jan 2013 17:38:28 +0000 Author : Robert Osfield From Pjotr Svetachov, "when you restart threading with startThreading/stopThreading the _drawQueue and _availableQueue are not reset properly. This can lead to a deadlock when threading is started again. So before threading is started again the queues must be reset. This deadlock is also reported earlier by someone else in here: http://forum.openscenegraph.org/viewtopic.php?p=43415#43415"

    Wed, 23 Jan 2013 17:37:26 +0000 Author : Robert Osfield ⚡️ From Pjotr Svetachov, "small bug which I have found in the FlattenStaticTransformsDuplicatingSharedSubgraphsVisitor: the visitor will replace part of the tree when visiting the nodes but it does not update the current node path to reflect this. If you then have multiple nested transform nodes it will usually crash and sometimes it won't crash but the resulting mesh will miss some nodes."

    Wed, 23 Jan 2013 16:27:22 +0000 Author : Robert Osfield 👀 From Mathias Froehlich, "I have extended the dds loader by some newer DX10 texture formats. Especially the float texture formats. I need a few of these formats somewhere but have extended everything that I found plausible and was easy to find a GL texture type/format for. For some float32 type of texture the files the implementation seem to work fine. The rest lacks testing. The writer side is not implemented."

    Wed, 23 Jan 2013 16:22:45 +0000 Author : Robert Osfield 🏗 From Wang Rui with edits from Robert Osfield, additional GLenums for cross platform build

    Wed, 23 Jan 2013 15:54:20 +0000 Author : Robert Osfield 🛠 From Lionel Lagarde, fixed typo bug

    Wed, 23 Jan 2013 11:50:45 +0000 Author : Robert Osfield ✂ Removed redundent code block

    Wed, 23 Jan 2013 11:45:31 +0000 Author : Robert Osfield 🔌 From Lukasz Izdebski, "I found problem with rgb plugin. Internal format of rgb image is wrongly set ( diffrent then in other images type plugin ), because of that using rgb images in osg::Texture2DArray causes a bug."

    Wed, 23 Jan 2013 11:20:00 +0000 Author : Robert Osfield From Mathias Froehlich, "Attached is a patch that includes the stereo cameras in Renderer::*etCameraRequiresSetUp.I am not sure if the getter needs to be changed, but this is currently included for consistency."

    Tue, 22 Jan 2013 16:53:50 +0000 Author : Robert Osfield 🔌 From Alessandro Terenzi, "I've modified the avfoundation plugin to copy the preferredTransform matrix into the UserData property of the corresponding imagestream: by doing so, we can realize if the video should be transformed when applied as a texture (this should be the case, for instance, when we record a movie using an iOS device with any orientation different than 'landscape left')."

    Tue, 22 Jan 2013 16:13:59 +0000 Author : Robert Osfield Added and functionality to .p3d functionality.

    Tue, 22 Jan 2013 10:33:19 +0000 Author : Robert Osfield ➕ Added extra check against whether node needs to be traversed in update and event traversals to prevent osgPresentation::Timeout being classified as a node that can be removed.

    Fri, 18 Jan 2013 17:11:49 +0000 Author : Robert Osfield ➕ Added Options support to ImageSequence LOAD_* functionality

    Fri, 18 Jan 2013 16:30:55 +0000 Author : Robert Osfield ⚡️ Update SO_VERSION to reflect new API changes

    Fri, 18 Jan 2013 16:21:17 +0000 Author : Robert Osfield Added LOAD_AND_RETAIN_IN_UPDATE_TRAVERSAL and LOAD_AND_DISCARD_IN_UPDATE_TRAVERSAL ImageSequence::Mode's to allow for ImageSequence usage without using background paging threads, instead loading all the images on demand in the update traversal.

    Thu, 17 Jan 2013 13:51:52 +0000 Author : Robert Osfield Added and support to to allow the different timeout statges to be broadcast.

    Thu, 17 Jan 2013 11:57:18 +0000 Author : Robert Osfield 🔄 Changed the defaults of the Timeout to be DBL_MAX by default.

    Thu, 17 Jan 2013 11:48:20 +0000 Author : Robert Osfield ⏱ Completed support, to use it with p3d use it along the lines: Test 3.0 5.0 A S D w t Images/lz.rgb cow.osg

    Thu, 17 Jan 2013 09:51:15 +0000 Author : Robert Osfield ➕ Added support for to Timeout support.

    Wed, 16 Jan 2013 16:13:30 +0000 Author : Robert Osfield ⏱ Implemented basic Timeout display and timing codes

    Tue, 15 Jan 2013 11:31:44 +0000 Author : Robert Osfield ➕ Added shell of Timeout class

    Fri, 11 Jan 2013 11:30:44 +0000 Author : Robert Osfield ➕ Added movie volume animation control to and tags to be used in the form: 0.20

        <property_animation>
            <key_frame time="0.0">
                <property name="volume" type="float">0.0</property>
            </key_frame>
            <key_frame time="2.0">
                <property name="volume" type="float">1.0</property>
            </key_frame>
            <key_frame time="10.0">
                <property name="volume" type="float">1.0</property>
            </key_frame>
            <key_frame time="12.0">
                <property name="volume" type="float">0.0</property>
            </key_frame>
        </property_animation>
    
        <layer>
              <image volume="$volume" looping="ON">big_buck_bunny_1080p_stereo.ogg</image>
       </layer>
    </slide>
    

    Thu, 10 Jan 2013 19:55:50 +0000 Author : Robert Osfield ➕ Added support for properties that works in conjunction with the start="time" property support checked in in previous submission, together these control the delay, start position and stop position of movies.

    Thu, 10 Jan 2013 14:37:52 +0000 Author : Robert Osfield ➕ Added support for property that tells a video to start specificied number of sections into a video.

    Thu, 10 Jan 2013 10:53:22 +0000 Author : Robert Osfield 👀 From Stephan Huber, "thanks for your input, unfortunately I could not get it working with packing, but setting the row-length works now. Seems I had it wrong the first time.Attached are both files. This should fix the video-bug mentioned on the dlf-wiki.

    "

    Wed, 9 Jan 2013 16:29:28 +0000 Author : Robert Osfield 🔄 Changed the named colours back to having a alpha value of 1.0 to avoid problems with text not appearing.

    Wed, 9 Jan 2013 16:03:22 +0000 Author : Robert Osfield ➕ Added reset of the cursorFileName when hideCursor is activated to prevent the custom cursor being enabled.

    Tue, 8 Jan 2013 10:21:13 +0000 Author : Robert Osfield ➕ Added case for FORWARD_EVENT to address warning

    Mon, 7 Jan 2013 15:03:22 +0000 Author : Robert Osfield From Aurelien Albert, "I get a compile error on Windows VS2008 wih new DAE plugin, here is a fix : _document = _dae->openFromMemory(fileURI, buffer.data());

    "data" method is unknow for std::vector with VS2008

    I've replaced it with :

    _document = _dae->openFromMemory(fileURI, &buffer[0]);
    

    "

    Mon, 7 Jan 2013 12:41:16 +0000 Author : Robert Osfield 👉 Added support for --show-cursor and --hide-cursor command line options, and P3D_SHOW_CURSOR env var that can be set to YES or NO.

    Mon, 7 Jan 2013 12:17:26 +0000 Author : Robert Osfield 🛠 From Stephan Huber, "* osgGA: fixed a small bug regarding emulating mouse-events from touch-events * resthttp/osc: encapsulate RequestHandler-classes in their own namespaces to prevent class-name-lookup-errors in the debugger/code (had some weird crashes) * QTKit: fixed a compile-bug for gcc and blocks * osgPresentation: click_to_* will fire on RELEASE, only if the drawable received a PUSH beforehand * p3d/osgPresentation: implemented "forward_mouse_event_to_device"-tag, which will forward mouse-events to all registered devices of a viewer, if an intersection occurs. The mouse-coordinates get reprojected * present3d: all devices get registered with the viewer * osgViewer: only devices which are capable of receiving events are queried for new events. * GraphicWindowIOS: added a flag to GraphicWindowIOS::WindowData to set up a retained backing buffer (defaults to false) This will enable read-back of the render-buffer with glReadPixels even after the renderbuffer got presented * curl: added an optimized check for file-existance, now only the headers are requested and checked, instead of reading the whole file and handle it with a ReaderWriter * p3d: fixed a bug, where the existence of a local file may prevent the remote loading of a file with the same name."

    Thu, 20 Dec 2012 16:16:07 +0000 Author : Robert Osfield Made UpdateVisitor::TravesalMode default to TRAVERSE_ACTIVE_CHILDREN

    Thu, 20 Dec 2012 12:14:53 +0000 Author : Robert Osfield ➕ Added region="$xmin $ymin $zmin $xmax $ymax $zmax" support to tag, along with animation support via the support.

    Wed, 19 Dec 2012 17:14:29 +0000 Author : Robert Osfield ✂ Removed lighting of trk lines

    Wed, 19 Dec 2012 12:38:17 +0000 Author : Robert Osfield 🔄 Changed the colour calculation and added gl_ClipVertex to enable clipping.

    Tue, 18 Dec 2012 11:20:20 +0000 Author : Robert Osfield ✂ Removed erroneous region setting

    Tue, 18 Dec 2012 09:49:01 +0000 Author : Robert Osfield ✅ From Juergen Rensen, "This is a fix for the latest SVN version (rev 13269). The ‘destroyFrameBuffer’ method in ‘GraphicsWindowIOS.mm’ had ‘glDeleteFramebuffersOES’ calls for the stencil buffer, MSAA render buffer and MSAA depth buffer instead of ‘glDeleteRenderbuffersOES’. The fix changes the mismatched calls to ‘glDeleteRenderbuffersOES’.The impact of the bug was a memory leak that would affect multi-sampling iOS apps that allow for device rotation or window resizing in general. For our app, the leak ranged from ca. 10 MB to 40 MB per device rotation, depending on device, for the MSAA buffers. I have not been able to confirm impact for the stencil buffer. "

    Mon, 17 Dec 2012 15:58:57 +0000 Author : Robert Osfield ➕ Added support for RGBA colour buffer in osgframerenderer using the --rgba command line option (--rgb selects the standard non colour frame buffer which is the default).

    Sun, 16 Dec 2012 17:10:37 +0000 Author : Robert Osfield ➕ Added handling of aspect ratio for vertical/horizontal split stereo.

    Fri, 14 Dec 2012 16:31:07 +0000 Author : Robert Osfield 👀 From Stephan Hunber, "* now you can create a transparent opengl-view (see GraphicWindowIOS::WindowData) * changes of the view's bound are reported via osg's event-system more reliably"

    Fri, 14 Dec 2012 16:30:28 +0000 Author : Robert Osfield ⚡️ Updated SO version

    Thu, 13 Dec 2012 17:35:27 +0000 Author : Robert Osfield From Lionel Lagarde, "Here is a correction on the PixelBufferObject getter methods of Image.The set method modify the buffer object of the BufferData while the get method returned the buffer object of the Image.

    🚚 I've also removed the _bufferObject member of Image (not used anymore)." --This line, Lionel Lagardeand those below, will be ignored--

    M include/osg/Image

    Thu, 13 Dec 2012 16:23:38 +0000 Author : Robert Osfield ➕ Added colouring and lighting of track using shader

    Tue, 11 Dec 2012 17:45:20 +0000 Author : Robert Osfield 🛠 Fixed handling of image colour space conversion when pixel format changes

    Tue, 11 Dec 2012 17:27:22 +0000 Author : Robert Osfield Added automatic conversion of RGB to RGBA when doing REPLACE_ALPHA_WITH_LUMINANCE colour space conversion.

    Tue, 11 Dec 2012 10:44:00 +0000 Author : Robert Osfield Disabled lighting and set the colour to white

    Tue, 11 Dec 2012 09:55:48 +0000 Author : Robert Osfield First cut of generating lines from .trk data

    Mon, 10 Dec 2012 11:11:19 +0000 Author : Robert Osfield ➕ Added setting of the fusion distance.

    Sat, 8 Dec 2012 16:11:00 +0000 Author : Robert Osfield ➕ Added --flip and --no-flip command line options to enable/disable a vertical flip of the captured image before writing out to disk.

    Fri, 7 Dec 2012 19:05:47 +0000 Author : Robert Osfield From Stephan Huber, "attached you'll find a zip containing some bug-fixes and some refactored + new code.* ZeroConfDevice does now return FILE_NOT_HANDLED instead of FILE_NOT_FOUND

    • 👍 present3D supports multiple devices per env-var P3D_DEVICE, separate multiple device with a space

    ♻️ I refactored parts the p3d-plugin, the curl-plugin and parts of Registry and ReaderWriter. Currently the p3d-plugin tries to open all remote files with the help of the curl-plugin.

    👍 I added a new method to Registry called getReaderWriterForProtocolAndExtension. which will return a ReaderWriter which is capable in handling the remote file for the given protocol and extension. If no readerwriter is found for the given extension, a list is built of all readerwriters supporting the given protocol and this list is checked for support of wildcards (extension = "*"). If anything matches it get returned.

    🔌 I added this principle also to the Registry, so now it's possible to register a generic ReaderWriter which can handle all filetypes for a given protocol, similar what curl is doing. All you have to do is to load the plugin at startup. The curl-fallback is still in place.

    🔌 With these changes it is now possible to reference a movie inside a presentation without a server-address, read the presentation (with curl) and stream the movie with the correct plugin (e.g. QTKit)

    "

    Fri, 7 Dec 2012 19:04:49 +0000 Author : Robert Osfield ➕ Added template swapBytes method

    Fri, 7 Dec 2012 13:59:57 +0000 Author : Robert Osfield ➕ Added naming of root of presentation and used this in the setup of the position of the camera.

    Fri, 7 Dec 2012 12:47:42 +0000 Author : Robert Osfield 🛠 Fixed handling of window size/projection matrix

    Fri, 7 Dec 2012 10:19:05 +0000 Author : Robert Osfield 🔌 From Stephan Huber, attached is a fix for the bug of present3D not loading fonts across http. I pass SlideShowConstructor's options-object to readFontFile when constructing any text-objects so freetype can pick up the font-data from the curl-plugin. It works fine now on my end.

    Thu, 6 Dec 2012 19:09:17 +0000 Author : Robert Osfield 🔌 Intial shell of .trk plugin

    Thu, 6 Dec 2012 18:12:00 +0000 Author : Robert Osfield 🏗 From Stephan Huber, build fix

    Thu, 6 Dec 2012 14:42:36 +0000 Author : Robert Osfield ➕ Added default value for initialization of port number

    Thu, 6 Dec 2012 11:36:35 +0000 Author : Robert Osfield 🛠 Fixed typo

    Thu, 6 Dec 2012 11:36:13 +0000 Author : Robert Osfield ➕ Added creation of directory path for ouput if one is required

    Thu, 6 Dec 2012 08:02:08 +0000 Author : Robert Osfield 🏁 From Stephan Huber, ZerConfDevice plugin for Windows and Apple

    Wed, 5 Dec 2012 17:15:53 +0000 Author : Robert Osfield 🚚 From Stephan Huber, "* imageio: removed ReaderWriterImageIO_IOS.cpp, refactored ReaderWriterImageIO to work on OS X and IOS * avfoundation: added support for IOS (CoreVideo-support is still in development, works only for SDK >= 6.0, set IPHONE_SDKVER in cMake accordingly) * zeroconf: added ZeroConf-device-plugin (Mac/Win only, linux implementation missing) to advertise and discover services via ZeroConf/Bonjour, on windows you'll need the Bonjour SDK from Apple * osgosc: modified the example to demonstrate the usage of the ZeroConf-plugin (start the example with the command-line-argument --zeroconf) * SlideShowConstructor: enable/disable CoreVideo via a environment variable (P3D_ENABLE_CORE_VIDEO) * RestHttp: mouse-motion-events get interpolated * RestHttp: unhandled http-requests get sent as an user-event to the event-queue, all arguments get attached as user-values to the event * modified some CMakeModules to work correctly when compiling for IOS * fixed a compile-error for IOS in GraphicsWindowIOS * some minor bugfixes"

    Wed, 5 Dec 2012 11:41:27 +0000 Author : Robert Osfield ➕ Added --screen-distance , --screen-height and --screen-width command line support and associated settings to the configuration file.

    Wed, 5 Dec 2012 10:13:51 +0000 Author : Robert Osfield 🚚 Moved the expansion of the key codes into ApplicationUsage so that help is only generated for non zero keycodes.

    Tue, 4 Dec 2012 19:02:45 +0000 Author : Robert Osfield 🛠 Fixed default camera position

    Tue, 4 Dec 2012 18:51:21 +0000 Author : Robert Osfield 🔄 Changed the -w and -h options to --width and --height respectively.

    Tue, 4 Dec 2012 18:30:33 +0000 Author : Robert Osfield 💻 Cleaned up command line usage

    Tue, 4 Dec 2012 18:28:28 +0000 Author : Robert Osfield 📄 Tidied up command line docs.

    Tue, 4 Dec 2012 18:21:53 +0000 Author : Robert Osfield 📄 Tidied up CaptureSettings and added command line docs

    Tue, 4 Dec 2012 12:47:46 +0000 Author : Robert Osfield ➕ Added CameraProperty and associated command line parameters for controlling camera position and animation. --center x y z --eye x y z --up x y z --rotation-center x y z --rotation-axis x y z --rotation-speed degreesPerSecond

    Tue, 4 Dec 2012 09:11:17 +0000 Author : Robert Osfield ➕ Added missing break;

    Mon, 3 Dec 2012 16:49:47 +0000 Author : Robert Osfield 🔌 From Stephan Huber, "I've found a bug in SlideShowConstructor::findFileAndRecordPath which does return an empty string if the file was not found, and this empty string got added to the fileNames-vector, so the curl-plugin tried to load only an empty file-name, the directory-prefix. I fixed findFileAndRecordPath, so it returns the unmodified filename, which can then be loaded by the curl-plugin. Please review my fix, as I am not sure if it has any side effects, as I know the code not that well.The file includes another small compile-fix when using float-matrices."

    Mon, 3 Dec 2012 11:31:13 +0000 Author : Robert Osfield 📇 Renamed souce file

    Mon, 3 Dec 2012 10:10:46 +0000 Author : Robert Osfield From Wang Rui, "I've found a very covert bug in current VDSM implementation. It makes the computation of positional texgen incorrect if the shadow scene is under one or more child cameras with view/proj offsets. Using current stage instead will fix it."

    Mon, 3 Dec 2012 09:50:41 +0000 Author : Robert Osfield 🛠 Fixed error in Unfiform set method

    Mon, 3 Dec 2012 09:35:12 +0000 Author : Robert Osfield ➕ Added include of osc plugin directory to help with Windows build

    Sun, 2 Dec 2012 11:45:57 +0000 Author : Robert Osfield 🏗 From Wang Rui, build fix

    Fri, 30 Nov 2012 20:03:31 +0000 Author : Robert Osfield 🛠 Fixed crash when no CameraManipulator is assigned to the viewer

    Fri, 30 Nov 2012 16:52:59 +0000 Author : Robert Osfield Added support for 0x and numeric defintion of keys to be used with functionality.

    Fri, 30 Nov 2012 15:43:31 +0000 Author : Robert Osfield ➕ Added support for pausing and restart the property_animation.

    Fri, 30 Nov 2012 14:21:45 +0000 Author : Robert Osfield ➕ Added xml defined property/property animation to .p3d format for propeties: alpha="$alphaname" cutoff="$cutoffname" region="$minx $miny $minz $maxx $maxy $maxz" sampleDensity="$densityname" sampleDensityWhenMoving="$densityname"

    Wed, 28 Nov 2012 13:28:20 +0000 Author : Robert Osfield From Stephan Huber, New OscSendingDevice and OscReceivingDevice classes

    Wed, 28 Nov 2012 10:43:58 +0000 Author : Robert Osfield 🔌 From Stephan Huber, added event sending support into osgGA::Device along with implementation on this into the osc plugin. Added osgoscdevice example to demonstate this in action.

    Tue, 27 Nov 2012 16:00:43 +0000 Author : Robert Osfield ➕ Added support for tag for , and scope to compliment the scope of

    Tue, 27 Nov 2012 15:09:44 +0000 Author : Robert Osfield ➕ Added preliminary support for

    Thu, 22 Nov 2012 15:13:46 +0000 Author : Robert Osfield 🖨 From Stephan Huber, "Attached you'll find a new ImageSequence.cpp which will fix an issue I had when moving the mouse cursor over the left window-border, as the index becomes negative. And I added a UdpSocket.cpp-file with more debuggin-output via some sprinkled printf-calls. "

    Thu, 22 Nov 2012 11:55:38 +0000 Author : Robert Osfield Simplified CMakeLists and adjusted OscHostEndianness to automatically detect the endian at compile time

    Thu, 22 Nov 2012 11:47:03 +0000 Author : Robert Osfield ⚡️ From Stephan Huber, updates to explictly set the HOST Endian using Cmake

    Thu, 22 Nov 2012 09:49:24 +0000 Author : Robert Osfield ➕ Added explict handling of osg::Image, osg::HeightField, osg::Shader and osg::Node when doing writes to the archive.

    Wed, 21 Nov 2012 15:19:58 +0000 Author : Robert Osfield 🔌 From Stephan Huber, further work on osc plugin

    Wed, 21 Nov 2012 14:27:54 +0000 Author : Robert Osfield 🚚 Moved static for local to global scope in Uniform.cpp and removed the local static usage in Registry.cpp

    Wed, 21 Nov 2012 13:38:11 +0000 Author : Robert Osfield ♻️ Refactored osgDB::Input::readObjectOfType to use a template, and updated associated wrappers to avoid using local static's

    Tue, 20 Nov 2012 18:41:30 +0000 Author : Robert Osfield 🏁 From Paul Martz, fix for Windows build

    Tue, 20 Nov 2012 13:01:57 +0000 Author : Robert Osfield 🏁 From Stephan Huber, added missing windows dependency

    Tue, 20 Nov 2012 10:37:42 +0000 Author : Robert Osfield ➕ Added ws2_32 library to Win32 build

    Mon, 19 Nov 2012 11:25:52 +0000 Author : Robert Osfield 🏗 From Paul Martz, build fixes

    Mon, 19 Nov 2012 10:48:37 +0000 Author : Robert Osfield 🔌 Frm Stephan Huber, osc plugin that supports send and recieving events via UDP packets.

    Fri, 16 Nov 2012 15:40:41 +0000 Author : Robert Osfield ➕ Added first cut implememtation of PropertyAnimation class

    Thu, 15 Nov 2012 12:11:19 +0000 Author : Robert Osfield 🚚 Moved PropertyManager related classes out from SlideEventHandler into their own dedicated header/source file.

    Tue, 13 Nov 2012 16:15:20 +0000 Author : Robert Osfield ⚡️ Added support for P3D_UPDATE env var for setting the UpdateVisitor::TRAVERSAL_MODE. Accepted settings are "active", "Active", "ACTIVE", or "all", "All", "ALL".

    Tue, 13 Nov 2012 15:26:06 +0000 Author : Robert Osfield Added --update-active and --update-all command line options that set the UpdateVisitor::TraversalMode to TRAVERSE_ACTIVE_CHILDREN and TRAVERSE_ALL_CHILDREN respecively.

    Tue, 13 Nov 2012 14:22:37 +0000 Author : Robert Osfield ➕ Added support for to allow user definition of when to enable OpenGL blending for an image or not.

    Tue, 13 Nov 2012 13:52:33 +0000 Author : Robert Osfield ⚠ From Stephan Huber, fixed warning

    Tue, 13 Nov 2012 13:32:01 +0000 Author : Robert Osfield 🔄 Changed COLOUR to COLOR to be consistent with OpenGL spelling

    Tue, 13 Nov 2012 13:16:10 +0000 Author : Robert Osfield Moved colour space conversion of volumes from the osgvolume example into osg/ImageUtils and added support for colorSpaceConversion="MODULATE_ALPHA_BY_LUMINANCE","MODULATE_ALPHA_BY_COLOUR","REPLACE_ALPHA_WITH_LUMINANCE" and "REPLACE_RGB_WITH_LUMINANCE" to .p3d tag

    Tue, 13 Nov 2012 11:45:20 +0000 Author : Robert Osfield ➕ Added first step to adding pruning of expired image requests.

    Tue, 13 Nov 2012 11:20:36 +0000 Author : Robert Osfield 🔀 From Stephan Huber, introduced syncornization of osgGA::Device

    Mon, 12 Nov 2012 16:46:08 +0000 Author : Robert Osfield Cleaned up reported of events and added assigned of tag region properities when using the wildcard definition of the volume.

    Mon, 12 Nov 2012 15:26:30 +0000 Author : Robert Osfield ➕ Added osgframerenderer example

    Mon, 12 Nov 2012 10:36:21 +0000 Author : Robert Osfield 🔄 Changed the default settings to fix a jump problems

    Sat, 10 Nov 2012 12:12:24 +0000 Author : Robert Osfield Added missing files in support of key_jump and key_run tags

    Fri, 9 Nov 2012 21:32:54 +0000 Author : Robert Osfield Added support for naming slides and layers with slide_name and layer_name properties respectively. Added support for creating events based on key presses using a and tags.

    Fri, 9 Nov 2012 21:23:42 +0000 Author : Robert Osfield ➕ Added Node::getName() and getUserDataContainer() to check to see if an node can be removed or not.

    Thu, 8 Nov 2012 17:19:51 +0000 Author : Robert Osfield 🚀 From Alexander Sinditskiy, "I found issue with capturing mouse buttons. This issue can be reproduced: 1. Create osgViewer window, 2. Push right&left mouse buttons on the osgViewer window, 3. Move mouse out of window, and release right&left mouse buttons.osgViewer window handle only first mouse release, as result window thinks that we did not released second mouse button.

    I attached fix for this issue."

    Thu, 8 Nov 2012 15:45:23 +0000 Author : Robert Osfield Added support for

    Thu, 8 Nov 2012 15:28:24 +0000 Author : Robert Osfield ⚡️ Changed the way the mouse position is update to handle the remote device control.

    Thu, 8 Nov 2012 14:15:59 +0000 Author : Robert Osfield ➕ Added check to avoid doing update when the imagesequence is empty.

    Thu, 8 Nov 2012 11:19:31 +0000 Author : Robert Osfield ♻️ Refactored ImageSequence to better handle random access usage.

    Tue, 6 Nov 2012 17:49:32 +0000 Author : Robert Osfield 🐧 Tweaked casts/types to fix build under Linux

    Tue, 6 Nov 2012 14:25:28 +0000 Author : Robert Osfield ➕ Added f qualifer to 1.0 to fix build problem under MSVS

    Tue, 6 Nov 2012 11:18:33 +0000 Author : Robert Osfield 🐎 From Stephan Huber, improved performance by using native apple functions for flipping image

    Mon, 5 Nov 2012 17:22:34 +0000 Author : Robert Osfield 🔌 From Stephan Huber, "Attached you'll find a fix for the image-io-plugin to handle out-of-memory situations more gracefully as before (don't crash)"

    Mon, 5 Nov 2012 12:21:34 +0000 Author : Robert Osfield Quitened down debug output

    Mon, 5 Nov 2012 12:03:50 +0000 Author : Robert Osfield ⚡️ From Stephan Huber, updated to debug output to RestHttpDevice and tweaks to ImageIO and QTKit plugins

    Mon, 5 Nov 2012 09:36:00 +0000 Author : Robert Osfield ➕ Added static cast to float to avoid compile error under MSV

    Thu, 1 Nov 2012 18:06:46 +0000 Author : Robert Osfield From David Longest, "When drawing, a transform with an absolute reference frame will ignore the calculated model / view matrices up to that point. The IntersectionVisitor would instead keep the view matrices calculated up to that point even though the Transform class will throw out the calculated model matrix via “computeLocalToWorldMatrix.”The change I made will push an identity matrix as the view matrix when running into a transform with an absolute reference frame and will pop the matrix off after the traverse.

    ✅ To test this, I created a camera with a perspective view and added a transform with some geometry in it. Afterwards, I set the transform’s reference frame to ABSOLUTE_RF and spun the camera around using the trackball manipulator. When trying to pick with a LineSegmentIntersector, it would not pick the geometry in the transform with the reference frame set to ABSOLUTE_RF."

    Thu, 1 Nov 2012 16:11:13 +0000 Author : Robert Osfield 🔄 Changed the PropertyEventCallback to only respond to mouse releated events.

    Thu, 1 Nov 2012 14:29:26 +0000 Author : Robert Osfield

    Wed, 31 Oct 2012 17:06:29 +0000 Author : Robert Osfield ➕ Added reading of the P3D_DEVICE env var for setting up the --device entry.

    Wed, 31 Oct 2012 16:07:23 +0000 Author : Robert Osfield ➕ Added event and update callbacks to pass up changes to the mouse position to the ImageSequence::seek() to control which images is selected based on mouse x position

    Tue, 30 Oct 2012 12:31:27 +0000 Author : Robert Osfield 🔌 From Stephan Huber, RestHttpDevice plugin for support of remote application control via Rest http.

    Mon, 29 Oct 2012 15:58:02 +0000 Author : Robert Osfield 👍 Intial work towards support an interaction tag in Present3D.

    Fri, 26 Oct 2012 15:31:18 +0000 Author : Robert Osfield 🔌 From Luc Frauciel, "Compile Fix - KTX plugin with Visual Studio, not defined under MSVC"

    Wed, 24 Oct 2012 16:10:38 +0000 Author : Robert Osfield Fixed bug in click_to_run feature where events would be handled by hidden labels

    Wed, 24 Oct 2012 10:43:01 +0000 Author : Robert Osfield ♻️ From Stephan Huber, "attached you'll find the latest versions of the QTKit + the AVFoundation-plugin, some changes to osgPresentation and a small enhancement für ImageIO.I fixed some bugs and did some more tests with both of the video-plugins. I integrated CoreVideo with osgPresentation, ImageStream has a new virtual method called createSuitableTexture which returns NULL for default implementations. Specialized implementations like the QTKit-plugin return a CoreVideo-texture. I refactored the code in SlideShowConstructor::createTexturedQuad to use a texture returned from ImageStream::createSuitableTexture.

    ♻️ I did not use osgDB::readObjectFile to get the texture-object, as a lot of image-related code in SlideShowConstructor had to be refactored to use a texture. My changes are minimal and should not break existing code.

    There's one minor issue with CoreVideo in general: As the implementation is asynchronous, there might be no texture available, when first showing the video the first frame. I am a bit unsure how to tackle this problem, any input on this is appreciated.

    🐎 Back to the AVFoundation-plugin: the current implementation does not support CoreVideo as the QTKit-plugin supports it. There's no way to get decoded frames from AVFoundation stored on the GPU, which is kind of sad. I added some support for CoreVideo to transfer decoded frames back to the GPU, but in my testings the performance was worse than using the normal approach using glTexSubImage. This is why I disabled CoreVideo for AVFoundation. You can still request a CoreVideoTexture via readObjectFile, though. "

    Tue, 23 Oct 2012 16:15:03 +0000 Author : Robert Osfield ➕ Added osgGA::Device class for integration of both physical and virtual devices.Added template readFile(..) function to make it more convinient to cast to a specific object type.

    ➕ Added support for osgGA::Device to osgViewer.

    ➕ Added sdl plugin to provides very basic joystick osgGA::Device integration.

    Mon, 22 Oct 2012 16:21:04 +0000 Author : Robert Osfield ➕ Added mutex lock to Uniform::addParent()/removeParent().

    Fri, 12 Oct 2012 14:51:08 +0000 Author : Robert Osfield ➕ Added serializers for osgGA

    Tue, 9 Oct 2012 16:14:21 +0000 Author : Robert Osfield ✂ Removed the insert of requests in the ImageSequence::_filesRequested data structure so that it always requests files, leaving it up the ImagePager to decide to track duplicates

    Tue, 9 Oct 2012 16:05:50 +0000 Author : Robert Osfield From Wang Rui, "I modified the Serializer header to add a UPDATE_TO_VERSION_SCOPED macro, which could set version within brackets and reset it after that. All related serializers are also modified so that the backward-compatibility bug reported by Farshid can be fixed. "From Robert Osfield, removed the use of osg::Referenced and creating the proxy object on the heap.

    Mon, 8 Oct 2012 16:14:23 +0000 Author : Robert Osfield 📜 From Wang Rui, "I've added CDATA tag support to XmlParser so that we can keep user data (e.g., GLSL shader texts) in XML files without parsing them. This will be necessary for the coming-soon effect compositor submission. :-)"

    Mon, 8 Oct 2012 16:12:59 +0000 Author : Robert Osfield ➕ Added a static_cast to avoid build issues under Windows

    Mon, 8 Oct 2012 16:03:16 +0000 Author : Robert Osfield 🛠 Fixed warning

    Mon, 8 Oct 2012 15:10:56 +0000 Author : Robert Osfield From Aurelein Albert, "Under some Visual Studio configuration, I get compile error on "lib3ds_io.c" due to use of these kind of conversion : b[1] = uint8_t((w & 0xFF00) >> 8);

    I replaced it with :

    b[1] = (uint8_t)((w & 0xFF00) >> 8);
    

    And it compiles fine "

    Mon, 8 Oct 2012 12:00:53 +0000 Author : Robert Osfield 🔌 From Gill Peacegood, "In the attached file I have changed the colour space used for writing images to match the one used for reading images. Also this color space does not make subtle changes to the original colours which i think is probably what most people intend when writing an image and is more consistent with other plugins.The effect is that an image that is written does not have a noticeably different colour when it is read back."

    Mon, 8 Oct 2012 11:54:40 +0000 Author : Robert Osfield ⚡️ From Oren Fromberg, "" --This line, and thosAttached is an update to ReaderWriterDAE.cpp/h and daeReader.cpp/h that implementsosgDB::ReaderWriter::ReadResult

    ReaderWriterDAE::readNode (std::istream&, const osgDB::ReaderWriter::Options*)

    🔌 This virtual function had never been implemented in ReaderWriterDAE. I implemented this function because the DAE plugin could not load files from other ReaderWriter derived objects that use protocol handlers.

    ⚡️ I have updated function declarations in the header to have identical signatures with the base class declarations that include the default parameter.

    readNode (std::istream&, …) is nearly identical to readNode(const std::string &, …) except it uses a new private function to convert the file from standard input:

    bool daeReader::convert( std::istream& fin )

    When this function is called fileURI is the string “from std::istream” to make the user aware where the file is coming from. Then instead of calling

    _dae->open(fileURI)

    we call

    _dae->openFromMemory(fileURI, buffer.data())

    Where buffer.data() is a pointer to the dae file text in memory.

    Other changes include private functions to clear caches and to consolidate redundant code that appears between the two convert functions.

    e below, will be ignored--

    🔌 M src/osgPlugins/dae/ReaderWriterDAE.cpp 🔌 M src/osgPlugins/dae/daeReader.cpp 🔌 M src/osgPlugins/dae/ReaderWriterDAE.h 🔌 M src/osgPlugins/dae/daeReader.h

    Mon, 8 Oct 2012 11:10:25 +0000 Author : Robert Osfield From James Athey, "I've attached a new osgDB ReaderWriter that can read Khronos Texture Files (KTX). The KTX file format is straightforward and designed to be easy to use in OpenGL.http://www.khronos.org/opengles/sdk/tools/KTX/file_format_spec/ http://www.khronos.org/opengles/sdk/tools/KTX/

    🔌 The attached plugin can read:

    • 1D, 2D, and 3D textures
    • uncompressed and compressed images
    • mipmapped and non-mipmapped textures
    • little-endian and big-endian files
    • 👀 textures from files as well as seekable istream objects

    It does not handle:

    • 👍 array textures (not supported by the ReaderWriter API)
    • 👍 cubemap textures (not supported by the ReaderWriter API)
    • 👀 the "KTXorientation" key-value pair; support could be added later (see the file format spec for more information)
    • 👀 non-seekable istream objects (would require more complicated memory management) "

    Fri, 5 Oct 2012 16:31:23 +0000 Author : Robert Osfield Made TouchData and osg::Object to aid with serialization.

    Fri, 5 Oct 2012 10:37:36 +0000 Author : Robert Osfield 👌 Improved ImageSequence's handling of seek() and added a simply hack to ImagePager to prevent the number of requests accumulating.

    Fri, 5 Oct 2012 10:35:06 +0000 Author : Robert Osfield 👀 From Stephan Huber and Robert Osfield, addded interactive setting of the ImageSequence::seek() based on the mouse x position.

    Fri, 5 Oct 2012 10:07:09 +0000 Author : Robert Osfield ➕ Added set methods to assist with serialization support

    Thu, 4 Oct 2012 13:45:54 +0000 Author : Robert Osfield 🔌 From Stephan Huber, "attached you'll find a fix for Registry.cpp not using the QTKit-plugin for video-files. W/o this fix you had to preload the plugin to open movie-files."

    Tue, 2 Oct 2012 14:07:12 +0000 Author : Robert Osfield 🔌 From Stephan Huber, OSX and iOS Video support via a QTKit plugin from OSX 10.7 and before, and an AVFoundation plugin for iOS and OSX10.8 and later.

    Fri, 28 Sep 2012 16:36:42 +0000 Author : Robert Osfield 🏁 From Leigh Stivers, "We had this problem which shows up with nVidia's latest Quadro driver, 305.93 - and older drivers when the nVidia's setting "Thread Optimization" was turned on, running Windows 7. The symptom, is that after creating a first view and using it, and then creating a second view, the first view will never render anything but black.What happens is this: A view is created, and then the viewers thread is created and runs. 🚀 The setReleaseContextAtEndOfFrameHint is true. To create a second view, the viewer is setDone(true), and we wait for the thread exit.

    At this point, inside the ViewerBase::RenderingTraversals code, there are places where it reads "if(_done) return;"

    🚀 The problem, is that it won't reach the code that will releaseContext().

    Apparently, this driver won't let any other thread to makeCurrent(), if another thread (dead or not) has ownership. So when the Viewers is re-started, the first view won't be able to use the gc.

    The change attached (against rev 13153) corrects this."

    Thu, 27 Sep 2012 08:34:56 +0000 Author : Robert Osfield 👍 From Thomas Hogarth, "Apple have decided in their eternal wisdom to do away with separate depth and stencil buffers on iOS from version 5 and above.Attached are changes to GraphicsWindowIOS.mm to support setting up the new buffer type when compiling for iOS5, 👍 also attached is a small change to FrameBufferObject.cpp to report support for packed depth stencil via the GL_OES_packed_depth_stencil extension.

    For anyone reading this you can attach a packed depth stencil to your FBO like so

    _rttCamera->attach( osg::Camera::PACKED_DEPTH_STENCIL_BUFFER, GL_DEPTH24_STENCIL8_EXT );

    Luckily GL_DEPTH24_STENCIL8_EXT happens to have the same value as iOSs GL_DEPTH24_STENCIL8_OES"

    Wed, 26 Sep 2012 08:42:04 +0000 Author : Robert Osfield 🏗 From Paul Martz, "This change to include/osg/GL correctly includes the OpenGL header on OSX 10.7 when building OSG trunk for GL3. It also adds some CPP defines for compatibility."

    Tue, 25 Sep 2012 11:04:11 +0000 Author : Robert Osfield 🔄 Changed dispatch to virtual

    Mon, 24 Sep 2012 10:10:28 +0000 Author : Robert Osfield From Frederic Bouvier, "fix PNG write for images with bits per components different than 8 that was hard coded."

    Thu, 20 Sep 2012 14:06:01 +0000 Author : Robert Osfield 🔌 From Aurelien Albert, "In the DXF plugin, DXF layers are decoded and each layer is added in a separate group, which is very usefull to retrieve a layer or display a list of all layers in the aplication.But the layers are not always children of the "model root" node : there can be a matrix transform between "model root" and "layers parent", so I've added the name "Layers" on the node which contains all layers to easily retrieve the layers groups from application code."

    Thu, 20 Sep 2012 14:03:47 +0000 Author : Robert Osfield From Luc Frauciel, Added sRGB FrameBuffer string

    Thu, 20 Sep 2012 11:27:57 +0000 Author : Robert Osfield From Vladimir Cheaev, " I worked with a osg::Constraint and found strange part of code: class OSGMANIPULATOR_EXPORT Constraint : public osg::Referenced { public: ... virtual bool constrain(ScaleUniformCommand& command) const { return constrain((MotionCommand&)command); } virtual bool constrain(const Rotate3DCommand& command) { return constrain((MotionCommand&)command); } ...If i use osgManipulator::Rotate3DCommand then method Rotate3DCommand::accept(const Constraint& constraint) calls Constraint::constrain(MotionCommand&) instead Constraint:: constrain(const Rotate3DCommand&).

    If you replace virtual bool constrain(const Rotate3DCommand& command) { return constrain((MotionCommand&)command); } on to virtual bool constrain(Rotate3DCommand& command) const { return constrain((MotionCommand&)command); } then all works correctly. "

    Thu, 20 Sep 2012 11:18:19 +0000 Author : Robert Osfield From Farshid Lashkari, Added GLBeginEndAdapter::reset(), and _overallNormalAssigned, _overallColorAssigned flags to avoid the GLBeginEndAdapter adapter setting colour and normals when none has been assigned.

    Thu, 20 Sep 2012 11:16:02 +0000 Author : Robert Osfield 🚀 From Ulrich Hertlein, "attached is a patch to src/osgViewer/CMakeLists.txt that inverts the logic of when to use Cocoa and when to use the old Carbon interface for the windowing system.The old code had to be modified for every new OS X release to default to Cocoa. The new code uses Carbon for <= OS X 10.4 and Cocoa on everything else."

    Thu, 20 Sep 2012 11:14:10 +0000 Author : Robert Osfield ➕ Added ReadQueue::size() method to help with debugging.

    Wed, 12 Sep 2012 16:35:12 +0000 Author : Robert Osfield ➕ Added handling of directory names in osgimagesequence commandline.From Stephan Huber, added support for controlling the ImageSequence seek position via mouse x position, toggled on/off via 'i' key.

    Wed, 12 Sep 2012 16:02:02 +0000 Author : Robert Osfield ➕ Added osgDB::getSortedDirectoryContents and osgDB::FileNameComparator to help with sorting directory contents into alphabetic and numerical order.

    Wed, 12 Sep 2012 11:09:41 +0000 Author : Robert Osfield Converted sorting of directory contents across to use the new osgDB::FileNameComparator and osgDB::getSortedDirectoryContents()

    Mon, 10 Sep 2012 08:24:49 +0000 Author : Robert Osfield 🚀 Updated version after 3.1.3 dev release

    Fri, 7 Sep 2012 17:04:31 +0000 Author : Robert Osfield 🚀 Updated ChangeLog for 3.1.3 dev release

    Fri, 7 Sep 2012 14:55:09 +0000 Author : Robert Osfield From Wojciech Lewandowski, "With current trunk I had an error while compiling osg/Image.cpp for IOS simulator / GLES2. Symbol GL_RGBA16 was missing. Adding #define GL_RGBA16 0x805B to Image header solves the problem. "

    Fri, 7 Sep 2012 09:31:26 +0000 Author : Robert Osfield ➕ Added setting of the input range of the event state based on the master cameras viewport.

    Fri, 7 Sep 2012 08:33:24 +0000 Author : Robert Osfield ➕ Added check so not intialization is down when you select the current camera manipulator

    Thu, 6 Sep 2012 13:53:58 +0000 Author : Robert Osfield 🔌 From Piotr Domagalski, "I've added reading of node names ('DEF' element) to the VRML reading plugin. The changes were based on trunk's version of the plugin."

    Thu, 6 Sep 2012 13:48:17 +0000 Author : Robert Osfield 🔌 From Piotr Domagalski, "I've rewritten some bits of the STL plugin in order to support ASCII STL files with multiple named solids (reading and writing). The names are also used as OSG nodes names.- Also, a 'dontSaveNormals' was added. It allows to ignore normals when writing an STL file. For example, it is useful for me when writing an STL file for CFD simulations.

    • 🔌 Some comments and code formatting were improved (to be consistent with the formatting already used in the plugin).

    • With 'separateFiles' option files are now named fooX.stl instead of foo.stlX

    ✅ The changes have been tested on various STL, both ASCII and binary found on the net. The change was based on the trunk branch."

    ⚠ From Robert Osfield, changed assert in Piotr's code to a runtime check warning report.

    Thu, 6 Sep 2012 10:52:28 +0000 Author : Robert Osfield 🔀 From Piotr Domagalski, "Currently, code using OpenSceneGraph doesn't build with clang due to the way __sync_bool_compare_and_swap() is used in OpenThreads/Atomic header file.I tested it with clang 3.1 and it seems that clang is enforcing the use of the same type for all parameters in this builtin. Looking at the function declaration [1]

    🔀 bool __sync_bool_compare_and_swap (type *ptr, type oldval type newval, ...)

    👀 it seems to be doing the right thing: here the same type is used for *ptr, oldval and newval.

    [1] http://gcc.gnu.org/onlinedocs/gcc/_005f_005fsync-Builtins.html#g_t_005f_005fsync-Builtins "

    Thu, 6 Sep 2012 10:32:07 +0000 Author : Robert Osfield 🏗 From Fredric Bouvier, fix to CMake build selection of FLTK

    Wed, 5 Sep 2012 21:03:41 +0000 Author : Robert Osfield From Colin McDonald and Robert Osfield, converted Traits::sharedContext from GraphicsContext* to osg:observer_ptr to prevent dangling pointer issues.

    Wed, 5 Sep 2012 13:51:34 +0000 Author : Robert Osfield 🛠 Fixed inappropriate comment

    Wed, 5 Sep 2012 13:48:23 +0000 Author : Robert Osfield Moved the OSG_INIT_SINGLETON_PROXY macro into include/osg/Object to make it more generally useful and added it's usage into the RenderBinPrototypeList initialization.

    Wed, 5 Sep 2012 10:27:08 +0000 Author : Robert Osfield ✅ From Thomas Hogarth, "I submitted a change for the IOS CMake system a few weeks back which hasn't made it into the trunk. I've just made the modifications again against the latest trunk and have attached the fileIt basically accounts for the fact that XCode has changed it's default install location.

    "

    Wed, 5 Sep 2012 10:24:10 +0000 Author : Robert Osfield 📚 From Andreas Ekstrand, The attached ESRIShape.cpp contains fixes for comparing calculated byte sizes with the content length from the record header. According to the ESRI Shape documentation (http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf), the content length is specified in 16 bit words, which is why I have multiplied it by 2 when comparing to byte sizes. Note that the comparison in line 813 is made with a fix number of 16-bit words so it hasn't been changed.This fixes problems with PolygonZ records where the previous code was reading past the end of the record since it thought it had M values even if it didn't. I suspect the problem that James McGlone had back in 2006 was the same but reversed, when he tried to simply comment out the check, which was a (correctly) refused submission.""

    Wed, 5 Sep 2012 10:19:01 +0000 Author : Robert Osfield From Nico Kruithof, "There is a small typo in the ShapeDrawable code for a sphere. There was a gl.Begin(GL_QUAD_STRIP) that was never closed, nor used."

    Wed, 5 Sep 2012 09:30:33 +0000 Author : Robert Osfield ⚡️ Updated SO version number to avoid collision with new additions to serializers

    Wed, 5 Sep 2012 09:08:25 +0000 Author : Robert Osfield Added GL_RGBA8 and GL_RGBA16 entries to the Image::computePixelFormat() and improved he readability of the method by inserting line spacing.

    Wed, 5 Sep 2012 08:48:10 +0000 Author : Robert Osfield 🛠 From Ulrich Hertlein, "fixes a typo and adds support for OS X 10.8"

    Wed, 5 Sep 2012 08:42:14 +0000 Author : Robert Osfield ➕ Added deprecated note to indices entry.

    Tue, 4 Sep 2012 08:21:09 +0000 Author : Robert Osfield From Brad Christiansen, changed OSG_INFO to OSG_DEBUG to quieten down volume of messages in INFO

    Mon, 3 Sep 2012 15:19:00 +0000 Author : Robert Osfield ⚡️ From Brad Christiansen, "fix for the NVTTImageProcessor. When the code was updated in revision 12912 a couple of typos where made. These cause a crash when compressing transparent images and mangled colours when compressing rgb images. "

    Mon, 3 Sep 2012 09:08:16 +0000 Author : Robert Osfield 🏗 Adjusted the #define's to help GLES2 build

    Mon, 3 Sep 2012 08:30:01 +0000 Author : Robert Osfield From Lilin Xiong, " there is a small bug in osgDB::readNodeFiles(std::vector<std::string>& fileList,const Options* options) in file ReadFile.cpp line 85: osg::Node *node = osgDB::readNodeFile( *itr , Registry::instance()->getOptions() ); It should be: osg::Node *node = osgDB::readNodeFile( *itr , options );"

    Fri, 31 Aug 2012 16:00:55 +0000 Author : Robert Osfield ➕ Added a fix for a multi-threading bug that occured when TerrainTiles were accessed via the Terrain::_updateTerrainTileSet that were being deleted at the same time by the DatabasePager thread.

    Wed, 29 Aug 2012 16:48:27 +0000 Author : Robert Osfield 🛠 From Wang Rui, "This patch fixes a problem of the osg::Program serializers that can't save/load GeometryInputType data correctly. The bug is initially found by John Kelso."

    Fri, 24 Aug 2012 15:05:03 +0000 Author : Robert Osfield From Johannes Scholz, fix for writing out of hexidecimal numbers

    Thu, 23 Aug 2012 15:06:27 +0000 Author : Robert Osfield 🛠 Fixed bug in GLBufferObjectSet::discardAllDeletedGLBufferObjects() and GLBufferObjectSet::flushDeletedGLBufferObjects(double currentTime, double& availableTime) where the NumberActiveGLBufferObjects was errneously being incremented by numDiscarded.M osg/BufferObject.cpp

    Wed, 22 Aug 2012 16:39:47 +0000 Author : Robert Osfield 🛠 Fixed typo

    Tue, 21 Aug 2012 09:45:24 +0000 Author : Robert Osfield ➕ Added check against the Camera NodeMask to decide whether it's appropriate to test for events on that camera.

    Wed, 15 Aug 2012 12:40:48 +0000 Author : Robert Osfield ➕ Added ShadowSettings::s/getMaximumShadowMapDistance(double) property, usage of these property in ViewDependentShadowMap, and setting of it with --max-shadow-distance in the osgshadow example.

    Tue, 14 Aug 2012 20:15:00 +0000 Author : Robert Osfield ➕ Added a mutex to protect the removal and addition of Uniform and Program to StateSet to avoid parents being invalidated when multi-threading.

    Fri, 3 Aug 2012 16:14:14 +0000 Author : Robert Osfield ⚡️ Introduced --near-far-mode into osgshadow and ShadowSettings::setComputeNearFarModeOverride(..) to allow user control of how the cull traversal is optimized for computing the depth range of the shadow map.

    Fri, 3 Aug 2012 15:23:44 +0000 Author : Robert Osfield ✂ Removed the erronous creation of a local ShadowSettings object

    Tue, 24 Jul 2012 09:05:04 +0000 Author : Robert Osfield ➕ Added FireGL to prefernce list for use glGenerateMipMap

    Mon, 23 Jul 2012 08:15:57 +0000 Author : Robert Osfield 🛠 Fixed build

    Thu, 12 Jul 2012 16:41:53 +0000 Author : Robert Osfield 0️⃣ Introduced Texture::Extensions::s/getPreferGenerateMipmapSGISForPowerOfTwo() flag that defaults to false for Radeon, true elsewhere. This is used to workaround mipmapping bugs with ATI/AMD cards.

    Wed, 11 Jul 2012 14:36:14 +0000 Author : Robert Osfield 🛠 Fixed indentation

    Wed, 11 Jul 2012 08:39:11 +0000 Author : Robert Osfield 🛠 Fixed parameter default value to avoid warning

    Tue, 10 Jul 2012 16:20:32 +0000 Author : Robert Osfield 🗄 Replaced use of now deprecated methods.

    Tue, 10 Jul 2012 16:11:40 +0000 Author : Robert Osfield Enabled the use the getReceivesShadowTraversalMask().

    Tue, 10 Jul 2012 16:11:15 +0000 Author : Robert Osfield 🔄 Changed settings of masks to use ShadowSettings.

    Tue, 10 Jul 2012 15:50:46 +0000 Author : Robert Osfield 🚚 Moved mask settings into ShadowSettings

    Mon, 9 Jul 2012 17:49:04 +0000 Author : Robert Osfield ⚡️ Changed updateCamera(Camera*) to updateCamera(Camera&) to make it clear that a valid Camera object should be passed in.

    Mon, 9 Jul 2012 17:32:13 +0000 Author : Robert Osfield ⚡️ From Riccardo Corsi, introduced CameraManipulator::updateCamera() method that allows more Camera properties to be controlled by the CameraManipulator.

    Mon, 25 Jun 2012 16:31:36 +0000 Author : Robert Osfield ♻️ Refactored the way that the static Scene cache is managed by moving all the functionality into a SceneSingleton

    Fri, 22 Jun 2012 16:21:08 +0000 Author : Robert Osfield Restructed the way that the global notify variables are initialized to avoid problems with multi-threaded initialization of these variables.

    Sat, 16 Jun 2012 09:08:05 +0000 Author : Robert Osfield 🛠 Fixed spelling of FileNameComparator

    Fri, 15 Jun 2012 09:04:32 +0000 Author : Robert Osfield 🚚 Moved the frame() event into the event traversal after then events and their state have been accumulated.

    Tue, 12 Jun 2012 20:15:58 +0000 Author : Robert Osfield ➕ Added FileNameComparator to sort the filenames in an ImageSequence into alphanumerical order so that it can handle the numerical ordering found in screenshot numbered sets of files

    Tue, 12 Jun 2012 18:29:03 +0000 Author : Robert Osfield Enabled 6 ImageThreads in the ImagePager

    Tue, 12 Jun 2012 10:31:50 +0000 Author : Robert Osfield Commented out the disabling of use of PBO's in ImageStream, and disabled the use ClientStoreHint in Present3D.

    Mon, 11 Jun 2012 19:54:07 +0000 Author : Robert Osfield Added support for setting the paging_mode property to PRE_LOAD_ALL_IMAGES, PAGE_AND_RETAIN_IMAGES or PAGE_AND_DICARD_IMAGE for osg::ImageStream, with PAGE_AND_DICARD_IMAGE set as the default.

    Fri, 8 Jun 2012 10:26:23 +0000 Author : Robert Osfield ➕ Added ImageStream support to and tags in .p3d

    Fri, 8 Jun 2012 04:18:28 +0000 Author : Robert Osfield ➕ Added osg::ImageSequence support into osgPresentation::SlideShowConstructor and the associated tag in .p3d.

    Thu, 7 Jun 2012 10:08:42 +0000 Author : Robert Osfield ➕ Added --fps support

    Thu, 31 May 2012 14:45:24 +0000 Author : Robert Osfield ➕ Added typdef for Win32

    Fri, 25 May 2012 16:07:11 +0000 Author : Robert Osfield 👍 From Wang Rui, "A very small but maybe fatal problem was found when I saved models with shader and uniforms (with new double types support) to osgb format and tried to read it again. The application will crash here. And the serializer file should be slightly changed to fix it. Please replace the original file in osgWrappers/serializers/osg/Uniform.cpp."

    Fri, 25 May 2012 15:32:51 +0000 Author : Robert Osfield ➕ Added Dragger::get/setActivationMouseButtonMask(uint).

    Fri, 25 May 2012 08:56:25 +0000 Author : Robert Osfield 0️⃣ From Jaap Glas, "Added a default parameter to the following constructor in TabPlaneDragger and TabPlaneDragger.cpp:TabPlaneDragger(float handleScaleFactor=20.0f);

    0️⃣ The reason for this is that the default OSG tab sizes are way bigger than those we used in our application so far. And since handleScaleFactor_ 👀 is already a (constant) class member, I see no objection against making it user defined."

    Thu, 24 May 2012 18:15:44 +0000 Author : Robert Osfield 🚚 From Jaap Gas, added missing break, and missing removeDraggerCallback.

    Mon, 21 May 2012 09:12:13 +0000 Author : Robert Osfield ✂ Removed -ftree-vectorize from OSX 10.7 build to avoid warning when building with clang.

    Wed, 2 May 2012 14:13:29 +0000 Author : Robert Osfield ✂ Removed trailing spaces

    Wed, 2 May 2012 13:58:34 +0000 Author : Robert Osfield 🛠 Fixed for including cmath before osg/Math.

    Fri, 27 Apr 2012 09:43:25 +0000 Author : Robert Osfield Added using base_class::set to the Matrix*Template class to enable the set() method from the base class to be used.

    Thu, 26 Apr 2012 10:07:36 +0000 Author : Robert Osfield ⚡️ From Christophe Herreman, Added viewer.setCameraManipulator( keyswitchManipulator.get() ) to fix problem with master Camera not being updated

    Fri, 20 Apr 2012 10:01:50 +0000 Author : Robert Osfield 🐎 From Mathias Froehlich,"Attached is a change to the ac3d model loader as of rev 11498, that uses indexed draws instead of plain array draws to save some amount of main memory. Draw performance does not change with the nvidia binary blob as well as with the open source drivers."

    Fri, 20 Apr 2012 09:53:41 +0000 Author : Robert Osfield 🔌 From John Kaniarz, "Here's a patch to add new extensions for tessellation shaders to the GLSL plugin." "I went with .tctrl and .teval for the shader extensions."

    Fri, 20 Apr 2012 09:40:29 +0000 Author : Robert Osfield Ran dos2unx on file

    Fri, 20 Apr 2012 09:38:51 +0000 Author : Robert Osfield From John Kaniarz, "Here is an example of using tessellation shaders in osg. With permission from the author, I adapted it from this tutorial: http://prideout.net/blog/?p=48"

    Thu, 19 Apr 2012 14:58:35 +0000 Author : Robert Osfield Restructed how the GL_SAMPLER_* #define's are placed to avoid build problems under GLES.

    Thu, 19 Apr 2012 14:34:28 +0000 Author : Robert Osfield Changed #ifdef IPHONE_4_0 to #if defined(IPHONE_4_0) to fix error that Clang compile warning highlighted

    Thu, 19 Apr 2012 13:18:58 +0000 Author : Robert Osfield 👉 Fixed build with OSG_USE_REF_PTR_IMPLICIT_OUTPUT set to OFF.

    Thu, 19 Apr 2012 10:27:58 +0000 Author : Robert Osfield From David Callu, "Here the fix for Matrix{2,3,4}x{2,3,4}{fd} defined in Uniform header.My previous patch for Atomic Counter Uniform provide new template implementation of Matrix{2,3,4}x{2,3,4}{fd}. This new implementation use Column-Major Matrix. Original code define matrix as Row-Major matrix like other Matrix in OSG, and my matrix implementation break compatibility with previous code. For example osg_normalMatrix define in osg::State report by Roland Hill. Thanks to Paul Martz to spot me when the bug appear."

    Thu, 19 Apr 2012 10:10:26 +0000 Author : Robert Osfield ➕ Added missing getUniformBlocks implmentation

    Thu, 19 Apr 2012 09:50:10 +0000 Author : Robert Osfield ⚡️ From Jorge Izquierdo Ciges, "Mostly small changes to add more compile options, and shared linking (still testing that capability, but this enables on a compile basis if the user wants). Robert, when you give the Ok I'll update/rewrite the Android section in the old/new wiki you'll say where is better. Mostly to be clear for the future users what options can configure and what are their purpose."

    Wed, 18 Apr 2012 10:16:09 +0000 Author : Robert Osfield Refactored the handling of GLES adaptations of the 1,2,3,4 internal formats and added handling of GL_RGB8_OES and GL_RGBA8_OES.

    Wed, 18 Apr 2012 09:56:00 +0000 Author : Robert Osfield From Mathias Froehlich, "Attached is a change to the slow path geometry dispatch tables that allows the use of 3 component float color vectors."

    Wed, 18 Apr 2012 09:51:39 +0000 Author : Robert Osfield 👀 From Martin Naylor, "I have been experiencing a crash in the example osgtexture2D. Not sure why my system seems to be so sensitive to these problems.But attached is a fix which seems to stabilise the example. 👀 Note: it only seems to crash intermittently when spinning the object with your mouse.

    So I assume this is a threading issue because of the data variance missing in some of the text node setups in the example. "

    Wed, 18 Apr 2012 09:50:23 +0000 Author : Robert Osfield ⚡️ Updated version number

    Fri, 6 Apr 2012 11:29:29 +0000 Author : Robert Osfield 🏁 From Martin Naylor, "Please find attached a fix for the STD library(tested under Windowsx64 VS2008) when atomiccounter is found but not used."

    Fri, 6 Apr 2012 10:42:17 +0000 Author : Robert Osfield From Ulrich Hertlein, Fix for MatrixTemplate compile errors

    Thu, 5 Apr 2012 13:53:47 +0000 Author : Robert Osfield From Wang Rui, "I'd like to submit the changes that will put ObjectProperty and ObjectMark variables into the InputStream/OutputStream class instead of static ones. This should avoid the threading problem and won't repeatedly reallocate memory for the properties. Some of the wrappers will be slightly modified to use the property variable stored in the InputStream/OutputStream as well."

    Fri, 30 Mar 2012 17:08:21 +0000 Author : Robert Osfield 🚀 Update AUTHORS for release

    Fri, 30 Mar 2012 16:58:24 +0000 Author : Robert Osfield 🚀 Updated ChangeLog for dev release

    Fri, 30 Mar 2012 10:10:27 +0000 Author : Robert Osfield ➕ Added check to avoid accessing pointer past the end of the string.

    Thu, 29 Mar 2012 15:08:15 +0000 Author : Robert Osfield 📚 From Magnus Kessler, typo and documentation fixes

    Thu, 29 Mar 2012 14:58:00 +0000 Author : Robert Osfield ⚡️ From Cedric Pinson, "I Updated the ply plugin to support alpha color in files. Plus I updated it to use by default an alpha of 1.0 instead of 0 when no alpha is specified. Last changes is to divide byte color by 255.0 instead of 256.0."

    Thu, 29 Mar 2012 09:57:47 +0000 Author : Robert Osfield 🚚 From Magnus Kessler, "remove unecessary conversion from float in double precision method"

    Thu, 29 Mar 2012 09:43:12 +0000 Author : Robert Osfield ⚡️ From David Callu, "Here an update of osg::Uniform : - add non square matrix - add double - add all uniform type available in OpenGL 4.2 - backward compatibility for Matrixd to set/get an float uniform matrix - update of IVE / Wrapper ReadWriterimplementation of AtomicCounterBuffer based on BufferIndexBinding

    ➕ add example that use AtomicCounterBuffer and show rendering order of fragments, original idea from geeks3d.com."

    Thu, 29 Mar 2012 08:27:21 +0000 Author : Robert Osfield ➕ Added int packing parameter to Image::readPixels(..)

    Fri, 23 Mar 2012 16:09:30 +0000 Author : Robert Osfield ✂ Removed trailing spaces

    Fri, 23 Mar 2012 11:32:10 +0000 Author : Robert Osfield 🚀 Updated ChangeLog and AUTHORS for 3.1.2 dev release

    Fri, 23 Mar 2012 11:20:17 +0000 Author : Robert Osfield 🛠 Fixed potential memory leak

    Fri, 23 Mar 2012 11:16:01 +0000 Author : Robert Osfield 🔌 From Luc Frauciel, "I've encoutered a nasty group of dae which are incompatible with dae plugins (and probably collada schema ) in 4 different ways :1) they use direct link to texture

    🔌 -> this is already handle by current plugin : OK

    2) they defined colors with only 3 color components

    -> it leads to a crash when trying to acces to the fourth component I fixed that

    3) they contain empty primitive lists

    -> reading is ok, but osgviewer crashes when trying to display the geometries The reason is that osg assume that DrawElementsare never empty (blunt acces to DrawElements.front() in PrimitiveSet.cpp) 🔌 I corrected this (on the plugin side), but I wonder : 🔌 Is it the responsability of plugins to create non empty DrawElements, or of osg core not to crash when they occur ? If the responsability is on the osg core side, I can submit a patch to PrimitiveSet.cpp regarding that aspect.

    🔌 4) they use a material binding scheme not supported by the plugin

    ->I've implemented a mechanism to handle this binding scheme

    You will also find in the patch an example of these evil dae and comments on the offending elements. 👀 They seems to be produced by ComputaMaps (www.computamaps.com) They load well in Google Earth "

    Fri, 23 Mar 2012 10:24:50 +0000 Author : Robert Osfield From Ulrich Hertlein, "as discussed on osg-users there is an issue with clang++ on OS X and iOS that results in the following error:Users/stephan/Documents/Projekte/cefix/cefix/ios/../../libs/ios/include/OpenThreads/Atomic:244:48: error: cannot initialize a parameter of type 'void *' with an lvalue of type 'const void *const' return __sync_bool_compare_and_swap(&_ptr, ptrOld, ptrNew);

    This can be solved by a cast to '(void*)ptrOld'. This should be benign since both 'ptrOld' and 'ptrNew' are only read and the cast is in fact in place for all other implementations as well.

    On OS X the cast compiles cleanly on both g++ (i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1) and clang++ (Apple clang version 3.1 (tags/Apple/clang-318.0.54)). "

    Fri, 23 Mar 2012 10:21:51 +0000 Author : Robert Osfield As per Ulrich Hertlrein's suggestion, changed APPLE_PLATFORM_SDK_CANONICAL_NAME to OSG_OSX_SDK_NAME.

    Fri, 23 Mar 2012 10:18:27 +0000 Author : Robert Osfield From Erik den Dekker, " IF(${CMAKE_OSX_SYSROOT} STREQUAL "/Developer/SDKs/MacOSX10.7.sdk") ... ELSEIF(${CMAKE_OSX_SYSROOT} STREQUAL "/Developer/SDKs/MacOSX10.5.sdk" OR ${CMAKE_OSX_SYSROOT} STREQUAL "/Developer/SDKs/MacOSX10.6.sdk")

    ...

    🍎 ELSEIF(EXISTS /Developer/SDKs/MacOSX10.4u.sdk) ...

            ELSE()
    

    ...

            ENDIF()
    

    Which is fragile because XCode could be installed into another directory than /Developer. (In case XCode is not installed into the /Developer directory CMake can automatically resolve the path via command line utility ${CMAKE_XCODE_SELECT} --print-path)

    🍎 This issue bites me currently because the latest XCode (Version 4.3.1 - 4E1019) installed through the Mac App Store is per default installed in "/Applications/Xcode.app/Contents/Developer" and hence the 10.7 SDK in "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk"

    🌐 Searching the web to find the proper way to determine the version of the Platform SDK programmatically, I found no standard way. I came up with 2 options myself:

    📜 1) Parse the path string to extract the version number

    2) Read a value from the SDKSettings.plist found in the root of each SDK (e.g., "defaults read ${CMAKE_OSX_ROOT}/SDKSettings.plist CanonicalName" gives "macosx10.7")

    🏗 I implemented the last option and verified that at least the following Mac OS SDKs (10.3.9, 10.4, 10.5, 10.6, 10.7) support this method. It also looks reasonably future proof. An additional benefit of this method is that it also seems to be compatible with iOS and iOS Simulator SDKs (at least for version 5.1, but I assume this also applies to older versions). This is interesting because the CMake infrastructure to build OSG for iOS currently still contains similar hard-coded paths and even requires you to manually change the cmake file to build for another iOS SDK version. In the near future I hope to address these issues, but I haven't been able to try this yet."

    Wed, 21 Mar 2012 17:36:20 +0000 Author : Robert Osfield 🚚 Ran script to remove trailing spaces and tabs

    Wed, 21 Mar 2012 16:02:32 +0000 Author : Robert Osfield For all OSG_GL*_FEATURE #defines changed 1's to true and 0's to false.

    Wed, 21 Mar 2012 14:08:07 +0000 Author : Robert Osfield 🏁 From David Callu, "just a typo fix that break the compilation under windows"

    Wed, 21 Mar 2012 11:36:54 +0000 Author : Robert Osfield ➕ Added Traits::getContextVersion(uint,uint)

    Wed, 21 Mar 2012 11:26:09 +0000 Author : Robert Osfield ⚡️ Updated version number

    Tue, 20 Mar 2012 12:01:02 +0000 Author : Robert Osfield ✂ Removed inappropriate warning

    Tue, 20 Mar 2012 11:18:45 +0000 Author : Robert Osfield Replaced && with & to address error in handling bitmask

    Mon, 19 Mar 2012 09:49:41 +0000 Author : Robert Osfield 🔌 From Lukasz Izdebski, Added StencilTwoSided support to ive plugin

    Fri, 16 Mar 2012 13:22:20 +0000 Author : Robert Osfield 🛠 Fixed the order of setting of CenterMode

    Wed, 14 Mar 2012 16:42:07 +0000 Author : Robert Osfield From Wang Rui, "I'd like to submit a slightly modified version of the ViewDependentShadowMap. It includes two fixes: one is in ComputeLightSpaceBounds::update(), which changes the statement "if (v.z()<0.0f)" to "if (v.z()<-1.0f)" as clipping space coordinates should be transformed to [-1, 1] and should not be discarded unless they go beyond the range; the other is in ViewDependentShadowMap::computeShadowCameraSettings(), in which I changed the line: viewMatrix.makeLookAt(frustum.center+positionedLight.lightDir*zMin, frustum.center, lightUp); to viewMatrix.makeLookAt(frustum.center+positionedLight.lightDir*zMin, frustum.center+positionedLight.lightDir*zMax, lightUp);The reason I've done such a change is that for huge scenes like a city on the earth, the values of frustum.center can be extremely large, but zMin may be very small (e.g., when model depth in light coords equals the model radius by chance) in some cases so the result of (eye - center) might jiggle while moving around the shadow scene and thus make the shadow map suddenly disappear some time. The small change here also considers the effect of zMax to avoid such problems.

    "

    Mon, 12 Mar 2012 14:22:48 +0000 Author : Robert Osfield 🚚 Moved static initializers into global scope to prevent problems with using exit().

    Sun, 11 Mar 2012 22:05:29 +0000 Author : Cedric Pinson ⚡️ Changed osgAnimation::StackedTransform::update(t). It can now be used for custom usage

    Fri, 9 Mar 2012 13:16:39 +0000 Author : Robert Osfield 🚀 Updated ChangeLog and AUTHORS file for 3.1.1 dev release

    Fri, 9 Mar 2012 10:20:23 +0000 Author : Robert Osfield 0️⃣ From Chuck Seberino, "Attached are modified versions of RotateCylinderDragger and Projector files that clean up the use of _onCylinder / isProjectionOnCylinder().I have also made changes to the RotateCylinderDragger to provide a cylinder ring with a thickness. It is totally optional, but IMHO makes the default behavior work better than a solid cylinder (which typically obscures the geometry you are trying to drag). Gives it a bit more to grab, especially in the case where eyepoint and cylinder axis are near parallel. "

    Thu, 8 Mar 2012 16:33:44 +0000 Author : Robert Osfield 🚀 Updated version number for 3.1.1 dev release

    Thu, 8 Mar 2012 16:05:17 +0000 Author : Robert Osfield 👍 From Farshid Lashkari, "I've added support for reading contents of cubemap textures to the osg::Image::readImageFromCurrentTexture method. I added a new parameter to the method for specifying which face of the cubemap to read."

    Wed, 7 Mar 2012 09:32:38 +0000 Author : Robert Osfield 🛠 From Olaf Flebbe, "Appended now a bugfixed proposition for the Win7 Multitouch Support.Now examples/osgmultitouch really works ;-)

    Based on yesterdays trunk.

    • It should now work with all Visual Studio Versions.
    • WIN_VER is left as-is
    • I added the missing declarations from a recent SDK, if not supplied by the SDK
    • ⚡️ If someone chooses to update WIN_VER, the declarations should not break.
    • All API Calls are runtime detected.
    • 👍 No CMake Variable, Support is enabled automatically ."

    Tue, 6 Mar 2012 10:35:57 +0000 Author : Robert Osfield 🏗 From Guillaume Millet, "Please find a small fix to avoid crash of texture Atlas builder in case of textures with NULL image.If an object is comming with texture and NULL image, the texture atlas builder crash when sorting textures according to texture height. 🏗 The fix is to skip textures with NULL image when inserting textures in the builder texture list. "

    Tue, 6 Mar 2012 10:33:20 +0000 Author : Robert Osfield From Farshild Laskari, "The vertex shader for the point stateset of PrecipitationEffect was not properly computing the clip vertex. It needed to apply a modelview transformation to the clip vertex. Attached is the fix."

    Tue, 6 Mar 2012 10:29:47 +0000 Author : Robert Osfield From Christian Buchner, "The attached openscenegraph example is much simpler than osgshaders.cpp and demonstrates the use of GLSL vertex and fragment shaders with a simple animation callback. I found the osgshaders.cpp too complex to serve as a starting point for GLSL programming"

    Tue, 6 Mar 2012 10:08:49 +0000 Author : Robert Osfield 🛠 From Chuck Seberino, "Here is a fix for the RotateCylinderDragger. This patch fixes the case where the picking direction is close to the cylinder axis. The current behavior is this:* If the eyepoint and cylinder axis are close to parallel (given some tolerance), then it uses a plane perpendicular to the cylinder axis.

    • 0️⃣ Otherwise it uses a plane parallel to the cylinder axis oriented towards the eyepoint (previous behavior). This gives decent behavior and is the only path that was taken in the previous code. I kept with previous behavior and that allowed a good bit of code to be removed, simplifying things. There is now no need for the _onCylinder flag, but since there is a public accessor, I wasn't sure how to handle it for backwards compatibility, so I left it in. NOTE - there is no default initialized value, so if it is kept in, it should be set to 'false' to keep same behavior as before. I am not quite sure how the _onCylinder case was supposed to behave as even forcing that path gave undesirable behavior, even with carefully controlled dragging. "

    Tue, 6 Mar 2012 10:06:00 +0000 Author : Robert Osfield ➕ Added RotateCylinderDragger and RotateSphereDragger to list of manipulators for testing purposes

    Mon, 5 Mar 2012 14:17:01 +0000 Author : Robert Osfield ⚡️ From Paul Martz, "Just a minor update and typo fix. "

    Thu, 1 Mar 2012 11:33:31 +0000 Author : Robert Osfield From Luc Frauciel, "I've modified dxf writer :- correction to writeFace : the fourth point was defined with an incorrect code (http://www.autodesk.com/techpubs/autocad/acad2000/dxf/3dface_dxf_06.htm)

    • if no layer name was found, an empty string was used, with is incorrect according to dxf specifications and was rejected by Autodesk DWG TrueView
    • 🔌 the plugin was writting polygons and triangles as LINE, as if PolygonMode GL_LINE was active, and didn't use 3DFACE primitive. I changed this behaviour to write 3DFACE as default, and LINE when PolygonMode GL_LINE is active. when reading back the file with osg, the result is now consistent with the source

    ✅ Tested with osg plugin, FME (Safe software), Autodesk DWG TrueView "

    Thu, 1 Mar 2012 11:03:18 +0000 Author : Robert Osfield ✅ From Luc Frauciel, "In 3ds plugin, asGeometry() is used on a drawable but the resulting pointer is not tested for nullity. It leads to a crash when writing osgText::Text or Shapes"

    Thu, 1 Mar 2012 10:38:28 +0000 Author : Robert Osfield From David Callu, "I found a bug in osg::Program.in osg::Program::PerContextProgram :

    typedef std::vector LastAppliedUniformList; should be typedef std::map LastAppliedUniformList;

    Intel driver can use index uniform value > 200000. With a std::vector, this index uniform value generate an out of memory error

    Nothing in OpenGL or GLSL specification define index uniform value rules. And all other implementation that deal with uniform index in osg::Program 👉 use a std::map. 🐎 This fix could have a little performance impact but this is the cost to pay to work with all driver."

    Thu, 1 Mar 2012 10:14:55 +0000 Author : Robert Osfield ✂ Removed redudent spaces at ends of lines

    Wed, 29 Feb 2012 14:01:44 +0000 Author : Robert Osfield 🚀 Updated ChangeLog and AUTHORS for dev release

    Wed, 29 Feb 2012 10:22:56 +0000 Author : Robert Osfield 👌 Improved the handling of endian swap of osg::Array

    Wed, 29 Feb 2012 10:22:18 +0000 Author : Robert Osfield From Glenn Waldron, "Attached are modifications to ZipArchive to make it safe for mutli-threaded access. Here's a summary:* Uses a separate ZIP file handle per thread

    • Maintains a single shared (read-only) index, created the first time through
    • ✅ Stress-tested with the DatabasePager using 24 threads under osgEarth

    ⚡️ I also updated the member variables to use OSG's leading-underscore convention."

    Tue, 28 Feb 2012 12:03:48 +0000 Author : Robert Osfield 🏗 From Guillaume Millet, "When using the texture Atlas builder, it will convert from REPEAT to CLAMP all textures using only texcoord between [-0.001 1.001] to give a chance to create an Atlas. If the atlas creation failed for other reason (texture size, only one compatible texture, ...) the texture remain modified in CLAMP mode.But if you use texcoords between [0.0 1.0] using CLAMP mode instead REPEAT it is not safe because you will have a blend to the border color at extremities. If we want to have exactly the same rendering after changing mode from REPEAT to CLAMP we should use the CLAMP_TO_EDGE mode instead of CLAMP to avoid blending to border color at extremities.

    ✅ Please find as attachment the proposed patch against latest svn version. "

    Tue, 28 Feb 2012 11:37:09 +0000 Author : Robert Osfield ➕ Added build problem with using float Matrix.

    Tue, 28 Feb 2012 10:21:21 +0000 Author : Robert Osfield 🏗 From Thomas Hogarth, build fix for IOS build

    Mon, 27 Feb 2012 09:50:47 +0000 Author : Robert Osfield ➕ Added fin.imbue(std::locale::classic()); to avoid problems with parsing of .obj files

    Fri, 24 Feb 2012 21:07:02 +0000 Author : Robert Osfield ➕ Added s/getByteSwap to teh InputStreamOperator base class and use of this method in the InputStream::start(InputStreamOperator*) method to ensure the bytes are swapped consistently.

    Fri, 24 Feb 2012 12:15:15 +0000 Author : Robert Osfield Added support for using glGenerateMipmap instead of GL_GENERATE_MIPMAP_SGIS on GLES2

    Fri, 24 Feb 2012 11:43:35 +0000 Author : Robert Osfield Added support for checking the possible endian reversal the OSG_HEADER_LOW and OSG_HEADER_HIGH when reading binary files written out from systems that have a different endian to the system reading it.

    Fri, 24 Feb 2012 10:56:48 +0000 Author : Robert Osfield ⚠ Cleaned up CMake warning

    Thu, 23 Feb 2012 17:51:40 +0000 Author : Robert Osfield Moved the state.applyTextureMode(0,GL_TEXTURE_2D,osg::StateAttribute::ON);

    into the #if defined(OSG_GL_FIXED_FUNCTION_AVAILABLE) block to solve problems under GLES and GL3.x/GL4.x

    Thu, 23 Feb 2012 15:55:30 +0000 Author : Robert Osfield 🔧 From Mathieu Marache, "I was trying to play with the configuratiion files from the data but couldn't load them with osgviewer's -c CLI switch, this correction should make the alias work :-) "

    Wed, 22 Feb 2012 10:50:38 +0000 Author : Robert Osfield From Sergey Polischuk, "In and Out control points were computed incorrectly for some animation channels with cubic bezier interpolation"

    Wed, 22 Feb 2012 10:46:35 +0000 Author : Robert Osfield From Miha Ravsel, "While trying to create my custom serializer class, i created some dummy data which accidentally popped-up bug in InputStream readObjectFields function.Bug description: Let's say we have class A namespace Bug { class A : public osg::Object { public: //... typedef std::vector<osg::ref_ptr > AList;

    protected: AList _alist; //... } }

    REGISTER_OBJECT_WRAPPER( A, new Bug::A, Bug::A, "osg::Object Bug::A" ) { ADD_LIST_SERIALIZER(A,Bug::A::AList); }

    🐛 Bug: We create say 3 instances of class A: A1,A2,A3 and then we add A2 and A3 and A1 as child instances of A1 so we get next structure: A1 |- A2,A3,A1

    we call osgDB::writeObjectFile(A1,"/data/a.osgt") -> saved correctly( third element in list is saved as unique id that references parentClass

    now we call A1 = osgDB::readObjectFile("/data/a.osgt");

    Everything is deserialized correctely except last element in list which should be same instance as parent A1.

    The attached code resolves this issue by passing UniqueID in readObjectFields method and saving object in _identifierMap as soon as we have valid object instance so we can make reference to parent object from any child instance. "

    Tue, 21 Feb 2012 17:20:58 +0000 Author : Robert Osfield 🛠 From Paul Martz, "The attached fixes a few issues that are present when ref_ptr implicit casting is disabled."

    Tue, 21 Feb 2012 11:30:07 +0000 Author : Robert Osfield 0️⃣ 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.

    • 0️⃣ Defaults are now: 👍 10.7: Support Intel 32 and 64 Bit Cocoa with imageio picture reader 👍 10.6 + 10.5: Support Cocoa with imageio on Intel and PowerPC 10.4: Carbon, Quicktime and PowerPC

    🍎 Now OSG compiles out of the box for MacOSX 10.7. , tested with gcc and clang with FlightGear."

    Tue, 21 Feb 2012 11:13:25 +0000 Author : Robert Osfield From Chris Denham, "ReaderWriter3DS smoothing group handling corrections"

    Tue, 21 Feb 2012 10:42:59 +0000 Author : Robert Osfield 🛠 Fixed warnings

    Tue, 21 Feb 2012 10:38:12 +0000 Author : Robert Osfield Fixed erroneous use #if !defined(OSG_GLES1_FEATURES) && !defined(OSG_GLES2_FEATURES) which should have been #if !defined(OSG_GLES1_AVAILABLE) && !defined(OSG_GLES2_AVAILABLE)

    Mon, 20 Feb 2012 16:00:46 +0000 Author : Robert Osfield 🔌 From Luc Frauciel, "When dae plugin is used with daeUseSequencedTextureUnitsoption, the transparency processing is done with the wrong texture unit I've remplaced the unused parameter diffuseColorName by the diffuseTextureUnit effectively used."

    Mon, 20 Feb 2012 12:36:53 +0000 Author : Robert Osfield From Alexander Sinditskiy, "Fix loading small monochrome bmp images"

    Mon, 20 Feb 2012 12:33:17 +0000 Author : Robert Osfield From Dietmar Funck, "in order to use a customized database thread it's necessary to use a customized database pager, which creates such customized database threads, too. I think the best way to achieve this is to overwrite the DatabasePager::addDatabaseThread() method within the customized database pager. However this method is not 'virtual' yet, so I propose to make the method 'virtual'."

    Mon, 20 Feb 2012 12:23:36 +0000 Author : Robert Osfield 🚚 From Farshid Lashkari, "I've attached a small optimization to osgDB::Registry::removeExpiredObjectsInCache that removes the expired items while iterating over the cache, instead of saving to a temporary vector and then removing."

    Mon, 20 Feb 2012 12:18:50 +0000 Author : Robert Osfield From Riccardo Corsi, Added passing of EventVisitor pointer to event handlers.

    Mon, 20 Feb 2012 12:12:43 +0000 Author : Robert Osfield From Riccardo Corsi, "please find attached a small patch for HDR plugin, which simply set by default the internal pixel format to GL_RGB32F_ARB where appropriate.In the current version there's a comment saying that the plugin set it to GL_RGB8 (even when reading from float) to support old graphics cards, but the comment dates back to 2004... What's more I believe that it's correct to expect a floating texture format if you're loading an hdr image. It was quite troublesome for us to discover why our background image wasn't showing hdr data...

    🚚 In case you accept the submission, I've removed the comment as it would be misleading to leave it there."

    Mon, 20 Feb 2012 12:03:14 +0000 Author : Robert Osfield 👀 From Johannes Baeurele, "The osg::Image class now contains a 'supportsTextureSubloading()' method that is used inside the Texture2D::apply method. For now it only checks for the etc1 format in which case it returns 'false'. All other formats lead to a return value of 'true'.Without the change the application does not work properly. First I get the notification that an OpenGL error occured. After some more of this error messages I see broken textures on the screen. With the changes attached to this message my application works as intended."

    👍 Note from Robert Osfield, changed the Image::supportsTextureSubloading() to be const and to be implemented in the .cpp rather than inline.

    Fri, 17 Feb 2012 16:51:10 +0000 Author : Robert Osfield From Kim Bale, "The application description for osg2cpp was cut and pasted from osgconv and not changed.I've added a more relevant description."

    Fri, 17 Feb 2012 16:45:49 +0000 Author : Robert Osfield 🔌 From Martin Lambers, "It adds a new ReaderWriter plugin for the GTA file format (http://gta.nongnu.org). This allows to read and write floating point image data. Unlike other formats, GTA also allows very good compression ratios for floating point data. The compression method can be selected with the COMPRESSION option of the plugin. "

    Fri, 17 Feb 2012 16:13:16 +0000 Author : Robert Osfield Added usage of OSG_CPP_EXCEPTIONS_AVAILABLE for plugins that use std::exceptions.

    Fri, 10 Feb 2012 17:24:08 +0000 Author : Robert Osfield From Stephan Huber, " Here's another small submission for IOS, which adds unique ids to the touchpoints, so the ids stay the same during a touch-sequence.(and some minor code enhancements)"

    Fri, 10 Feb 2012 17:20:43 +0000 Author : Robert Osfield ⬆️ From Colin McDonald, "Upgrading to OpenSceneGraph 3.0.1, texture mip mapping stopped working on some junk low-end graphics cards which I still have to support. They worked ok with osg 2.8 and earlier.The problem turned out to be with gl proxy textures, which are unreliable on those devices. Proxy textures are used by the glu 🏗 mipmap build routines to determine if a texture size is 👌 supported. The external glu library had a nice fallback behaviour, so that if proxy textures didn't work then the mipmap texture was still created. But in the work on the new embedded glu routines that fallback behaviour has been inadvertently ⏪ lost. I have restored the fallback in src/osg/glu/libutil/mipmap.cpp. It doesn't add any extra complexity."

    Fri, 10 Feb 2012 16:12:28 +0000 Author : Robert Osfield 🚚 From Domenico Mangieri, "Implementation for MoveRight and MoveUp methods in FirstPersonManipulator is missing.I'm using the manipulator, so I added it."

    Fri, 10 Feb 2012 15:57:51 +0000 Author : Robert Osfield 🏗 From Stephan Huber, attached you'll find a compile fix for the new introduced rowlength-feature on IOS/OpenGL ES builds

    Thu, 9 Feb 2012 18:10:52 +0000 Author : Robert Osfield 🔧 From Luc Frauciel, "osgUtil Tessellator : beginTessellation() made virtual to allow configuration of tessellation:The initialisation of glu low level tessellator is done in osgUtil::Tessellator::beginTessellation() This function is not virtual, preventing any customization of the tesselation. In particular, there in an option in glu tesselator that force the generated primitives to be triangles and that I'd like to use (GLU_TESS_EDGE_FLAG). "

    Thu, 9 Feb 2012 17:52:13 +0000 Author : Robert Osfield From Torben Dannhauer, "Modification to osgfilecache: Now source data can also be local.:find attached my modifications to osgfilecache.

    It now allows also the caching of LOCAL terrain databases. In combination with the extends and level cmd parameter it allows to extract parts of terrain databases and write it in a new "Sub database". I also modified osgDB::FileCache to create correct filenames if the data source is local."

    Thu, 9 Feb 2012 17:45:23 +0000 Author : Robert Osfield ⚡️ Updated ChangeLog, AUTHORS and Contriburos.cpp files

    Thu, 9 Feb 2012 16:42:47 +0000 Author : Robert Osfield From Martin von Gagern, "The xine osg plugin won't compile against xine-lib-1.2.0:OpenSceneGraph-3.0.1/src/osgPlugins/xine/video_out_rgb.c:2772:25: error: ?video_driver_class_t? has no member named ?get_identifier? OpenSceneGraph-3.0.1/src/osgPlugins/xine/video_out_rgb.c:2773:25: error: ?video_driver_class_t? has no member named ?get_description?

    This has been reported on Gentoo: https://bugs.gentoo.org/397643 The relevant commit to the xine-lib repository is http://anonscm.debian.org/hg/xine-lib/xine-lib-1.2/diff/806b590a4d38/src/xine-engine/video_out.h

    This change addresses the issue. I'm sending the full modified file as 🚀 an attachment. It is based on the 3.0.1 release of OSG. I'll also paste a diff below. You will find a colorized view in the Gentoo bugzilla.

    The xine-lib API changed in the following way: the identifier and description members are now "const char*" strings instead of "char* ()(video_driver_class_t)" getter function. As the functions in the osg 🔌 plugin will always simply return a string literal, without accessing their argument, it is safe to simply call them with a NULL argument and 👉 use the returned string. This makes it easy to support both API 🔖 versions. When you drop support for older xine one day, you might want 🚚 to move the string literals to the assignment, getting rid of the functions in the process.

    ✅ The modified code compiles for me. I'm not sure how to test it, as I've 🏗 only got OSG around in order to build (and hopefully one day even use) Flightgear.

    I'm assigning my copyright in this change to the osg project leads. "

    Thu, 9 Feb 2012 15:54:13 +0000 Author : Robert Osfield 🍎 From Olaf Flebbe, "there are two ocurrences where pointer to bool is mixed with bool. Fixes warnings on MacOSX with llvm.diff --git a/src/osg/State.cpp b/src/osg/State.cpp index 0b88d63..2137bbd 100644 --- a/src/osg/State.cpp +++ b/src/osg/State.cpp @@ -109,7 +109,7 @@ State::State(): } }

    • _abortRenderingPtr = false;
    • _abortRenderingPtr = NULL;

      _checkGLErrors = ONCE_PER_FRAME;

    @@ -689,7 +689,7 @@ bool State::getLastAppliedTextureMode(unsigned int unit,Stat

    const StateAttribute* State::getLastAppliedTextureAttribute(unsigned int unit,S {

    • if (unit>=_textureAttributeMapList.size()) return false;
    • if (unit>=_textureAttributeMapList.size()) return NULL; return getLastAppliedAttribute(_textureAttributeMapList[unit],type,member); }

    "

    Thu, 9 Feb 2012 15:51:20 +0000 Author : Robert Osfield From Paul Martz, a simple GL3 example

    Thu, 9 Feb 2012 15:08:30 +0000 Author : Robert Osfield From Colin McDonald, "The bounding box returned by getBound() for Text which is not auto-rotated (e.g. HUD text) is not always correct, because it doesn't take account of the base line offsets added by the various alignment options such as CENTER_TOP, CENTER_BOTTOM etc.The attached src/osgText/TextBase.cpp fixes the problem."

    Thu, 9 Feb 2012 14:40:07 +0000 Author : Robert Osfield 🏗 From Colin McDonald, fix for Solaris build.

    Thu, 9 Feb 2012 14:33:13 +0000 Author : Robert Osfield From Filip Arlet,"I ran into problem with osg::Text _BASE_LINE alignment. It didn't account line spacing. Btw. same problem in 3D textChanged _offset from: -_characterHeight*(_lineCount-1) to: -_characterHeight*(1.0 + _lineSpacing)*(_lineCount-1)"

    Thu, 9 Feb 2012 14:28:39 +0000 Author : Robert Osfield ➕ Added back in support for checking the current working directory by default, but now do the check after the Options and Registry DataFilePathLists have been checked, which will allow users to better control over where files are searched for.

    Thu, 9 Feb 2012 14:11:36 +0000 Author : Robert Osfield From Chris Denham, "This is a submission to fix a problem with use of mode GL_RESCALE_NORMAL for geometries below a scaling transform which is not equal in X, Y & Z components. In this case, the 'slow' method of mode GL_NORMALIZE should be used to perform the normalization.I have attached a correction to daeRTransforms.cpp based on trunk at [12892] which corrects this problem.

    This is the changed section:

    Code: if (scale.x() == scale.y() && scale.y() == scale.z()) { // This mode may be quicker than GL_NORMALIZE, but ONLY works if x, y & z components of scale are the same. ss->setMode(GL_RESCALE_NORMAL, osg::StateAttribute::ON|osg::StateAttribute::OVERRIDE); } else { // This mode may be slower than GL_RESCALE_NORMAL, but does work if x, y & z components of scale are not the same. ss->setMode(GL_NORMALIZE, osg::StateAttribute::ON|osg::StateAttribute::OVERRIDE); }"

    Thu, 9 Feb 2012 12:50:42 +0000 Author : Robert Osfield ⚡️ From Thorsten Brehm, "attached update changes OSG's src/osgDB/Registry.cpp, so it doesn't (accidentally) resolve relative paths against the current working directory when searching for resources. So far, such paths were always resolved against the cwd first.I guess the previous behaviour of giving the cwd precedence over any path configured in the "database path list" (osgDB::Options) wasn't intentional. Otherwise, if it was intentional after all, it'd be good to add another feature instead, to make this configurable - e.g. a flag in osgDB::Options to disable this, if an application doesn't want the cwd being considered. "

    0️⃣ Note from Robert Osfield, this submission will change the default behaviour of searching for files so can potentially break existing applications as it won't search the current working direction unless it's included in the DataFilePathList entry in the Options or Registy. I'll add a follow up submission to add back in this feature.

    Wed, 8 Feb 2012 17:12:58 +0000 Author : Robert Osfield 🐎 From Hartmut Seichter, "attached a revised CMakeLists.txt file for Android that avoids the problems with a ARM gcc bug that appears in the NDK. It only overrides the optimization level for one file. As it resides only in the cfg parser this should not have side effects on performance."

    Wed, 8 Feb 2012 10:50:04 +0000 Author : Robert Osfield From Paul Martz, "This change clarifies the description for OSG_GL_VERTEX_ARRAY_FUNCS_AVAILABLE."

    Wed, 8 Feb 2012 10:06:58 +0000 Author : Robert Osfield From Leandro Motto Barros,"I've made a few changes to osgUtil::PolytopeIntersector so that it actually uses double precision floating point numbers everywhere (as 👉 long as OSG_USE_FLOAT_PLANE is not defined).

    I needed double precision intersections in a project I am working on. ✅ These changes fixed the problems I was having -- this is all testing I have done.

    🔔 Notice that I have changed osgUtil::PolytopeIntersector::Intersection's members to use doubles (osg::Vec3d, instead of osg::Vec3). I could have added #ifdef's there 👍 too, but I think it is better to not change the types of stuff in the public interface depending on some preprocessor definition.

    The modified files are attached. A diff also follows, for those who like it."

    With the following changes from Robert Osfield:

    "I've just reviewed your changes and have just tweaked them a little to streamline them. What I have done in the PolytopeIntersector header is add:

       typedef osg::Plane::Vec3_type Vec3_type;
    

    And then use this typedef in the definition of the vertices rather then Vec3d as you did. Next changes were to PolytopeInteresector.cpp where to the PolytopeIntersectorUtils defintions of the Vec3_type, and value_type which now simply read:

    typedef osg::Plane::Vec3_type Vec3_type; typedef Vec3_type::value_type value_type;

    This way I was able to complete avoid any if def's and have essential the same implementation as you achieved. Changes now checked into svn/trunk."

    Wed, 8 Feb 2012 09:34:44 +0000 Author : Robert Osfield 🚀 From Claus Scheiblauer, "in GraphicsWindowQt.cpp the GLWidget::keyReleaseEvent was implemented slightly different to the GLWidget::keyPressEvent, which caused the cursor keys values to be not correctly mapped from an QKeyEvent value to an osg key value when releasing a cursor key."

    Tue, 7 Feb 2012 16:14:13 +0000 Author : Robert Osfield 👉 Fixed build issues when compile with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF.

    Tue, 7 Feb 2012 12:37:48 +0000 Author : Robert Osfield From Alexander Irion, "Added missing format GL_ALPHA to Image::computeFormatDataType()."

    Tue, 7 Feb 2012 12:02:04 +0000 Author : Robert Osfield From Johannes Baeuerle, "The first problem is wrong value of the block size of etc1 textures in the getCompressedSize call in Texture.cpp. With the current block size of 16 the target application crashes with a GL_INVALID_VALUE. The reason is that the calculated size passed to OpenGL does not match the size of the passed data(data pointer,texture width,texture height,spec of etc1). With a block size of 8 in the getCompressedSize call this error dissapears."

    Tue, 7 Feb 2012 11:43:42 +0000 Author : Robert Osfield From Nico Kruithof, "I found that Collada wasn't found correctly with visual studio 2010."

    Tue, 7 Feb 2012 11:41:20 +0000 Author : Robert Osfield From Marius Kintel, "GraphicsWindowQt::WindowData no longer requires the parent widget of a graphics window to be of type GLWidget."

    Tue, 7 Feb 2012 11:29:47 +0000 Author : Robert Osfield 🚚 From David Fries, "Of the two ways to use the Tessellator object, only retessellatePolygons was applying the winding and boundary option. Moved the gluTessProperty calls into beginTessellation().There's a comment typo fix, removing an unused VertexPointList typedef, and allocates one _tobj instead of one per tesellation. Protections were added to check that _tobj was allocated in the few remaining places it wasn't being checked.


    On a side note, I would like to avoid the 'new Vec3d' in Tessellator::addVertex for each call to gluTessVertex(tess, location, data). The RedBook leaves it ambiguous if the location pointer must remain valid after gluTessVertex or not. 📄 http://www.opengl.org/sdk/docs/man/xhtml/gluTessVertex.xml says that changing location is not safe, so being conservative, I'll leave it as is, even though the Mesa GLU library copies the data not the pointer, so it is currently safe."

    Tue, 7 Feb 2012 11:21:11 +0000 Author : Robert Osfield ⚡️ From Lionel Lagarde, "The setNormal method of osg::Billboard has side effects (it calls updateCache and update the normal to Z rotation matrix). When cloning billboards, copying the normal vector is not enough. In the correction, the copy constructor calls setNormal to update the internal members."

    Tue, 7 Feb 2012 10:57:19 +0000 Author : Robert Osfield ✅ From Wojciech Lewandowski, "This is a one line modification of StatsHandler.cpp to work correctly while dumping states to console when ViewerStats getEarliesFrameNumber() and getLatestFrameNumber() return zeroes. If that happened in current version, printing loop was iterating between 0 and 0xFFFF FFFF indices and that was hanging our system. "

    Tue, 7 Feb 2012 10:51:22 +0000 Author : Robert Osfield ⚡️ From Tamer Fahmy, Fix for bug when scrolling down and using render on demand."Currently issuing a mouse scroll DOWN event would stop updating animations in progress.

    The fix consists of changing the line us.requestContinuousUpdate( false ); to: us.requestContinuousUpdate( isAnimating() || _thrown );

    in OrbitManipulator::handleMouseWheel() as has been done for the GUIEventAdapter::SCROLL_UP case a couple of lines earlier or in src/osgGA/FirstPersonManipulator.cpp."

    Tue, 7 Feb 2012 10:40:04 +0000 Author : Robert Osfield 0️⃣ From Rudolf Wiedemann, "the file attached fixes the incomplete implementation of "osg::DefaultUserDataContainer"'s copy constructor. Copying user objects was missing."Note from Robert Osfield, in submission changed _objectList.push_back((*itr)->clone(copyop)); to _objectList.push_back(copyop(*itr));

    Tue, 7 Feb 2012 10:33:09 +0000 Author : Robert Osfield 🏁 From Sukender, "I just fixed using UTF8 paths in JP2 readerwriter under Windows. Jpeg2000 plugin could not handle UTF8 paths as it was using an Japser open() function which seems to be based on the standard fopen(). The fix simply opens the file beforehand and only gives a FILE* to the Jasper lib (and then closes the file, of course). "

    Mon, 6 Feb 2012 13:45:20 +0000 Author : Robert Osfield ⚡️ From Mathias Froehlich, "In Optimizer.cpp a nodes update callback is checked twice and the cull callback is checked never for the decision of a node being redundant. The change replaces one of the update callback tests with a cull callback test."

    Mon, 6 Feb 2012 13:40:01 +0000 Author : Robert Osfield 🏁 From Mathias Froehlich, "Attached is a change to the stats handler so that the aspect ratio of the viewer stats coordinates always stay about 1:1 to the pixels. This helps for more readable stats with very wide windows for example."

    Mon, 6 Feb 2012 13:35:45 +0000 Author : Robert Osfield 0️⃣ From Mathias Froehlich, "The attached change to the default font makes the baseline correctly working and makes the glyphs aspect ratio match their 12x8 bitmaps. I am not exactly sure about osgTexts current internals but it matches the changes that happened lately to the txf font. "

    Mon, 6 Feb 2012 13:29:38 +0000 Author : Robert Osfield 🏗 From Cory Riddell, "I've been using the dot plugin and found that our application which sets the global locale was generating bad dot files. Specifically, the node numbers had comma separators in them (like 1,234 rather than 1234).The attached file simply forces the stringstreams used to build up the dot file to use the "C" locale."

    Mon, 6 Feb 2012 13:27:25 +0000 Author : Robert Osfield From Robert Milharcic, "In attached file I implemented LOAD_IMMEDIATELY mode for new osg ProxyNode wrapper. Current version of proxynode loading uses DatabasePager for both modes(DEFER_LOADING_TO_DATABASE_PAGER and LOAD_IMMEDIATELY).Immediate loading of external references begins after ProxyNode has been deserialized in ProxyNodeFinishedObjectReadCallback."

    Mon, 6 Feb 2012 12:42:52 +0000 Author : Robert Osfield 👀 From Paul Palumbo, "This change seems to fix a problem reading 32-bit Floating point tiff images. Without this fix, I'm only getting half my image displayed in "osgviewer --image"."

    Mon, 6 Feb 2012 12:38:11 +0000 Author : Robert Osfield From Jason Beverage, "Attached is a patch to the SVG plugin to use cairo_surface_destroy instead of free. This was causing a crash on Windows. "

    Mon, 6 Feb 2012 12:36:25 +0000 Author : Robert Osfield From Jan Peciva, "attaching improved StatsVisitor. Changes: - apply() and reset() methods made virtual to allow overriding - added apply(StateSet&) to make more easier to gather StateAttribute statistics in user-derived classes "

    Mon, 6 Feb 2012 12:29:29 +0000 Author : Robert Osfield 🛠 Fixed indendation and line endings

    Mon, 6 Feb 2012 12:06:40 +0000 Author : Robert Osfield 🚚 From Brad Christiansen, "The attached files add the ability to control when a paged child becomes eligible for expiry based on time and/or elapsed frames.I found that some of the items that had been paged in were being expired on the first frame that they were not visible (as the cache was full). This resulted in excessive paging every time the view was moved. With the following changes I could only allow children to be expired if they had not been used for e.g. 30 seconds or 60 frames."

    Mon, 6 Feb 2012 12:05:36 +0000 Author : Robert Osfield 🛠 Fixed silly compiler warning that was being produced in error.

    Mon, 6 Feb 2012 11:17:12 +0000 Author : Robert Osfield 🚚 From Alexander Sinditskiy, "looks like GlyphGeometries _glyphGeometries; should be removed because Glyph3D have the same named local variable."

    Fri, 3 Feb 2012 15:15:37 +0000 Author : Robert Osfield 0️⃣ From Stephan Huber, "attached you'll find a first version of multi-touch-support for OS X (>= 10.6), which will forward all multi-touch events from a trackpad to the corresponding osgGA-event-structures.The support is switched off per default, but you can enable multi-touch 👌 support via a new flag for GraphicsWindowCocoa::WindowData or directly via the GraphicsWindowCocoa-class.

    👍 After switching multi-touch-support on, all mouse-events from the trackpad get ignored, otherwise you'll have multiple events for the same pointer which is very confusing (as the trackpad reports absolute 🚚 movement, and as a mouse relative movement).

    I think this is not a problem, as multi-touch-input is a completely different beast as a mouse, so you'll have to code your own event-handlers anyway.

    ♻️ While coding this stuff, I asked myself if we should refactor GUIEventAdapter/EventQueue and assign a specific event-type for 🚀 touch-input instead of using PUSH/DRAG/RELEASE. This will make it clearer how to use the code, but will break the mouse-emulation for the first touch-point and with that all existing manipulators. What do you think? I am happy to code the proposed changes.

    ➕ Additionally I created a small (and ugly) example osgmultitouch which 👉 makes use of the osgGA::MultiTouchTrackballManipulator, shows all touch-points on a HUD and demonstrates how to get the touchpoints from an osgGA::GUIEventAdapter.

    There's even a small example video here: http://vimeo.com/31611842"

    Fri, 3 Feb 2012 14:25:08 +0000 Author : Robert Osfield 0️⃣ From Stephan Huber, "attached you'll find a first version of multi-touch-support for OS X (>= 10.6), which will forward all multi-touch events from a trackpad to the corresponding osgGA-event-structures.The support is switched off per default, but you can enable multi-touch 👌 support via a new flag for GraphicsWindowCocoa::WindowData or directly via the GraphicsWindowCocoa-class.

    👍 After switching multi-touch-support on, all mouse-events from the trackpad get ignored, otherwise you'll have multiple events for the same pointer which is very confusing (as the trackpad reports absolute 🚚 movement, and as a mouse relative movement).

    I think this is not a problem, as multi-touch-input is a completely different beast as a mouse, so you'll have to code your own event-handlers anyway.

    ♻️ While coding this stuff, I asked myself if we should refactor GUIEventAdapter/EventQueue and assign a specific event-type for 🚀 touch-input instead of using PUSH/DRAG/RELEASE. This will make it clearer how to use the code, but will break the mouse-emulation for the first touch-point and with that all existing manipulators. What do you think? I am happy to code the proposed changes.

    ➕ Additionally I created a small (and ugly) example osgmultitouch which 👉 makes use of the osgGA::MultiTouchTrackballManipulator, shows all touch-points on a HUD and demonstrates how to get the touchpoints from an osgGA::GUIEventAdapter.

    There's even a small example video here: http://vimeo.com/31611842"

    Fri, 3 Feb 2012 11:10:17 +0000 Author : Robert Osfield 👌 Improved handling of archives

    Fri, 3 Feb 2012 11:09:45 +0000 Author : Robert Osfield 👍 From Terry Welsh, improved support for handling archives

    Wed, 1 Feb 2012 17:42:42 +0000 Author : Robert Osfield 🏁 From Colin McDonald, "I have an application with multiple windows. They share GL objects between the contexts, using the GraphicsContext::Traits sharedContext and setting the same contextID.When one of these shared contexts is closed, GraphicsContext::close ✂ deletes all GLObjects for that contextID, regardless of the fact that they are shared. This means that all of the other contexts sharing the objects have to recompile them.

    The attached tweak makes GraphicsContext::close a bit less brutal for shared contexts. I have also changed a misleading diagnostic message. "

    Wed, 1 Feb 2012 17:38:37 +0000 Author : Robert Osfield 🔌 From Luc Frauciel, "FBX plugin was locked on version 2012.1 of FBX SDK which is not available anymore on Autodesk website. This patch allows version of FBX >= 2012.1, which includes current one : 2012.2 "

    Wed, 1 Feb 2012 17:16:44 +0000 Author : Robert Osfield 📇 Renamed selection to transform to make it clear to understand what is being done.

    Wed, 1 Feb 2012 17:10:48 +0000 Author : Robert Osfield ➕ Added example usage of teh new DraggerTransforCallback's HandleCommandMask which is tied to the TabPlaneDragger example.

    Wed, 1 Feb 2012 13:55:38 +0000 Author : Robert Osfield ➕ Added DraggerTransformCallback::HandleCommandMask to DraggerTransformCallback to allow applications to select which commands they want the dragger callback to respond to why updating the transform.

    Tue, 31 Jan 2012 10:56:52 +0000 Author : Robert Osfield 👌 Improved the handling of osgManipulator::Constraint, DraggerCallbacks and Command so that they now use a Visitor Pattern to ensure the correct methods on constraints and callbaks are called for each Command. Also fixed the handling of Constraints when applied to composite Draggers.

    Mon, 30 Jan 2012 12:26:28 +0000 Author : Robert Osfield ➕ Added support for Scale1DDragger, Scale2DDragger and TranslatePlaneDragger to --dragger command line option

    Fri, 27 Jan 2012 09:49:06 +0000 Author : Robert Osfield From Kristofer Tingdahl, Added missing core OSG libraries.

    Thu, 26 Jan 2012 18:03:26 +0000 Author : Robert Osfield From Stephan Huber, "a recent submission added a 10.6-feature to GraphicsWindowCocoa. I added some ifdefs around, so it compiles again with 10.5 SDK"

    Thu, 26 Jan 2012 14:26:59 +0000 Author : Robert Osfield Quietend down debug message

    Thu, 26 Jan 2012 13:08:19 +0000 Author : Robert Osfield 🖨 From J.P. Delport, "when switching from windowed mode to fullscreen (with the 'f' key) in X11, no RESIZE event is generated. This confuses handlers that perform some processing on the RESIZE event, e.g. the InteractiveImageHandler.To reproduce the problem I attach a minimally modified osgviewer that just prints resize events. You can check what's printed in the console when you go fullscreen and windowed a few times.

    👀 The attached version of GraphicsWindowX11 fixes the problem for me, but I'm not sure this is the right approach. Maybe you can see a fix for the problem clearer.

    🔧 The only place where the RESIZE event is generated in GraphicsWindowX11 is in CheckEvents and it then depends on the ConfigureNotify message. For some reason, either ConfigureNotify is not sent when going fullscreen or the traits already reflect the latest window size."

    Wed, 25 Jan 2012 17:37:55 +0000 Author : Robert Osfield From J.P. Delport, "this fall-through had me scratching my head for a while...It made InteractiveImageHandler eat keypresses outside its image."

    Wed, 25 Jan 2012 17:35:17 +0000 Author : Robert Osfield From J.P. Delport, "GraphicsWindowX11 typo, I believe X/Y's should match."

    Wed, 25 Jan 2012 17:31:07 +0000 Author : Robert Osfield From Luc Frauciel, "Ati FirePro is as much crippled as other Ati drivers. This patch add "FirePro" to the black list of renderers in State.cpp / initializeExtensionProcsIt allows to avoid an OpenGL error on Viewer initialization. 🏁 Tested on FirePro M7740 / Windows7 x64 Driver 8.85.7.2"

    Wed, 25 Jan 2012 15:38:31 +0000 Author : Robert Osfield 🔄 Changed the KeyEventToggleTexturing to 'e' to avoid conflict with 't' used for transparency.

    Tue, 24 Jan 2012 17:57:01 +0000 Author : Robert Osfield Made the cursor state protected.

    Tue, 24 Jan 2012 17:49:18 +0000 Author : Robert Osfield ✅ From Tobias Ottenweller, "this is a fix for the problem where all input freezes for a quarter second when calling requestWarpPointer under Mac OS X (described here: http://forum.openscenegraph.org/viewtopic.php?t=3933 ).I used the latest version available via subversion.

    🗄 My fix is using some API only available on 10.4 and later. I used some preprocessor statements to gain compatibility with 10.3 and earlier using (now) deprecated API.

    ✅ Only tested on OS X Lion (10.7). Please do some testing as well since I'm fairly new to OpenSceneGraph. Someone should also test the code for 10.3 and earlier."

    Tue, 24 Jan 2012 17:47:04 +0000 Author : Robert Osfield 🛠 Fixed indentation and spaces at ends of lines.

    Tue, 24 Jan 2012 17:40:31 +0000 Author : Robert Osfield From Paulk Martz, "Looks like the ClipNode::setReferenceFrame comment block came from LightSource. Fixing the comment block to refer to ClipNode instead of light source."

    Tue, 24 Jan 2012 17:38:23 +0000 Author : Robert Osfield 🛠 Chris Denham, fixed type of parameters to ensure they are longs where appropriate.

    Tue, 24 Jan 2012 17:30:44 +0000 Author : Robert Osfield 🚚 Moved setEndBarrierOperation(..) implementation into .cpp and added support for stoppig and starting threading if required.

    Tue, 24 Jan 2012 17:21:14 +0000 Author : Robert Osfield 🔀 From Paul Martz, Added ViewerBase::s/getEndBarrierOperation(..) method to allow user control of how viewers are sync'd.

    Tue, 24 Jan 2012 15:44:58 +0000 Author : Robert Osfield 🛠 Fixed compile error

    Tue, 24 Jan 2012 14:34:02 +0000 Author : Robert Osfield Added support for using GL_UNPACK_ROW_LENGTH in conjunction with texture's + osg::Image via new RowLength parameter in osg::Image. To support this Image::setData(..) now has a new optional rowLength parameter which defaults to 0, which provides the original behaviour, Image::setRowLength(int) and int Image::getRowLength() are also provided.With the introduction of RowLength support in osg::Image it is now possible to create a sub image where the t size of the image are smaller than the row length, useful for when you have a large image on the CPU and which to use a small portion of it on the GPU. However, when these sub images are created the data within the image is no longer contiguous so data access can no longer assume that all the data is in one block. The new method Image::isDataContiguous() enables the user to check whether the data is contiguous, and if not one can either access the data row by row using Image::data(column,row,image) accessor, or use the 🆕 new Image::DataIterator for stepping through each block on memory assocatied with the image.

    ⚡️ To support the possibility of non contiguous osg::Image usage of image objects has had to be updated to check DataContiguous and handle the case or use access via the DataIerator or by row by row. To achieve this a relatively large number of files has had to be modified, in particular the texture classes and 🔌 image plugins that doing writing.

    Tue, 24 Jan 2012 14:27:17 +0000 Author : Robert Osfield Refactored the click_to_run implementation to avoid bug associated with running the first click_to_run entry in a layer when subsequent click to run's are called.

    Mon, 23 Jan 2012 18:48:18 +0000 Author : Robert Osfield 🔄 Changed float QuicktimeImageStream::getCurrentTime() to double QuicktimeImageStream::getCurrentTime() to keep it consistent with the type of the virtual function ImageStream::getCurrentTime(), and with this fixing a compile and runtime error.Changed time variables all to use doubles rather than float to be consist with the change to getCurrentTime().

    Thu, 5 Jan 2012 14:07:56 +0000 Author : Robert Osfield 🔌 From Alberto Luacus, "The ffmpeg plugin fails to compile with the upcoming libav 0.8 because the required header mathematics.h is not being included explicitly.I have just included it, and verified that this also works with current 🔖 version 0.7, since the header is also available there."

    Tue, 3 Jan 2012 15:59:19 +0000 Author : Robert Osfield 🛠 Fixed the return value of SlideEventHandler::selectLayer() so that the 'n' now works correctly.

    Mon, 2 Jan 2012 16:54:05 +0000 Author : Robert Osfield 0️⃣ From Farshid Lashkari, "Attached is a simple fix to osg::Sequence that allows it to load properly with the serializer formats (osgt/osgb). The problem was that the internal _nrepsRemain member was not being initialized properly if the number of repeats was equal to the default value of -1. When the number of repeats is explicitly set using setNumRepeats(), _nrepsRemain is set to the same value. However, in the constructor of osg::Sequence, it was not being initialized to the same value as _nreps. This fix simply changes the initial value of _nrepsRemain to the same as _nreps."

    Mon, 2 Jan 2012 16:38:01 +0000 Author : Robert Osfield 🔌 From Chris Denham, Implementation of write functions in CURL plugin

    Fri, 23 Dec 2011 17:40:31 +0000 Author : Robert Osfield From Paul Martz and David Glenn,"From David Glenn and Paul Martz. This change adds support for the NO_COLOR bit in the Vertex records' flags field. If NO_COLOR is set, and PACKED_COLOR is not set, the code will now properly default to using the face color at those vertices. See the osg-users thread "Open Flight characteristic not reflected in the current OSG" for more info."

    and

    "In consultation with David Glenn, it appears we needed to change a second file to correct how OpenFlight handles transparency when vertices have NO_COLOR. "

    Fri, 23 Dec 2011 17:34:07 +0000 Author : Robert Osfield 🔒 Gunnar Holm, "After upgrading from 2.8.3 to 3.0.1 we experienced a lock in the Mutex functionality when using Terrain::setVerticalScale. This was caused by the following call sequence resulting in a lockup:void Terrain::setVerticalScale(float scale) CALLS dirtyRegisteredTiles();

    void Terrain::dirtyRegisteredTiles(int dirtyMask) SETS LOCK OpenThreads::ScopedLock<OpenThreads::Mutex> lock(_mutex); and CALLS (on every tile) setDirtyMask(dirtyMask);

    void TerrainTile::setDirtyMask(int dirtyMask) CALLS _terrain->updateTerrainTileOnNextFrame(this);

    ⚡️ void Terrain::updateTerrainTileOnNextFrame(TerrainTile* terrainTile) SETS LOCK OpenThreads::ScopedLock<OpenThreads::Mutex> lock(_mutex); ******* PROBLEM - since lock has already been set! ********

    The suggested fix submitted changes from using Mutex to ReentrantMutex. "

    Fri, 23 Dec 2011 17:21:59 +0000 Author : Robert Osfield From Aurelien Albert, "I made a modification in the Dragger class :You can now set a "intersection mask" and it will be used when looking for intersections.

    So you can now easily "hide" some objects from manipulators."

    Fri, 23 Dec 2011 17:16:06 +0000 Author : Robert Osfield From Brad Christiansen, "I have added an implementation for set/getVolume in the direct show plug-in."

    Fri, 23 Dec 2011 17:15:06 +0000 Author : Robert Osfield From Glenn Waldron, "Attached is a change to ClusterCullingCallback to make it work properly under an RTT camera with an INHERIT_VIEWPOINT reference frame."

    Fri, 23 Dec 2011 16:57:34 +0000 Author : Robert Osfield ✅ From James Turner, "Testing FlightGear with Cocoa osgViewer, encountered some problems with hiding / re-showing the cursor. Attached version fixes this, by tracking the current cursor value, and ensuring we don't nest calls to [NSCursor hide] or [NSCursor unhide]."

    Fri, 23 Dec 2011 16:29:51 +0000 Author : Robert Osfield ♻️ From Ulrich Hertlein, "attached is a patch for osgPlugins/mdl/MDLReader.cpp that improves its functionality on Unix filesystems. It also includes code cleanups/refactoring."

    Fri, 23 Dec 2011 16:27:25 +0000 Author : Robert Osfield 🐧 From Brad Christiansen, "Attached are some small changes to the ImageStream interface and the DirectShow and FFMPEG plugins to provide the current time being displayed in the image stream. I don’t have access to an OSX or Linux dev machine to make the changes required to the quick time plugin. This plugin will just default to returning 0."

    Fri, 23 Dec 2011 16:14:51 +0000 Author : Robert Osfield 🛠 From Ulrich Hertlein, typo fixes

    Fri, 23 Dec 2011 12:42:18 +0000 Author : Robert Osfield ➕ Added handling of an empty filename when writing out an image file.

    Mon, 19 Dec 2011 16:18:18 +0000 Author : Robert Osfield ✂ Removed inappropriate static usage

    Mon, 19 Dec 2011 09:37:57 +0000 Author : Robert Osfield 🚚 Moved the createSpotLightImage function into include/osg/ImageUtils

    Mon, 19 Dec 2011 09:09:30 +0000 Author : Robert Osfield ➕ Added --num-sm and --parallel-split and --cascaded command line options to set the appriopriate ViewDependentShadowMap settings.

    Tue, 13 Dec 2011 21:14:33 +0000 Author : Robert Osfield 🚚 Moved osgshaders example across to use the new osgUtil::PerlinNoise example

    Tue, 13 Dec 2011 21:12:00 +0000 Author : Robert Osfield Created new PerlinNoise class from the Noise.h+Noise.cpp code in the osgshaders example.

    Wed, 30 Nov 2011 19:14:14 +0000 Author : Robert Osfield 🛠 Fixed build under Tiny Core.

    Fri, 25 Nov 2011 12:48:03 +0000 Author : Robert Osfield To fix problems in tight bound computation of the shadow map made the ComputeLightSpaceBounds usage always used when the CastShadowMask is active. Changed the ComputeLightSpaceBounds to use just VIEW_FRUSTUM_CULLING.

    Fri, 25 Nov 2011 09:24:50 +0000 Author : Robert Osfield From Jean-Sebastien Guay, fix for handling texture unit >= 8 and negative LigthNum.

    Tue, 22 Nov 2011 21:55:30 +0000 Author : Robert Osfield ➕ Added prelimanary support for parallel split shadow maps into ViewDependentShadowMap.

    Fri, 18 Nov 2011 08:20:04 +0000 Author : Robert Osfield ⚡️ From Trajce Nikolov, "Here is extended version of the osgforest example - technique with geometry shader added, was doing it for a project so I thought might be useful to update the example as well "

    Fri, 18 Nov 2011 08:15:36 +0000 Author : Robert Osfield 🛠 Fixed indentation

    Thu, 17 Nov 2011 18:45:18 +0000 Author : Robert Osfield ➕ Added .get() to fix build

    Fri, 11 Nov 2011 10:36:17 +0000 Author : Robert Osfield ⚡️ Updated built in volume shaders to honour the osg::Matierial setting

    Fri, 11 Nov 2011 10:25:20 +0000 Author : Robert Osfield Enabled blending for the iso surface rendering to enable fade in/fade out of volume.

    Thu, 10 Nov 2011 15:50:22 +0000 Author : Robert Osfield ➕ Added handling of osgGA::GUIEventAdapter::getMouseYOrientation() in the orientation of mouse y position.Added updating of properties on both mouse move/drag and keydown.

    Mon, 7 Nov 2011 14:36:50 +0000 Author : Robert Osfield ➕ Added a check against OSX 10.6 to enable better selection of when to provide custom cosf etc. definition. This change has been introduced to address recurcsion problems in 10.7 in the ac3d plugin.

    Fri, 4 Nov 2011 12:50:05 +0000 Author : Robert Osfield ⚡️ Implement presentation update feature that reloads the presentation on pressing 'u'.

    Fri, 4 Nov 2011 12:47:24 +0000 Author : Robert Osfield 👌 Improved the handling of setStartTick() being called mid app, such as when idirectly called when doing a Viewer::setSceneData(). Improved the setting the the initial event state.

    Fri, 4 Nov 2011 12:45:32 +0000 Author : Robert Osfield 👌 Improved handling of resetting of the EventQueue::startTick().

    Fri, 4 Nov 2011 12:44:01 +0000 Author : Robert Osfield ➕ Added removeFromObjectCache method.

    Wed, 2 Nov 2011 10:57:17 +0000 Author : Robert Osfield Add check to filter out the return of FILE_NOT_FOUND from archive results to prevent these from prematurely exiting the Registry::read(..) method bofore it loads plugins to try and load requested file.

    Tue, 1 Nov 2011 16:13:24 +0000 Author : Robert Osfield Replaced the use of PrtScrn with 'm' for taking screenshots, replaced the use of 'm' with 'M' for taking movies.

    Tue, 1 Nov 2011 13:41:48 +0000 Author : Robert Osfield From Stephan Huber, "A recent commit (https://github.com/openscenegraph/osg/commit/41e23f466d0749d0d9db7ca0b0ada996432a1ee1) for GraphicWindowsIOS.mm broke the compilation for OpenGL ES 1.x as GL_DEPTH_COMPONENT32_OES is not defined for 1.x. I added a #define-guard."

    Tue, 1 Nov 2011 13:36:07 +0000 Author : Robert Osfield ➕ Added screen capture handler to present3D, with the PrtScn button used for a single frame capture and 'm' for continuous frame capture. The --screenshot filename command line option can be used to configure the name of the screen capture.

    Tue, 1 Nov 2011 11:08:48 +0000 Author : Robert Osfield ➕ Added setting of the sampleDensityWhenMovingProperty at the same time as when setting the sampleDensityProperty

    Tue, 1 Nov 2011 10:30:18 +0000 Author : Robert Osfield 🛠 Fixed the use DCM_SeriesDescription

    Tue, 1 Nov 2011 10:27:12 +0000 Author : Robert Osfield 👌 Improved the handling of multiple datasets being read at once, with all the images in a series being group according to Series UID and SeriesDescription and orientation.

    Mon, 31 Oct 2011 15:29:49 +0000 Author : Robert Osfield ➕ Adding missing checks against View's Camera and SceneData for any update callbacks that need calling.

    Fri, 28 Oct 2011 11:00:55 +0000 Author : Robert Osfield 🔄 Changed the notification level to INFO.

    Fri, 28 Oct 2011 11:00:08 +0000 Author : Robert Osfield 🔄 Changed the setting of Traits::sampleBuffers so that it's set to 1 when DisplaySettings::getMultiSamples() is set to a non zero value.

    Fri, 28 Oct 2011 10:36:29 +0000 Author : Robert Osfield 🔄 Changed the default for SampleBuffers to be 1 when set.

    Fri, 28 Oct 2011 09:45:51 +0000 Author : Robert Osfield ✂ Removed OSX codepath for setting the depth value to 32 as this turned out to be unneccesary.

    Fri, 28 Oct 2011 09:11:21 +0000 Author : Robert Osfield 🔄 Changed the default depth to 24.

    Thu, 27 Oct 2011 16:33:18 +0000 Author : Robert Osfield ⚡️ Updated volume shaders to use the GL_LIGHT 0 values to control the direction of the light source

    Thu, 27 Oct 2011 13:11:20 +0000 Author : Robert Osfield Reimplement the light direction controls so that they now work correctly with osgViewer::Viewer.Improved the computation of the light direction from non-dimensional mouse coords so that they now project onto a hemisphere making the interaction more intuitive.

    Thu, 27 Oct 2011 09:24:34 +0000 Author : Robert Osfield ➕ Added support for ignore returns as white space.

    Thu, 27 Oct 2011 08:34:53 +0000 Author : Robert Osfield ➕ Added support for American spelling of swap and add supportOptions(..) documentation for the new options.

    Wed, 26 Oct 2011 14:25:56 +0000 Author : Robert Osfield ➕ Added support into the .p3d format for specifying the osgDB::Options::OptionString via the .Added support into .vnc plugin for passing in the keywords "swap", "RGB", "RGBA", "BGR", "BGRA" as OptionString values to allow .p3d presentations to control whether the pixelformat should be swapped or set to a specific format.

    Wed, 26 Oct 2011 12:48:57 +0000 Author : Robert Osfield ➕ Added password support into present3D's vnc support via the tag usage : hostname

    Wed, 26 Oct 2011 12:29:38 +0000 Author : Robert Osfield ➕ Added password support into osgvnc example and vnc plugin

    Wed, 26 Oct 2011 09:34:50 +0000 Author : Robert Osfield Implement a simply attempt at detecting when the pixel format needs to be swapped.

    Tue, 25 Oct 2011 15:55:33 +0000 Author : Robert Osfield ➕ Added support for 32bit depth buffer

    Tue, 25 Oct 2011 15:31:46 +0000 Author : Robert Osfield ➕ Added hack of using a 32bit depth buffer default setting for Traits when compiling under Apple.

    Mon, 24 Oct 2011 13:40:29 +0000 Author : Robert Osfield 🚚 Moved switching off of the cursor till after the slide event handler has had a chance to switch off the scene.

    Mon, 24 Oct 2011 11:09:35 +0000 Author : Robert Osfield 🛠 Fixed handling of slide with no layers.

    Sat, 22 Oct 2011 09:02:18 +0000 Author : Robert Osfield 🛠 Fixed build of StreamOperator

    Fri, 21 Oct 2011 15:39:51 +0000 Author : Robert Osfield 🛠 Fixed handling of Vec3dArray in GLBeginEdnAdapter/ArrayDispatchers.

    Fri, 21 Oct 2011 11:00:29 +0000 Author : Robert Osfield Added support for using negative scale_x, scale_y and scale_z values in the tag to allow presentations to flip the imagery

    Fri, 21 Oct 2011 10:59:42 +0000 Author : Robert Osfield ➕ Added flipDepth() method

    Fri, 21 Oct 2011 09:31:56 +0000 Author : Robert Osfield 🛠 Fixed handling of scale.x, scale.y and scale.z paramters so that all of them now take an effect.

    Thu, 20 Oct 2011 16:49:08 +0000 Author : Robert Osfield 🛠 Fixed handling of reading/writing of osgVolume::VolumeTile tiles

    Thu, 20 Oct 2011 16:35:50 +0000 Author : Robert Osfield ➕ Added support for calling throwException() from InputIterator and added a check for negative string sizes.

    Thu, 20 Oct 2011 11:50:04 +0000 Author : Robert Osfield ➕ Added check against build type to avoid the build of the osgviewerWX example with debug build as this fails with unresolved symbols within the internals of WxWidgets.

    Thu, 20 Oct 2011 10:52:32 +0000 Author : Robert Osfield 🏗 From Ulrich Hertlein, fixed build problem due to cmake_policy CMP0017 being only available from cmake-2.8.4, added guard to prevent build problems

    Thu, 20 Oct 2011 09:23:26 +0000 Author : Robert Osfield 👌 Improved handling of recent Cmake versions

    Thu, 20 Oct 2011 08:59:47 +0000 Author : Robert Osfield 🛠 Fixed typo in command line output, and add an explanation message for when createTexture3D fails to create an osg::Image from a list of input osg::Image.

    Mon, 17 Oct 2011 15:39:46 +0000 Author : Robert Osfield 🛠 Fixed typo

    Mon, 17 Oct 2011 14:41:49 +0000 Author : Robert Osfield 👌 Improvements to the compute near/far

    Mon, 17 Oct 2011 14:40:29 +0000 Author : Robert Osfield 👌 Improvements to osgShadow::ViewDependentShadowMap and ShadowSettings

    Mon, 17 Oct 2011 11:12:05 +0000 Author : Robert Osfield Quitened down debug message

    Mon, 17 Oct 2011 10:25:28 +0000 Author : Robert Osfield From Jean-Sebastien Guay, add --mapres size option to ViewDependentShadowMap settings.

    Mon, 3 Oct 2011 15:57:06 +0000 Author : Robert Osfield ➕ Add catch for when shadows are enabled between the update and draw traversals.

    Mon, 3 Oct 2011 15:25:16 +0000 Author : Robert Osfield 0️⃣ From Jean-Sebastien Guay, changed the border colour for the shadow map to be 1 rather the 0 used for debugging so that areas outside the shadow map default to being unshadowed rather than shadowed. changed the shadow map texture assigment to StateSet so that it doesn't use OVERRIDE, enabling subgraphs to use the same texture unit for other textures if they so required. tidied up indentation.

    Mon, 3 Oct 2011 14:57:39 +0000 Author : Robert Osfield 🔄 Changed getVertical(..) so it uses the same coord scale as the getGlyph

    Mon, 3 Oct 2011 14:56:38 +0000 Author : Robert Osfield 🛠 Fixed handling of ShadowSetting LightNum

    Mon, 3 Oct 2011 10:36:18 +0000 Author : Robert Osfield ➕ Added Font::getVertical(float& ascender, float& descender) methods.

    Wed, 28 Sep 2011 11:52:27 +0000 Author : Robert Osfield ➕ Added catch for NaN vertices that were being generated by osgText, these NaN vertices were causing glu tesselation functions to crash.

    Wed, 28 Sep 2011 10:54:30 +0000 Author : Robert Osfield ➕ Added computation of the extents, in light space, of the shadow maps RenderStage contents and use of this to produce a tighter bound light space projection.

    Tue, 20 Sep 2011 11:46:45 +0000 Author : Robert Osfield ➕ Added a half second sleep after calling system command when the command is run in the background so that this command has a chance to run and open a window before the calling present3D moves on to the next frame.

    Tue, 20 Sep 2011 10:59:18 +0000 Author : Robert Osfield ➕ Added better error reporting and handling when tag contents are not valid.

    Tue, 20 Sep 2011 10:01:07 +0000 Author : Robert Osfield ➕ Added handling of <!DOCTYPE...> tag and "" options.

    Mon, 19 Sep 2011 10:42:54 +0000 Author : Robert Osfield ⚠ From Ulrich Hertlein, "attached is a patch that cleans up compiler warnings and common functionality."

    Mon, 19 Sep 2011 10:39:19 +0000 Author : Robert Osfield From Wojciech Lewandowski, "There was a bug in reading modifier keys when focus to GraphicsWindowWin32 was restored. Handler of WM_SETFOCUS was reading pressed keys and sending WM_KEYDOWN messages to fill initial keyboard state. But WM_KEYDOWN messages sent had 0 on lParam and adaptKey method computing state of modifier mask was using lParam to find which modifier keys are down. Obviously when lParam was 0 it was not recording proper modifier masks.This patch fixes this code sending proper lParam and also makes sure LEFT_CONTROL will be not confused with RIGHT_CONTROL."

    Mon, 19 Sep 2011 10:34:31 +0000 Author : Robert Osfield From Luc Frauciel, "You'll find attached a new option that allow, when using LOD in USER_DEFINED_CENTER mode to expand the radius of the node by the radius of loaded objets. Motivation ; When using PagedLODs, you don't always know the real size of loaded children, If it occurs that they are out of predefined bounds, picking on the parts that are out of bound will fail They also can be culled out too soon. The problem often occurs with long object (roads). I've modified LOD and ProxyNode to include this option."and later email:

    "Attached the UNION_OF_BOUNDING_SPHERE_AND_USER_DEFINED version There are impacts on some serializers (dae, osgWrapper). 🗄 I haven't modified deprecated osg, since it's deprecated"

    Mon, 19 Sep 2011 10:12:53 +0000 Author : Robert Osfield ➕ Added removal of [..] from names returned from glGetActiveUniform results to avoid issues with name lookups when the driver add the [..] for uniform arrays.

    Mon, 19 Sep 2011 09:44:29 +0000 Author : Robert Osfield Copya and Paste Anti-Pattern strikes again! Renamed FreeType usage to Revisions to correct previous mistake when copying and modifying the ReaderWriter.

    Wed, 14 Sep 2011 10:45:11 +0000 Author : Robert Osfield 🛠 Fixed memory leak

    Wed, 14 Sep 2011 10:22:04 +0000 Author : Robert Osfield ➕ Added missing forward declaration

    Wed, 14 Sep 2011 10:02:11 +0000 Author : Robert Osfield ➕ Added asCamera() methods into osg::Camera and osg::Node

    Wed, 14 Sep 2011 09:49:28 +0000 Author : Robert Osfield 🔌 From Laurens Voerman, "attached is a zipped OpenSceneGraph\src\osgPlugins\ffmpeg\FFmpegDecoderAudio.cppIt solves a wrong sample format being set for audiostreams type S32 and F32, for the enum AVSampleFormat (in include/avutil/samplefmt.h) doesn't match enum SampleFormat (in include/osg/AudioStream) for anything but SAMPLE_FORMAT_U8 and SAMPLE_FORMAT_S16 "

    and follow up that address versioning issue

    "I can find the change, avutil version 50.38.0 introduced a new header file: libavutil/samplefmt.h older versions use libavcodec/avcodec.h with the sampleformats without AV_

    an intermideate fix with the FF_API_OLD_SAMPLE_FMT is removed from ffmpeg 0.8.3 so I think this is the correct fix:

    🔖 #if LIBAVUTIL_VERSION_INT < AV_VERSION_INT(50,38,0)

    define AV_SAMPLE_FMT_NONE SAMPLE_FMT_NONE

    define AV_SAMPLE_FMT_U8 SAMPLE_FMT_U8

    define AV_SAMPLE_FMT_S16 SAMPLE_FMT_S16

    define AV_SAMPLE_FMT_S32 SAMPLE_FMT_S32

    define AV_SAMPLE_FMT_FLT SAMPLE_FMT_FLT

    define AV_SAMPLE_FMT_DBL SAMPLE_FMT_DBL

    define AV_SAMPLE_FMT_NB SAMPLE_FMT_NB

    endif

    "

    Tue, 13 Sep 2011 13:38:26 +0000 Author : Robert Osfield From Morten Hauknes, "I have been using the getLastVisiblePixelCount on pre 3.0 osg. I believe maybe this was a private function that we made public in our side. I use(d) this method to make a simple algorithm to tell how much visible an object was in percent.So with the 3.0 api change we propose the following change:

    • put OSG_EXPORT on the QueryGeometry class so that we get access to the getNumPixels method.
    • Create a function called getQueryGeometry that returns a casted _queryGeode->getDrawable(). Or a function called getQueryGeode that returns _queryGeode."

    Tue, 13 Sep 2011 13:33:41 +0000 Author : Robert Osfield From Jean-Sebastien Guay, removed unneccessary BUILD_QT_EXAMPLES cmake option

    Tue, 13 Sep 2011 11:48:06 +0000 Author : Robert Osfield From Sukender, "I just fount that writing double precision values (eg. Vec3dArray for vertices) works with .osg but not .osgt/.osgx. So here is the fix (SVN trunk r12712). I suppose .osgb works as expected on this point and did not change anything. So, as for .osg, if you add "precision 16" (for instance) to the optionString, then you'll get double precision vertices written correctly. "

    Tue, 13 Sep 2011 11:09:39 +0000 Author : Robert Osfield 🚀 From Robert Milharcic, "This will hopefully fix some issues with osgQt, more precisely with GLWidget event handling. There are at least two current GL context braking events, QEvent::Hide and QEvent::ParentChange. When running in a multithreaded mode they both try to change current GL context in a wrong thread (main GUI thread). The QEvent::ParentChange is also problematic when running in a single threaded model because Qt is going to release current contex then delete it, and then it will create new one, and as a result the osg will continue to render to an invalid deleted context. This changes workaround above problems by deferring execution of the problematic evens. These events has to be enqueued and executed later. The enqueued event processing is currently done right after swap in a swapBuffersImplementation of GraphicsWindowQt while code is running in a render thread by calling QGLWidget handler directly. In principle the deferred events queue should be executed while in GUI thread but I couldn't find any reliable way to do this, that is without risking a deadlock. For now it is assumed, Qt is not going to execute any GUI thread only operations inside the QGLWidget handler."

    Tue, 13 Sep 2011 10:15:07 +0000 Author : Robert Osfield 🚚 From Farshid Lashkari, " The osgUtil::CullVisitor class will display an OSG_INFO notification when attempting to clamp the projection matrix with invalid near/var values. This usually appears when the scene graph is empty or all objects are culled. I don't think this scenario warrants having this message appear every frame. It makes it very difficult to debug other issues when this notification floods the output window.I'd prefer to have the notification removed, but there might be legitimate cases where you want this displayed. Instead, I just disabled the output if the near/far values are equal to FLT_MAX (their initial values). This should at least prevent the notification for the common case where everything was culled."

    Tue, 13 Sep 2011 09:59:21 +0000 Author : Robert Osfield ⚡️ From Paul Martz, "Here's my proposed change regarding the osg-users post "small feature culling threshold". I've updated the comments and brought the default values into agreement, but didn't bother to add the environment variable support."

    Tue, 13 Sep 2011 09:53:34 +0000 Author : Robert Osfield 🏗 From Jean-Sebastien Guay, "I added a simple setting in OSG's CMakeLists.txt to be able to disable building anything related to Qt. It just skips the FindPackage(...) for Qt3 and Qt4, so since they are not found nothing related to Qt will be generated by CMake. The default is to build the Qt related stuff, so current behavior is unchanged."

    Tue, 13 Sep 2011 09:46:22 +0000 Author : Robert Osfield From Sukender, "I added a tiny check to avoid an integer divide-by-zero, when image is invalid (ie. all values are 0)."

    Tue, 13 Sep 2011 09:43:45 +0000 Author : Robert Osfield From Sukender, "I added a crash-guard against corrupted 3DS files, having faces indexes out of the range of existing vertices."

    Tue, 13 Sep 2011 09:21:07 +0000 Author : Robert Osfield From Farshild Lashkari, "Attached is a simple patch that avoids the depth write pass in Text::renderWithDelayedDepthWrites if the current osg::State object has GL_DEPTH_TEST disabled."

    Tue, 13 Sep 2011 09:17:21 +0000 Author : Robert Osfield 🏗 Reverted Paul Idstein warning fix as this was breaking the build

    Mon, 12 Sep 2011 16:24:08 +0000 Author : Robert Osfield From Ulrich Hertlein, Added some error checks and memory cleanup.

    Mon, 12 Sep 2011 16:20:45 +0000 Author : Robert Osfield 🏗 From Stephan Huber, fixed build for OSX 10.6 and earlier

    Mon, 12 Sep 2011 16:17:33 +0000 Author : Robert Osfield 👍 From Johannes Baeuerle, opptimization of ES support of osg/BufferObject

    Mon, 12 Sep 2011 12:38:41 +0000 Author : Robert Osfield From Bjorn Blissing, "Found a minor (probably a copy & paste) bug in ViewerEventHandlers. Line 251: int getKeyEventWindowedResolutionDown() const { return _keyEventWindowedResolutionUp; }Should be replaced with: int getKeyEventWindowedResolutionDown() const { return _keyEventWindowedResolutionDown; }"

    Mon, 12 Sep 2011 12:26:55 +0000 Author : Robert Osfield 🛠 From Luc Frauciel, "When osgUtil::DelaunayTriangulator triangulate() function ends with no triangle generated, it crashes. This patch fixes that"

    Mon, 12 Sep 2011 12:14:17 +0000 Author : Robert Osfield 📚 From Magnus Kessler, documentation fixes

    Mon, 12 Sep 2011 12:04:46 +0000 Author : Robert Osfield 👌 Improved the clarity of doxygen comments

    Mon, 12 Sep 2011 11:51:14 +0000 Author : Robert Osfield 🛠 Fixed typos in the documentation

    Mon, 12 Sep 2011 11:28:14 +0000 Author : Robert Osfield From Cedric Pinson, from three submissions:"Here a patch that correct like the previous assign collada material name to stateset."

    and

    "I changed how the collada reader set object name in osg. Current implementation use collada ID to setup name. with this patch I use collada name to setup name in osg object and if collada provide no name I use as fallback ID. I am not sure we want this fallback.

    The motivation of this change is that when an artist set names to its objects and export to collada, I am not able to use those names in osg to retrieve the node."

    and

    ⚡️ "Here the update of the file that fix the light id stuff"

    Mon, 12 Sep 2011 11:24:52 +0000 Author : Robert Osfield 🏗 From Bob Kuehne, build fix for OSX 10.7 SDK.

    Mon, 12 Sep 2011 11:24:24 +0000 Author : Robert Osfield ⚠ From Paul Idstein, warning fixes for OSX 10.7

    Mon, 12 Sep 2011 10:52:16 +0000 Author : Robert Osfield 🛠 From Magnus Kessler, typo fixes

    Mon, 12 Sep 2011 10:47:59 +0000 Author : Robert Osfield From Wang Rui, "I've encountered a strange problem that osgviewerMFC doesn't work well with the StatsHandler. When the 's' key is pressed, the rendering window will be halted. I tried solving the problem by commenting a line in CMFC_OSG_MDIView::OnKeyDown() and it seems to work now.Another improvement here is to use a thread class derived from OpenThreads to replace the old _beginthread(). It helps a lot in keeping a high frame rate when you open more than one MDI child 🏁 windows. And the application using OpenThreads in my opinion will be more compatible and portable."

    Mon, 12 Sep 2011 10:46:42 +0000 Author : Robert Osfield ⚡️ Updated SO version number to 90 to allow for recent changes to the ABI, and to set the base for the 3.1.0 series.

    Mon, 12 Sep 2011 10:43:24 +0000 Author : Robert Osfield From Sukender, "I added private constructors to osg::ValueObject & TemplatedValueObject, to avoid allocation on the stack and ugly things like: TemplatedValueObject value(....); container->addUserObject(value);"

    Wed, 7 Sep 2011 20:05:25 +0000 Author : Robert Osfield ➕ Added handling the ShadowSettings::LightNum for selecting which light to use.

    Wed, 7 Sep 2011 16:26:57 +0000 Author : Robert Osfield ➕ Added handling of the case when RenderLeaf::_modelview matrix is NULL, such as when LightPointNode is used in the scene graph.

    Wed, 7 Sep 2011 15:55:54 +0000 Author : Robert Osfield 🚚 Moved ViewDependetShadowMap parameter settings into a dedicated ShadowSettings object in prep for making it possible to scale the API to handle multiple lights and multiple shadow maps per light.

    Tue, 6 Sep 2011 17:26:27 +0000 Author : Robert Osfield ➕ Added setting of the shadow map Camera's name to "ShadowCamera" to improve integration with osgOcean.

    Tue, 6 Sep 2011 14:13:13 +0000 Author : Robert Osfield ➕ Added optimization of the mutliple cessna shadow model to address peformance issues when rendering 100 cessna's.

    Tue, 6 Sep 2011 11:42:54 +0000 Author : Robert Osfield ➕ Added -5 model option using Wang Rui's test demo as a base

    Tue, 6 Sep 2011 11:11:38 +0000 Author : Robert Osfield 🛠 Fixed the heights of the trees and houses

    Tue, 6 Sep 2011 10:12:45 +0000 Author : Robert Osfield ➕ Added s/getPerspectiveShadowMapCutOffAngle() and use of this when setting up light space to avoid sigularaties when the light and view directions are co-incident.

    Mon, 5 Sep 2011 12:36:47 +0000 Author : Robert Osfield ➕ Added support for setting whether ViewDependentShadowMap should provide it's own vertex and fragment shaders.

    Mon, 5 Sep 2011 12:27:20 +0000 Author : Robert Osfield Replaced use of ShapeDrawable with osgTerrain for the terrain tile

    Fri, 2 Sep 2011 10:16:16 +0000 Author : Robert Osfield ➕ Added s/getTextureSize() method for setting the shadow map texture size.

    Fri, 2 Sep 2011 07:46:08 +0000 Author : Robert Osfield Disabled the use of the ReceivesShadowTraversalMask() mask

    Thu, 1 Sep 2011 18:49:33 +0000 Author : Robert Osfield Added test line for COMPUTE_NEAR_USING_PRIMITIVES

    Thu, 1 Sep 2011 18:48:21 +0000 Author : Robert Osfield Added fine grained computation of the far plane when using the COMPUTE_NEAR_FAR_USING_PRIMITIVES ComputeNearFarMode. Added COMPUTE_NEAR_FAR_USING_PRIMITIVES option that provides the original functionality where only the near plane is computed in a fine grained way, with the far plane being computed simply from bound volumes.

    Mon, 29 Aug 2011 16:01:02 +0000 Author : Robert Osfield 🏗 From Tony Horrobin, build fix

    Mon, 29 Aug 2011 10:26:05 +0000 Author : Robert Osfield ➕ Added fallback base texture

    Mon, 29 Aug 2011 09:59:47 +0000 Author : Robert Osfield ➕ Added support for setting the MinimumShadowMapNearFarRatio.

    Fri, 26 Aug 2011 15:40:09 +0000 Author : Robert Osfield 🛠 Fixed bug in computaton of the min/max x/z ratios.

    Fri, 26 Aug 2011 15:36:33 +0000 Author : Robert Osfield ➕ Added names to models to help with debugging.

    Fri, 26 Aug 2011 10:52:25 +0000 Author : Robert Osfield ➕ Added releaseGLObjects/resizeGLObjectBuffers support

    Thu, 25 Aug 2011 17:21:38 +0000 Author : Robert Osfield 👌 Improved the handling of depth partitioning and orthographic datasets

    Thu, 25 Aug 2011 15:39:09 +0000 Author : Robert Osfield ➕ Added event handling for toggling on/off the light source animation.

    Wed, 24 Aug 2011 19:38:58 +0000 Author : Robert Osfield ➕ Added support for user defined setting of the shadow texture unit

    Wed, 24 Aug 2011 13:57:15 +0000 Author : Robert Osfield 🔄 Changed new ViewDependentShadowMap to default to a perspective shadow map with automatic detection of a spot light/perspetive light projection matrix to prevent inappropriate usage of perspective shadow map.

    Wed, 24 Aug 2011 12:32:03 +0000 Author : Robert Osfield 💅 Imorovements to the new perspective/lispsm style shadow implementation.

    Wed, 24 Aug 2011 12:31:35 +0000 Author : Robert Osfield ⚠ Quitened down and fixed warning

    Fri, 19 Aug 2011 12:42:51 +0000 Author : Robert Osfield Quitended down debug messages and added passing of RenderStage to LispSM code

    Fri, 19 Aug 2011 10:43:38 +0000 Author : Robert Osfield 👌 Improved the LispSM computation

    Fri, 19 Aug 2011 10:43:15 +0000 Author : Robert Osfield 🔄 Changed the local variable near/far type

    Wed, 17 Aug 2011 17:06:55 +0000 Author : Robert Osfield ➕ Added back in control of the backface culling.

    Wed, 17 Aug 2011 16:09:17 +0000 Author : Robert Osfield intermin check-in of work on new LispSM implementation

    Mon, 15 Aug 2011 14:37:16 +0000 Author : Robert Osfield ➕ Added missing assignement of _simulationTime.

    Sat, 13 Aug 2011 19:09:58 +0000 Author : Robert Osfield ✅ From Paul Martz, "Recent changes to osgShadow on trunk were apparently not yet tested with ref_ptr implicit casting disabled. Attached is a fix. "

    Fri, 12 Aug 2011 20:29:14 +0000 Author : Robert Osfield ➕ Added public interface for selecting use of perspective and light space perspective shadow maps. Implementation of backends not implemented yet so will follow.

    Fri, 12 Aug 2011 14:53:40 +0000 Author : Robert Osfield Implemented first pass at shaders for new ViewDepedentShadow map class

    Tue, 9 Aug 2011 15:57:37 +0000 Author : Robert Osfield Implemented ViewDependentShadowMap::setDebugDraw(bool) to allow osgshadow to enable/disable the debug display via the standard --debugHUD option.

    Tue, 9 Aug 2011 15:20:25 +0000 Author : Robert Osfield 🔄 Changed RTT Camera to use depth.

    Tue, 9 Aug 2011 13:39:57 +0000 Author : Robert Osfield Implemented caching of Camera, Texture and TexGen

    Tue, 9 Aug 2011 06:54:44 +0000 Author : Robert Osfield ➕ Added replacement of the placeholder StateSet in the StateGraph with custom StateSet implemented just for the needs of that particular frame.

    Mon, 8 Aug 2011 17:00:55 +0000 Author : Robert Osfield Further work on basic ViewDependentShadowMaps, adding implementation of RTT camera and texgen setup.

    Sun, 7 Aug 2011 15:54:21 +0000 Author : Robert Osfield 👍 From Jean-Sebestien Guay and Robert Osfield, mixture of two sets of change - one from JS that adds more controls for specifying positional and spot lights, and from RO adding support for the new ViewDepedentShadowMap

    Sun, 7 Aug 2011 15:51:54 +0000 Author : Robert Osfield Preliminary work on new ViewDependentShadowMap base class

    Fri, 29 Jul 2011 11:22:32 +0000 Author : Robert Osfield Commented out the colorAmbientEmissive += gl_FrontLightProduct[0].ambient; line from the fragment shader as it was causing problems with the shadowed region being sporadically lit when using a spotlight.

    Fri, 29 Jul 2011 07:42:55 +0000 Author : Robert Osfield 🛠 Fixed comment on end barrier position.

    Thu, 28 Jul 2011 16:40:28 +0000 Author : Robert Osfield 👌 Improved handling of the scaling of dicom imagery.

    Thu, 28 Jul 2011 12:07:22 +0000 Author : Robert Osfield Refectored the EGL setup so that it's honours the Traits values.

    Thu, 28 Jul 2011 11:05:10 +0000 Author : Robert Osfield ⏪ Reverted the change to the default setting of _resizeNonPowerOfTwoHint back to true for all platforms to ensure the same behaivour across platforms, something that can be achieved now thanks to the integrated GLU library.Corrected the default of the ResizeNonPowerOfTwoHint to true to reflect the actual default setting set by the 0️⃣ Texture default constructor.

    Thu, 28 Jul 2011 08:19:29 +0000 Author : Robert Osfield From Johannes Baeuerle, "in the file src/osgDB/ObjectWrapper.cpp, where the GlobalLookupTable for gl enums for serialization purposes is defined, some of the compressed texture formats are missing. I added enums for the pvr and etc formats."

    Thu, 28 Jul 2011 07:46:05 +0000 Author : Robert Osfield From Jason Beverage, "Here is a small fix for getCameraContainingPosition. getXMin was being used in a case where getYMin should be used instead."

    Mon, 25 Jul 2011 17:07:56 +0000 Author : Robert Osfield 🛠 Fixed stats bug where not all stats fields were being collected by the cull_draw() method used in the SingleThreaded and CullDrawThreadPerContext threading models.

    Fri, 22 Jul 2011 09:27:41 +0000 Author : Robert Osfield 👍 From Alexander Irion, "Texture borders are not supported in ES._isTextureBorderClampSupported is set to "TRUE" in Texture.cpp, because of the version number check (GL VERSION >= 1.3).

    This leads to an invalid enum error, when GL_TEXTURE_BORDER_COLOR is tried to set. "

    Fri, 22 Jul 2011 08:25:29 +0000 Author : Robert Osfield 🛠 In the RecordCameraPathhandler fixed the handling of pressing 'Z' before 'z' which was causing the view to be reset to 0,0,0 by AnimationPathManipualtor with an empty AnimationPath.

    Thu, 21 Jul 2011 09:55:03 +0000 Author : Robert Osfield 🛠 Fixed typo

    Thu, 21 Jul 2011 09:07:22 +0000 Author : Robert Osfield ⚡️ From Mathias Froehlich, "I have attached an updated version of the VRML2 loader. That change is the result of the '[osgPlugins] VRML plugin - "file" url' discussion on osg-users.The attached change avoids rewriting file names into some kind of file urls and then use the url for opening an fstream. Instead just use the given file name to open the stream. Also this change adds some Notify output for the error paths. "

    Thu, 21 Jul 2011 08:52:02 +0000 Author : Robert Osfield 🔖 From Wang Rui, "This fixes a small problem in the FindFBX file. In CMake scripts, VS2010 is not marked as MSVC100 but MSVC10. And CMake defines MSVC_VERSION instead of MSVC_VER to indicate the version number. The modification can find fbx sdk for VS2010 automatically now. "

    Wed, 20 Jul 2011 10:17:19 +0000 Author : Robert Osfield 🛠 From Claus Scheiblauer, fixed handling of horizontal mouse wheel events.

    Wed, 20 Jul 2011 09:10:32 +0000 Author : Robert Osfield ↪ Introduced workaround for problem of text that is scaled in screen coords, but hasn't been rendered yet so doesn't have knowledge of screen space yet, so assume that scaling is 1 rather than 0 as was previously assumed in the previous handling of screen space text.

    Mon, 18 Jul 2011 12:41:22 +0000 Author : Robert Osfield ➕ Added doxygen comments explaining read file callback functionality.

    Mon, 18 Jul 2011 09:40:58 +0000 Author : Robert Osfield Changed the HAVE_CONFIG_H guard so that it uses #ifndef _MSC_VER rather than _WIN32 to avoid problems with Mingw and Cygwin builds of DCMTK.

    Sun, 17 Jul 2011 16:24:47 +0000 Author : Robert Osfield 🛠 From Alberto Luacas, typo fixes

    Sun, 17 Jul 2011 10:30:40 +0000 Author : Robert Osfield From Wang Rui, improved the handling of the _preReadString within the readWrappedString method by factoring the reading of the next character into a dedicated getCharacter(..) method.

    Fri, 15 Jul 2011 10:24:23 +0000 Author : Robert Osfield 🏁 From Wang Rui, "I've found that the latest ffmpeg made some functions and macros deprecated, which led to compilation errors in the OSG plugin. I tried fixing them and tested with the version ffmpeg-git-5d4fd1d (ffmpeg version > 0.8, libavcodec = 53.7.0) under Windows. "

    Fri, 15 Jul 2011 10:22:44 +0000 Author : Cedric Pinson 🛠 Fix crash in osgAnimation when keyframe container are empty

    Fri, 15 Jul 2011 09:47:34 +0000 Author : Robert Osfield From Sukender, Fix for compile errors "public: static char const * const osg::ValueObjectClassNameTrait< xxx >::s_className" already defined in xxx.obj"

    Fri, 15 Jul 2011 09:14:16 +0000 Author : Robert Osfield 🏁 From Wang Rui,"The files attached should be separately put into the directories src/osgPlugins/osg and src/osgWrappers/serializers/osgSim. They fix a serious infinite loop problem that may be caused by the stream buffer mechanism under Windows and some osgSim wrapper bugs pointed by Andreas. I've asked the community to help test them and hope now we can solve these recent .osgt file reading issues."

    Fri, 15 Jul 2011 08:43:47 +0000 Author : Robert Osfield ⚠ From Ryan Pavlik, "Fix inventor state copy constructor. Clang warning: In file included from src/osgPlugins/Inventor/ConvertToInventor.cpp:80: src/osgPlugins/Inventor/ConvertToInventor.h:117:71: warning: field is uninitialized when used here [-Wuninitialized] osgTexGenS(s.osgTexGenS), osgTexGenT(s.osgTexGenT), osgTexGen(osgTexGen), "

    Fri, 15 Jul 2011 08:32:04 +0000 Author : Robert Osfield 🛠 From Philip Lamp, submitted by Stephan Huber, "Modify the ReaderWriteImageIO_IOS to correctly handle relative paths when reading from a file. This means that no longer do all image files have to live at the root of the Resources folder inside the app bundle, but can now be organized inside folders. Also improved error handling and fixed a potential leak of a CGColorSpaceRef each once per image load."

    Fri, 15 Jul 2011 08:16:58 +0000 Author : Robert Osfield Converted tabs to four spaces

    Tue, 28 Jun 2011 07:54:00 +0000 Author : Robert Osfield 🔀 Merged the OSG-3.0 branch versions of into svn/trunk.

    Tue, 28 Jun 2011 07:23:52 +0000 Author : Robert Osfield ➕ Added #if lib curl version check around #include as this header was deprecated and now removed entirely from libcurl-7.21.7.

    Tue, 28 Jun 2011 07:22:09 +0000 Author : Robert Osfield 🔌 From Wang Rui, "I've found a small problem which causes crashes in the 3ds plugin while trying to load a model. The fix here will ensure that the texture map is valid and everything could work well then."

    Mon, 27 Jun 2011 21:33:38 +0000 Author : Robert Osfield 👉 Tweaked the comments

    Mon, 27 Jun 2011 21:32:20 +0000 Author : Robert Osfield 🏁 From Jean-Sebestien Guay, workaround for bug under windows with the seek implementation when handling ascii files with unix file endings.

    Mon, 27 Jun 2011 15:43:33 +0000 Author : Robert Osfield ⚡️ Updated NEWS and fixed typo in Contributors.

    Mon, 27 Jun 2011 10:20:37 +0000 Author : Robert Osfield 🛠 Fixed typo

    Mon, 27 Jun 2011 10:19:44 +0000 Author : Robert Osfield 👌 Improved the setContextID doxygen comment.

    Sat, 25 Jun 2011 20:51:58 +0000 Author : Robert Osfield 🔌 From Andreas Eskland, "I found that a binary PNM file couldn't be read by the PNM plugin in the 3.0 branch. Attached is a small fix in ReaderWriterPNM.cpp, simply opening the file in binary mode."

    Sat, 25 Jun 2011 11:00:33 +0000 Author : Robert Osfield 🛠 Fixed memory growth issue when using Texture2D::SubloadCallbacks that don't set the TextureObjects sizes.

    Sat, 25 Jun 2011 07:07:16 +0000 Author : Robert Osfield Tightened up float usage.

    Fri, 24 Jun 2011 19:17:25 +0000 Author : Robert Osfield Tightened up the float/double usage

    Fri, 24 Jun 2011 16:15:47 +0000 Author : Robert Osfield ✂ Removed redundent assert and associated variables to fix warnings.

    Fri, 24 Jun 2011 15:04:16 +0000 Author : Robert Osfield Implemented missing writeShader

    Fri, 24 Jun 2011 13:35:20 +0000 Author : Robert Osfield ⏪ From Martin Innus, fixed erroneous change of INTEGER to UNKNOWN, reverting back to INTEGER.

    Fri, 24 Jun 2011 12:40:18 +0000 Author : Robert Osfield Implemented missing Archive::readShader/writeShader, and added searching of the archive list in Registr::read() so that files that are stored in the archives can be found.

    Fri, 24 Jun 2011 08:32:25 +0000 Author : Robert Osfield 🛠 From Ulrich Hertlein, "While we're on osgSim/ShapeAttribute, here's a fix that fixes the 'UNKNOW' typo and some doxygen"

    Fri, 24 Jun 2011 08:13:58 +0000 Author : Robert Osfield 👀 From Wang Rui, "I've modified the code to handle -1.#IND and other kinds of infinite values. Please see the attachments for details"

    Fri, 24 Jun 2011 08:05:54 +0000 Author : Robert Osfield ➕ Added operator ==, != and < to fix VS build

    Thu, 23 Jun 2011 19:58:52 +0000 Author : Robert Osfield 🛠 Fixed warnings generated by clang,src/osgAnimation/Skeleton.cpp:25:87: warning: addition of default argument on redeclaration makes this constructor a copy constructor [-Wdefault-arg-special-member] ⚡️ Skeleton::UpdateSkeleton::UpdateSkeleton(const UpdateSkeleton& us, const osg::CopyOp& copyop= osg::CopyOp::SHALLOW_COPY) : osg::Object(us, copyop), osg::NodeCallback(us, copyop)

    ⚠ /src/OpenThreads/pthreads/PThread.cpp:1024:15: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (cpunum<0) return -1;

    ⚠ src/osgDB/ExternalFileWriter.cpp:221:122: warning: expression result unused [-Wunused-value] _objects.insert(ObjectsSet::value_type(&obj, ObjectData(absoluteDestinationPath, relativeDestinationPath, written))).first;

    ⚠ src/osgManipulator/Dragger.cpp:175:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (*itr = constraint) return;

    ⚠ src/osgManipulator/Dragger.cpp:187:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (*itr = constraint)

    Thu, 23 Jun 2011 18:24:07 +0000 Author : Robert Osfield ⚠ Warning fixes for:OpenSceneGraph/src/osgPlugins/Inventor/ConvertFromInventor.cpp: In member function ?virtual SbBool SoVRMLImageTextureOsg::readInstance(SoInput*, short unsigned int)?: ⚠ OpenSceneGraph/src/osgPlugins/Inventor/ConvertFromInventor.cpp:1264:16: warning: variable ?retval? set but not used [-Wunused-but-set-variable] 🔌 OpenSceneGraph/src/osgPlugins/ac/Geode.cpp: In member function ?void ac3d::Geode::ProcessGeometry(std::ostream&, unsigned int)?: ⚠ OpenSceneGraph/src/osgPlugins/ac/Geode.cpp:806:35: warning: variable ?fRep_s? set but not used [-Wunused-but-set-variable] ⚠ OpenSceneGraph/src/osgPlugins/ac/Geode.cpp:806:43: warning: variable ?fRep_t? set but not used [-Wunused-but-set-variable] ⚠ OpenSceneGraph/src/osgPlugins/ac/Geode.cpp:807:35: warning: variable ?fOffset_s? set but not used [-Wunused-but-set-variable] ⚠ OpenSceneGraph/src/osgPlugins/ac/Geode.cpp:807:46: warning: variable ?fOffset_t? set but not used [-Wunused-but-set-variable] OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp: In member function ?virtual void osgViewer::GraphicsWindowX11::checkEvents()?: ⚠ OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp:1181:10: warning: variable ?destroyWindowRequested? set but not used [-Wunused-but-set-variable]

    Thu, 23 Jun 2011 16:36:36 +0000 Author : Robert Osfield 🛠 Fixed virtual method mismtaches between subclasses and parent classes.

    Thu, 23 Jun 2011 15:42:45 +0000 Author : Robert Osfield 🏗 From Ulrich Hertlein, build fix for OSX.

    Thu, 23 Jun 2011 15:37:35 +0000 Author : Robert Osfield ➕ Added better handling of archives in ReaderWriterZip::readNode() so that if there is no master file definition it loads all the available nodes in the zip archive and returns an osg::Group containing all the nodes if there is more than one, or just returns the node if there is just one. Also implemented this functionality for ReaderWriterZip::readImage().

    Thu, 23 Jun 2011 12:24:47 +0000 Author : Robert Osfield 🛠 Fixed typo in name

    Thu, 23 Jun 2011 11:27:23 +0000 Author : Robert Osfield ⚡️ Updated ChangeLog and AUTHORS file

    Thu, 23 Jun 2011 11:26:51 +0000 Author : Robert Osfield 🛠 Fixed name typo

    Thu, 23 Jun 2011 11:09:49 +0000 Author : Robert Osfield 🛠 Fixed warnings.OpenSceneGraph/src/osgGA/NodeTrackerManipulator.cpp:32:1: warning: base class ?class osg::Object? should be explicitly initialized in the copy constructor ⚠ OpenSceneGraph/src/osgGA/TerrainManipulator.cpp:31:1: warning: base class ?class osg::Object? should be explicitly initialized in the copy constructor ⚠ OpenSceneGraph/include/osgSim/ShapeAttribute:99:9: warning: base class ?class std::vector<osgSim::ShapeAttribute>? should be explicitly initialized in the copy constructor ⚠ OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::gi? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::byte_before_the_zipfile? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::num_file? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::pos_in_central_dir? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::current_file_ok? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::central_pos? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::size_central_dir? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::offset_central_dir? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::cur_file_info? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::cur_file_info_internal? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::pfile_in_zip_read? ⚠ OpenSceneGraph/src/osgViewer/CompositeViewer.cpp:30:1: warning: base class ?class osg::Object? should be explicitly initialized in the copy constructor ⚠ OpenSceneGraph/src/osgViewer/View.cpp:159:1: warning: base class ?class osg::Object? should be explicitly initialized in the copy constructor ⚠ OpenSceneGraph/src/osgViewer/Viewer.cpp:196:1: warning: base class ?class osg::Object? should be explicitly initialized in the copy constructor ⚠ OpenSceneGraph/src/osgViewer/Viewer.cpp:196:1: warning: base class ?class osgViewer::ViewerBase? should be explicitly initialized in the copy constructor ⚠ OpenSceneGraph/include/osgManipulator/Dragger:47:9: warning: base class ?class osg::Object? should be explicitly initialized in the copy constructor

    Thu, 23 Jun 2011 09:26:27 +0000 Author : Robert Osfield 🚀 From Ryan Pavlik, "I have successfully compiled OpenSceneGraph trunk using the Clang compiler (using a recent trunk build of llvm and clang, haven't tested an older release). The attached files contain the change shown in the diff below, which was required to finish the build with Clang. It fixes an issue with two-phase name lookup - there's more information here http://blog.llvm.org/2009/12/dreaded-two-phase-name-lookup.html "

    Thu, 23 Jun 2011 09:22:23 +0000 Author : Robert Osfield ⚠ From Dimi Christopoulos, "I attach a fixed version of mipmap.cpp which produced a lot of warning on my gcc compiler."

    Thu, 23 Jun 2011 07:13:13 +0000 Author : Robert Osfield Converted tabs to four spaces

    Wed, 22 Jun 2011 16:18:34 +0000 Author : Robert Osfield ⚡️ From Magnus Kessler, "I have recently installed the latest version of collada-dom on Linux, and found that the include path has changed. By default, collada-dom now installs its header files under /usr/local/include/collada-dom or/usr/include/collada- dom. The attached FindCollada.cmake has been updated to look for these locations in addition to the previous candidate locations."

    Wed, 22 Jun 2011 12:30:01 +0000 Author : Robert Osfield ⚠ Resolved warnings reported by g++ 4.6's -Wunused-but-set-variable.Warnings were:

    /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osg/ShapeDrawable.cpp: In member function ‘void PrimitiveShapeVisitor::createHalfSphere(unsigned int, unsigned int, float, int, float, const Matrix&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osg/ShapeDrawable.cpp:1409:11: warning: variable ‘nzBase’ set but not used [-Wunused-but-set-variable] ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osg/ShapeDrawable.cpp:1410:11: warning: variable ‘nRatioBase’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/DelaunayTriangulator.cpp: In function ‘osgUtil::Triangle_list osgUtil::fillHole(osg::Vec3Array*, std::vector >)’: ✅ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/DelaunayTriangulator.cpp:569:27: warning: variable ‘ptest’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/DelaunayTriangulator.cpp: In member function ‘bool osgUtil::DelaunayTriangulator::triangulate()’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/DelaunayTriangulator.cpp:979:45: warning: variable ‘curp’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/RenderStage.cpp: In member function ‘void osgUtil::RenderStage::runCameraSetUp(osg::RenderInfo&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/RenderStage.cpp:631:18: warning: variable ‘stencilAttached’ set but not used [-Wunused-but-set-variable] 🏗 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/FadeText.cpp: In member function ‘void FadeTextPolytopeData::buildPolytope()’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/FadeText.cpp:74:20: warning: variable ‘edge23’ set but not used [-Wunused-but-set-variable] ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/FadeText.cpp:75:20: warning: variable ‘edge30’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/Text.cpp: In member function ‘void osgText::Text::computeBackdropPositions(unsigned int) const’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/Text.cpp:747:10: warning: variable ‘is_valid_size’ set but not used [-Wunused-but-set-variable] 🚚 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/NodeTrackerManipulator.cpp: In member function ‘virtual bool osgGA::NodeTrackerManipulator::performMovementLeftMouseButton(double, double, double)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/NodeTrackerManipulator.cpp:257:21: warning: variable ‘lookVector’ set but not used [-Wunused-but-set-variable] ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/NodeTrackerManipulator.cpp:259:21: warning: variable ‘upVector’ set but not used [-Wunused-but-set-variable] 🚚 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/TerrainManipulator.cpp: In member function ‘virtual bool osgGA::TerrainManipulator::performMovementMiddleMouseButton(double, double, double)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/TerrainManipulator.cpp:217:11: warning: variable ‘lookVector’ set but not used [-Wunused-but-set-variable] ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/TerrainManipulator.cpp:219:11: warning: variable ‘upVector’ set but not used [-Wunused-but-set-variable] 🛠 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgVolume/FixedFunctionTechnique.cpp: In member function ‘virtual void osgVolume::FixedFunctionTechnique::init()’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgVolume/FixedFunctionTechnique.cpp:124:30: warning: variable ‘tf’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgParticle/FluidProgram.cpp: In member function ‘virtual void osgParticle::FluidProgram::execute(double)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgParticle/FluidProgram.cpp:38:23: warning: variable ‘velBefore’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgShadow/ParallelSplitShadowMap.cpp: In member function ‘virtual void osgShadow::ParallelSplitShadowMap::cull(osgUtil::CullVisitor&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgShadow/ParallelSplitShadowMap.cpp:593:22: warning: variable ‘bb’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgTerrain/GeometryTechnique.cpp: In member function ‘virtual void osgTerrain::GeometryTechnique::generateGeometry(osgTerrain::GeometryTechnique::BufferData&, osgTerrain::Locator*, const osg::Vec3d&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgTerrain/GeometryTechnique.cpp:777:12: warning: variable ‘i_sampleFactor’ set but not used [-Wunused-but-set-variable] ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgTerrain/GeometryTechnique.cpp:778:12: warning: variable ‘j_sampleFactor’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/dds/ReaderWriterDDS.cpp: In function ‘osg::Image* ReadDDSFile(std::istream&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/dds/ReaderWriterDDS.cpp:314:10: warning: variable ‘is3dImage’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/dds/ReaderWriterDDS.cpp: In function ‘bool WriteDDSFile(const osg::Image*, std::ostream&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/dds/ReaderWriterDDS.cpp:721:10: warning: variable ‘is3dImage’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/hdr/hdrloader.cpp: In static member function ‘static bool HDRLoader::load(const char*, bool, HDRLoaderResult&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/hdr/hdrloader.cpp:101:10: warning: variable ‘cmd’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/vtf/ReaderWriterVTF.cpp: In function ‘osg::Image* ReadVTFFile(std::istream&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/vtf/ReaderWriterVTF.cpp:360:23: warning: variable ‘base’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/jp2/ReaderWriterJP2.cpp: In function ‘int putdata(jas_stream_t*, jas_image_t*, int)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/jp2/ReaderWriterJP2.cpp:41:13: warning: variable ‘linelen’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/Inventor/ConvertToInventor.cpp: In member function ‘void ConvertToInventor::processGeometry(const osg::Geometry*, ConvertToInventor::InventorState*)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/Inventor/ConvertToInventor.cpp:1639:10: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/Inventor/ConvertFromInventor.cpp: In member function ‘virtual SbBool SoVRMLImageTextureOsg::readInstance(SoInput*, short unsigned int)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/Inventor/ConvertFromInventor.cpp:1264:16: warning: variable ‘retval’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/GeometryRecords.cpp: In member function ‘virtual void flt::Face::readRecord(flt::RecordInputStream&, flt::Document&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/GeometryRecords.cpp:369:19: warning: variable ‘secondaryPackedColor’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/GeometryRecords.cpp: In member function ‘virtual void flt::Mesh::readRecord(flt::RecordInputStream&, flt::Document&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/GeometryRecords.cpp:942:19: warning: variable ‘secondaryPackedColor’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: In member function ‘virtual osgDB::ReaderWriter::ReadResult FLTReaderWriter::readNode(std::istream&, const Options*) const’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp:427:40: warning: variable ‘pos’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ive/ShapeAttributeList.cpp: In member function ‘void ive::ShapeAttributeList::write(ive::DataOutputStream*)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ive/ShapeAttributeList.cpp:31:48: warning: variable ‘it’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp: In member function ‘void ac3d::Geode::ProcessGeometry(std::ostream&, unsigned int)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:806:35: warning: variable ‘fRep_s’ set but not used [-Wunused-but-set-variable] ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:806:43: warning: variable ‘fRep_t’ set but not used [-Wunused-but-set-variable] ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:807:35: warning: variable ‘fOffset_s’ set but not used [-Wunused-but-set-variable] ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:807:46: warning: variable ‘fOffset_t’ set but not used [-Wunused-but-set-variable] ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:932:38: warning: variable ‘primLength’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_geom.cpp: In member function ‘virtual bool trpgGeometry::Write(trpgWriteBuffer&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_geom.cpp:615:19: warning: variable ‘u’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_material.cpp: In member function ‘int trpgMatTable::AddMaterial(const trpgMaterial&, bool)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_material.cpp:103:10: warning: variable ‘spaceInTable’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_rarchive.cpp: In member function ‘virtual bool trpgr_Archive::ReadHeader(bool)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_rarchive.cpp:261:14: warning: variable ‘headerHasTexTable’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/unzip.cpp: In member function ‘ZRESULT TUnzip::Get(int, ZIPENTRY*)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/unzip.cpp:4055:8: warning: variable ‘hidden’ set but not used [-Wunused-but-set-variable] ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/unzip.cpp:4055:22: warning: variable ‘system’ set but not used [-Wunused-but-set-variable] ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/unzip.cpp:4055:36: warning: variable ‘archive’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/ZipArchive.cpp: In member function ‘virtual bool ZipArchive::getFileNames(osgDB::Archive::FileNameList&) const’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/ZipArchive.cpp:91:37: warning: variable ‘iterEnd’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/pvr/ReaderWriterPVR.cpp: In member function ‘osgDB::ReaderWriter::ReadResult ReaderWriterPVR::readPVRStream(std::istream&) const’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/pvr/ReaderWriterPVR.cpp:155:14: warning: variable ‘hasAlpha’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp: In function ‘osg::Geometry* create3DSphericalDisplayDistortionMesh(const Vec3&, const Vec3&, const Vec3&, double, double, osg::Image*, const Matrix&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp:737:15: warning: variable ‘cursor’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp: In function ‘osg::Geometry* createParoramicSphericalDisplayDistortionMesh(const Vec3&, const Vec3&, const Vec3&, double, double, osg::Image*, const Matrix&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp:1130:19: warning: variable ‘cursor’ set but not used [-Wunused-but-set-variable] ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp:1118:15: warning: variable ‘dx’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/GraphicsWindowX11.cpp: In member function ‘virtual void osgViewer::GraphicsWindowX11::checkEvents()’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/GraphicsWindowX11.cpp:1181:10: warning: variable ‘destroyWindowRequested’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/cfg/ConfigParser.cpp: In member function ‘bool osgProducer::CameraConfig::parseFile(const string&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/cfg/ConfigParser.cpp:2247:13: warning: variable ‘result’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgQt/QGraphicsViewAdapter.cpp: In member function ‘bool osgQt::QGraphicsViewAdapter::handlePointerEvent(int, int, int)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgQt/QGraphicsViewAdapter.cpp:344:17: warning: variable ‘viewportGeometry’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp: In function ‘osg::Node* createDistortionSubgraph(osg::Node*, const Vec4&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp:125:19: warning: variable ‘cursor’ set but not used [-Wunused-but-set-variable] ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp:126:19: warning: variable ‘texcoord’ set but not used [-Wunused-but-set-variable] 📜 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp: In function ‘osg::Geometry* createDomeDistortionMesh(const Vec3&, const Vec3&, const Vec3&, osg::ArgumentParser&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp:358:15: warning: variable ‘cursor’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgposter/osgposter.cpp: In function ‘int main(int, char*)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgposter/osgposter.cpp:253:31: warning: variable ‘outputTiles’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgthreadedterrain/osgthreadedterrain.cpp: In function ‘int main(int, char)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgthreadedterrain/osgthreadedterrain.cpp:669:10: warning: variable ‘readParameter’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgtext3D/TextNode.cpp: In member function ‘virtual void osgText::Layout::layout(osgText::TextNode&) const’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgtext3D/TextNode.cpp:80:11: warning: variable ‘characterHeightScale’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgvolume/osgvolume.cpp: In function ‘int main(int, char)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgvolume/osgvolume.cpp:678:38: warning: variable ‘internalFormatMode’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgwidgetcanvas/osgwidgetcanvas.cpp: In function ‘bool windowMouseOver(osgWidget::Event&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgwidgetcanvas/osgwidgetcanvas.cpp:27:24: warning: variable ‘xy’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgwidgetcanvas/osgwidgetcanvas.cpp: In function ‘bool widgetMouseOver(osgWidget::Event&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgwidgetcanvas/osgwidgetcanvas.cpp:35:24: warning: variable ‘xy’ set but not used [-Wunused-but-set-variable] 📜 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/p3d/ReaderWriterP3D.cpp: In member function ‘osg::Node ReaderWriterP3DXML::parseXmlGraph(osgDB::XmlNode*, bool, osgDB::Options*) const’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/p3d/ReaderWriterP3D.cpp:2121:10: warning: variable ‘readSlide’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/applications/present3D/present3D.cpp: In function ‘int main(int, char**)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/applications/present3D/present3D.cpp:639:10: warning: variable ‘sizesSpecified’ set but not used [-Wunused-but-set-variable]

    Wed, 22 Jun 2011 09:12:12 +0000 Author : Robert Osfield 🛠 Fixed regression in --run-on-demand feature

    Tue, 21 Jun 2011 17:26:40 +0000 Author : Robert Osfield ✂ Removed assert() that always evaluated to true.

    Tue, 21 Jun 2011 13:01:23 +0000 Author : Robert Osfield ⚡️ From Torben Dannhauer, "originally I posted the addendum of 'freetype244MT', but that was wrong. I updated it to the correct addendum of 'freetype244' yesterday, but supposedly that was not forwarded to you by the forum-to-mail-gateway.Find attached the corrected CMake module. "

    Tue, 21 Jun 2011 10:15:03 +0000 Author : Robert Osfield ⚡️ Updated ChangeLog

    Tue, 21 Jun 2011 09:54:57 +0000 Author : Robert Osfield ➕ Added returns to end of files

    Tue, 21 Jun 2011 09:54:23 +0000 Author : Robert Osfield ➕ Added return to end of file

    Tue, 21 Jun 2011 09:53:34 +0000 Author : Robert Osfield Conveted tabs to four spaces and added a return to end of file

    Tue, 21 Jun 2011 09:29:32 +0000 Author : Michael PLATINGS 🛠 Fixed redundant "enumeration not handled in switch" warnings. Fixed a warning about a comparison between different enums - EUnifiedMappingType was being compared with EMappingType. In general the FBX SDK is moving away from Get & Set functions to giving direct access to properties, so I have changed GetMappingType() to CurrentMappingType.Get()

    Tue, 21 Jun 2011 09:00:01 +0000 Author : Robert Osfield ⚠ Disabled VisualStudio warning warning C4611: interaction between '_setjmp' and C++ object destruction is non-portable

    Mon, 20 Jun 2011 19:15:53 +0000 Author : Robert Osfield 🛠 Fixed a range of issues reported by cppcheck:[examples/osgphotoalbum/PhotoArchive.cpp:56]: (error) Memory leak: fileIndentifier [examples/osgphotoalbum/PhotoArchive.cpp:257]: (error) Deallocating a deallocated pointer: newData [examples/osgphotoalbum/PhotoArchive.cpp:318]: (error) Deallocating a deallocated pointer: newData [src/osg/ImageUtils.cpp:116]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:307]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:312]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:367]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:399]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:400]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:482]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:483]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:484]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:519]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:536]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:71]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:74]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:77]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:82]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:102]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:107]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:599]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:600]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:601]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:602]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:603]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:604]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:605]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:606]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:134]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:135]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:136]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:137]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:139]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:177]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:178]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:195]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:198]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:203]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:205]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:253]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/InputStream.cpp:553]: (error) Memory leak: data [src/osgDB/OutputStream.cpp:393]: (error) Memory leak: data 🔌 [src/osgPlugins/Inventor/ConvertToInventor.cpp:656]: (error) Mismatching allocation and deallocation: tmpArray 🔌 [src/osgPlugins/Inventor/ReaderWriterIV.cpp:237]: (error) Common realloc mistake: 'buf' nulled but not freed upon failure 🔌 [src/osgPlugins/OpenFlight/expGeometryRecords.cpp:167]: (portability) Extra qualification 'flt::' unnecessary and considered an error by many compilers. 🔌 [src/osgPlugins/OpenFlight/expGeometryRecords.cpp:373]: (portability) Extra qualification 'flt::' unnecessary and considered an error by many compilers. 🔌 [src/osgPlugins/cfg/CameraConfig.cpp:635]: (error) Unusual pointer arithmetic 🔌 [src/osgPlugins/freetype/FreeTypeLibrary.cpp:122]: (error) Memory leak: buffer 🔌 [src/osgPlugins/geo/ReaderWriterGEO.cpp:210]: (error) Possible null pointer dereference: gfd - otherwise it is redundant to check if gfd is null at line 211 🔌 [src/osgPlugins/geo/ReaderWriterGEO.cpp:227]: (error) Possible null pointer dereference: gfd - otherwise it is redundant to check if gfd is null at line 228 🔌 [src/osgPlugins/geo/ReaderWriterGEO.cpp:903]: (error) Possible null pointer dereference: gfd - otherwise it is redundant to check if gfd is null at line 904 🔌 [src/osgPlugins/geo/osgGeoNodes.h:180]: (error) Memory leak: geoHeaderGeo::intVars 🔌 [src/osgPlugins/geo/osgGeoNodes.h:181]: (error) Memory leak: geoHeaderGeo::useVars 🔌 [src/osgPlugins/geo/osgGeoNodes.h:182]: (error) Memory leak: geoHeaderGeo::extVars 🔌 [src/osgPlugins/md2/ReaderWriterMD2.cpp:180]: (error) Memory leak: mapbase 🔌 [src/osgPlugins/md2/ReaderWriterMD2.cpp:166]: (error) Resource leak: file_fd 🔌 [src/osgPlugins/pic/ReaderWriterPIC.cpp:152]: (error) Mismatching allocation and deallocation: tmpbuf 🔌 [src/osgPlugins/pic/ReaderWriterPIC.cpp:153]: (error) Mismatching allocation and deallocation: buffer 🔌 [src/osgPlugins/ply/plyfile.cpp:843]: (error) Memory leak: plyfile 🔌 [src/osgPlugins/pvr/ReaderWriterPVR.cpp:179]: (error) Memory leak: imageData 🔌 [src/osgPlugins/shp/ESRIShapeParser.cpp:29]: (error) Resource leak: fd 🔌 [src/osgPlugins/shp/XBaseParser.cpp:96]: (error) Resource leak: fd 🔌 [src/osgPlugins/zip/unzip.cpp:3158]: (error) Possible null pointer dereference: s - otherwise it is redundant to check if s is null at line 3159 🔌 [src/osgPlugins/zip/unzip.cpp:4155]: (error) Dangerous usage of 'rd' (strncpy doesn't always 0-terminate it) [src/osgShadow/MinimalCullBoundsShadowMap.cpp:334]: (error) Possible null pointer dereference: rl - otherwise it is redundant to check if rl is null at line 331 [src/osgViewer/ScreenCaptureHandler.cpp:617]: (error) Possible null pointer dereference: camera - otherwise it is redundant to check if camera is null at line 611 [src/osgViewer/ScreenCaptureHandler.cpp:632]: (error) Possible null pointer dereference: camera - otherwise it is redundant to check if camera is null at line 626 [src/osgVolume/Locator.cpp:209]: (error) Dangerous iterator usage after erase()-method. [src/osgVolume/RayTracedTechnique.cpp:274]: (error) Possible null pointer dereference: imageLayer - otherwise it is redundant to check if imageLayer is null at line 259 [src/osgVolume/RayTracedTechnique.cpp:275]: (error) Possible null pointer dereference: imageLayer - otherwise it is redundant to check if imageLayer is null at line 259 [src/osgWrappers/serializers/osg/ShaderBinary.cpp:28]: (error) Mismatching allocation and deallocation: data

    Mon, 20 Jun 2011 14:09:49 +0000 Author : Robert Osfield ✂ Removed unneccesary namespace qualifiers, and issue picked out by cppcheck.

    Mon, 20 Jun 2011 12:36:53 +0000 Author : Robert Osfield 👍 From Farshid Lashkari, BGR write support for BMP, PNG and TGA

    Mon, 20 Jun 2011 11:25:52 +0000 Author : Robert Osfield ➕ Added catch for window manager doesn't set the window size to full screen.

    Mon, 20 Jun 2011 09:28:39 +0000 Author : Robert Osfield ➕ Added check against Traits::overrideRedirct to prevent the fullscreen workaround being run when overrideRedirect is on as overrideRedirect switches off the window managers ability to manage the fullscreen so the problem doesn't need working around.

    Mon, 20 Jun 2011 09:22:57 +0000 Author : Robert Osfield ↪ Introduced a workaround for fullscreen toggle issues under modern X11 window managers.

    Mon, 20 Jun 2011 09:20:39 +0000 Author : Robert Osfield ➕ Added sleep before window resizing to make it less likely that the previous frames rendering traversal is still running when the window(s) is resized, something that creates what looks like a glitch in rendering.

    Sun, 19 Jun 2011 19:16:49 +0000 Author : Robert Osfield ⚡️ From Torben Dannhauer, "Just in time for OSG 3.0 I will present an updated 3rdParty package for VS2008 , which includes some updated libraries (libcurl, freetype, jpeg). It also provides now all debug databases (*.pdb), so all the annoying compile warnings about missing .pdb files are gone.I extended the CMAKE module to find the new library."

    Fri, 17 Jun 2011 16:55:49 +0000 Author : Robert Osfield 🚀 Updated version to 3.1.0 in prep for the first developer release for 3.x series

    Fri, 17 Jun 2011 12:57:31 +0000 Author : Robert Osfield ➕ Added extern "C" to fix build issues under OSX

    Fri, 17 Jun 2011 12:31:07 +0000 Author : Robert Osfield ⚡️ Updated ChangeLog, NEWS and READE for 3.0.0-rc1

    Fri, 17 Jun 2011 11:47:47 +0000 Author : Robert Osfield ⚡️ Updated version number

    Fri, 17 Jun 2011 11:47:33 +0000 Author : Robert Osfield 🛠 Fixed Jorge Izquierdo name.

    Fri, 17 Jun 2011 11:02:40 +0000 Author : Robert Osfield 🚀 Updated OpenThreads version number for stable release

    Fri, 17 Jun 2011 10:35:00 +0000 Author : Robert Osfield 🏗 Tempory fix for static build of Present3D which disables the use of ffmpeg when compiling static, will need to look into unresolved symbols assoiated with FFMPEG at a later date.

    Fri, 17 Jun 2011 09:20:57 +0000 Author : Robert Osfield ⚡️ Updated AUTHORS file for 3.0.0-rc1

    Fri, 17 Jun 2011 09:19:11 +0000 Author : Robert Osfield ⚡️ Updated ChangeLog

    Fri, 17 Jun 2011 09:05:48 +0000 Author : Robert Osfield From Jan Peciva, "sending updated version of StencilTwoSided. It supports now even GL_ATI_separate_stencil extension and there are more OSG_INFOs to see, which API is used."

    Fri, 17 Jun 2011 09:02:22 +0000 Author : Robert Osfield ⚡️ Updated version number of 3.0.0-rc1

    Fri, 17 Jun 2011 08:47:36 +0000 Author : Robert Osfield ➕ Added GLES version checks to prevent build problems under GLES1 and GLES2

    Fri, 17 Jun 2011 08:42:54 +0000 Author : Robert Osfield Refined the version checking

    Fri, 17 Jun 2011 08:41:56 +0000 Author : Robert Osfield 🏗 Build fix

    Fri, 17 Jun 2011 08:26:51 +0000 Author : Robert Osfield 🚚 From Ulrich Hertlein, "the OS X/Cocoa implementation logs some debug junk on every key stroke. The attached patch removes this."

    Fri, 17 Jun 2011 08:15:18 +0000 Author : Robert Osfield From Jorge Ciges, "This is one of those bugs that you don't find until you try to compile under another pc that doesn't have Cmake 2.8."

    Fri, 17 Jun 2011 06:22:01 +0000 Author : Robert Osfield 🛠 Fixed warning

    Fri, 17 Jun 2011 06:09:25 +0000 Author : Robert Osfield 🛠 Fixed warnings

    Fri, 17 Jun 2011 05:57:29 +0000 Author : Robert Osfield ➕ Added disabling of VisualStudio warning C4324 : structure was padded due to __declspec(align())

    Thu, 16 Jun 2011 18:43:58 +0000 Author : Robert Osfield 🛠 Fixed warnings.

    Thu, 16 Jun 2011 18:25:46 +0000 Author : Robert Osfield ➕ Added support for new InternalTextureFormatModes

    Thu, 16 Jun 2011 18:12:55 +0000 Author : Robert Osfield ➕ Added wider file extension support to ExternalFileWriter::generateObjectName

    Thu, 16 Jun 2011 16:02:27 +0000 Author : Robert Osfield 🔌 From Farshid Lashkari, "Attached is a small patch that adds support for writing BGR images to the DDS plugin."

    Thu, 16 Jun 2011 16:00:33 +0000 Author : Robert Osfield From John Cummings, "While testing recent OSG developer releases and the subversion trunk, I have noticed that on my 64-bit Linux machines, all of the OSG libraries get installed into the "lib64" directory as I would expect. However, the OpenThreads library gets installed into the "lib" directory when selecting "Build OpenThreads with Qt threading support." That is, with the BUILD_OPENTHREADS_WITH_QT set to ON.I am attaching the a fix for this issue in the file:

    src/OpenThreads/qt/CMakeLists.txt

    It simply adds ${LIB_POSTFIX} to the destination as in done with all ✅ other CMakeLists.txt with libraries in OSG. I have tested it on both 🐧 32-bit and 64-bit Linux."

    Thu, 16 Jun 2011 15:57:40 +0000 Author : Robert Osfield 🏁 Windows warning fixes

    Thu, 16 Jun 2011 13:00:28 +0000 Author : Robert Osfield 🛠 Fixed indentation issues

    Thu, 16 Jun 2011 10:05:49 +0000 Author : Robert Osfield 👌 Improved indentation.

    Thu, 16 Jun 2011 08:59:48 +0000 Author : Robert Osfield Replaced tabs with four spaces

    Thu, 16 Jun 2011 08:46:30 +0000 Author : Robert Osfield From Jean-Christophe Lombardo, "On Fedora 14, dcmtk libs are under /usr/lib/dcmtk. I've added a PATH_SUFFIX to take that into account"

    Wed, 15 Jun 2011 18:31:11 +0000 Author : Robert Osfield 👌 Improved the handling of compiling vs flushing deleted objects

    Wed, 15 Jun 2011 17:00:44 +0000 Author : Robert Osfield 🔄 Changed the key handling code to use EventQueue::getTime() rather then the theEvent timestamp.

    Wed, 15 Jun 2011 09:36:34 +0000 Author : Robert Osfield 🛠 Fixed blitting of FBO's with multiple render targets.

    Wed, 15 Jun 2011 09:35:25 +0000 Author : Robert Osfield ✅ From Anthousis Andreadis, added multiple sampling test for multiple rendering targets which is activated by the --ms command line option.

    Tue, 14 Jun 2011 18:10:27 +0000 Author : Robert Osfield ⚡️ From Jorge Ciges, "Update to FindAndroidNDK to make it use the latest Ndk (r5c) automatically.That fixes compatibilities with some 2.1 devices. And it looks like all goes well."

    Tue, 14 Jun 2011 16:54:20 +0000 Author : Robert Osfield Replaced .osg with .osgt file usage

    Tue, 14 Jun 2011 16:50:40 +0000 Author : Robert Osfield 👌 Improved the handling of command line parameters

    Tue, 14 Jun 2011 15:55:36 +0000 Author : Robert Osfield ⚡️ Updated version

    Tue, 14 Jun 2011 15:48:27 +0000 Author : Robert Osfield ➕ Added support osg::State::drawQuad(..) for number of vertices in quads to uint range rather than just ushort range.

    Tue, 14 Jun 2011 12:44:44 +0000 Author : Robert Osfield 🛠 Fixed issue with events having a negative delta of time between them.

    Tue, 14 Jun 2011 10:15:12 +0000 Author : Robert Osfield ➕ Added GLBufferObject::computeBufferAlignment(..) method to enable buffer entries to be aligned along specified buffer alignment boundaries, currently defaulting to 4.

    Tue, 14 Jun 2011 09:16:44 +0000 Author : Robert Osfield 🏁 From Stephan Huber, "attached you'll find a fix for the non-working useCursor()-method for Windows. With the old code you can switch off the cursor, but not back on."

    Tue, 14 Jun 2011 09:11:58 +0000 Author : Robert Osfield ✂ Removed executable permission.

    Tue, 14 Jun 2011 09:01:54 +0000 Author : Robert Osfield 🏗 From Stephan Huber, "attached you'll find some tweaks for the FindQuicktime and > FindQTKit-cmake-plugins, so they get disabled for ios-builds."

    Mon, 13 Jun 2011 15:20:48 +0000 Author : Robert Osfield 🛠 Fixed wild card search when wild card filename includes a path.

    Mon, 13 Jun 2011 08:52:11 +0000 Author : Robert Osfield 💅 From Jeremy Moles, fixed style == operator.

    Mon, 13 Jun 2011 08:45:25 +0000 Author : Robert Osfield 🏗 From Stephan Huber, build fix for IOS

    Fri, 10 Jun 2011 11:42:02 +0000 Author : Robert Osfield ➕ Added handling of s/gUserValue() directly on a UserDataContainer.

    Thu, 9 Jun 2011 14:20:46 +0000 Author : Robert Osfield 🚀 Updated ChangeLog and AUTHORS file for 2.9.16 dev release

    Thu, 9 Jun 2011 14:11:04 +0000 Author : Robert Osfield From Jorge Ciges, "two clean example viewers (GLES1/2) that permit load models withouth recompiling by options in the menu and some basic options. basic options.As Rafa and I told you earlier this can't be integrated in the CMAKE chain. It needs to be compiled by the user out of the OSG standard compilation. It could be stored in the examples. That way users will not come here asking for the examples.

    Main characteristics are:

    -Menu with loading and unloading by path. -Return to home view -Keyboard capabilities with manipilator switch and basic state changing. -Change color screen. 🌲 -Osg log bypassed to LogCat (This comes practically straight from Marcin Hajder example I've only added personal TAG) -Earmbi / Earmbi V7 👍 -Install to SD (if the device supports the feature)

    🏗 And that's all. Now I'm looking to fix the environmental mapping with true GLES (it does not work well in Android) I will try to make it in time for 3.0. The other work that i'm studying Dynamic build with Android but that will need a lot of time to test.

    Thu, 9 Jun 2011 12:57:14 +0000 Author : Robert Osfield ♻️ Refactored the UserDataContainer so that the osg::UserDataContainer is now a pure virtual base class, with a osg::DefaultUserDataContainer subclassed from this. The user object access methods have now all been moved from osg::Object into the UserDataContainer class, except for the set/getUserData() methods that are left in osg::Object for backwards compatibility, and the description list access methods have been moved back into osg::Node.main UserObject access methods are now all def

    Thu, 9 Jun 2011 11:07:27 +0000 Author : Robert Osfield From Mathias Froehlich, "the attached patch adds an additional null pointer check"

    Thu, 9 Jun 2011 11:05:36 +0000 Author : Robert Osfield From Mathias Froehlich, "The attached patch adds the polygon primitive to the TangentSpace computation. As far as I understand, this should just work for the polygon as well as with the tristrip primitive. "

    Thu, 9 Jun 2011 10:48:19 +0000 Author : Robert Osfield 🔄 Changed the defaults volume setting to not enable the SampleDensityWhenMoving property.

    Wed, 8 Jun 2011 17:45:24 +0000 Author : Robert Osfield Cleaned up example to use the new ImageUtils functions for creating a 3D image from a list of images.

    Wed, 8 Jun 2011 16:10:46 +0000 Author : Robert Osfield ➕ Added support for creating a 3D Image from an image list.Added support for reading a list of images in the Present3D tag.

    Wed, 8 Jun 2011 09:28:59 +0000 Author : Robert Osfield ✂ Removed OSG_EXPORT

    Wed, 8 Jun 2011 09:24:50 +0000 Author : Robert Osfield Introduced a less conservative near ratio.

    Wed, 8 Jun 2011 09:24:29 +0000 Author : Robert Osfield Simplified the osgdepthpartion example to use the osgView::View::setUpDepthPartition(..) feature

    Tue, 7 Jun 2011 20:24:49 +0000 Author : Robert Osfield ➕ Added support for reading .osg, .osgb, .osgx, .osgt and .ive models that contain volumes from within the volume tag.

    Tue, 7 Jun 2011 16:17:35 +0000 Author : Robert Osfield ➕ Added support for .osgt, .osgb and .osgx plugins to osgvolume example

    Tue, 7 Jun 2011 15:33:35 +0000 Author : Robert Osfield 🚀 Updated ChangeLog and AUTHORS file for release

    Tue, 7 Jun 2011 14:28:58 +0000 Author : Robert Osfield ⚡️ From Sukender, "Lastest change (update to FBX 2012.1) introduced a regression. It didn't take materials' order into consideration. The line lMaterialLayer->GetDirectArray().SetAt(it->second.getIndex(), lMaterial); has been replaced by _curFbxNode->AddMaterial(lMaterial); because KFbxLayerElementMaterial::GetDirectArray() is now private and we can't access to it. However, pushing back the material at the end of the vector is wrong. We can use the (now) public attribute KFbxLayerElementMaterial::mDirectArray, as in this submission. "

    Tue, 7 Jun 2011 14:26:13 +0000 Author : Robert Osfield 🏗 From Mathias Froehlich, build fixes for legacy unix systems

    Tue, 7 Jun 2011 13:02:20 +0000 Author : Robert Osfield ➕ Added ability to subclass from osg::Object to provide custom user data functionality. A new UserDataContainer provides the default implementation of the user data functionality.

    Tue, 7 Jun 2011 09:28:38 +0000 Author : Robert Osfield ➕ Added the return of the index position of the added UserObject

    Tue, 7 Jun 2011 08:53:03 +0000 Author : Robert Osfield ➕ Added support for searching for user objects from a given startPosition in the UserDataContainer object.

    Mon, 6 Jun 2011 11:48:32 +0000 Author : Robert Osfield From Frida Schlaug, "Imageio for ios had a poorly implemented function for reading from streams (always returning null). In this patch I copied some code from the non-ios imageio file and adjusted it to work on ios. "

    Mon, 6 Jun 2011 11:45:25 +0000 Author : Robert Osfield From Jorge Ciges, Minor tweaks in Android makefiles that make possible to compile for armeabi v7 with neon

    Mon, 6 Jun 2011 11:44:21 +0000 Author : Robert Osfield From Jorge Ciges, Minor tweaks in Android makefiles that make possible to compile for armeabi v7 with neon

    Fri, 3 Jun 2011 15:58:36 +0000 Author : Robert Osfield ➕ Added support for --tf-255 transfer function files

    Fri, 3 Jun 2011 13:47:59 +0000 Author : Robert Osfield ➕ Added support for using the sampleDensityWhenMoving tag with all techniques

    Thu, 2 Jun 2011 22:49:29 +0000 Author : Robert Osfield ➕ Added extra check to make sure that _userDataContainer was available before copying it

    Thu, 2 Jun 2011 22:07:16 +0000 Author : Robert Osfield ➕ Add new macro's to help with serialization of new user objects

    Thu, 2 Jun 2011 22:06:56 +0000 Author : Robert Osfield ➕ Added new osguserdata example as a guide to the new user object API and as a testbed

    Thu, 2 Jun 2011 22:05:10 +0000 Author : Robert Osfield ➕ Added support for new osg::Object user objects.

    Thu, 2 Jun 2011 22:04:08 +0000 Author : Robert Osfield ♻️ Introduced new user object support into osg::Object that allows assignment of a list of user objects to an osg::Object.Refactored original UserData and Descriptions strings to be managed alongside the new user object suppport within a single osg::Object::UserDataContainer.

    Thu, 2 Jun 2011 21:32:03 +0000 Author : Robert Osfield ⚡️ Updated version

    Thu, 2 Jun 2011 20:38:13 +0000 Author : Robert Osfield ➕ Added ref_ptr<> usage to avoid possible memory leak.

    Thu, 2 Jun 2011 14:42:21 +0000 Author : Robert Osfield 🚀 Updated version and so number for next dev release

    Mon, 30 May 2011 15:43:18 +0000 Author : Robert Osfield 🚀 Updated AUTHORS and ChangeLog for 2.9.15 dev release

    Mon, 30 May 2011 13:02:13 +0000 Author : Robert Osfield 🏗 From Dimi Christop, build fix for RHEL 4.

    Mon, 30 May 2011 09:26:24 +0000 Author : Robert Osfield ➕ Added closing of the _eventDisplay on failure of initializing the context properly.

    Mon, 30 May 2011 09:25:11 +0000 Author : Robert Osfield 🛠 Fixed X11 related crash that occured when GraphicsWindow::setCursor was called right after viewer.realize(); The fix was to simply move the setting of the thread that has done the makeCurrent to right before the makeCurrent() rather than right after.

    Mon, 30 May 2011 08:26:43 +0000 Author : Robert Osfield From Wang Rui, "The submission fixes the spelling bug we discussed in osg-users. It replaces the variable ACTUAL_3DPARTY_DIR to ACTUAL_3RDPARTY_DIR with back compatibility. Please find it in attachment. "

    Mon, 30 May 2011 08:24:34 +0000 Author : Robert Osfield 🛠 From Terry Welsh, "I was having a small culling problem with osgText... new TextBase.cpp that fixes it."

    Fri, 27 May 2011 16:04:18 +0000 Author : Robert Osfield ⏪ Reverted part of revision r12294 that introduced threading related problems under X11 due to checking the _display Display member variable assigned to the graphics thread from the main thread.

    Fri, 27 May 2011 11:22:43 +0000 Author : Robert Osfield ⚡️ From Ryan Pavlik, "Existing osgconv behavior is to transform the model bounding sphere center to the world origin before performing transformations specified on the command line, and translating back after rotation and scaling unless an alternate translation is specified. This patch adds a setting to the OrientationConverter class in osgconv to disable this extra transformation, which has the effect of applying specified transforms with respect to the input world coordinate system, rather than to the center of the bounding sphere. It also adds a command line argument "--use-world-frame" to enable this behavior. When this command line argument is not passed, behavior is unchanged from before the patch. The usage text has been updated to reflect this additional option, and the comments in OrientationConverter are also updated."Note from Robert Osfield, tweaked the OrientationConverter.cpp a little to improve readability.

    Fri, 27 May 2011 11:18:44 +0000 Author : Robert Osfield 🛠 Fixed indentation

    Fri, 27 May 2011 11:07:04 +0000 Author : Robert Osfield 🛠 Fixed the searchAndReplace function so that it correctly skips over the newly inserted replacement strings.

    Fri, 27 May 2011 09:08:48 +0000 Author : Robert Osfield 📚 From Jean-Sebastien Guay, "I like the recent addition that adds folders in the solution tree to better organize the numerous examples, libraries, plugins etc.I added two folders that were missing IMHO: packaging and documentation. "

    Fri, 27 May 2011 09:05:20 +0000 Author : Robert Osfield 🚀 From Eric Sokolowsky, "Attached is an updated PNM plugin for inclusion in both the trunk and for release version 2.8.5. The attached file fixes numerous bugs in reading 8-bit and 16-bit images, including loading the images upside-down. This file also incorporates trunk patch r12220 which updated the plugin for reading and writing images through streams instead of C-style FILE I/O."Note from Robert Osfield, previous revision was in error due to an incomplete merge, this revision completes the job.

    Fri, 27 May 2011 09:00:53 +0000 Author : Robert Osfield 🚚 From Laurens Voerman, "While working on the osg exporter for 3dsmax I found a bug in the TriStripVisitor. I created a small example (attached), and a modified version of src\osgUtil\TriStripVisitor.cpp where the problem is removed."

    Fri, 27 May 2011 08:55:37 +0000 Author : Robert Osfield 🚀 From Eric Sokolowsky, "Attached is an updated PNM plugin for inclusion in both the trunk and for release version 2.8.5. The attached file fixes numerous bugs in reading 8-bit and 16-bit images, including loading the images upside-down. This file also incorporates trunk patch r12220 which updated the plugin for reading and writing images through streams instead of C-style FILE I/O."

    Fri, 27 May 2011 08:22:16 +0000 Author : Robert Osfield ⏪ Reverted Bryce Eldrige submission.

    Thu, 26 May 2011 16:52:08 +0000 Author : Robert Osfield Form Jorge Ciges, improved GL version detection code.

    Thu, 26 May 2011 16:34:33 +0000 Author : Robert Osfield 🛠 From Dietmar Funck, "I've noticed an issue when writing arrays of type Vec2D and Vec3D to a .osgb file. A number is written to the output stream to identify the array type. In case of Vec2D and Vec3D arrays Vec4D is written as array type - I guess this is a copy and paste mistake. Writing the correct array types fixes the issue - in my case it fixes writing and afterwards reading geometry instances."

    Thu, 26 May 2011 16:26:50 +0000 Author : Robert Osfield From Bryce Eldridge, "Here is an update for the TIFF plugin that includes the following features when writing out TIFF files:- Support for writing unsigned 16-bit images (GL_UNSIGNED_SHORT)

    • 📜 Code to parse the options string for the following options: -- 🏁 Flag to turn off the compression. The PACKBITS compression type causes issues for me with some programs on Windows (Picasa for example). -- Options to set the XRESOLUTION and YRESOLUTION tags (DPI) in the TIFF file.

    0️⃣ Existing behavior (PACKBITS compression, DPI tags left at default) is preserved if the options string is not set. "

    Thu, 26 May 2011 16:19:54 +0000 Author : Robert Osfield Fixed default setting of texture_no_tile to match the flags seet in lib3ds_material.cpp initialize_texture_map(..).

    Thu, 26 May 2011 16:16:11 +0000 Author : Robert Osfield From Oliver Neumann,"I checked your solution and found one missing point which makes it still produce the tif error: 👀 The very first seek_set on the empty stream with zero offset."

    "This means that the empty stream is seeked again resulting in the fail bit to be set. Your code does not check this case, furthermore you use t_off instead of std::ostream::streampos for the tellp() calls. In this special case (empty stream) tellp() returns -1 which is cast to 0xFFFFFFFFFF as t_off is unsigned. I suggest this addition to your code (within the switch statement)"

    Thu, 26 May 2011 16:13:04 +0000 Author : Robert Osfield 🛠 Fixed indentation

    Thu, 26 May 2011 15:47:20 +0000 Author : Robert Osfield 🛠 Fixed handling of changes in gl buffer object size so that when a gl buffer object is resized all the buffer data is recompiled.

    Wed, 25 May 2011 12:41:49 +0000 Author : Robert Osfield 🚚 From Bradley Anderegg, "Ok, I am re-submitting this with the changes we discussed. That is, there is a default implementation of osgDB::Archive::getDirectoryContents() that uses getFileNames(), and the osgDB::ArchiveExtended header was removed as it is now unnecessary.Here is a quick list of the modified files:

    Archive - getDirectoryContents() no longer pure virtual 0️⃣ Archive.cpp - default getDirectoryContents() implementation unzip.cpp - modified to fix a bug where the same file will not load twice in a row 👍 ZipArchive.h / ZipArchive.cpp - extends osgDB::Archive and provides support for random access loading within a .zip file ReaderWriterZip.cpp - modified to use the ZipArchive class"

    Wed, 25 May 2011 09:34:53 +0000 Author : Robert Osfield ⚡️ Updated ChangeLog

    Wed, 25 May 2011 09:34:02 +0000 Author : Robert Osfield 🏗 From Olaf Flebbe, fixes for OSX AGL build

    Wed, 25 May 2011 09:13:26 +0000 Author : Robert Osfield ✂ Removed now redundent local implementation of getDirectoryContexts()

    Wed, 25 May 2011 09:04:44 +0000 Author : Robert Osfield 🚚 From Bradley Anderegg, "Ok, I am re-submitting this with the changes we discussed. That is, there is a default implementation of osgDB::Archive::getDirectoryContents() that uses getFileNames(), and the osgDB::ArchiveExtended header was removed as it is now unnecessary.Here is a quick list of the modified files:

    Archive - getDirectoryContents() no longer pure virtual 0️⃣ Archive.cpp - default getDirectoryContents() implementation unzip.cpp - modified to fix a bug where the same file will not load twice in a row 👍 ZipArchive.h / ZipArchive.cpp - extends osgDB::Archive and provides support for random access loading within a .zip file ReaderWriterZip.cpp - modified to use the ZipArchive class"

    Tue, 24 May 2011 13:05:44 +0000 Author : Robert Osfield 🍎 From Olaf Flebbe, "build out-of-the box on MacOSX. The default windowing system is carbon and it needs the AGL OpenGL Windowing binding framework, which is missing. osgViewer does not link therefore. Cocoa does not use AGL.The fix adds the AGL Framework to the Carbon link line for osgViewer"

    Tue, 24 May 2011 10:20:36 +0000 Author : Robert Osfield 🛠 Fixed Coverity issues.CID 11669: Uninitialized pointer field (UNINIT_CTOR) Non-static class member _glAttachShader is not initialized in this constructor nor in any functions that it calls. Non-static class member _glBindAttribLocation is not initialized in this constructor nor in any functions that it calls. ...

    CID 11699: Uninitialized scalar field (UNINIT_CTOR) 👍 Non-static class member _areTessellationShadersSupported is not initialized in this constructor nor in any functions that it calls.

    Tue, 24 May 2011 10:19:22 +0000 Author : Robert Osfield 🛠 Fixed Coverity issue.CID 12328: Resource leak (RESOURCE_LEAK) 👯 Calling allocation function "osg::KdTree::cloneType() const". (The virtual call resolves to "osg::Object * osg::KdTree::cloneType() const".) [show details] 👯 Failing to save storage allocated by "this->_kdTreePrototype->cloneType()" leaks it.

    Tue, 24 May 2011 10:18:47 +0000 Author : Robert Osfield 🛠 Fixed Coverity issue.CID 11692: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _allocationMode is not initialized in this constructor nor in any functions that it calls.

    Tue, 24 May 2011 10:18:05 +0000 Author : Robert Osfield 🛠 Fixed Coverity issue.CID 11668: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _primitiveMode is not initialized in this constructor nor in any functions that it calls.

    Tue, 24 May 2011 10:16:12 +0000 Author : Robert Osfield 🛠 Fixed 3 Coverity issues.CID 11697: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _type is not initialized in this constructor nor in any functions that it calls.

    CID 11698: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _type is not initialized in this constructor nor in any functions that it calls.

    CID 12329: Resource leak (RESOURCE_LEAK) 🔌 Calling allocation function "osg::Object::clone(osg::CopyOp const &) const". (The virtual call resolves to "osg::Object * GDALPlugin::DataSetLayer::clone(osg::CopyOp const &) const".) [show details] 👯 Failing to save storage allocated by "this->getVertexArray()->clone(struct osg::CopyOp const(128U))" leaks it.

    Tue, 24 May 2011 10:15:39 +0000 Author : Robert Osfield 🛠 Fixed Coverity issue.CID 11696: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _simulationTime is not initialized in this constructor nor in any functions that it calls.

    Tue, 24 May 2011 10:15:17 +0000 Author : Robert Osfield 🛠 Fixed Coverity issue.CID 11695: Uninitialized pointer field (UNINIT_CTOR) Non-static class member _ximpl is not initialized in this constructor nor in any functions that it calls.

    Tue, 24 May 2011 10:14:45 +0000 Author : Robert Osfield 🛠 Fixed Coverity issue.CID 11694: Uninitialized scalar field (UNINIT_CTOR) 👍 Non-static class member _isARBOcclusionQuerySupported is not initialized in this constructor nor in any functions that it calls.

    Tue, 24 May 2011 10:14:03 +0000 Author : Robert Osfield 🛠 Fixed Coverity issue.CID 11666: Uninitialized pointer field (UNINIT_CTOR) Non-static class member _glMultiTexCoord1dv is not initialized in this constructor nor in any functions that it calls. Non-static class member _glVertexAttrib1dv is not initialized in this constructor nor in any functions that it calls.

    Tue, 24 May 2011 10:13:07 +0000 Author : Robert Osfield 🛠 Fixed Coverity issue.CID 11691: Uninitialized scalar field (UNINIT_CTOR) 👍 Non-static class member _isPBOSupported is not initialized in this constructor nor in any functions that it calls. 👍 Non-static class member _isUniformBufferObjectSupported is not initialized in this constructor nor in any functions that it calls.

    Tue, 24 May 2011 10:08:40 +0000 Author : Robert Osfield 🛠 Fixed build error

    Mon, 23 May 2011 16:58:49 +0000 Author : Robert Osfield ✂ Removed unused numX, numY member variables, and added initializer for firstHeaderWrite.

    Mon, 23 May 2011 08:17:02 +0000 Author : Robert Osfield ➕ Added CullVisitor::setCalculatedNearPlane() and setCalculatedFarPlane(() methods to enable 3rd party code to manage the compute of the near/far planes.

    Thu, 19 May 2011 13:25:03 +0000 Author : Robert Osfield 0️⃣ Uppded the default acceleration as it was too slow for reasonable sized models

    Tue, 17 May 2011 12:57:46 +0000 Author : Robert Osfield From Sukender, "There was a stupid parameter inversion in ExternalFileWriter.cpp. Sorry for this. Here is the fix."

    Tue, 17 May 2011 09:21:32 +0000 Author : Robert Osfield From Wang Rui, added close button hint

    Mon, 16 May 2011 12:44:39 +0000 Author : Robert Osfield From Stephan Huber, "proposed changes allows the user to add a osgGraphicsWindowIOS as an UIView, respecting the sizes via GraphicsContext::Traits. This helps users, who want to integrate osg into an existing ios-app with multiple UIViews. Additinally a view-controller gets only created if needed, set IGNORE_ORIENTATION via the WindowData-struct. "

    Mon, 16 May 2011 10:07:20 +0000 Author : Robert Osfield 0️⃣ From Sukender, I wrapped my change about non-empty texture units in an off-by-default option, so that it doesn't break any existing code. But AFAIK, other readers (except OSGx) generate contiguous texture units, so I guess this option to be useful for users.Other changes in this sumbission include the added ability to tessellate polygons in Collada reader, with appropriate options.

    • No tessellation
    • Tessellate as triangle fan (previous behaviour, kept as default for backward-compatibility)
    • Full tessellation

    🚚 I also put auto_ptr<> for RAII of DAE structure (as discussed), and moved reader options in a structure, as for the writer.

    🔀 Code also make use of osgDB::ExternalFileWriter I submitted, so please merge this submission after the PluginImageWriter one.

    Mon, 16 May 2011 09:17:30 +0000 Author : Robert Osfield 📇 Renamed example from osgviewerQtContext to osgviewerQt.

    Mon, 16 May 2011 09:16:22 +0000 Author : Robert Osfield ⚡️ Updated example to use new GraphicsWindowQt::getGLWidget() method instead of deprecated getGraphWidget() method

    Mon, 16 May 2011 09:15:02 +0000 Author : Robert Osfield ➕ Added support for setting threading model from command line and changed default threading model to CullDrawThreadPerContext. New command line options are: osgviewerQtContext --SingleThreaded osgviewerQtContext --CullDrawThreadPerContext osgviewerQtContext --DrawThreadPerContext osgviewerQtContext --CullDrawThreadPerContext

    Mon, 16 May 2011 09:06:06 +0000 Author : Robert Osfield From Jan Peciva, I have improved GraphicsWindowQt:- renamed osgQt::GraphWidget to osgQt::GLWidget 👍 as it better fits to Qt naming (osgQt::GLWidget is derived from QGLWidget while recent GraphWidget... it is unclear, maybe QGraphicsView, QGraphicsScene,....)

    • ➕ added the code to properly manage ON_DEMAND rendering scheme (involves osgQt::setViewer() and internal HeartBeat class)
    • ➕ added forward key events functionality. It allows to not eat the key events by GLWidget, but it forwards them to Qt processing as well.
    • destroying GLWidget before GraphicsWindowQt and vice versa does not crash the application
    • it is possible to request particular QGLFormat in GLWidget constructor
    • ➕ added QtWindowingSystem class
    • 🛠 multithread OSG rendering improvements/fixes

    --

    From Robert Osfield, added back in getGraphWidget() method for backwards compatibility.

    Mon, 16 May 2011 08:59:10 +0000 Author : Robert Osfield 🛠 Fixed traling spaces

    Mon, 16 May 2011 08:50:59 +0000 Author : Robert Osfield From Rafa Gata, I've been playing around with serializers in order to use it as a "generic" property mechanism for osg::Object.The main problem I have found is that InputStream and OutputStream only takes the stream when you call start method, and in that case it attaches to the stream buffer some stuff, useful for files but not for ⚙ runtime/gui usage. I have added a simple setInputIterator and setOutputIterator to the classes so now you can easily serialize values without version and other stuff.

    Writing matrix: osgDB::OutputStream os(0); std::stringstream sstream; os.setOutputIterator(new AsciiOutputIterator(&sstream)); os << matrix; std::string value = sstream.str();

    Reading matrix: osgDB::InputStream is(0); std::stringstream sstream(value); is.setInputIterator(new AsciiInputIterator(&sstream)); osg::Matrixf mat2; is >> mat2;

    From Robert Osfield, added doxygen comments to clarify the role of the methods.

    Sun, 15 May 2011 08:27:04 +0000 Author : Robert Osfield 🏗 From Wang Rui, build fix

    Fri, 13 May 2011 19:19:00 +0000 Author : Robert Osfield ⚡️ Updated SO version as the osgText and osgQt libraries API have changed, albeit only by a small amount.

    Fri, 13 May 2011 19:08:04 +0000 Author : Robert Osfield 🛠 Fixed handling of Font implementations that don't handle multiple font resolutions.

    Fri, 13 May 2011 11:20:48 +0000 Author : Robert Osfield 👌 Improved the size, advance and bearing settings

    Thu, 12 May 2011 18:52:18 +0000 Author : Robert Osfield 🏗 Warning and build fixes

    Thu, 12 May 2011 18:40:18 +0000 Author : Robert Osfield ➕ Added newline to end of file

    Thu, 12 May 2011 14:07:15 +0000 Author : Robert Osfield From Sukender, ported across to use the new osgDB::ExternalFileWriter

    Thu, 12 May 2011 13:27:14 +0000 Author : Robert Osfield From Sukender, new ExternalFileWriter helper class that helps the management of writing out external files to disk avoid writing out of duplicates.

    Thu, 12 May 2011 13:12:07 +0000 Author : Robert Osfield From Sukender, "Here is a tiny fix which adds missing virtual methods in osgUtil::TransformAttributeFunctor, to handle Vec3d."

    Thu, 12 May 2011 13:08:02 +0000 Author : Robert Osfield ✂ Removed unused parameter

    Thu, 12 May 2011 12:28:43 +0000 Author : Robert Osfield From Wang Rui, "A Chinese engineer (named Beilei Geng) reports a possible bug in the osg2cpp application to me today. The conversion result may become incorrect if there are quotation marks ( " ) in the shader file, which will mostly appear in comment lines.Replace all " into \" before writing to cpp files will solve the problem, as the attached file shows."

    Thu, 12 May 2011 11:45:29 +0000 Author : Robert Osfield From Rene Molenaar, "I have found a problem regarding manifest in the plugins, see http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/src/CMakeLists.txt the option OSG_MSVC_GENERATE_PLUGINS_AND_WRAPPERS_MANIFESTS is set to ON only after the subdirectories are added, this causes /MANIFEST:NO while the option is ON after the first configure, generate.if this option is moved (i.e. above the ADD_SUBDIRECTORY statement) results are as expected.

    attached you will find the correct CMakeLists.txt "

    Thu, 12 May 2011 10:28:47 +0000 Author : Robert Osfield ✂ Removed redundent method

    Thu, 12 May 2011 10:10:49 +0000 Author : Robert Osfield ➕ Added setting of size.

    Mon, 9 May 2011 10:54:50 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11812: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _lastFrameUsed is not initialized in this constructor nor in any functions that it calls. Non-static class member _s is not initialized in this constructor nor in any functions that it calls. Non-static class member _t is not initialized in this constructor nor in any functions that it calls.

    Mon, 9 May 2011 10:54:10 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11813: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _endian is not initialized in this constructor nor in any functions that it calls.

    Mon, 9 May 2011 10:53:38 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11814: Uninitialized scalar field (UNINIT_CTOR) ⚡️ Non-static class member _updateCamera is not initialized in this constructor nor in any functions that it calls.

    Mon, 9 May 2011 10:53:12 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11815: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _cosMaxElevation is not initialized in this constructor nor in any functions that it calls. Non-static class member _cosMaxFadeElevation is not initialized in this constructor nor in any functions that it calls. Non-static class member _cosMinElevation is not initialized in this constructor nor in any functions that it calls. Non-static class member _cosMinFadeElevation is not initialized in this constructor nor in any functions that it calls.

    Mon, 9 May 2011 10:52:34 +0000 Author : Robert Osfield 🛠 Fixed 6 Coverity reported issues.CID 11820: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _azAngle is not initialized in this constructor nor in any functions that it calls. Non-static class member _elevAngle is not initialized in this constructor nor in any functions that it calls.

    CID 11819: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _BoundaryAngle is not initialized in this constructor nor in any functions that it calls. Non-static class member _planeOrientation is not initialized in this constructor nor in any functions that it calls.

    CID 11818: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _BoundaryAngle is not initialized in this constructor nor in any functions that it calls. Non-static class member _planeOrientation is not initialized in this constructor nor in any functions that it calls.

    CID 11817: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _distance is not initialized in this constructor nor in any functions that it calls.

    CID 11817: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _distance is not initialized in this constructor nor in any functions that it calls.

    CID 11816: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _leftRightSurfaces is not initialized in this constructor nor in any functions that it calls.

    Mon, 9 May 2011 10:51:52 +0000 Author : Robert Osfield 🛠 Fixed 2 Coverty reported issues.CID 11821: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _traversalNumber is not initialized in this constructor nor in any functions that it calls.

    CID 11822: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _traversalNumber is not initialized in this constructor nor in any functions that it calls.

    Sun, 8 May 2011 12:06:25 +0000 Author : Robert Osfield 🚀 Updated version number to 2.9.15 after dev release

    Sun, 8 May 2011 11:57:53 +0000 Author : Robert Osfield 🚀 Updated AUTHORS for 2.9.14 dev release

    Sun, 8 May 2011 11:56:23 +0000 Author : Robert Osfield ⚡️ Update ChangeLog

    Fri, 6 May 2011 16:46:13 +0000 Author : Robert Osfield Added osg::ref_ptr<osgDB::Archive> osgDB::Registry::getRefFromArchiveCache() and osg::ref_ptr<osgDB::Object> osgDB::Registry::getRefFromObjectCache().

    Fri, 6 May 2011 12:32:23 +0000 Author : Robert Osfield ✂ Removed trailing spaces

    Fri, 6 May 2011 12:30:58 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11828: Uninitialized scalar field (UNINIT_CTOR) Non-static class member distance is not initialized in this constructor nor in any functions that it calls. Non-static class member maxDistance is not initialized in this constructor nor in any functions that it calls. Non-static class member numIntersectionPoints is not initialized in this constructor nor in any functions that it calls. Non-static class member primitiveIndex is not initialized in this constructor nor in any functions that it calls.

    Fri, 6 May 2011 12:30:21 +0000 Author : Robert Osfield 🚚 Moved constructor implementation into .cpp

    Fri, 6 May 2011 12:27:19 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11838: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _alphaFuncKey is not initialized in this constructor nor in any functions that it calls. Non-static class member _cyleBackwardKey is not initialized in this constructor nor in any functions that it calls. Non-static class member _cyleForwardKey is not initialized in this constructor nor in any functions that it calls. Non-static class member _sampleDensityKey is not initialized in this constructor nor in any functions that it calls. Non-static class member _transparencyKey is not initialized in this constructor nor in any functions that it calls. ⚡️ Non-static class member _updateAlphaCutOff is not initialized in this constructor nor in any functions that it calls. ⚡️ Non-static class member _updateSampleDensity is not initialized in this constructor nor in any functions that it calls. ⚡️ Non-static class member _updateTransparency is not initialized in this constructor nor in any functions that it calls.

    Fri, 6 May 2011 12:26:13 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11827: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _plane_mask is not initialized in this constructor nor in any functions that it calls.

    Fri, 6 May 2011 12:25:34 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11826: Uninitialized scalar field (UNINIT_CTOR) Class member declaration for _recordHeightsAsAttributes.

    Fri, 6 May 2011 12:25:02 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11830: Uninitialized pointer field (UNINIT_CTOR) Non-static class member _geometry is not initialized in this constructor nor in any functions that it calls.

    Fri, 6 May 2011 12:24:19 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11825: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _primitiveIndex is not initialized in this constructor nor in any functions that it calls. Non-static class member _ratio is not initialized in this constructor nor in any functions that it calls.

    CID 11824: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _hit is not initialized in this constructor nor in any functions that it calls. Non-static class member _index is not initialized in this constructor nor in any functions that it calls. Non-static class member _length is not initialized in this constructor nor in any functions that it calls. Non-static class member _ratio is not initialized in this constructor nor in any functions that it calls.

    Fri, 6 May 2011 12:23:45 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11829: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _primitiveMode is not initialized in this constructor nor in any functions that it calls.

    Fri, 6 May 2011 12:22:49 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11836: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _fullscreen is not initialized in this constructor nor in any functions that it calls.

    Fri, 6 May 2011 12:22:10 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11831: Uninitialized pointer field (UNINIT_CTOR) Non-static class member _context is not initialized in this constructor nor in any functions that it calls. Non-static class member _dc is not initialized in this constructor nor in any functions that it calls. Non-static class member _handle is not initialized in this constructor nor in any functions that it calls. Non-static class member _instance is not initialized in this constructor nor in any functions that it calls.

    Fri, 6 May 2011 12:21:11 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11835: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _startTick is not initialized in this constructor nor in any functions that it calls.

    Fri, 6 May 2011 12:20:48 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issues.CID 11834: Uninitialized scalar field (UNINIT_CTOR) ⚡️ Non-static class member _tickLastUpdated is not initialized in this constructor nor in any functions that it calls. Non-static class member _tmpText is not initialized in this constructor nor in any functions that it calls.

    CID 11833: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _tmpText is not initialized in this constructor nor in any functions that it calls.

    Fri, 6 May 2011 10:30:23 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issues.CID 11843: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _inexp is not initialized in this constructor nor in any functions that it calls. Non-static class member _outexp is not initialized in this constructor nor in any functions that it calls.

    CID 11842: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _inexp is not initialized in this constructor nor in any functions that it calls. Non-static class member _outexp is not initialized in this constructor nor in any functions that it calls.

    Fri, 6 May 2011 10:29:47 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issues.WindowManager.cpp CID 11841: Uninitialized pointer field (UNINIT_CTOR) Non-static class member _lastEvent is not initialized in this constructor nor in any functions that it calls. Non-static class member _lastPush is not initialized in this constructor nor in any functions that it calls. Non-static class member _view is not initialized in this constructor nor in any functions that it calls.

    Frame.cpp CID 11840: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _flags is not initialized in this constructor nor in any functions that it calls.

    Window.cpp CID 11839: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _index is not initialized in this constructor nor in any functions that it calls.

    Fri, 6 May 2011 10:28:24 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issueCID 11441: Non-array delete for scalars (DELETE_ARRAY) "_dwobj::readOpenings(_iobuf *, int)" allocates "obj.fc1". [show details]

    "_dwobj::~_dwobj()" uses delete on "obj.fc1" which is an array. It should be deleted with operator delete[]. [show details]

    Fri, 6 May 2011 10:27:59 +0000 Author : Robert Osfield Fixed Covertiy reported issues. CID 11394: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::IntArray". Assigning: "this->colorindices" = "new osg::IntArray". The constructor allocates field "colorindices" of "struct vertexInfo" but there is no destructor.CID 11395: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::IntArray". Assigning: "this->coordindices" = "new osg::IntArray". The constructor allocates field "coordindices" of "struct vertexInfo" but there is no destructor.

    CID 11396: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::IntArray". Assigning: "this->normindices" = "new osg::IntArray". The constructor allocates field "normindices" of "struct vertexInfo" but there is no destructor.

    CID 11397: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::IntArray". Assigning: "this->txindices" = "new osg::IntArray". The constructor allocates field "txindices" of "struct vertexInfo" but there is no destructor.

    CID 11398: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::Vec2Array". Assigning: "this->txcoords" = "new osg::Vec2Array". The constructor allocates field "txcoords" of "struct vertexInfo" but there is no destructor.

    CID 11399: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::Vec3Array". Assigning: "this->norms" = "new osg::Vec3Array". The constructor allocates field "norms" of "struct vertexInfo" but there is no destructor.

    CID 11400: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::Vec3Array". Assigning: "this->coords" = "new osg::Vec3Array". The constructor allocates field "coords" of "struct vertexInfo" but there is no destructor.

    CID 11401: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::Vec4Array". Assigning: "this->colors" = "new osg::Vec4Array". The constructor allocates field "colors" of "struct vertexInfo" but there is no destructor.

    CID 11402: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::Vec4Array". Assigning: "this->polycols" = "new osg::Vec4Array". The constructor allocates field "polycols" of "struct vertexInfo" but there is no destructor.

    Fri, 6 May 2011 09:26:14 +0000 Author : Robert Osfield 🚀 Updated SO version number for dev release

    Fri, 6 May 2011 09:22:17 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11388: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new char[numBytes]". Assigning: "this->_startPtr" = "new char[numBytes]". The constructor allocates field "_startPtr" of "struct DataConverter" but there is no destructor. Assigning: "this->_currentPtr" = "new char[numBytes]". The constructor allocates field "_currentPtr" of "struct DataConverter" but there is no destructor.

    Fri, 6 May 2011 09:21:40 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 12263: Missing break in switch (MISSING_BREAK) This case (value 8) is not terminated by a 'break' statement.

    CID 12262: Missing break in switch (MISSING_BREAK) This case (value 7) is not terminated by a 'break' statement.

    CID 12261: Missing break in switch (MISSING_BREAK) This case (value 6) is not terminated by a 'break' statement.

    Fri, 6 May 2011 09:21:04 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issues.CID 10392: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _maxIndex is not initialized in this constructor nor in any functions that it calls. Non-static class member _minIndex is not initialized in this constructor nor in any functions that it calls.

    CID 10454: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _maxIndex is not initialized in this constructor nor in any functions that it calls. Non-static class member _minIndex is not initialized in this constructor nor in any functions that it calls.

    CID 10505: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _maxIndex is not initialized in this constructor nor in any functions that it calls. Non-static class member _minIndex is not initialized in this constructor nor in any functions that it calls.

    CID 10919: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _maxIndex is not initialized in this constructor nor in any functions that it calls. Non-static class member _minIndex is not initialized in this constructor nor in any functions that it calls.

    CID 10920: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _maxIndex is not initialized in this constructor nor in any functions that it calls. Non-static class member _minIndex is not initialized in this constructor nor in any functions that it calls.

    Fri, 6 May 2011 09:20:06 +0000 Author : Robert Osfield Fixed Coverity reported issues.CID 11389: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new bsp::VBSPData". Assigning: "this->bsp_data" = "new bsp::VBSPData". 🆓 The constructor allocates field "bsp_data" of "struct bsp::VBSPReader" but the destructor and whatever functions it calls do not free it.

    Fri, 6 May 2011 09:19:27 +0000 Author : Robert Osfield Fixed Coverity reported issues by using ref_ptr<> for object.ID 11390: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::Vec3Array". Assigning: "this->vertices" = "new osg::Vec3Array". 🆓 The constructor allocates field "vertices" of "struct prims" but the destructor and whatever functions it calls do not free it.

    CID 11391: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::Vec3Array". Assigning: "this->normals" = "new osg::Vec3Array". 🆓 The constructor allocates field "normals" of "struct prims" but the destructor and whatever functions it calls do not free it.

    CID 11392: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::Vec3Array". Assigning: "this->txc" = "new osg::Vec3Array". 🆓 The constructor allocates field "txc" of "struct prims" but the destructor and whatever functions it calls do not free it.

    CID 11393: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::Vec3Array". Assigning: "this->txcoords" = "new osg::Vec3Array". 🆓 The constructor allocates field "txcoords" of "struct prims" but the destructor and whatever functions it calls do not free it.

    CID 11747: Uninitialized pointer field (UNINIT_CTOR) Non-static class member gset is not initialized in this constructor nor in any functions that it calls.

    Fri, 6 May 2011 09:00:46 +0000 Author : Robert Osfield 🛠 Fixed build problem

    Thu, 5 May 2011 12:40:03 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11845: Structurally dead code (UNREACHABLE) This code cannot be reached: ".basic_string("");".

    Thu, 5 May 2011 12:39:35 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11855: Use after free (USE_AFTER_FREE) "operator delete[](void *)" frees "buffer".

    Thu, 5 May 2011 12:38:48 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue. This fix addresses a memory leak.CID 11847: Unused pointer value (UNUSED_VALUE) Pointer "node" returned by "lib3ds_node_new(LIB3DS_NODE_CAMERA)" is never used.

    Thu, 5 May 2011 12:37:00 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11844: Uninitialized scalar field (UNINIT_CTOR) 0️⃣ Non-static class member _defaultValue is not initialized in this constructor nor in any functions that it calls. Index: ../include/osgDB/Serializer

    Thu, 5 May 2011 11:31:12 +0000 Author : Robert Osfield 🛠 Fixed warning

    Thu, 5 May 2011 11:27:34 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11864: Wrapper object use after free (WRAPPER_ESCAPE) Assigning: "szFilename" = "path.c_str()", which extracts wrapped state from local "path".

    Thu, 5 May 2011 10:31:34 +0000 Author : Robert Osfield 🛠 Fixed 4 Coverity reported issuesCID 11851: Unused pointer value (UNUSED_VALUE) Pointer "gfd" returned by "gr->getField(26)" is never used.

    CID 11850: Unused pointer value (UNUSED_VALUE) Pointer "gfd" returned by "gr->getField(80)" is never used.

    CID 11849: Unused pointer value (UNUSED_VALUE) Pointer "gfd" returned by "gr->getField(3)" is never used.

    CID 11848: Unused pointer value (UNUSED_VALUE) Pointer "gfd" returned by "grec->getField(3)" is never used.

    Thu, 5 May 2011 10:28:34 +0000 Author : Robert Osfield 🛠 Fixed typo

    Wed, 4 May 2011 16:36:35 +0000 Author : Robert Osfield 🏗 From Mathias Froehlich, build fix for gcc 4.6

    Wed, 4 May 2011 16:01:21 +0000 Author : Robert Osfield From Stephan Huber, "attached you'll find a small enhancement for GraphicsWindowCocoa to implement the recently introduced setSyncToVBlank-method.Additionally I added a ToggleSyncToVBlank-eventhandler to osgViewer. I ✅ used it to test the code, perhaps you'll find it useful and include it in the distribution."

    Wed, 4 May 2011 09:53:11 +0000 Author : Robert Osfield ✂ Removed unncessary references to FREETYPE

    Wed, 4 May 2011 09:48:10 +0000 Author : Robert Osfield 🏗 From Michael Platings, fix for build with cmake 2.6.x

    Tue, 3 May 2011 12:43:00 +0000 Author : Robert Osfield ➕ Added OSGVIEWER_EXPORT

    Tue, 3 May 2011 10:14:34 +0000 Author : Robert Osfield ➕ Added missing break;

    Tue, 3 May 2011 09:58:31 +0000 Author : Robert Osfield ⚡️ From Michael Platings, "I've updated the FBX plugin to use the latest FBX SDK (2012.1). Please apply the attached .cmake which finds the correct SDK headers & libraries."

    Tue, 3 May 2011 09:11:04 +0000 Author : Michael PLATINGS ⚡️ Updated to use FBX SDK 2012.1

    Fri, 29 Apr 2011 16:50:45 +0000 Author : Robert Osfield 👌 Improved the handling of different combinations of slashes and dirNames.

    Fri, 29 Apr 2011 16:34:26 +0000 Author : Robert Osfield Added following methods to osgDB::Archive in support of work by Fradley Anderegg on .zip archive support: /** Get the file name which represents the archived file.*/ virtual std::string getArchiveFileName() const = 0;

       /** return type of file. */
       virtual FileType getFileType(const std::string& filename) const = 0;
    
       /** return the contents of a directory.
       * returns an empty array on any error.*/
       virtual DirectoryContents getDirectoryContents(const std::string& dirName) const = 0;
    

    🔌 Added implementations of these new methods into src/osgPlugins/osga/OSGA_Archive.h src/osgPlugins/osga/OSGA_Archive.cpp

    Fri, 29 Apr 2011 14:31:45 +0000 Author : Robert Osfield ♻️ Refactored the libtiffOStreamSeekProc function so that it extendeds the stream when the requested file position is beyond the current end of the stream. This fix addresses a bug that occurred when writting to a streamstream.

    Fri, 29 Apr 2011 09:16:47 +0000 Author : Robert Osfield ⚡️ Update ChangeLog

    Thu, 28 Apr 2011 16:33:14 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11447: Unchecked dynamic_cast (FORWARD_NULL) Dynamic cast to pointer "dynamic_cast (nc->clone(this))" can return null. Assigning null: "first" = "dynamic_cast (nc->clone(this))".

    👯 The clone() implementation is written using macro's so that it always returns the type of Object 👯 being cloned so it's normally safe to assume that a dynamic_cast<> will always return a valid pointer as long 👯 as the new T that involves creates a valid object. However, if the class being cloned doesn't correctly 👯 implement the clone() method then their potential for the dynamic_cast to fail and will return a NULL and will 0️⃣ result in a memory leak of the object of paraent class that the clone would have defaulted to.

    👯 I've tightened up the CopyOp.cpp code to check the return type and added better handling of the clone in the ⚠ osg::clone() methods so thay don't have any potential mememory leaks and report warnings to OSG_WARN when 👻 problems are encountered. It may be more apporpriate to throw an exception so will need to ponder this issue further.

    Thu, 28 Apr 2011 10:23:50 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11403: Logically dead code (DEADCODE) After this line, the value of "needspace" is equal to 0. Assigning: "needspace" = "false".

    Technically the report is correct, but the code is just debugging code that was there just in case the code needed to be reviewed. This code is long since through it's debugging stage so the code 🚚 is no longer really worth keeping so I've removed it for cleanness sake.

    Thu, 28 Apr 2011 10:23:28 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.ID 11667: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _useVertexAttribAlias is not initialized in this constructor nor in any functions that it calls.

    Member variable should have been initialized but this varaible will have always been initialized in later code before it was used anyway so wouldn't have resulted in a runtime bug.

    Thu, 28 Apr 2011 10:22:20 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11414: Logically dead code (DEADCODE) After this line, the value of "vboMemory" is equal to 0. Assigning: "vboMemory" = "NULL".

    Another case of debugging code paths being picked out. I have chosen to just delete these paths as the code 🚧 looks to be working fine and less code is better than more code when it comes to maintenance.

    Wed, 27 Apr 2011 16:37:25 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue. Issue is benign as all the member variables are initialized in after construction, but I've moved this initialization into the constructor to make the code more managable.CID 11686: Uninitialized scalar field (UNINIT_CTOR) Non-static class member cnt is not initialized in this constructor nor in any functions that it calls. Non-static class member maxcnt is not initialized in this constructor nor in any functions that it calls. Non-static class member phase is not initialized in this constructor nor in any functions that it calls.

    Wed, 27 Apr 2011 16:35:34 +0000 Author : Robert Osfield 🛠 Fixed 2 Coverity reported issues. Both issues are benign, but I've addressed then as with the changes the code is clean and more mantainable.CID 11676: Uninitialized scalar field (UNINIT_CTOR) Non-static class member cancelMode is not initialized in this constructor nor in any functions that it calls. Non-static class member cpunum is not initialized in this constructor nor in any functions that it calls. Non-static class member detached is not initialized in this constructor nor in any functions that it calls. Non-static class member isRunning is not initialized in this constructor nor in any functions that it calls. Non-static class member stackSize is not initialized in this constructor nor in any functions that it calls. Non-static class member threadPolicy is not initialized in this constructor nor in any functions that it calls. Non-static class member threadPriority is not initialized in this constructor nor in any functions that it calls. Non-static class member uniqueId is not initialized in this constructor nor in any functions that it calls.

    CID 11564: Unsigned compared against 0 (NO_EFFECT) This less-than-zero comparison of an unsigned value is never true. "cpunum < 0U".

    Wed, 27 Apr 2011 16:06:32 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11677: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _minimumNumberAccumAlphaBits is not initialized in this constructor nor in any functions that it calls. Non-static class member _minimumNumberAccumBlueBits is not initialized in this constructor nor in any functions that it calls. Non-static class member _minimumNumberAccumGreenBits is not initialized in this constructor nor in any functions that it calls. Non-static class member _minimumNumberAccumRedBits is not initialized in this constructor nor in any functions that it calls.

    Wed, 27 Apr 2011 16:06:10 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11690: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _frameLastUsed is not initialized in this constructor nor in any functions that it calls.

    Wed, 27 Apr 2011 16:05:37 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11689: Uninitialized pointer field (UNINIT_CTOR) Non-static class member _glBlendColor is not initialized in this constructor nor in any functions that it calls.

    Wed, 27 Apr 2011 16:05:13 +0000 Author : Robert Osfield 🛠 Fixed 2 Coverity reported issues.CID 11681: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _previousHeight is not initialized in this constructor nor in any functions that it calls. Non-static class member _previousWidth is not initialized in this constructor nor in any functions that it calls.

    CID 11688: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _previousHeight is not initialized in this constructor nor in any functions that it calls. Non-static class member _previousWidth is not initialized in this constructor nor in any functions that it calls.

    Wed, 27 Apr 2011 16:04:37 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue, in this case it's a unused member variable so could just be deleted.CID 11687: Uninitialized pointer field (UNINIT_CTOR) Non-static class member _glBeginEndAdapter is not initialized in this constructor nor in any functions that it calls.

    Wed, 27 Apr 2011 16:03:37 +0000 Author : Robert Osfield 🛠 Fixed 3 Coverity reported issues. CID 11622 is a bit of false positive as for valid settings no leak would happen.CID 11810: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _setMaxFarDistance is not initialized in this constructor nor in any functions that it calls.

    CID 11811: Uninitialized pointer field (UNINIT_CTOR) Non-static class member _displayTexturesGroupingNode is not initialized in this constructor nor in any functions that it calls.

    CID 11622: Resource leak (RESOURCE_LEAK) Calling allocation function "operator new(unsigned long long)". Variable "" is not freed or pointed-to in function "osg::StateSet::StateSet()". [show details] Assigning: "sharedStateSet" = storage returned from "new osg::StateSet". 282 osg::StateSet* sharedStateSet = new osg::StateSet; Variable "sharedStateSet" is not freed or pointed-to in function "osg::Object::setDataVariance(osg::Object::DataVariance)". [show details]

    Wed, 27 Apr 2011 16:02:10 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11588: Resource leak (RESOURCE_LEAK) Calling allocation function "operator new[](unsigned long long)". Assigning: "dataPtr" = storage returned from "new unsigned char[newTotalSize]".

    Wed, 27 Apr 2011 16:01:43 +0000 Author : Robert Osfield 🛠 Fixed 2 Coverity reported issues.Following are both false positives as the the scope they are in will always assign the object to a ref counted structure. I've modified the code to use ref_ptr<> to just make it clear that it's underscope, although this is not strictly neccessary as the code is OK, I introduced this for clarity and robustness in presence of exceptions.

    CID 11586: Resource leak (RESOURCE_LEAK) Calling allocation function "operator new(unsigned long long)". Variable "" is not freed or pointed-to in function "osg::VertexBufferObject::VertexBufferObject()". [show details] Assigning: "vbo" = storage returned from "new osg::VertexBufferObject".

    CID 11587: Resource leak (RESOURCE_LEAK) Calling allocation function "operator new(unsigned long long)". Variable "" is not freed or pointed-to in function "osg::ElementBufferObject::ElementBufferObject()". [show details] Assigning: "ebo" = storage returned from "new osg::ElementBufferObject".

    Wed, 27 Apr 2011 16:00:32 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11636: Allocation size mismatch (SIZECHECK) "my_alloc(sizeof (struct PlyProperty) /36/ * elem->nprops, 1292, "..\..\..\..\src\osgPlugins\ply\plyfile.cpp")" allocates memory. [show details] Allocating a multiple of 36 bytes to pointer "other->props", which needs 8 bytes.

    Tue, 26 Apr 2011 19:31:04 +0000 Author : Robert Osfield Fixed 1 Coverity Low Impact issue "Unused pointer value (UNUSED_VALUE) Pointer "indices" returned by "this->_vertexAttribList[0ULL].indices.get()" is never used."Report highlighted the fact that later code wasn't using the indices variable when it should have been, so potentially a higher impact that the severity suggested by Coverity.

    Tue, 26 Apr 2011 19:29:22 +0000 Author : Robert Osfield 🛠 Fixed 3 Coverity Low Impact performance issues relating to "Big parameter passed by value".

    Tue, 26 Apr 2011 15:24:21 +0000 Author : Robert Osfield 🚀 Updated version after 2.9.13 dev release

    Tue, 26 Apr 2011 14:55:19 +0000 Author : Robert Osfield 🚀 Updated ChangeLog and AUTHORS for 2.9.13 dev release

    Tue, 26 Apr 2011 12:07:37 +0000 Author : Robert Osfield 🛠 From Mattias Helsing, "Fixes two of the osgWidget examples that were broken due to changed virtual function prototypes in osgWidget/EventInterface"

    Tue, 26 Apr 2011 12:05:57 +0000 Author : Robert Osfield From Craig Bosma,"Please find attached a fix for shared contexts on OS X, with the Cocoa backend. The NSOpenGLContext* _context member of GraphicsHandleCocoa was never set on successfully creation, so even if the dynamic_cast to GraphicsHandleCocoa succeeds, we get a bogus (NULL) pointer on retrieving the actual NSOpenGLContext* (line 1013).This should fix the problem, as well as cause GraphicsWindowCocoa to report the correct name "GraphicsWindowCarbon" -> "GraphicsWindowCocoa". "

    Tue, 26 Apr 2011 11:51:21 +0000 Author : Robert Osfield From Farshid Lashkari, "I believe their is small error in how OutputStream handles the WriteImageHint. In the "writeImage" method, it converts the WriteImageHint to an internal "decision" flag. During this conversion, it seems to be swapping the behavior for WRITE_EXTERNAL_FILE and WRITE_USE_EXTERNAL. I've attached what I believe to be the correct conversion."

    Thu, 21 Apr 2011 17:16:27 +0000 Author : Robert Osfield 🛠 From Mattias Helsing, "Fixes installation of the osgViewer headers that got broken with rev 12208 and 12231.The windowing system specific headers under include/osgViewer/api/ are again installed under include/osgViewer/api/

    Works in recent ubuntu with cmake-2.8.4 and msvc2010 with cmake-2.8.2"

    Thu, 21 Apr 2011 17:04:50 +0000 Author : Robert Osfield From Johannes Baeuerele, "I have extended the pvr reader plugin to support etc1 compression(GL_ETC1_RGB8_OES). The changes attached to this submission are based on today's trunk.The pvr format which can be used as a wrapper for different compressed and uncompressed formats supports this compression algorithm. The original pvr compression uses the pvrtc format. The handling of pvrtc is already implemented in the pvr plugin. PVR provides wrapper functionality for some formats, e.g. etc or even dxt/dds.

    🔌 Our target system (gles2) is able to use the etc compression format. With minor changes in the submitted files, there is no need to write a separate plugin. However the original pvr texture compression formats are not supported on our target, which is the reason for this extension.

    The changes mainly consist in the definition on new enum values in the classes and headers of ReaderWriterPVR,Image and Texture. I also found some locations where the handling of the original pvr textures was not implemented. These are also part of this submission."

    Thu, 21 Apr 2011 13:34:03 +0000 Author : Robert Osfield From Marius Heise, "here is a patch that implements Win32 HW-synced swapping using wglJoinSwapGroupNV, wglBindSwapBarrierNV and the existing traits. It was tested with multiple ATI FirePro S400 cards.I also fixed the vsync implementation introduced with rev.11357 that was crashing with the Windows Error #170. So I removed your temporary /* */ around the vsync condition..."

    Thu, 21 Apr 2011 13:01:11 +0000 Author : Robert Osfield From Fred Smith, "GraphicsWindowWin32::setWindow currently creates a context with no regards to the Traits, like createWindow does.That is, it calls ::wglCreateContext to create a context, not the member method createContextImplementation(), which takes into an account the Traits.

    In my situation, this prevents a GL 3.x context from being created. "

    Thu, 21 Apr 2011 12:53:22 +0000 Author : Robert Osfield 🏗 From Jorge Ciges, "1rst - Changes in Cmake: They make possible "make install" with the android building.2nd - Script to use a 3rd party directory with basic libraries: libjpeg,libpng,libtiff,giflib,freetype,curl,gdal.

    3rd - Change in the GLES library loading for Android. That should make GLES2 work properly.

    4rth- Included two defines RGB8_OES and RGBA8_OES as a substitute in GLES for RGB8 and RGBA8

    5th - OpenGL and GLSL version identification changed to recognize GLES versions properly "

    Thu, 21 Apr 2011 12:12:40 +0000 Author : Robert Osfield 🔌 From Cedric Pinson, "I have tried some model that produces crashes in the dae plugin because of empty node:if (GetFloat4Param(cot->getParam()->getRef(), f4)) {...}

    ✅ in the model I have tested cot->getParam()->getRef() return 0x0 and make it crahes inside GetFloat4Param.

    ✅ I have added a test before calling GetFloat4Param if (cot->getParam()->getRef() != 0 && GetFloat4Param(cot->getParam()->getRef(), f4)) {...} "

    Thu, 21 Apr 2011 12:06:06 +0000 Author : Robert Osfield From Tomas Hogarth, "Attached are the complete changed files GraphicsWindowIOS and GraphicsWindowIOS.mm. The change is in regard to the ability to adapt to device orientation. We did just have a bool indicating the window would adapt to all orientations. I have changed this to a bit mask allowing the user to specify individual orientations or combinations. enum DeviceOrientation{

                    PORTRAIT_ORIENTATION = 1<<0,
    
                    PORTRAIT_UPSIDEDOWN_ORIENTATION  = 1<<1,
    
                    LANDSCAPE_LEFT_ORIENTATION  = 1<<2,
    
                    LANDSCAPE_RIGHT_ORIENTATION  = 1<<3,
    
                    ALL_ORIENTATIONS = PORTRAIT_ORIENTATION  | PORTRAIT_UPSIDEDOWN_ORIENTATION  | LANDSCAPE_LEFT_ORIENTATION  | LANDSCAPE_RIGHT_ORIENTATION
    
                };
    
                typedef unsigned int DeviceOrientationFlags;
    

    ✅ The main motivation for this is to easily allow the user to specifiy that the device is in a horizontal orientation rather then having to rotate the view matrix. All flags have been tested individually as well as in combinations. The default is ALL_ORIENTATIONS to keep the exiting functionality for anyone who hasn't specified WindowData for their context traits. "

    Wed, 20 Apr 2011 19:20:28 +0000 Author : Robert Osfield ⚡️ From Sukender, Here is a tiny update to FileNameUtils. It brings getPathRoot() and isAbsolutePath() to the public side of the lib.

    Wed, 20 Apr 2011 17:15:58 +0000 Author : Robert Osfield 🏁 From Guillaume Taze, "This is a fix for the error popups which appeared when reading a corrupted file on windows. Errors are redirected to std::err instead."Note from Robert Osfield, changed jpeg error report output from stderr to standard OSG notification system using OSG_WARN.

    Wed, 20 Apr 2011 11:45:01 +0000 Author : Robert Osfield ➕ Added releaseGLObjects(State*) support into osg::FrameBufferObject, osg::RenderBin and osg::RenderStage to ensure proper clean up of FBO's on closing a graphics context.

    Tue, 19 Apr 2011 14:19:06 +0000 Author : Robert Osfield 📚 From Magnus Kessler, "A few minor fixes in the documentation strings of ReaderWriterFLT.cpp"

    Tue, 19 Apr 2011 14:11:13 +0000 Author : Robert Osfield From Bradley Anderegg, "The first change just exposes the archive extension list so that external applications can determine if an archive extension is valid.The second change is a bug fix in Registry::read(const ReadFunctor&) where if you pass in valid options they get wiped out after the archive 🔌 is loaded but before being passed along to the plugin."

    Tue, 19 Apr 2011 13:32:25 +0000 Author : Robert Osfield From Paul Martz, "To summarize the fix: OpenGL eye coords are negative outside Cartesian quadrant 1. As a result, the center of projection is eye coord (0,0), which (when used as st tex coords) looks up the lower left corner of the texture. However, in projective texturing, you usually want eye coord (0,0) to look up the center of the texture. Accomplishing this mapping requires not just a lookat and perspective transform, but also a translate and scale."

    Tue, 19 Apr 2011 12:01:38 +0000 Author : Robert Osfield 🏁 From Jan Peciva, "please find attached proposed fix for ON_DEMAND rendering. The biggest issue was that the windows did not act on repaint request (WM_PAINT, EXPOSE,...)Detailed explanation:

    • I implemented requestRedraw using the push approach (not using GraphicsWindow::_requestRedraw flag that I was considering) as there may be multiple viewers reading the flag and fighting to reset it after the paint request, while some viewers may not spot the request to redraw
    • 🏁 I made windows call GraphicsWindow::requestRedraw when they receive appropriate message (WM_PAINT, EXPOSE, RESIZE,...)
    • 🐧 There were issues on Linux that windows did not want to close using x ✅ button. Resolved by moving the test for DeleteWindow event from swapBuffersImplementation() to GraphicsWindowX11::checkEvents(). The difficulty was that DeleteWindow event is not coming using _eventDisplay, but through _display.
    • The last difficulty was that it is necessary to call 🏁 ViewerBase::checkWindowStatus() to set _done to true when all windows are closed. This did not happened recently in ON_DEMAND run scheme. I put the call 🏁 to checkWindowStatus() to eventTraversal. "

    Tue, 19 Apr 2011 11:46:05 +0000 Author : Robert Osfield ✂ Removed spaces from end of lines

    Tue, 19 Apr 2011 11:40:22 +0000 Author : Robert Osfield 💅 Ran svn propset -R svn:eol-style native . on the OpenSceneGraph

    Tue, 19 Apr 2011 09:54:14 +0000 Author : Robert Osfield 👌 Improved the handling of unitialized bounding box

    Tue, 19 Apr 2011 09:53:34 +0000 Author : Robert Osfield Cleaned up example

    Mon, 18 Apr 2011 12:58:28 +0000 Author : Robert Osfield ⚡️ Updated SO version number

    Mon, 18 Apr 2011 12:35:19 +0000 Author : Robert Osfield ➕ Added IncrementalCompileOperation::compileAllForNextFrame(uint) method and supporting functionality that tell the IncrementalCompileOperation to compile all pending objects during next draw traversal, for specified number of frames.

    Thu, 14 Apr 2011 15:47:29 +0000 Author : Robert Osfield From Stephan Huber, "attached you'll find some enhancements for the iphone-part of the readme."

    Thu, 14 Apr 2011 15:45:14 +0000 Author : Robert Osfield 🏁 From Magnus Kessler, "The standard width for the windows cmd and terminals on many Unix systems is 80 columns. I reorganized some of the help strings to make the output of osgconv --help --all

    fit to 80 columns. This avoids difficult to read line breaks added by the terminal program itself."

    Thu, 14 Apr 2011 15:22:43 +0000 Author : Robert Osfield 👍 Cleaned up DXT1 support

    Thu, 14 Apr 2011 15:21:53 +0000 Author : Robert Osfield 👉 Added IF (WIN32) around OSG_USE_UTF8_FILENAME

    Thu, 14 Apr 2011 10:44:37 +0000 Author : Robert Osfield Added osgDB::Option string entries: supportsOption("dds_dxt1_rgb","set the pixel format of DXT1 encoded images to be RGB"); supportsOption("dds_dxt1_rgba","set the pixel format of DXT1 encoded images to be RGBA"); supportsOption("dds_dxt1_detect_rgba","For DXT1 encode images set the pixel format according to presence of transparent pixels.");

    0️⃣ And set the default not to modify and detect the RGB or RGBA pixel format for DXT images.

    Thu, 14 Apr 2011 09:16:09 +0000 Author : Robert Osfield ➕ Added setting of the internal texture format

    Wed, 13 Apr 2011 19:28:30 +0000 Author : Robert Osfield quitened down debug output

    Wed, 13 Apr 2011 19:26:35 +0000 Author : Robert Osfield Introduced new code for detecting DXT1 images catogoriesed as RGB that actually have a 1 bit alpha, therefore re-interpreting these as RGBA.

    Wed, 13 Apr 2011 10:44:36 +0000 Author : Robert Osfield ➕ Added handling of DXT1 in osg::Image::isImageTranslucent()

    Mon, 11 Apr 2011 19:11:25 +0000 Author : Robert Osfield ➕ Added support for explitly requesting DXT1a and DXT1c compression

    Mon, 4 Apr 2011 10:16:46 +0000 Author : Robert Osfield 🛠 From Stephan Huber, "Attached you'll find a fixed GraphicsWindowCocoa-implementation which should fix the reported bugs.the osgkeyboard-example works now, but not the numbers of the keypad, as they hilight only for KEY_KP_Left, KEY_KP_Right, KEY_KP_Up, KEY_KP_DOWN etc and not for KEY_KP_0 - KEY_KP_9."

    Thu, 31 Mar 2011 14:57:18 +0000 Author : Robert Osfield Added OPENTHREADS_ATOMIC_USE_MUTEX Cmake options that allows you to override the default detection of atomic implementatition, making it possible to force the use of Mutex for OpenThreads::Atomic, and as a consequence for use of Mutex for Referenced::ref/unref() counting.

    Wed, 30 Mar 2011 15:15:07 +0000 Author : Robert Osfield 🛠 From Tim Moore, Fixes to race in DatabasePager where a parent PagedLOD of newly loaded subgraph has been expired.Clean up of visitor naming to make it clearer what role it has.

    Wed, 23 Mar 2011 14:01:58 +0000 Author : Robert Osfield ➕ Added m4v as a handled movie file extension

    Mon, 21 Mar 2011 21:28:35 +0000 Author : Robert Osfield ➕ Added dciimage library to DCMTK libs

    Mon, 21 Mar 2011 21:28:02 +0000 Author : Robert Osfield 👌 Improved handling of RGB data.

    Sat, 19 Mar 2011 16:25:01 +0000 Author : Robert Osfield ➕ Added .get() to fix build

    Fri, 18 Mar 2011 12:21:58 +0000 Author : Robert Osfield ➕ Adde an isFileADicom(..) method to enable the loader to automatically identifier dicom files without making any assumptions about the file extension

    Fri, 18 Mar 2011 11:23:39 +0000 Author : Robert Osfield ➕ Added extra DCMTK libraries to search and link line to enable build against new DCMTK-3.6.0 release

    Thu, 17 Mar 2011 17:33:02 +0000 Author : Robert Osfield ➕ Added support for new SampleDensityWhenMovingProperty into .p3d format, with it default to 0.02.One can override this value via the sampleDensityWhenMoving="value" property in the volume tag, i.e.

         <volume sampleDensityWhenMoving="0.01">CardiacCT</volume>
    

    To switch the feature off set the value to 0, i.e.

         <volume sampleDensityWhenMoving="0">CardiacCT</volume>
    

    Thu, 17 Mar 2011 15:37:39 +0000 Author : Robert Osfield ➕ Added SampleDensityWhenMovingProperty to control LOD property of osgVolume.

    Thu, 17 Mar 2011 13:56:27 +0000 Author : Robert Osfield 🔄 Changed the view movement detection code so that it uses the new CullVisitor::Identifier to indentifier cull traversals, this enables the code to properly detect movement when osgViewer::Renderer uses double buffering of SceneView.

    Thu, 17 Mar 2011 13:54:54 +0000 Author : Robert Osfield ➕ Added set up of CulLVisitor::Identifier so that the double buffered SceneView/CullVisitor share the same Identifier.

    Thu, 17 Mar 2011 13:54:14 +0000 Author : Robert Osfield ➕ Added CullVisitor::Identifier to help with cull operations that require a consistent identifier for cull traveresals when osgViewer::Renderer uses double buffering.

    Thu, 17 Mar 2011 11:49:22 +0000 Author : Robert Osfield 👍 First cut at LOD support in RayTracedTechnique, which lowers the number of samples taken when the view of the volume is changing.

    Wed, 16 Mar 2011 13:48:09 +0000 Author : Robert Osfield From Torben Dannhauer, "adds an additional library name of libpng ( libpng15 ) to search fo"

    Wed, 16 Mar 2011 13:41:39 +0000 Author : Robert Osfield 🏗 From Alan Dickinson,"I tested out my changes against the trunk and everything worked fine... except I noticed that the CMAKE_BUILD_POSTFIX is set incorrectly for a undefined or blank BUILD_TYPE.So here is the one line change to the CMakeLists.txt to rectify this omission."

    Wed, 16 Mar 2011 10:51:42 +0000 Author : Robert Osfield ➕ Added hud and billboard support to image, stereo_image, pdf, browser and vnc image placement

    Tue, 15 Mar 2011 19:54:57 +0000 Author : Robert Osfield ➕ Added support hud property for title, bullets and paragraph tags

    Tue, 15 Mar 2011 14:04:50 +0000 Author : Robert Osfield 🛠 From Sukender, "Fixed a case where getUniqueName() does not work properly"

    Tue, 15 Mar 2011 14:02:39 +0000 Author : Robert Osfield ⚡️ From Torben Dannhauer, update to reflect addition of NVTT to Windows 3rdPartyPackage

    Tue, 15 Mar 2011 13:53:59 +0000 Author : Robert Osfield ➕ Added checked against GL version number for enabled _isTexture3DSupported.

    Tue, 15 Mar 2011 13:40:13 +0000 Author : Robert Osfield 🛠 Fixed warning

    Tue, 15 Mar 2011 13:30:27 +0000 Author : Robert Osfield ➕ Added OSG_EXPORT to declaration of View::Slave.

    Tue, 15 Mar 2011 12:48:40 +0000 Author : Robert Osfield Re-enabled the fallback compute of bounding volume.

    Tue, 15 Mar 2011 12:26:16 +0000 Author : Robert Osfield 🛠 Fixed updating of text position when PositionData.position is not modified by tag but other elements of PositionData are - such as when billboarding

    Mon, 14 Mar 2011 21:36:32 +0000 Author : Robert Osfield Implemented billboard="on" option for image, bullet and paragraph tags

    Mon, 14 Mar 2011 11:29:08 +0000 Author : Robert Osfield ➕ Added support for placing comments at end of each line.

    Mon, 14 Mar 2011 10:07:15 +0000 Author : Robert Osfield 🐎 From Farshid Lashkari, "Another update. I added a LIMIT_NEAREST enum which implements your previous suggestion of rejecting bounding volumes further from the nearest existing intersection. I only implemented this for LineSegmentIntersector. I'd appreciate it if you could double check the math I added to LineSegmentIntersector::intersects() for checking if the bounding sphere is further away. The results of this are promising. I'm getting noticeable performance increase for line intersections with scenes containing many drawables. "

    Mon, 14 Mar 2011 09:59:32 +0000 Author : Robert Osfield ⚠ From Torben Dannhauer, warning fix for a false positive warning generated by VS about "not all control pathes return a value".

    Fri, 11 Mar 2011 17:20:24 +0000 Author : Robert Osfield From Farshid Lashkari, removal of redundent spaces at the end of lines.

    Fri, 11 Mar 2011 16:31:01 +0000 Author : Robert Osfield From Benjamin Wasty and David Guthrie, "currently, non-alpha-numeric keys are not recognized (except as modifiers) in osgQt, so I added the mapping code from my Qt integration to GraphicsWindowQt (which is based on Delta3D code from David Guthrie - he gave me permission to submit it under OSGPL)."

    Fri, 11 Mar 2011 11:25:19 +0000 Author : Robert Osfield 👍 From Sukender, "Added support for texcoords scale and offset (UV scaling and offset in Lib3DS Materials), for texture unit 0."

    Fri, 11 Mar 2011 11:20:30 +0000 Author : Robert Osfield 🛠 Fixed the case insenstive search under unices

    Fri, 11 Mar 2011 10:24:12 +0000 Author : Robert Osfield From Mourad Boufarguine, "There is a redundant cmake code at the end of osgViewer cmake script. The install command is issued in SETUP_LIBRARY macro." "I spotted this when i tried a make install on the android port :) I saw some weird copy commands of osgViewer headers. I managed to get all osg headers copied to cmake_install_prefix/include upon make install, but i can't (yet) get the libraries to be copied to cmake_install_prefix/lib (see attached files)"

    Fri, 11 Mar 2011 10:18:43 +0000 Author : Robert Osfield From Alan Dickinson, "I modified the CPack and CMake files to utilze the CMAKE_INSTALL_PREFIX when building RPM packages.I also modified the CMake and pkgconfig files to append the _POSTFIX extenstion based on the CMAKE_BUILD_TYPE.

    Additionally I fixed packaging/ld.so.conf.d/openscenegraph.conf.in to add a '/' betweeen the arguments since the CMAKE_INSTALL_PREFIX can't end with a '/'. "

    Thu, 10 Mar 2011 14:53:39 +0000 Author : Robert Osfield 🏁 From Mourad Boufarguine, "I gave osg android port a try on Windows using cygwin, and it worked like a charm (only a tiny problem with osgViewer, when cross compiling for android using cygwin, the windows path in osgViewer/CMakeLists.txt is used rather than the android one, fix attached). "

    Thu, 10 Mar 2011 14:44:49 +0000 Author : Robert Osfield 🔌 From Mourad Boufarguine, "I gave projects folders in VS a try, it works for applications, plugins and examples but not for the osg core libraries. Attached OsgMacroUtils.cmake is a tiny fix for this. OpenThreads is addressed seperately."

    Thu, 10 Mar 2011 10:56:12 +0000 Author : Robert Osfield 🚚 From Rafa Gaitan, "Attached the fix to remove the symlinks created with make install."

    Thu, 10 Mar 2011 10:52:47 +0000 Author : Robert Osfield From Michael Platings, "I'm guessing that the stack corruption was caused by calling GetFullPathNameW with the nBufferLength argument as the number of bytes in the buffer, rather than the number of characters. I've attached code that uses GetFullPathNameW et al. with _countof() rather than sizeof() and this works fine."

    Wed, 9 Mar 2011 17:35:30 +0000 Author : Robert Osfield Quitened down timing stats

    Wed, 9 Mar 2011 16:30:48 +0000 Author : Robert Osfield From Johannes Baeuerle, fix for memory leak

    Wed, 9 Mar 2011 15:55:35 +0000 Author : Robert Osfield ⚡️ From Jan Peciva, "please, find attached updates to Inventor plugin:- improved transparency

    • do not treat 32-bit textures as transparent textures unless they really contain transparent pixels
    • error messages forwarded to osg::notify"

    Wed, 9 Mar 2011 14:44:14 +0000 Author : Robert Osfield 🚚 From Sukender, "1. Made code a bit more readable/cleaner. 2. Removed unecessary code. Also made sure the images names are not truncated in the middle of an UTF8 character. You'll find there a function called utf8TruncateBytes(), which may be moved in core OSG (osgDB/ConvertUTF I guess). Feel free to do it if you feel it that way. "

    Wed, 9 Mar 2011 14:15:04 +0000 Author : Robert Osfield From Piotr Gwiazdowski, "So there's config setting OSG_DISABLE_MSVC_WARNINGS which should disable pragmas that turn off specific warnings for MSVC. Unfortunately it's presence is only checked in osg/Export header, making other Export headers disable warnings no matter what, which is kind of incoherent.My fix adds #include to every Export header. I've also ⚠ unified checking whether to disable warnings to current osg/Export way:

    if defined(_MSC_VER) && defined(OSG_DISABLE_MSVC_WARNINGS).

    Attachment contains all changed Export files in their original locations."

    Wed, 9 Mar 2011 13:10:38 +0000 Author : Robert Osfield 💅 From Eric Sokolowsky, "I have updated the pnm plugin to use streams instead of C-style I/O. Attached is src/osgPlugins/pnm/ReaderWriterPNM.cpp"

    Wed, 9 Mar 2011 13:05:59 +0000 Author : Robert Osfield 👀 From Tassilo Glander,"I patched the cmake configuration to support folders, which are really handy to organize the many projects in the OSG solution into examples, applications and core libs in the IDE. This feature has been introduced to cmake in 2.8.3, on older versions it should be ignored silently. I tested on Visual Studio 2008 with cmake 2.8.3 and 2.8.4.See the screenshots for comparison [img]osg_solution.png[/img]

    This needs few changes:

    activate on global cmakelist.txt:

    [code]set_property(GLOBAL PROPERTY USE_FOLDERS On)[/code]

    set appropriate folder names for project type in osgMacroUtils.cmake:

    [code]SET_TARGET_PROPERTIES(${CORELIB_NAME} PROPERTIES FOLDER "OSG Core")[/code]

    similar for examples, applications"

    Wed, 9 Mar 2011 12:29:14 +0000 Author : Robert Osfield 💅 From Piotr Gwiazdowski, "Recently I've been having some trouble with osgWidget::StyleManager (I'll omit osgWidget namespace from now on). It seems to me that there are some inconsistency in the code. In Style there are multiple applyStyle method overloads, applying style for different widgets/windows built-in in osgWidget. Plus you can do overrides. It's good so far.The problem lies in StyleManager::_applyStyleToObject (which calls _coearceAndApply, which calls _applySpecificStyle, which calls 💅 Style::applyStyle). With current implementation Style::applyStyle variants for Input, Window, Frame::Corner, Frame::Border, Window::EmbeddedWindow are never called, because their classes' names are omitted in methods' if/else if block, making it impossible to use 💅 styles with most than half of built-in widget/window types.

    My fix simply adds couple else if blocks, making each 💅 Style::applyStyle variant callable. By the way, I think that next 💅 update should add Style::applyStyle overload for Table class and add proper className overloads for Input and Window."

    Wed, 9 Mar 2011 12:15:39 +0000 Author : Robert Osfield Removed the repeated called to jas_init() and jas_image_clearfmts() calls to make it possible to use the reading multi-threaded

    Wed, 9 Mar 2011 11:22:20 +0000 Author : Robert Osfield ⚡️ From Dietmar Funck, "I've noticed an issue with osgUtil::RenderStage::runCameraSetUp() if the number of buffer attachments of the camera decreases according to privous calls. This happens because RenderStage::_bufferAttachmentMap is updated only for the number of buffers the camera has when runCameraSetUp is called. For example if there were 4 attachments and now only 3, only the first three elements of _bufferAttachmentMap are changed. The fourth is just as before - however it shouldn't be there.Calling _bufferAttachmentMap.clear() before resolves this problem. "

    Wed, 9 Mar 2011 11:15:10 +0000 Author : Robert Osfield 🐧 From Cedric Pinson, "I have just adjusted the FindCOLLADA function to let it find library on gnu/linux."

    Wed, 9 Mar 2011 11:13:12 +0000 Author : Robert Osfield 🛠 From Sukender, "I fixed the writing but never thought about the reading part... Here is the fix for reading path containing %23 (= '#') characters."

    Wed, 9 Mar 2011 11:06:36 +0000 Author : Robert Osfield 🚀 Updated versions for next OSG dev release

    Wed, 9 Mar 2011 10:35:00 +0000 Author : Robert Osfield 🔄 Changed the use of a viewer thread to be off by default because it was causing the application to crash when any users input was recieved

    Tue, 8 Mar 2011 17:05:29 +0000 Author : Robert Osfield 🛠 Fixed error in X11 string name

    Tue, 8 Mar 2011 16:35:37 +0000 Author : Robert Osfield 🏗 From Rafa Gaitan and Jorge Izquierdo, build support for Android NDK."- In order to build against GLES1 we execute: $ mkdir build_android_gles1 $ cd build_android_gles1 🏗 $ cmake .. -DOSG_BUILD_PLATFORM_ANDROID=ON -DDYNAMIC_OPENTHREADS=OFF -DDYNAMIC_OPENSCENEGRAPH=OFF -DANDROID_NDK=/ -DOSG_GLES1_AVAILABLE=ON -DOSG_GL1_AVAILABLE=OFF -DOSG_GL2_AVAILABLE=OFF -DOSG_GL_DISPLAYLISTS_AVAILABLE=OFF -DJ=2 -DOSG_CPP_EXCEPTIONS_AVAILABLE=OFF $ make If all is correct you will have and static OSG inside: build_android_gles1/bin/ndk/local/armeabi.

    • 🏗 GLES2 is not tested/proved, but I think it could be possible build it with the correct cmake flags.
    • 🏗 The flag -DJ=2 is used to pass to the ndk-build the number of 🏗 processors to speed up the building.
    • 👉 make install is not yet supported."

    Tue, 8 Mar 2011 15:31:49 +0000 Author : Robert Osfield 🛠 Fixed indentation

    Tue, 8 Mar 2011 13:51:13 +0000 Author : Robert Osfield From Rafa Gaitan, "I have added the macro SETUP_LIBRARY, similar to SETUP_PLUGIN or SETUP_EXE, in order to have a unique entry point to build the libraries. With this changes the android integration will be less painful (currently is a big IF(ANDROID) for each CMakeLists.txt) and more maintainable in the future. I hope next submissions will be for supporting android from my colleague Jorge. "

    Mon, 7 Mar 2011 14:42:47 +0000 Author : Robert Osfield ➕ Added comments

    Mon, 7 Mar 2011 13:45:58 +0000 Author : Robert Osfield 🔄 Changed all .c++ to .cpp's

    Mon, 7 Mar 2011 12:35:30 +0000 Author : Robert Osfield ➕ Added --color r g b a, --wall-color r g b a, --back-color r g b a options for setting the colours of faces via materials. and --image filename, --wall-image filename, --back-image filename options to set the textures used, note, texcoords are not currently set up so texels used will be 0,0.

    Mon, 7 Mar 2011 12:33:11 +0000 Author : Robert Osfield Enabled the settng/getting of the Text3D's WallStateSet and BackStateSet along with use of these in the rendering implementation to allow separate colour and other state to be assigned to the front, wall and back faces.

    Thu, 3 Mar 2011 15:52:19 +0000 Author : Robert Osfield Moved intial cut of depth partition support into osgViewer::View via two new methods: /** Convenience method for setting up multiple slave cameras that depth partition the specified camera./ bool setUpDepthPartitionForCamera(osg::Camera cameraToPartition, DepthPartitionSettings* dps=0);

        /** Convenience method for setting up multiple slave cameras that depth partition each of the view's active cameras.*/
        bool setUpDepthPartition(DepthPartitionSettings* dsp=0);
    

    Thu, 3 Mar 2011 12:33:57 +0000 Author : Robert Osfield Introduced a new more generic function for settings up the depth partitioning of viewer cameras.

    Wed, 2 Mar 2011 16:40:36 +0000 Author : Robert Osfield 🏗 Build fix

    Wed, 2 Mar 2011 16:24:07 +0000 Author : Robert Osfield Made parameter a little easier to adjust and commented out verbose debug info

    Wed, 2 Mar 2011 16:09:50 +0000 Author : Robert Osfield Implemented first cut of more flexible depth partitioning code.

    Tue, 1 Mar 2011 16:21:38 +0000 Author : Robert Osfield 🛠 Fixed typo

    Tue, 1 Mar 2011 15:04:56 +0000 Author : Robert Osfield ➕ Added support for passing the --depth-partition distance, throw to the depth partition slave camera setup.

    Tue, 1 Mar 2011 14:50:25 +0000 Author : Robert Osfield ➕ Added experiment depth partioning support in the form of an slave camera configuration.

    Tue, 1 Mar 2011 14:48:48 +0000 Author : Robert Osfield ➕ Added support for an View::Slave::UpdateSlaveCallback

    Sat, 26 Feb 2011 16:04:34 +0000 Author : Robert Osfield 🛠 Fixed handling of write and reading of straight Node objects in the scene graph.

    Sat, 26 Feb 2011 15:52:51 +0000 Author : Robert Osfield 🔄 Changed the handling of unkown nodes on write so that the code now ignores the non supported nodes allows the overall write to continue.

    Thu, 24 Feb 2011 11:54:44 +0000 Author : Robert Osfield ✂ Removed TrapezoidalShadowMap due to discovery of patent on algorithm.

    Wed, 23 Feb 2011 22:52:01 +0000 Author : Cedric Pinson ⚠ Cedric Pinson: Fix divide by zero when Action has 0 frames, and add a warning message because it means something wrong on input data

    Wed, 23 Feb 2011 16:49:38 +0000 Author : Robert Osfield 🛠 Fixed typo

    Wed, 23 Feb 2011 16:46:34 +0000 Author : Robert Osfield From Wojciech Lewandowski, intial cut at new TrapezoidalShadowMap ShadowTechnique

    Wed, 23 Feb 2011 16:45:44 +0000 Author : Robert Osfield From Wojciech Lewandowski, various tweaks to osgShadow shadow mapping classes to improve consistency and enable more debug info output

    Wed, 23 Feb 2011 14:09:29 +0000 Author : Robert Osfield Inverted the orientation of the 't' transparency control so that it's full on at the bottom of the screen, and full transparent at the bottom.

    Wed, 23 Feb 2011 13:56:41 +0000 Author : Robert Osfield ➕ Added support for negative --xMultipler, --yMultiple and --zMultiplier values

    Wed, 23 Feb 2011 12:48:17 +0000 Author : Robert Osfield ➕ Added support for positive values of --xMultiple --yMultiplier and --zMultiplier

    Wed, 23 Feb 2011 12:13:43 +0000 Author : Robert Osfield 🔄 Changed the default number of components for a RGB to 4 so it appears as an RGBA

    Wed, 23 Feb 2011 11:43:30 +0000 Author : Robert Osfield ➕ Added error reporting for old options

    Wed, 23 Feb 2011 11:28:43 +0000 Author : Robert Osfield ➕ Added -n option

    Wed, 23 Feb 2011 10:37:51 +0000 Author : Robert Osfield Added extra check for GL_BGR and GL_BGRA formats and messages describing image format loaded

    Tue, 22 Feb 2011 14:21:34 +0000 Author : Robert Osfield ➕ Added test code to explore problems with LightSpacePerspectiveShadowMap implementation handling of different datasets and camera settings.

    Tue, 22 Feb 2011 11:59:51 +0000 Author : Robert Osfield Added support for GL_BGR and GL_BGRA pixel formats

    Tue, 22 Feb 2011 10:53:58 +0000 Author : Robert Osfield 🔄 Changed the handling of erroneous dicom files so that the loading of a directory of dicom files is not abondonded when one or more erroneous files are encountered.

    Mon, 21 Feb 2011 12:29:13 +0000 Author : Robert Osfield ➕ Added computePositions() call to Text3D::resizeGLObjectsBuffers(uint)

    Mon, 21 Feb 2011 10:02:53 +0000 Author : Robert Osfield ➕ Added missing Terrain.h reference

    Sun, 20 Feb 2011 09:57:07 +0000 Author : Robert Osfield 🛠 Fixed build of various LiSPSM algorithms

    Sun, 20 Feb 2011 09:55:20 +0000 Author : Robert Osfield ➕ Added --fov and --light-pos and --light-dir command line parameters

    Fri, 18 Feb 2011 11:04:01 +0000 Author : Michael PLATINGS Disabled the RGB components of the opacity texture

    Mon, 14 Feb 2011 16:24:12 +0000 Author : Robert Osfield 0️⃣ From Philipp Svehla, "We’ve added support for users to override the default values for child elements in asset tags (for the collada writer). This support was added for the following child elements: - contributor

        - author
    
        - authoring_tool
    
        - comments
    
        - copyright
    
        - source_data
    
    • created

    • keywords

    • modified

    • revision

    • subject

    • title

    • unit

      - name
      
      - meter
      
    • up_axis

    👍 With this support, users are able to include additional information in their models. Additionally, tools such as sketchup that support asset tags use the values appropriately within their imported models."

    Mon, 14 Feb 2011 16:09:51 +0000 Author : Robert Osfield From Tim Moore, "This patch fixes some performance problems with the DXF loader. It removes some unnecessary copies of vertex coordinates (which were causing an exponential explosion). It also replaces BIND_PER_PRIMITIVE normals with BIND_PER_VERTEX so that the resulting geometry will be on the fast path."

    Mon, 14 Feb 2011 16:05:33 +0000 Author : Robert Osfield ➕ Added copyop parameter to cloneOptions() method

    Mon, 14 Feb 2011 15:59:49 +0000 Author : Robert Osfield 👯 From Tim Moore, "The non-virtual cloneOptions() method, which is now used by DatabasePager, breaks derived classes of osgDB::Options. This patch uses the clone() method to clone Options."

    Mon, 14 Feb 2011 15:43:41 +0000 Author : Robert Osfield ⚡️ From Sukender, "Here is an minor update for Jasper finder. It adds debug cache value for Windows/MSVC builds, and adds search paths."

    Mon, 14 Feb 2011 15:04:40 +0000 Author : Robert Osfield 🚚 From Jan Peciva, "Improvements: - Use OSG routines to load images instead of simage library (removes dependency on 3rdParty simage library). Applies to Coin Inventor clone only. "

    Mon, 14 Feb 2011 15:01:56 +0000 Author : Robert Osfield 🚚 Moved ProgramBinary into osg::Program scope

    Mon, 14 Feb 2011 14:16:58 +0000 Author : Robert Osfield 🛠 From Sukender, "Here are two sumbissions for DAE.1. daeRGeometry.cpp (rev 12132). A tiny sumbission which fixes a quite important bug: a parameter was forgotten in Collada ReaderWriter, and texture coordinates could not be loaded properly. So: " Added missing paramter when calling createGeometryData(). Fixes missing texture coordinates (in "bind_vertex_input"). "

    1. ReaderWriterDAE.cpp (rev 12132): " ➕ Added "baseImageDir" as a plugin string data, in order to manually specify base directory to use when relativising image file names. This is used to properly write files, when images are not located in a subdirectory (like "../images" for some software). "

    Mon, 14 Feb 2011 13:54:15 +0000 Author : Robert Osfield 🔌 From Johannes Bauerle, "I experienced problems using binary shaders in osgt files (=the osg-serializer plugins). At runtime std::bad_alloc errors were thrown when using binary shaders.The reason is that the .osgt text files do not provide size information about the contained binary shader hence leading to a bad allocation when reading the shader data, probably size 0 ? The reader method in the responsible serializer class (serializers/osg/BinaryShader) is correct and does not need to be changed as it queries the size as expected. The writer method supports two paths(binary output .osgb and text output .osgt/.osgx). Only the text path is affected as the binary path writes the size.

    I extended the writer in the text path by the size information. The results before and after the fix are shown below:

    Erroneous code for binary shader in osgt file before fix:

    Data { 0a 0d 0 ... }

    Corrected code for binary shader in osgt file after fix:

    Data 524 { 0a 0d 0 ... }

    After my fix the the thrown error disappeared."

    Mon, 14 Feb 2011 13:50:14 +0000 Author : Robert Osfield ⚡️ From Jahannes Bauerle, "l discovered that the shader class(/src/osg/Shader.cpp) shows wrong behavior when using binary shaders . When shader objects are compared the reference pointer behind the _shaderBinary member is not included in the comparison.I included binary shaders into an osgt model file. These shaders only consists of the binary shader code, I did not supply the text version additionally. When loading the model the osg::Optimizer threw away all shaders except the first one. In the current trunk version of the file two shader objects are identical despite differing _shaderBinary members as the compare method of the Shader class does not include the comparison of that member.

    The fix in this submission adds the check for identity of the referenced binary shaders to the shader class.

    When comparing two shader objects with text source shaders the new lines of comparison are not even executed as the comparison returns false in the previous lines when the text shaders differ.

    ⚡️ With this fix I get expected behavior, the Optimizer handles the different shaders correctly."

    Mon, 14 Feb 2011 12:55:44 +0000 Author : Robert Osfield Set debug message to INFO

    Mon, 14 Feb 2011 12:54:21 +0000 Author : Robert Osfield 👍 From Michael Platings, I've added initial support to osg for glGetProgramBinary and glProgramBinary. This means that shader programs can now be cached to disk and later reloaded, which is much faster than linking shaders from source code. This should mean significantly shorter load times for people who use lots of combinations of shaders.

    Mon, 14 Feb 2011 12:14:36 +0000 Author : Robert Osfield 🛠 Fixed typo

    Fri, 11 Feb 2011 12:11:17 +0000 Author : Robert Osfield From Jean-Sebastien Guay, event handler for controlling the field of view of the viewer's camera using 0, - and = keys.

    Fri, 11 Feb 2011 11:08:00 +0000 Author : Robert Osfield ⚡️ Update ChangeLog

    Fri, 11 Feb 2011 09:18:36 +0000 Author : Robert Osfield ➕ Added check against the NodePath being empty.

    Thu, 10 Feb 2011 14:24:39 +0000 Author : Robert Osfield 👉 Tweak to output details

    Thu, 10 Feb 2011 14:09:04 +0000 Author : Robert Osfield ⚡️ Updated AUTHORS and Contributors.cpp files

    Thu, 10 Feb 2011 12:23:18 +0000 Author : Robert Osfield 🏗 From Martin von Gagern, build fix for latest ffmpeg changes

    Tue, 8 Feb 2011 14:36:15 +0000 Author : Robert Osfield ➕ Added const

    Mon, 7 Feb 2011 14:19:58 +0000 Author : Robert Osfield Implementated experimental reuse of PBO's after download

    Fri, 4 Feb 2011 12:43:00 +0000 Author : Robert Osfield Added support for enabling the assignment of PixelBufferObjects to loaded Images to aid the download of images to the GPU. Feature can be enabled/disabled (default) by setting the env : OSG_ASSIGN_PBO_TO_IMAGES to ON or OFF

    Fri, 4 Feb 2011 10:27:05 +0000 Author : Robert Osfield ➕ Added support for getting the current screen refresh rate using the XrandR extension.

    Thu, 3 Feb 2011 17:07:01 +0000 Author : Robert Osfield ♻️ Refactored NodeTrackerManipulator to use osg::ObserverNodePath rather than it's only local equivilant.

    Thu, 3 Feb 2011 14:27:50 +0000 Author : Robert Osfield ➕ Added call to GraphicsCostEstimator::calibrate.

    Thu, 3 Feb 2011 12:42:23 +0000 Author : Robert Osfield 🚚 Moved GraphicsCostEstimator ref pointer into osg::State

    Thu, 3 Feb 2011 12:22:09 +0000 Author : Robert Osfield 🚚 Moved GraphicsCostEstimator from osgUtil into core OSG library

    Wed, 2 Feb 2011 17:23:12 +0000 Author : Robert Osfield 🏗 From Jean-Sebastien Guay, build fix

    Wed, 2 Feb 2011 16:44:21 +0000 Author : Michael PLATINGS ⚡️ Updated information about the FBX SDK version

    Tue, 1 Feb 2011 18:12:59 +0000 Author : Robert Osfield From Sukender, "Vertices in DOUBLE PRECISION were not handled by Remapper classes. I added missing virtual methods."

    Tue, 1 Feb 2011 12:18:47 +0000 Author : Robert Osfield 🛠 Fixed the setting of the Drawable modes

    Tue, 1 Feb 2011 12:18:22 +0000 Author : Robert Osfield ➕ Added experimental timing and PBO usage into ICO+GCE classes

    Tue, 1 Feb 2011 12:17:40 +0000 Author : Robert Osfield 🛠 Fixed bug in PixelBufferObject constructor for the case when a null Image is passed in to it. Added extra checks for NULL buffer data.

    Mon, 31 Jan 2011 11:40:35 +0000 Author : Robert Osfield Ran: svn propset svn:eol-style native include// svn propset svn:keywords "Author Date Id Revision" include//

    Mon, 31 Jan 2011 11:35:50 +0000 Author : Robert Osfield svn propset svn:keywords "Author Date Id Revision" include/OpenThreads/*

    Mon, 31 Jan 2011 10:41:17 +0000 Author : Robert Osfield 💅 Set eol-style to native.

    Fri, 28 Jan 2011 14:24:30 +0000 Author : Robert Osfield 🚀 Temporarily disabled the cost estimate code for the 2.9.11 release

    Fri, 28 Jan 2011 13:54:44 +0000 Author : Robert Osfield 🔒 From Ulrich Hertlein, "I adapted the Cocoa implementation so that it reports the unmodified key and the modified key as requested. Can other OS X developers please test the attached file, to make sure it works for everybody?I fixed the problem with the caps-lock-key, too."

    Fri, 28 Jan 2011 12:34:49 +0000 Author : Robert Osfield 🛠 Fixed size of default font

    Fri, 28 Jan 2011 11:07:51 +0000 Author : Robert Osfield ⚠ From Per Fahlberg, warning fixes

    Fri, 28 Jan 2011 10:59:50 +0000 Author : Robert Osfield ✅ From Mathias Froehlich, "Driven by the last qfontimplementation changes, I realized, that I never contributed my testcase/demo for the original implementation. This attached change is similar to osgtext but uses the QFontImplementation in a Qt based viewer. With that, it should be easier for all of us to test changes in qfontimplementation"

    Fri, 28 Jan 2011 10:53:49 +0000 Author : Robert Osfield 👀 From Ulrich Hertlien, "the changes from r12126 (see below) in dae/domSourceReader.h cause compiler errors on OS X with gcc-4.2.1:In file included from 🔌 /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/daeRAnimations.cpp:3: 🔌 /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:43: error: explicit specialization in non-namespace scope 'class osgDAE::domSourceReader' 🔌 /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:45: error: explicit specialization in non-namespace scope 'class osgDAE::domSourceReader' 🔌 /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:47: error: explicit specialization in non-namespace scope 'class osgDAE::domSourceReader' 🔌 /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:49: error: explicit specialization in non-namespace scope 'class osgDAE::domSourceReader' 🔌 /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:51: error: explicit specialization in non-namespace scope 'class osgDAE::domSourceReader' ...

    🛠 The attached file fixes this."

    Fri, 28 Jan 2011 10:50:24 +0000 Author : Robert Osfield ✏️ From Mourad Boufarguine, "This is a tiny fix for some typos in osg code."

    Thu, 27 Jan 2011 18:49:22 +0000 Author : Robert Osfield 👍 From Andreas Roth, "simple fix to support quad buffer stereo in osgQt"

    Thu, 27 Jan 2011 17:14:28 +0000 Author : Robert Osfield From Eric Buehler, "I believe that the osgWidget::Window::HA_CENTER alignment should be center aligned rather than by the origin, as the osgWidget::Window::VA_TOP causes.The current setAnchorHorizontal() command doesn't center the center of the object, it just center's the object's origin. The following change to osgWidget::Window::update() will correct that behavior so that it is consistent with setAnchorVertical() behavior. "

    Thu, 27 Jan 2011 17:12:23 +0000 Author : Robert Osfield ✅ From Sukender, "I found the bug I was chasing! Here is my "twin" submission, from latest trunk rev: 12124.1. DAE submission: 🔌 DAE plugin now correctly writes images URI in Collada file, when images are used twice. I also greatly improved readability and maintenability of geometry reading (mainly daeRGeometry.cpp), by factorizing code, templatizing it (for double/single precision), and removing ugly macros.

    1. osgDB submission: ⚡️ I updated osgDB::getPathRelative(): it is now far more readable, it handles more cases (especially when you want to relativise "a/c" from "a/b", which results in "../c"), and I added comments to make it clearer to maintain."

    Thu, 27 Jan 2011 16:23:48 +0000 Author : Robert Osfield From Alexander Sinditskiy, "reason of this changes described in http://forum.openscenegraph.org/viewtopic.php?t=7596and another problem is: example osgkeyboard is not work (keys not highlight) if user have 2 keyboard layout native and english and current user layout is native

    I try to explain my changes

    we need something that is identify key without modifier keys and layout -> this is UnmodifedKey

    I think osg must have its own UnmodifiedKeys table. Code must be run same on different platforms. This can de guaranteed by UnmodifiedKeys table.

    Mikhail Izmestev helped me. He implemented VirtualKey changes in GraphicsWindowX11"

    Thu, 27 Jan 2011 09:41:37 +0000 Author : Robert Osfield ✂ Removed the executable property from source files

    Wed, 26 Jan 2011 18:47:55 +0000 Author : Robert Osfield Implement first pass at texture compile estimation

    Wed, 26 Jan 2011 16:47:40 +0000 Author : Robert Osfield ✅ Replaced CompileStats with GraphicsCostEstimator

    Wed, 26 Jan 2011 16:46:58 +0000 Author : Robert Osfield ⚠ From Mourad Biyfarguine, "This is a fix to some 'potentially uninitialized local variable' warnings in src/osg/glu/libutil/mipmap.cpp."

    Wed, 26 Jan 2011 16:45:36 +0000 Author : Robert Osfield 🏗 From Mathias Froehlich, build fix for Solaris

    Wed, 26 Jan 2011 16:10:42 +0000 Author : Robert Osfield 👀 From Wang Rui, "I've found a problem when using QFont (osgQt/QFontImplementation.cpp) to read fonts: only the first character of a whole text is correctly shown and others are disappeared. I haven't got into the font implementation so can't explain why this happened and how it should work under other platforms, but it seems to be fixed by specifying width and height of the glyph object. The source file is attached for future developments. At present it just works for my own project. :-) "

    Wed, 26 Jan 2011 12:51:46 +0000 Author : Robert Osfield 🚚 Moved GraphicsCostEstimator into osgUtil.

    Wed, 26 Jan 2011 12:07:56 +0000 Author : Robert Osfield Implemented first pass at geometry cost estimation.

    Tue, 25 Jan 2011 16:48:53 +0000 Author : Robert Osfield 🛠 Fixed warnings

    Tue, 25 Jan 2011 11:11:47 +0000 Author : Robert Osfield ✅ Further work on GraphicsCostEstimator classes

    Mon, 24 Jan 2011 21:12:25 +0000 Author : Robert Osfield 🏗 From Mathias Froehlich, build fixes

    Mon, 24 Jan 2011 20:45:02 +0000 Author : Robert Osfield ➕ Added osggraphicscost example as a base of for developing and testing the new osgUtil::GraphicsCostEsimator class.

    Mon, 24 Jan 2011 11:45:45 +0000 Author : Cedric Pinson From Michael Platings, Fix animation duration when adding channel to animation

    Fri, 21 Jan 2011 14:11:22 +0000 Author : Robert Osfield ➕ Added #include to fix build

    Fri, 21 Jan 2011 13:40:28 +0000 Author : Robert Osfield 👉 From Sukender, " DAE plugin was linking ORIGINAL images in the Collada file, using image->getName() as a path (even if images were modified in memory!). As the behaviour was not the one of other plugins (3DS, FBX, and such), I made the plugin relativise images filenames (as those plugins) and write the image which is in memory. However, in order to avoid removing features, I kept the previous behaviour but moved it in an option. Here are the options of the plugin I changed: - daeForceTexture was unclear in this new context and removed in favor of two new options - daeLinkOriginalTexturesNoForce: Writes reference to the original image if found, instead of writing the image in memory - daeLinkOriginalTexturesForce: Writes reference to the original image even if not found, instead of writing the image in memory Of course, if you specify no option, images are written as for other plugins.Other thing I changed is the UTF8 support as I told you in a previous conversation. Now there is a simple option, "daeNamesUseCodepage", which makes all names except filenames (materials, animation, geometries...) be considered as encoded using current codepage. If so, they'll be converted to UTF8 when writing; else they are written directly. Of course, filenames follow OSG_USE_UTF8_FILENAME as usual.

    I did "

    Fri, 21 Jan 2011 12:17:18 +0000 Author : Michael PLATINGS 🚚 From Sukender: I had to call code from the FBX plugin (to relativise paths). I thus extracted it from FBX and moved it in osgDB (FileNameUtils)

    Fri, 21 Jan 2011 11:46:15 +0000 Author : Robert Osfield From Sukender, getPathRelative() method.

    Thu, 20 Jan 2011 12:34:41 +0000 Author : Robert Osfield ➕ Added export to see if it address Mingw link problems

    Thu, 20 Jan 2011 12:32:20 +0000 Author : Robert Osfield 🔒 From Matthew Johnson-Roberson, "Small fix for operation thread to protect the access to _operations vector by functions getNumOperationsInQueue() and empty(). It is simply an addition of OpenThreads::ScopedLock<OpenThreads::Mutex> lock(_operationsMutex); to protect against accessing while writing which was segfaulting in VPB specifically in void ThreadPool::run(osg::Operation* op) in the waiting loopwhile (_operationQueue->getNumOperationsInQueue() >= _maxNumberOfOperationsInQueue) "

    Thu, 20 Jan 2011 12:27:51 +0000 Author : Robert Osfield ⚠ From Per Fahlberg, warning fixes

    Thu, 20 Jan 2011 12:23:04 +0000 Author : Robert Osfield 🔌 From Simon Julier, "I have been using the ply plugin to read files created by bundler and pmvs2 (http://grail.cs.washington.edu/software/pmvs/). This program generates models in the form of vertices only. However, the existing ply reader implementation was not able to handle the models generated in a satisfactory manner for two reasons:1. It did not support normals applied to individual vertices. 👍 2. It would only support red / green / blue colour triples, but the pmvs models are generated with diffuse colours. (The PLY format, http://local.wasp.uwa.edu.au/~pbourke/dataformats/ply/, lists specular and ambient colour forms as well.)

    To partially overcome these limitations, please find attached modified versions of

    🔌 src/osgPlugins/ply/vertexData.cpp 🔌 src/osgPlugins/ply/vertexData.h

    The changes I've made are:

    ⚠ 1. I have changed the boolean hasColor flag to a vertexField (which is a boolean operation on an enum) to indicate what fields are present in the ply file. (This is required because Turk's ply reader spits out warnings for every line where you try to read fields which do not exist.)

    1. I have modified the code to apply valid normals to either triangles or vertices. 👍 3. I have kludged in "support" for the various colour variants. Specifically, all the colour specified can be read from the file. However, they are all applied in the same way (namely as a colour array, bound to each vertex)."

    Wed, 19 Jan 2011 10:57:58 +0000 Author : Robert Osfield From Simon Julier, "I ran across linking errors with osgdb_exr. Specifically, I found it was necessary to link against libImlIlf, libImlThread, libHalf, libIex and libzip.I have attached a patch, against the trunk from 13:30 today, which consists of the following:

    1. CMakeModules/FindOpenEXR.cmake: Look for libIlmThread and libIex as well. 2. src/osgPlugins/CMakeList.txt: Only include the exr subdirectory if both the OpenEXR and zip libraries were found. 3. src/osgPlugins/exr/CMakeLists.txt: Add ZIP_LIBRARY to TARGET_EXTERNAL_LIBRARIES."

    Wed, 19 Jan 2011 10:38:39 +0000 Author : Robert Osfield From Sukender, normalized option names

    Wed, 19 Jan 2011 10:31:49 +0000 Author : Robert Osfield 🔌 From Sukender, "Added ability for writer to read from Vec3/4d/f. Plugin now warns if it finds another type of data"

    Wed, 19 Jan 2011 09:53:34 +0000 Author : Robert Osfield ⚡️ From Sukender, "Factorized the depth loop ("while ( lastDepth >= _nodePath.size() )...") into a method called updateCurrentDaeNode(). Added missing calls into apply(osg::LightSource &) and daeWriter::apply(osg::Camera &) and daeWriter::apply(osg::CameraView &)"

    Wed, 19 Jan 2011 09:36:21 +0000 Author : Robert Osfield 🛠 From Sukender, "Fixed ReaderWriterDAE::ConvertFilePathToColladaCompatibleURI(): It now handles paths containing '#' character as expected."

    Wed, 19 Jan 2011 09:34:26 +0000 Author : Robert Osfield From Sukender and Robert Osfield, clean up of options

    Tue, 18 Jan 2011 16:14:24 +0000 Author : Robert Osfield From Michael Platings, "I've attached a fix for a subtle bug that causes animations (and quite possibly other things) to be serialized incorrectly.For the following code:

    define MYMACRO(NAME) myOutputStream << #NAME;

    MYMACRO(Group)

    you would expect that "Group" would be output. However, as there are many overloaded operator<< functions, none of which take a const char* argument, the function that's actually called is operator<<(bool). Hence what actually gets output is "TRUE". An actual example of this is in serializers\osgAnimation\Animation.cpp, WRITE_CHANNEL_FUNC2.

    So the simple solution to this is to add operator<<(const char*), attached. "

    Tue, 18 Jan 2011 15:00:36 +0000 Author : Robert Osfield 🚚 Moved the StateSet query and texcoord settings to within the if (vertices) block to avoid an attempt to dereferences geometry->getStateSet() when non Geometry drawable is intersected.

    Tue, 18 Jan 2011 11:20:53 +0000 Author : Robert Osfield 🛠 Fixed CompileSet so it returns true when there is nothing to compile at all.

    Tue, 18 Jan 2011 09:54:47 +0000 Author : Robert Osfield 🏗 Build fix

    Mon, 17 Jan 2011 17:17:19 +0000 Author : Robert Osfield 👍 Implemented better coupling of DatabasePager and IcrementalCompileOperation, removing functional duplication and opening the door to dynamic enabling/disabling of pre compile based on load.

    Mon, 17 Jan 2011 09:10:14 +0000 Author : Robert Osfield ➕ Added getNum methods

    Sat, 15 Jan 2011 18:12:19 +0000 Author : Robert Osfield First steps on the path to integrating ImageProcessor

    Fri, 14 Jan 2011 14:30:19 +0000 Author : Robert Osfield 🔌 From Guy Volckaert, "Changes to the openflight plugin to support replacing double sided polygons by 2 opposite facing polygons. This is sometimes required to resolved lighting and intersection issues. A new import option was was added to activate this feature called "replaceDoubleSidedPolys".

    Fri, 14 Jan 2011 13:31:07 +0000 Author : Robert Osfield From Sukender, "- Lowered one notify level (it's now coherent with the "if" just above)"

    Fri, 14 Jan 2011 12:08:46 +0000 Author : Robert Osfield From Wang Rui, "I'd like to submit a small new feature to the osgmanipulator example which could fix the dragger size in screen, so that no matter how we zoom in/out the camera, the dragger will never be scaled.This is what 3D graphics software like 3dsmax and maya behave, which helps users select and manipulate draggers more easily.

    🛠 You may turn on the feature with the new --fixedDraggerSize argument:

  • v0.0-255.0 Changes

    M include/osg/State

    Wed, 6 Feb 2013 14:49:48 +0000 Author : Robert Osfield ➕ Added TODO note about RGB -> RGBA

    Wed, 6 Feb 2013 12:46:03 +0000 Author : Robert Osfield 🚀 From David Longest, "I have updated the FFmpeg plugin to support the 1.0 release version of FFmpeg. The files attached were modified in order to facilitate the update. Below are the details for all changes made.Header update

    🚀 FindFFmpeg.cmake has been changed in order to support the new header include format for FFmpeg. In the 1.0 release, a new file had been added with the name “time.h” in the avutil library. The previous method of adding includes caused conflicts with the ANSI C “time.h” file. Now the include directive will only use the main include folder. All files using the old include format have been updated to reflect the change.

    Added __STDC_CONSTANT_MACROS define to CMakeLists.txt

    🚚 Since there is no guarantee that FFmpegHeaders.hpp will be included before stdint.h is included, the define has been moved from FFmpegHeaders.hpp to be part of the CMakeLists.txt for the FFmpeg plugin. This will allow the define to work on all compilers regardless of include order.

    Replaced AVFormatParameters with AVDictionary

    ⚡️ AVFormatParameters is no longer supported in FFmpeg and has been replaced with a key/value map of strings for each setting. FFmpegParameters and FFmpegDecoder has been updated to reflect this.

    Replaced av_open_input_file with avformat_open_input

    FFmpeg now opens files using avformat_open_input. Since the av_open_input_file method is deprecated, the FFmpegDecoder class has been updated to reflect this change.

    ➕ Added custom AVIOContext field to options

    👀 Since some formats and inputs may not be supported by FFmpeg, I have added a new parameter that allows a user to allocate their own AVIOContext. This class will allow for creating a read, seek, and write callback if they desire.

    Checking for start_time validity

    It is possible for some file formats to not provide a start_time to FFmpeg. This would cause stuttering in the video since the clocks class would be incorrect.

    ✂ Removed findVideoStream and findAudioStream

    🚀 The new FFmpeg release already has a function that will find the best audio and video stream. The code has been replaced with this function.

    ⚡️ Updated error reporting

    🔊 Some functions would not log an error when opening a file or modifying a file failed. New logs have been added as well as a function to convert error numbers to their string descriptions.

    decode_video has been replaced

    🚚 The old decode_video function would remove extra data that some decoders use in order to properly decode a packet. Now av_codec_decode_video2 has replaced that function.

    Picture format changed from RGBA32 to RGB24

    Since most video will not contain an alpha channel, using a 24 bit texture will use less memory."

    Wed, 6 Feb 2013 12:02:05 +0000 Author : Robert Osfield Simplified include/osg/Math to use Standard C++ maths headers - and

    Wed, 6 Feb 2013 11:16:29 +0000 Author : Robert Osfield 🛠 Fixed warning

    Wed, 6 Feb 2013 09:20:10 +0000 Author : Robert Osfield 🏁 From Stephan Huber, fixed for Windows 64bit build

    Tue, 5 Feb 2013 18:22:46 +0000 Author : Robert Osfield ➕ Added .get()'s to fix compilation when ref_ptr<> type conversion is disabled

    Mon, 4 Feb 2013 16:25:52 +0000 Author : Robert Osfield ⚡️ Updated ChangeLog

    Mon, 4 Feb 2013 14:42:44 +0000 Author : Robert Osfield 🚀 Updated version number after 3.1.4 developer release

    Mon, 4 Feb 2013 13:28:45 +0000 Author : Robert Osfield From Jordi Torres, "The info about cdash reports was outdated. Now it points to the right URL. BTW I have checked it out and the cdash server is working ok again. "

    Mon, 4 Feb 2013 13:28:05 +0000 Author : Robert Osfield 🛠 Fixed warning

    Mon, 4 Feb 2013 13:27:46 +0000 Author : Robert Osfield 🛠 Fixed warnings

    Mon, 4 Feb 2013 13:11:13 +0000 Author : Robert Osfield 🛠 Fixed warning

    Mon, 4 Feb 2013 12:50:51 +0000 Author : Robert Osfield 🛠 Fixed warning and converted tabs to four spaces

    Mon, 4 Feb 2013 12:38:08 +0000 Author : Robert Osfield 🛠 Fixed warnings

    Mon, 4 Feb 2013 12:01:26 +0000 Author : Robert Osfield 🛠 Fixed warning

    Thu, 31 Jan 2013 16:26:06 +0000 Author : Robert Osfield Standardized use of GL_HALF_FLOAT_NV and GL_HALF_FLOAT_ARB to GL_HALF_FLOAT

    Thu, 31 Jan 2013 11:09:03 +0000 Author : Robert Osfield ↪ From Stephan Huber, introduction of message id scheme were osc messages are sent with an unique id, and can be dispatched multiple times to workaround network packet losses.

    Wed, 30 Jan 2013 11:31:27 +0000 Author : Robert Osfield ➕ Added handling of movies into Timeout

    Wed, 30 Jan 2013 10:49:18 +0000 Author : Robert Osfield ➕ Added disabling of the traversal of the Timeout in update when the timout is not displayed and disabled traversal by the SlideEventHandler.

    Wed, 30 Jan 2013 10:40:26 +0000 Author : Robert Osfield 🛠 Fixed the erronous header so that it is OSGPL like the rest of the osgAnimation.

    Wed, 30 Jan 2013 10:21:45 +0000 Author : Robert Osfield From Stephan Huber, "As I have not all referenced image-data, SlideShowConstructor crashed on my end. Attached is a fix for that crash."

    Mon, 28 Jan 2013 14:56:52 +0000 Author : Robert Osfield 🛠 From Wang Rui, "I've fixed the bug of writing/reading scenes including the ImageSequence serializer. Current trunk version will fail when handing image sequences because it forces to set className to "osg::Image" in InputStream.cpp. I have to read a value saved in file instead so I must add a hardhanded version checking for backward compatibility.Now we can work with ImageSequence objects, in both osgt and osgb files."

    Mon, 28 Jan 2013 14:30:21 +0000 Author : Robert Osfield 🏁 From Laurens Voerman, "I have implemented and tested (on windows only) your suggestion for resetCullingMask(), it's far less intrusive than my previous submission. attached are the changes to current svn (28 Jan 2013 / rev :13312). "

    Fri, 25 Jan 2013 16:54:30 +0000 Author : Robert Osfield 🔧 From Thomas Hogarth, "Attached are two minor modifications to the master CMakeLists.txt file.It now points to sdk version 6.0 (I do intend to make this configurable my command line)

    🏗 It also added a search for libtiff to Apple builds mainly for use with osg earth."

    Fri, 25 Jan 2013 11:54:03 +0000 Author : Robert Osfield ⚡️ From Wang Rui, "In the attached files I've added the Compute Shader support for OSG, as well as serializer updates and a new osgcomputeshaders example. My submission also include a setComputeGroups() function in Program for setting compute-shader work groups, and a bindToImageUnit() function in Texture for binding textures as image variables in shaders.All code are tested on Windows 7 + NVIDIA GFX 570 with the latest GeForce 310.70 Driver (BETA), which could support OpenGL 4.3.

    Compute shader information can be found at "http://www.opengl.org/registry/specs/ARB/compute_shader.txt" "

    Fri, 25 Jan 2013 11:08:32 +0000 Author : Robert Osfield 🏁 From Lukasz Izdebski, "Adding this GL mode makes possibly to use this GL Modes (added in core OpenGL 3.2) in Windows."

    Fri, 25 Jan 2013 10:36:42 +0000 Author : Robert Osfield 🛠 Fixed compile warning

    Fri, 25 Jan 2013 10:24:11 +0000 Author : Robert Osfield ➕ Added debug message for Timout

    Thu, 24 Jan 2013 18:48:34 +0000 Author : Robert Osfield 🛠 Fixed usage of META_NodeVisitor so it doesn't include ""

    Wed, 23 Jan 2013 17:38:28 +0000 Author : Robert Osfield From Pjotr Svetachov, "when you restart threading with startThreading/stopThreading the _drawQueue and _availableQueue are not reset properly. This can lead to a deadlock when threading is started again. So before threading is started again the queues must be reset. This deadlock is also reported earlier by someone else in here: http://forum.openscenegraph.org/viewtopic.php?p=43415#43415"

    Wed, 23 Jan 2013 17:37:26 +0000 Author : Robert Osfield ⚡️ From Pjotr Svetachov, "small bug which I have found in the FlattenStaticTransformsDuplicatingSharedSubgraphsVisitor: the visitor will replace part of the tree when visiting the nodes but it does not update the current node path to reflect this. If you then have multiple nested transform nodes it will usually crash and sometimes it won't crash but the resulting mesh will miss some nodes."

    Wed, 23 Jan 2013 16:27:22 +0000 Author : Robert Osfield 👀 From Mathias Froehlich, "I have extended the dds loader by some newer DX10 texture formats. Especially the float texture formats. I need a few of these formats somewhere but have extended everything that I found plausible and was easy to find a GL texture type/format for. For some float32 type of texture the files the implementation seem to work fine. The rest lacks testing. The writer side is not implemented."

    Wed, 23 Jan 2013 16:22:45 +0000 Author : Robert Osfield 🏗 From Wang Rui with edits from Robert Osfield, additional GLenums for cross platform build

    Wed, 23 Jan 2013 15:54:20 +0000 Author : Robert Osfield 🛠 From Lionel Lagarde, fixed typo bug

    Wed, 23 Jan 2013 11:50:45 +0000 Author : Robert Osfield ✂ Removed redundent code block

    Wed, 23 Jan 2013 11:45:31 +0000 Author : Robert Osfield 🔌 From Lukasz Izdebski, "I found problem with rgb plugin. Internal format of rgb image is wrongly set ( diffrent then in other images type plugin ), because of that using rgb images in osg::Texture2DArray causes a bug."

    Wed, 23 Jan 2013 11:20:00 +0000 Author : Robert Osfield From Mathias Froehlich, "Attached is a patch that includes the stereo cameras in Renderer::*etCameraRequiresSetUp.I am not sure if the getter needs to be changed, but this is currently included for consistency."

    Tue, 22 Jan 2013 16:53:50 +0000 Author : Robert Osfield 🔌 From Alessandro Terenzi, "I've modified the avfoundation plugin to copy the preferredTransform matrix into the UserData property of the corresponding imagestream: by doing so, we can realize if the video should be transformed when applied as a texture (this should be the case, for instance, when we record a movie using an iOS device with any orientation different than 'landscape left')."

    Tue, 22 Jan 2013 16:13:59 +0000 Author : Robert Osfield Added and functionality to .p3d functionality.

    Tue, 22 Jan 2013 10:33:19 +0000 Author : Robert Osfield ➕ Added extra check against whether node needs to be traversed in update and event traversals to prevent osgPresentation::Timeout being classified as a node that can be removed.

    Fri, 18 Jan 2013 17:11:49 +0000 Author : Robert Osfield ➕ Added Options support to ImageSequence LOAD_* functionality

    Fri, 18 Jan 2013 16:30:55 +0000 Author : Robert Osfield ⚡️ Update SO_VERSION to reflect new API changes

    Fri, 18 Jan 2013 16:21:17 +0000 Author : Robert Osfield Added LOAD_AND_RETAIN_IN_UPDATE_TRAVERSAL and LOAD_AND_DISCARD_IN_UPDATE_TRAVERSAL ImageSequence::Mode's to allow for ImageSequence usage without using background paging threads, instead loading all the images on demand in the update traversal.

    Thu, 17 Jan 2013 13:51:52 +0000 Author : Robert Osfield Added and support to to allow the different timeout statges to be broadcast.

    Thu, 17 Jan 2013 11:57:18 +0000 Author : Robert Osfield 🔄 Changed the defaults of the Timeout to be DBL_MAX by default.

    Thu, 17 Jan 2013 11:48:20 +0000 Author : Robert Osfield ⏱ Completed support, to use it with p3d use it along the lines: Test 3.0 5.0 A S D w t Images/lz.rgb cow.osg

    Thu, 17 Jan 2013 09:51:15 +0000 Author : Robert Osfield ➕ Added support for to Timeout support.

    Wed, 16 Jan 2013 16:13:30 +0000 Author : Robert Osfield ⏱ Implemented basic Timeout display and timing codes

    Tue, 15 Jan 2013 11:31:44 +0000 Author : Robert Osfield ➕ Added shell of Timeout class

    Fri, 11 Jan 2013 11:30:44 +0000 Author : Robert Osfield ➕ Added movie volume animation control to and tags to be used in the form: 0.20

        <property_animation>
            <key_frame time="0.0">
                <property name="volume" type="float">0.0</property>
            </key_frame>
            <key_frame time="2.0">
                <property name="volume" type="float">1.0</property>
            </key_frame>
            <key_frame time="10.0">
                <property name="volume" type="float">1.0</property>
            </key_frame>
            <key_frame time="12.0">
                <property name="volume" type="float">0.0</property>
            </key_frame>
        </property_animation>
    
        <layer>
              <image volume="$volume" looping="ON">big_buck_bunny_1080p_stereo.ogg</image>
       </layer>
    </slide>
    

    Thu, 10 Jan 2013 19:55:50 +0000 Author : Robert Osfield ➕ Added support for properties that works in conjunction with the start="time" property support checked in in previous submission, together these control the delay, start position and stop position of movies.

    Thu, 10 Jan 2013 14:37:52 +0000 Author : Robert Osfield ➕ Added support for property that tells a video to start specificied number of sections into a video.

    Thu, 10 Jan 2013 10:53:22 +0000 Author : Robert Osfield 👀 From Stephan Huber, "thanks for your input, unfortunately I could not get it working with packing, but setting the row-length works now. Seems I had it wrong the first time.Attached are both files. This should fix the video-bug mentioned on the dlf-wiki.

    "

    Wed, 9 Jan 2013 16:29:28 +0000 Author : Robert Osfield 🔄 Changed the named colours back to having a alpha value of 1.0 to avoid problems with text not appearing.

    Wed, 9 Jan 2013 16:03:22 +0000 Author : Robert Osfield ➕ Added reset of the cursorFileName when hideCursor is activated to prevent the custom cursor being enabled.

    Tue, 8 Jan 2013 10:21:13 +0000 Author : Robert Osfield ➕ Added case for FORWARD_EVENT to address warning

    Mon, 7 Jan 2013 15:03:22 +0000 Author : Robert Osfield From Aurelien Albert, "I get a compile error on Windows VS2008 wih new DAE plugin, here is a fix : _document = _dae->openFromMemory(fileURI, buffer.data());

    "data" method is unknow for std::vector with VS2008

    I've replaced it with :

    _document = _dae->openFromMemory(fileURI, &buffer[0]);
    

    "

    Mon, 7 Jan 2013 12:41:16 +0000 Author : Robert Osfield 👉 Added support for --show-cursor and --hide-cursor command line options, and P3D_SHOW_CURSOR env var that can be set to YES or NO.

    Mon, 7 Jan 2013 12:17:26 +0000 Author : Robert Osfield 🛠 From Stephan Huber, "* osgGA: fixed a small bug regarding emulating mouse-events from touch-events * resthttp/osc: encapsulate RequestHandler-classes in their own namespaces to prevent class-name-lookup-errors in the debugger/code (had some weird crashes) * QTKit: fixed a compile-bug for gcc and blocks * osgPresentation: click_to_* will fire on RELEASE, only if the drawable received a PUSH beforehand * p3d/osgPresentation: implemented "forward_mouse_event_to_device"-tag, which will forward mouse-events to all registered devices of a viewer, if an intersection occurs. The mouse-coordinates get reprojected * present3d: all devices get registered with the viewer * osgViewer: only devices which are capable of receiving events are queried for new events. * GraphicWindowIOS: added a flag to GraphicWindowIOS::WindowData to set up a retained backing buffer (defaults to false) This will enable read-back of the render-buffer with glReadPixels even after the renderbuffer got presented * curl: added an optimized check for file-existance, now only the headers are requested and checked, instead of reading the whole file and handle it with a ReaderWriter * p3d: fixed a bug, where the existence of a local file may prevent the remote loading of a file with the same name."

    Thu, 20 Dec 2012 16:16:07 +0000 Author : Robert Osfield Made UpdateVisitor::TravesalMode default to TRAVERSE_ACTIVE_CHILDREN

    Thu, 20 Dec 2012 12:14:53 +0000 Author : Robert Osfield ➕ Added region="$xmin $ymin $zmin $xmax $ymax $zmax" support to tag, along with animation support via the support.

    Wed, 19 Dec 2012 17:14:29 +0000 Author : Robert Osfield ✂ Removed lighting of trk lines

    Wed, 19 Dec 2012 12:38:17 +0000 Author : Robert Osfield 🔄 Changed the colour calculation and added gl_ClipVertex to enable clipping.

    Tue, 18 Dec 2012 11:20:20 +0000 Author : Robert Osfield ✂ Removed erroneous region setting

    Tue, 18 Dec 2012 09:49:01 +0000 Author : Robert Osfield ✅ From Juergen Rensen, "This is a fix for the latest SVN version (rev 13269). The ‘destroyFrameBuffer’ method in ‘GraphicsWindowIOS.mm’ had ‘glDeleteFramebuffersOES’ calls for the stencil buffer, MSAA render buffer and MSAA depth buffer instead of ‘glDeleteRenderbuffersOES’. The fix changes the mismatched calls to ‘glDeleteRenderbuffersOES’.The impact of the bug was a memory leak that would affect multi-sampling iOS apps that allow for device rotation or window resizing in general. For our app, the leak ranged from ca. 10 MB to 40 MB per device rotation, depending on device, for the MSAA buffers. I have not been able to confirm impact for the stencil buffer. "

    Mon, 17 Dec 2012 15:58:57 +0000 Author : Robert Osfield ➕ Added support for RGBA colour buffer in osgframerenderer using the --rgba command line option (--rgb selects the standard non colour frame buffer which is the default).

    Sun, 16 Dec 2012 17:10:37 +0000 Author : Robert Osfield ➕ Added handling of aspect ratio for vertical/horizontal split stereo.

    Fri, 14 Dec 2012 16:31:07 +0000 Author : Robert Osfield 👀 From Stephan Hunber, "* now you can create a transparent opengl-view (see GraphicWindowIOS::WindowData) * changes of the view's bound are reported via osg's event-system more reliably"

    Fri, 14 Dec 2012 16:30:28 +0000 Author : Robert Osfield ⚡️ Updated SO version

    Thu, 13 Dec 2012 17:35:27 +0000 Author : Robert Osfield From Lionel Lagarde, "Here is a correction on the PixelBufferObject getter methods of Image.The set method modify the buffer object of the BufferData while the get method returned the buffer object of the Image.

    🚚 I've also removed the _bufferObject member of Image (not used anymore)." --This line, Lionel Lagardeand those below, will be ignored--

    M include/osg/Image

    Thu, 13 Dec 2012 16:23:38 +0000 Author : Robert Osfield ➕ Added colouring and lighting of track using shader

    Tue, 11 Dec 2012 17:45:20 +0000 Author : Robert Osfield 🛠 Fixed handling of image colour space conversion when pixel format changes

    Tue, 11 Dec 2012 17:27:22 +0000 Author : Robert Osfield Added automatic conversion of RGB to RGBA when doing REPLACE_ALPHA_WITH_LUMINANCE colour space conversion.

    Tue, 11 Dec 2012 10:44:00 +0000 Author : Robert Osfield Disabled lighting and set the colour to white

    Tue, 11 Dec 2012 09:55:48 +0000 Author : Robert Osfield First cut of generating lines from .trk data

    Mon, 10 Dec 2012 11:11:19 +0000 Author : Robert Osfield ➕ Added setting of the fusion distance.

    Sat, 8 Dec 2012 16:11:00 +0000 Author : Robert Osfield ➕ Added --flip and --no-flip command line options to enable/disable a vertical flip of the captured image before writing out to disk.

    Fri, 7 Dec 2012 19:05:47 +0000 Author : Robert Osfield From Stephan Huber, "attached you'll find a zip containing some bug-fixes and some refactored + new code.* ZeroConfDevice does now return FILE_NOT_HANDLED instead of FILE_NOT_FOUND

    • 👍 present3D supports multiple devices per env-var P3D_DEVICE, separate multiple device with a space

    ♻️ I refactored parts the p3d-plugin, the curl-plugin and parts of Registry and ReaderWriter. Currently the p3d-plugin tries to open all remote files with the help of the curl-plugin.

    👍 I added a new method to Registry called getReaderWriterForProtocolAndExtension. which will return a ReaderWriter which is capable in handling the remote file for the given protocol and extension. If no readerwriter is found for the given extension, a list is built of all readerwriters supporting the given protocol and this list is checked for support of wildcards (extension = "*"). If anything matches it get returned.

    🔌 I added this principle also to the Registry, so now it's possible to register a generic ReaderWriter which can handle all filetypes for a given protocol, similar what curl is doing. All you have to do is to load the plugin at startup. The curl-fallback is still in place.

    🔌 With these changes it is now possible to reference a movie inside a presentation without a server-address, read the presentation (with curl) and stream the movie with the correct plugin (e.g. QTKit)

    "

    Fri, 7 Dec 2012 19:04:49 +0000 Author : Robert Osfield ➕ Added template swapBytes method

    Fri, 7 Dec 2012 13:59:57 +0000 Author : Robert Osfield ➕ Added naming of root of presentation and used this in the setup of the position of the camera.

    Fri, 7 Dec 2012 12:47:42 +0000 Author : Robert Osfield 🛠 Fixed handling of window size/projection matrix

    Fri, 7 Dec 2012 10:19:05 +0000 Author : Robert Osfield 🔌 From Stephan Huber, attached is a fix for the bug of present3D not loading fonts across http. I pass SlideShowConstructor's options-object to readFontFile when constructing any text-objects so freetype can pick up the font-data from the curl-plugin. It works fine now on my end.

    Thu, 6 Dec 2012 19:09:17 +0000 Author : Robert Osfield 🔌 Intial shell of .trk plugin

    Thu, 6 Dec 2012 18:12:00 +0000 Author : Robert Osfield 🏗 From Stephan Huber, build fix

    Thu, 6 Dec 2012 14:42:36 +0000 Author : Robert Osfield ➕ Added default value for initialization of port number

    Thu, 6 Dec 2012 11:36:35 +0000 Author : Robert Osfield 🛠 Fixed typo

    Thu, 6 Dec 2012 11:36:13 +0000 Author : Robert Osfield ➕ Added creation of directory path for ouput if one is required

    Thu, 6 Dec 2012 08:02:08 +0000 Author : Robert Osfield 🏁 From Stephan Huber, ZerConfDevice plugin for Windows and Apple

    Wed, 5 Dec 2012 17:15:53 +0000 Author : Robert Osfield 🚚 From Stephan Huber, "* imageio: removed ReaderWriterImageIO_IOS.cpp, refactored ReaderWriterImageIO to work on OS X and IOS * avfoundation: added support for IOS (CoreVideo-support is still in development, works only for SDK >= 6.0, set IPHONE_SDKVER in cMake accordingly) * zeroconf: added ZeroConf-device-plugin (Mac/Win only, linux implementation missing) to advertise and discover services via ZeroConf/Bonjour, on windows you'll need the Bonjour SDK from Apple * osgosc: modified the example to demonstrate the usage of the ZeroConf-plugin (start the example with the command-line-argument --zeroconf) * SlideShowConstructor: enable/disable CoreVideo via a environment variable (P3D_ENABLE_CORE_VIDEO) * RestHttp: mouse-motion-events get interpolated * RestHttp: unhandled http-requests get sent as an user-event to the event-queue, all arguments get attached as user-values to the event * modified some CMakeModules to work correctly when compiling for IOS * fixed a compile-error for IOS in GraphicsWindowIOS * some minor bugfixes"

    Wed, 5 Dec 2012 11:41:27 +0000 Author : Robert Osfield ➕ Added --screen-distance , --screen-height and --screen-width command line support and associated settings to the configuration file.

    Wed, 5 Dec 2012 10:13:51 +0000 Author : Robert Osfield 🚚 Moved the expansion of the key codes into ApplicationUsage so that help is only generated for non zero keycodes.

    Tue, 4 Dec 2012 19:02:45 +0000 Author : Robert Osfield 🛠 Fixed default camera position

    Tue, 4 Dec 2012 18:51:21 +0000 Author : Robert Osfield 🔄 Changed the -w and -h options to --width and --height respectively.

    Tue, 4 Dec 2012 18:30:33 +0000 Author : Robert Osfield 💻 Cleaned up command line usage

    Tue, 4 Dec 2012 18:28:28 +0000 Author : Robert Osfield 📄 Tidied up command line docs.

    Tue, 4 Dec 2012 18:21:53 +0000 Author : Robert Osfield 📄 Tidied up CaptureSettings and added command line docs

    Tue, 4 Dec 2012 12:47:46 +0000 Author : Robert Osfield ➕ Added CameraProperty and associated command line parameters for controlling camera position and animation. --center x y z --eye x y z --up x y z --rotation-center x y z --rotation-axis x y z --rotation-speed degreesPerSecond

    Tue, 4 Dec 2012 09:11:17 +0000 Author : Robert Osfield ➕ Added missing break;

    Mon, 3 Dec 2012 16:49:47 +0000 Author : Robert Osfield 🔌 From Stephan Huber, "I've found a bug in SlideShowConstructor::findFileAndRecordPath which does return an empty string if the file was not found, and this empty string got added to the fileNames-vector, so the curl-plugin tried to load only an empty file-name, the directory-prefix. I fixed findFileAndRecordPath, so it returns the unmodified filename, which can then be loaded by the curl-plugin. Please review my fix, as I am not sure if it has any side effects, as I know the code not that well.The file includes another small compile-fix when using float-matrices."

    Mon, 3 Dec 2012 11:31:13 +0000 Author : Robert Osfield 📇 Renamed souce file

    Mon, 3 Dec 2012 10:10:46 +0000 Author : Robert Osfield From Wang Rui, "I've found a very covert bug in current VDSM implementation. It makes the computation of positional texgen incorrect if the shadow scene is under one or more child cameras with view/proj offsets. Using current stage instead will fix it."

    Mon, 3 Dec 2012 09:50:41 +0000 Author : Robert Osfield 🛠 Fixed error in Unfiform set method

    Mon, 3 Dec 2012 09:35:12 +0000 Author : Robert Osfield ➕ Added include of osc plugin directory to help with Windows build

    Sun, 2 Dec 2012 11:45:57 +0000 Author : Robert Osfield 🏗 From Wang Rui, build fix

    Fri, 30 Nov 2012 20:03:31 +0000 Author : Robert Osfield 🛠 Fixed crash when no CameraManipulator is assigned to the viewer

    Fri, 30 Nov 2012 16:52:59 +0000 Author : Robert Osfield Added support for 0x and numeric defintion of keys to be used with functionality.

    Fri, 30 Nov 2012 15:43:31 +0000 Author : Robert Osfield ➕ Added support for pausing and restart the property_animation.

    Fri, 30 Nov 2012 14:21:45 +0000 Author : Robert Osfield ➕ Added xml defined property/property animation to .p3d format for propeties: alpha="$alphaname" cutoff="$cutoffname" region="$minx $miny $minz $maxx $maxy $maxz" sampleDensity="$densityname" sampleDensityWhenMoving="$densityname"

    Wed, 28 Nov 2012 13:28:20 +0000 Author : Robert Osfield From Stephan Huber, New OscSendingDevice and OscReceivingDevice classes

    Wed, 28 Nov 2012 10:43:58 +0000 Author : Robert Osfield 🔌 From Stephan Huber, added event sending support into osgGA::Device along with implementation on this into the osc plugin. Added osgoscdevice example to demonstate this in action.

    Tue, 27 Nov 2012 16:00:43 +0000 Author : Robert Osfield ➕ Added support for tag for , and scope to compliment the scope of

    Tue, 27 Nov 2012 15:09:44 +0000 Author : Robert Osfield ➕ Added preliminary support for

    Thu, 22 Nov 2012 15:13:46 +0000 Author : Robert Osfield 🖨 From Stephan Huber, "Attached you'll find a new ImageSequence.cpp which will fix an issue I had when moving the mouse cursor over the left window-border, as the index becomes negative. And I added a UdpSocket.cpp-file with more debuggin-output via some sprinkled printf-calls. "

    Thu, 22 Nov 2012 11:55:38 +0000 Author : Robert Osfield Simplified CMakeLists and adjusted OscHostEndianness to automatically detect the endian at compile time

    Thu, 22 Nov 2012 11:47:03 +0000 Author : Robert Osfield ⚡️ From Stephan Huber, updates to explictly set the HOST Endian using Cmake

    Thu, 22 Nov 2012 09:49:24 +0000 Author : Robert Osfield ➕ Added explict handling of osg::Image, osg::HeightField, osg::Shader and osg::Node when doing writes to the archive.

    Wed, 21 Nov 2012 15:19:58 +0000 Author : Robert Osfield 🔌 From Stephan Huber, further work on osc plugin

    Wed, 21 Nov 2012 14:27:54 +0000 Author : Robert Osfield 🚚 Moved static for local to global scope in Uniform.cpp and removed the local static usage in Registry.cpp

    Wed, 21 Nov 2012 13:38:11 +0000 Author : Robert Osfield ♻️ Refactored osgDB::Input::readObjectOfType to use a template, and updated associated wrappers to avoid using local static's

    Tue, 20 Nov 2012 18:41:30 +0000 Author : Robert Osfield 🏁 From Paul Martz, fix for Windows build

    Tue, 20 Nov 2012 13:01:57 +0000 Author : Robert Osfield 🏁 From Stephan Huber, added missing windows dependency

    Tue, 20 Nov 2012 10:37:42 +0000 Author : Robert Osfield ➕ Added ws2_32 library to Win32 build

    Mon, 19 Nov 2012 11:25:52 +0000 Author : Robert Osfield 🏗 From Paul Martz, build fixes

    Mon, 19 Nov 2012 10:48:37 +0000 Author : Robert Osfield 🔌 Frm Stephan Huber, osc plugin that supports send and recieving events via UDP packets.

    Fri, 16 Nov 2012 15:40:41 +0000 Author : Robert Osfield ➕ Added first cut implememtation of PropertyAnimation class

    Thu, 15 Nov 2012 12:11:19 +0000 Author : Robert Osfield 🚚 Moved PropertyManager related classes out from SlideEventHandler into their own dedicated header/source file.

    Tue, 13 Nov 2012 16:15:20 +0000 Author : Robert Osfield ⚡️ Added support for P3D_UPDATE env var for setting the UpdateVisitor::TRAVERSAL_MODE. Accepted settings are "active", "Active", "ACTIVE", or "all", "All", "ALL".

    Tue, 13 Nov 2012 15:26:06 +0000 Author : Robert Osfield Added --update-active and --update-all command line options that set the UpdateVisitor::TraversalMode to TRAVERSE_ACTIVE_CHILDREN and TRAVERSE_ALL_CHILDREN respecively.

    Tue, 13 Nov 2012 14:22:37 +0000 Author : Robert Osfield ➕ Added support for to allow user definition of when to enable OpenGL blending for an image or not.

    Tue, 13 Nov 2012 13:52:33 +0000 Author : Robert Osfield ⚠ From Stephan Huber, fixed warning

    Tue, 13 Nov 2012 13:32:01 +0000 Author : Robert Osfield 🔄 Changed COLOUR to COLOR to be consistent with OpenGL spelling

    Tue, 13 Nov 2012 13:16:10 +0000 Author : Robert Osfield Moved colour space conversion of volumes from the osgvolume example into osg/ImageUtils and added support for colorSpaceConversion="MODULATE_ALPHA_BY_LUMINANCE","MODULATE_ALPHA_BY_COLOUR","REPLACE_ALPHA_WITH_LUMINANCE" and "REPLACE_RGB_WITH_LUMINANCE" to .p3d tag

    Tue, 13 Nov 2012 11:45:20 +0000 Author : Robert Osfield ➕ Added first step to adding pruning of expired image requests.

    Tue, 13 Nov 2012 11:20:36 +0000 Author : Robert Osfield 🔀 From Stephan Huber, introduced syncornization of osgGA::Device

    Mon, 12 Nov 2012 16:46:08 +0000 Author : Robert Osfield Cleaned up reported of events and added assigned of tag region properities when using the wildcard definition of the volume.

    Mon, 12 Nov 2012 15:26:30 +0000 Author : Robert Osfield ➕ Added osgframerenderer example

    Mon, 12 Nov 2012 10:36:21 +0000 Author : Robert Osfield 🔄 Changed the default settings to fix a jump problems

    Sat, 10 Nov 2012 12:12:24 +0000 Author : Robert Osfield Added missing files in support of key_jump and key_run tags

    Fri, 9 Nov 2012 21:32:54 +0000 Author : Robert Osfield Added support for naming slides and layers with slide_name and layer_name properties respectively. Added support for creating events based on key presses using a and tags.

    Fri, 9 Nov 2012 21:23:42 +0000 Author : Robert Osfield ➕ Added Node::getName() and getUserDataContainer() to check to see if an node can be removed or not.

    Thu, 8 Nov 2012 17:19:51 +0000 Author : Robert Osfield 🚀 From Alexander Sinditskiy, "I found issue with capturing mouse buttons. This issue can be reproduced: 1. Create osgViewer window, 2. Push right&left mouse buttons on the osgViewer window, 3. Move mouse out of window, and release right&left mouse buttons.osgViewer window handle only first mouse release, as result window thinks that we did not released second mouse button.

    I attached fix for this issue."

    Thu, 8 Nov 2012 15:45:23 +0000 Author : Robert Osfield Added support for

    Thu, 8 Nov 2012 15:28:24 +0000 Author : Robert Osfield ⚡️ Changed the way the mouse position is update to handle the remote device control.

    Thu, 8 Nov 2012 14:15:59 +0000 Author : Robert Osfield ➕ Added check to avoid doing update when the imagesequence is empty.

    Thu, 8 Nov 2012 11:19:31 +0000 Author : Robert Osfield ♻️ Refactored ImageSequence to better handle random access usage.

    Tue, 6 Nov 2012 17:49:32 +0000 Author : Robert Osfield 🐧 Tweaked casts/types to fix build under Linux

    Tue, 6 Nov 2012 14:25:28 +0000 Author : Robert Osfield ➕ Added f qualifer to 1.0 to fix build problem under MSVS

    Tue, 6 Nov 2012 11:18:33 +0000 Author : Robert Osfield 🐎 From Stephan Huber, improved performance by using native apple functions for flipping image

    Mon, 5 Nov 2012 17:22:34 +0000 Author : Robert Osfield 🔌 From Stephan Huber, "Attached you'll find a fix for the image-io-plugin to handle out-of-memory situations more gracefully as before (don't crash)"

    Mon, 5 Nov 2012 12:21:34 +0000 Author : Robert Osfield Quitened down debug output

    Mon, 5 Nov 2012 12:03:50 +0000 Author : Robert Osfield ⚡️ From Stephan Huber, updated to debug output to RestHttpDevice and tweaks to ImageIO and QTKit plugins

    Mon, 5 Nov 2012 09:36:00 +0000 Author : Robert Osfield ➕ Added static cast to float to avoid compile error under MSV

    Thu, 1 Nov 2012 18:06:46 +0000 Author : Robert Osfield From David Longest, "When drawing, a transform with an absolute reference frame will ignore the calculated model / view matrices up to that point. The IntersectionVisitor would instead keep the view matrices calculated up to that point even though the Transform class will throw out the calculated model matrix via “computeLocalToWorldMatrix.”The change I made will push an identity matrix as the view matrix when running into a transform with an absolute reference frame and will pop the matrix off after the traverse.

    ✅ To test this, I created a camera with a perspective view and added a transform with some geometry in it. Afterwards, I set the transform’s reference frame to ABSOLUTE_RF and spun the camera around using the trackball manipulator. When trying to pick with a LineSegmentIntersector, it would not pick the geometry in the transform with the reference frame set to ABSOLUTE_RF."

    Thu, 1 Nov 2012 16:11:13 +0000 Author : Robert Osfield 🔄 Changed the PropertyEventCallback to only respond to mouse releated events.

    Thu, 1 Nov 2012 14:29:26 +0000 Author : Robert Osfield

    Wed, 31 Oct 2012 17:06:29 +0000 Author : Robert Osfield ➕ Added reading of the P3D_DEVICE env var for setting up the --device entry.

    Wed, 31 Oct 2012 16:07:23 +0000 Author : Robert Osfield ➕ Added event and update callbacks to pass up changes to the mouse position to the ImageSequence::seek() to control which images is selected based on mouse x position

    Tue, 30 Oct 2012 12:31:27 +0000 Author : Robert Osfield 🔌 From Stephan Huber, RestHttpDevice plugin for support of remote application control via Rest http.

    Mon, 29 Oct 2012 15:58:02 +0000 Author : Robert Osfield 👍 Intial work towards support an interaction tag in Present3D.

    Fri, 26 Oct 2012 15:31:18 +0000 Author : Robert Osfield 🔌 From Luc Frauciel, "Compile Fix - KTX plugin with Visual Studio, not defined under MSVC"

    Wed, 24 Oct 2012 16:10:38 +0000 Author : Robert Osfield Fixed bug in click_to_run feature where events would be handled by hidden labels

    Wed, 24 Oct 2012 10:43:01 +0000 Author : Robert Osfield ♻️ From Stephan Huber, "attached you'll find the latest versions of the QTKit + the AVFoundation-plugin, some changes to osgPresentation and a small enhancement für ImageIO.I fixed some bugs and did some more tests with both of the video-plugins. I integrated CoreVideo with osgPresentation, ImageStream has a new virtual method called createSuitableTexture which returns NULL for default implementations. Specialized implementations like the QTKit-plugin return a CoreVideo-texture. I refactored the code in SlideShowConstructor::createTexturedQuad to use a texture returned from ImageStream::createSuitableTexture.

    ♻️ I did not use osgDB::readObjectFile to get the texture-object, as a lot of image-related code in SlideShowConstructor had to be refactored to use a texture. My changes are minimal and should not break existing code.

    There's one minor issue with CoreVideo in general: As the implementation is asynchronous, there might be no texture available, when first showing the video the first frame. I am a bit unsure how to tackle this problem, any input on this is appreciated.

    🐎 Back to the AVFoundation-plugin: the current implementation does not support CoreVideo as the QTKit-plugin supports it. There's no way to get decoded frames from AVFoundation stored on the GPU, which is kind of sad. I added some support for CoreVideo to transfer decoded frames back to the GPU, but in my testings the performance was worse than using the normal approach using glTexSubImage. This is why I disabled CoreVideo for AVFoundation. You can still request a CoreVideoTexture via readObjectFile, though. "

    Tue, 23 Oct 2012 16:15:03 +0000 Author : Robert Osfield ➕ Added osgGA::Device class for integration of both physical and virtual devices.Added template readFile(..) function to make it more convinient to cast to a specific object type.

    ➕ Added support for osgGA::Device to osgViewer.

    ➕ Added sdl plugin to provides very basic joystick osgGA::Device integration.

    Mon, 22 Oct 2012 16:21:04 +0000 Author : Robert Osfield ➕ Added mutex lock to Uniform::addParent()/removeParent().

    Fri, 12 Oct 2012 14:51:08 +0000 Author : Robert Osfield ➕ Added serializers for osgGA

    Tue, 9 Oct 2012 16:14:21 +0000 Author : Robert Osfield ✂ Removed the insert of requests in the ImageSequence::_filesRequested data structure so that it always requests files, leaving it up the ImagePager to decide to track duplicates

    Tue, 9 Oct 2012 16:05:50 +0000 Author : Robert Osfield From Wang Rui, "I modified the Serializer header to add a UPDATE_TO_VERSION_SCOPED macro, which could set version within brackets and reset it after that. All related serializers are also modified so that the backward-compatibility bug reported by Farshid can be fixed. "From Robert Osfield, removed the use of osg::Referenced and creating the proxy object on the heap.

    Mon, 8 Oct 2012 16:14:23 +0000 Author : Robert Osfield 📜 From Wang Rui, "I've added CDATA tag support to XmlParser so that we can keep user data (e.g., GLSL shader texts) in XML files without parsing them. This will be necessary for the coming-soon effect compositor submission. :-)"

    Mon, 8 Oct 2012 16:12:59 +0000 Author : Robert Osfield ➕ Added a static_cast to avoid build issues under Windows

    Mon, 8 Oct 2012 16:03:16 +0000 Author : Robert Osfield 🛠 Fixed warning

    Mon, 8 Oct 2012 15:10:56 +0000 Author : Robert Osfield From Aurelein Albert, "Under some Visual Studio configuration, I get compile error on "lib3ds_io.c" due to use of these kind of conversion : b[1] = uint8_t((w & 0xFF00) >> 8);

    I replaced it with :

    b[1] = (uint8_t)((w & 0xFF00) >> 8);
    

    And it compiles fine "

    Mon, 8 Oct 2012 12:00:53 +0000 Author : Robert Osfield 🔌 From Gill Peacegood, "In the attached file I have changed the colour space used for writing images to match the one used for reading images. Also this color space does not make subtle changes to the original colours which i think is probably what most people intend when writing an image and is more consistent with other plugins.The effect is that an image that is written does not have a noticeably different colour when it is read back."

    Mon, 8 Oct 2012 11:54:40 +0000 Author : Robert Osfield ⚡️ From Oren Fromberg, "" --This line, and thosAttached is an update to ReaderWriterDAE.cpp/h and daeReader.cpp/h that implementsosgDB::ReaderWriter::ReadResult

    ReaderWriterDAE::readNode (std::istream&, const osgDB::ReaderWriter::Options*)

    🔌 This virtual function had never been implemented in ReaderWriterDAE. I implemented this function because the DAE plugin could not load files from other ReaderWriter derived objects that use protocol handlers.

    ⚡️ I have updated function declarations in the header to have identical signatures with the base class declarations that include the default parameter.

    readNode (std::istream&, …) is nearly identical to readNode(const std::string &, …) except it uses a new private function to convert the file from standard input:

    bool daeReader::convert( std::istream& fin )

    When this function is called fileURI is the string “from std::istream” to make the user aware where the file is coming from. Then instead of calling

    _dae->open(fileURI)

    we call

    _dae->openFromMemory(fileURI, buffer.data())

    Where buffer.data() is a pointer to the dae file text in memory.

    Other changes include private functions to clear caches and to consolidate redundant code that appears between the two convert functions.

    e below, will be ignored--

    🔌 M src/osgPlugins/dae/ReaderWriterDAE.cpp 🔌 M src/osgPlugins/dae/daeReader.cpp 🔌 M src/osgPlugins/dae/ReaderWriterDAE.h 🔌 M src/osgPlugins/dae/daeReader.h

    Mon, 8 Oct 2012 11:10:25 +0000 Author : Robert Osfield From James Athey, "I've attached a new osgDB ReaderWriter that can read Khronos Texture Files (KTX). The KTX file format is straightforward and designed to be easy to use in OpenGL.http://www.khronos.org/opengles/sdk/tools/KTX/file_format_spec/ http://www.khronos.org/opengles/sdk/tools/KTX/

    🔌 The attached plugin can read:

    • 1D, 2D, and 3D textures
    • uncompressed and compressed images
    • mipmapped and non-mipmapped textures
    • little-endian and big-endian files
    • 👀 textures from files as well as seekable istream objects

    It does not handle:

    • 👍 array textures (not supported by the ReaderWriter API)
    • 👍 cubemap textures (not supported by the ReaderWriter API)
    • 👀 the "KTXorientation" key-value pair; support could be added later (see the file format spec for more information)
    • 👀 non-seekable istream objects (would require more complicated memory management) "

    Fri, 5 Oct 2012 16:31:23 +0000 Author : Robert Osfield Made TouchData and osg::Object to aid with serialization.

    Fri, 5 Oct 2012 10:37:36 +0000 Author : Robert Osfield 👌 Improved ImageSequence's handling of seek() and added a simply hack to ImagePager to prevent the number of requests accumulating.

    Fri, 5 Oct 2012 10:35:06 +0000 Author : Robert Osfield 👀 From Stephan Huber and Robert Osfield, addded interactive setting of the ImageSequence::seek() based on the mouse x position.

    Fri, 5 Oct 2012 10:07:09 +0000 Author : Robert Osfield ➕ Added set methods to assist with serialization support

    Thu, 4 Oct 2012 13:45:54 +0000 Author : Robert Osfield 🔌 From Stephan Huber, "attached you'll find a fix for Registry.cpp not using the QTKit-plugin for video-files. W/o this fix you had to preload the plugin to open movie-files."

    Tue, 2 Oct 2012 14:07:12 +0000 Author : Robert Osfield 🔌 From Stephan Huber, OSX and iOS Video support via a QTKit plugin from OSX 10.7 and before, and an AVFoundation plugin for iOS and OSX10.8 and later.

    Fri, 28 Sep 2012 16:36:42 +0000 Author : Robert Osfield 🏁 From Leigh Stivers, "We had this problem which shows up with nVidia's latest Quadro driver, 305.93 - and older drivers when the nVidia's setting "Thread Optimization" was turned on, running Windows 7. The symptom, is that after creating a first view and using it, and then creating a second view, the first view will never render anything but black.What happens is this: A view is created, and then the viewers thread is created and runs. 🚀 The setReleaseContextAtEndOfFrameHint is true. To create a second view, the viewer is setDone(true), and we wait for the thread exit.

    At this point, inside the ViewerBase::RenderingTraversals code, there are places where it reads "if(_done) return;"

    🚀 The problem, is that it won't reach the code that will releaseContext().

    Apparently, this driver won't let any other thread to makeCurrent(), if another thread (dead or not) has ownership. So when the Viewers is re-started, the first view won't be able to use the gc.

    The change attached (against rev 13153) corrects this."

    Thu, 27 Sep 2012 08:34:56 +0000 Author : Robert Osfield 👍 From Thomas Hogarth, "Apple have decided in their eternal wisdom to do away with separate depth and stencil buffers on iOS from version 5 and above.Attached are changes to GraphicsWindowIOS.mm to support setting up the new buffer type when compiling for iOS5, 👍 also attached is a small change to FrameBufferObject.cpp to report support for packed depth stencil via the GL_OES_packed_depth_stencil extension.

    For anyone reading this you can attach a packed depth stencil to your FBO like so

    _rttCamera->attach( osg::Camera::PACKED_DEPTH_STENCIL_BUFFER, GL_DEPTH24_STENCIL8_EXT );

    Luckily GL_DEPTH24_STENCIL8_EXT happens to have the same value as iOSs GL_DEPTH24_STENCIL8_OES"

    Wed, 26 Sep 2012 08:42:04 +0000 Author : Robert Osfield 🏗 From Paul Martz, "This change to include/osg/GL correctly includes the OpenGL header on OSX 10.7 when building OSG trunk for GL3. It also adds some CPP defines for compatibility."

    Tue, 25 Sep 2012 11:04:11 +0000 Author : Robert Osfield 🔄 Changed dispatch to virtual

    Mon, 24 Sep 2012 10:10:28 +0000 Author : Robert Osfield From Frederic Bouvier, "fix PNG write for images with bits per components different than 8 that was hard coded."

    Thu, 20 Sep 2012 14:06:01 +0000 Author : Robert Osfield 🔌 From Aurelien Albert, "In the DXF plugin, DXF layers are decoded and each layer is added in a separate group, which is very usefull to retrieve a layer or display a list of all layers in the aplication.But the layers are not always children of the "model root" node : there can be a matrix transform between "model root" and "layers parent", so I've added the name "Layers" on the node which contains all layers to easily retrieve the layers groups from application code."

    Thu, 20 Sep 2012 14:03:47 +0000 Author : Robert Osfield From Luc Frauciel, Added sRGB FrameBuffer string

    Thu, 20 Sep 2012 11:27:57 +0000 Author : Robert Osfield From Vladimir Cheaev, " I worked with a osg::Constraint and found strange part of code: class OSGMANIPULATOR_EXPORT Constraint : public osg::Referenced { public: ... virtual bool constrain(ScaleUniformCommand& command) const { return constrain((MotionCommand&)command); } virtual bool constrain(const Rotate3DCommand& command) { return constrain((MotionCommand&)command); } ...If i use osgManipulator::Rotate3DCommand then method Rotate3DCommand::accept(const Constraint& constraint) calls Constraint::constrain(MotionCommand&) instead Constraint:: constrain(const Rotate3DCommand&).

    If you replace virtual bool constrain(const Rotate3DCommand& command) { return constrain((MotionCommand&)command); } on to virtual bool constrain(Rotate3DCommand& command) const { return constrain((MotionCommand&)command); } then all works correctly. "

    Thu, 20 Sep 2012 11:18:19 +0000 Author : Robert Osfield From Farshid Lashkari, Added GLBeginEndAdapter::reset(), and _overallNormalAssigned, _overallColorAssigned flags to avoid the GLBeginEndAdapter adapter setting colour and normals when none has been assigned.

    Thu, 20 Sep 2012 11:16:02 +0000 Author : Robert Osfield 🚀 From Ulrich Hertlein, "attached is a patch to src/osgViewer/CMakeLists.txt that inverts the logic of when to use Cocoa and when to use the old Carbon interface for the windowing system.The old code had to be modified for every new OS X release to default to Cocoa. The new code uses Carbon for <= OS X 10.4 and Cocoa on everything else."

    Thu, 20 Sep 2012 11:14:10 +0000 Author : Robert Osfield ➕ Added ReadQueue::size() method to help with debugging.

    Wed, 12 Sep 2012 16:35:12 +0000 Author : Robert Osfield ➕ Added handling of directory names in osgimagesequence commandline.From Stephan Huber, added support for controlling the ImageSequence seek position via mouse x position, toggled on/off via 'i' key.

    Wed, 12 Sep 2012 16:02:02 +0000 Author : Robert Osfield ➕ Added osgDB::getSortedDirectoryContents and osgDB::FileNameComparator to help with sorting directory contents into alphabetic and numerical order.

    Wed, 12 Sep 2012 11:09:41 +0000 Author : Robert Osfield Converted sorting of directory contents across to use the new osgDB::FileNameComparator and osgDB::getSortedDirectoryContents()

    Mon, 10 Sep 2012 08:24:49 +0000 Author : Robert Osfield 🚀 Updated version after 3.1.3 dev release

    Fri, 7 Sep 2012 17:04:31 +0000 Author : Robert Osfield 🚀 Updated ChangeLog for 3.1.3 dev release

    Fri, 7 Sep 2012 14:55:09 +0000 Author : Robert Osfield From Wojciech Lewandowski, "With current trunk I had an error while compiling osg/Image.cpp for IOS simulator / GLES2. Symbol GL_RGBA16 was missing. Adding #define GL_RGBA16 0x805B to Image header solves the problem. "

    Fri, 7 Sep 2012 09:31:26 +0000 Author : Robert Osfield ➕ Added setting of the input range of the event state based on the master cameras viewport.

    Fri, 7 Sep 2012 08:33:24 +0000 Author : Robert Osfield ➕ Added check so not intialization is down when you select the current camera manipulator

    Thu, 6 Sep 2012 13:53:58 +0000 Author : Robert Osfield 🔌 From Piotr Domagalski, "I've added reading of node names ('DEF' element) to the VRML reading plugin. The changes were based on trunk's version of the plugin."

    Thu, 6 Sep 2012 13:48:17 +0000 Author : Robert Osfield 🔌 From Piotr Domagalski, "I've rewritten some bits of the STL plugin in order to support ASCII STL files with multiple named solids (reading and writing). The names are also used as OSG nodes names.- Also, a 'dontSaveNormals' was added. It allows to ignore normals when writing an STL file. For example, it is useful for me when writing an STL file for CFD simulations.

    • 🔌 Some comments and code formatting were improved (to be consistent with the formatting already used in the plugin).

    • With 'separateFiles' option files are now named fooX.stl instead of foo.stlX

    ✅ The changes have been tested on various STL, both ASCII and binary found on the net. The change was based on the trunk branch."

    ⚠ From Robert Osfield, changed assert in Piotr's code to a runtime check warning report.

    Thu, 6 Sep 2012 10:52:28 +0000 Author : Robert Osfield 🔀 From Piotr Domagalski, "Currently, code using OpenSceneGraph doesn't build with clang due to the way __sync_bool_compare_and_swap() is used in OpenThreads/Atomic header file.I tested it with clang 3.1 and it seems that clang is enforcing the use of the same type for all parameters in this builtin. Looking at the function declaration [1]

    🔀 bool __sync_bool_compare_and_swap (type *ptr, type oldval type newval, ...)

    👀 it seems to be doing the right thing: here the same type is used for *ptr, oldval and newval.

    [1] http://gcc.gnu.org/onlinedocs/gcc/_005f_005fsync-Builtins.html#g_t_005f_005fsync-Builtins "

    Thu, 6 Sep 2012 10:32:07 +0000 Author : Robert Osfield 🏗 From Fredric Bouvier, fix to CMake build selection of FLTK

    Wed, 5 Sep 2012 21:03:41 +0000 Author : Robert Osfield From Colin McDonald and Robert Osfield, converted Traits::sharedContext from GraphicsContext* to osg:observer_ptr to prevent dangling pointer issues.

    Wed, 5 Sep 2012 13:51:34 +0000 Author : Robert Osfield 🛠 Fixed inappropriate comment

    Wed, 5 Sep 2012 13:48:23 +0000 Author : Robert Osfield Moved the OSG_INIT_SINGLETON_PROXY macro into include/osg/Object to make it more generally useful and added it's usage into the RenderBinPrototypeList initialization.

    Wed, 5 Sep 2012 10:27:08 +0000 Author : Robert Osfield ✅ From Thomas Hogarth, "I submitted a change for the IOS CMake system a few weeks back which hasn't made it into the trunk. I've just made the modifications again against the latest trunk and have attached the fileIt basically accounts for the fact that XCode has changed it's default install location.

    "

    Wed, 5 Sep 2012 10:24:10 +0000 Author : Robert Osfield 📚 From Andreas Ekstrand, The attached ESRIShape.cpp contains fixes for comparing calculated byte sizes with the content length from the record header. According to the ESRI Shape documentation (http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf), the content length is specified in 16 bit words, which is why I have multiplied it by 2 when comparing to byte sizes. Note that the comparison in line 813 is made with a fix number of 16-bit words so it hasn't been changed.This fixes problems with PolygonZ records where the previous code was reading past the end of the record since it thought it had M values even if it didn't. I suspect the problem that James McGlone had back in 2006 was the same but reversed, when he tried to simply comment out the check, which was a (correctly) refused submission.""

    Wed, 5 Sep 2012 10:19:01 +0000 Author : Robert Osfield From Nico Kruithof, "There is a small typo in the ShapeDrawable code for a sphere. There was a gl.Begin(GL_QUAD_STRIP) that was never closed, nor used."

    Wed, 5 Sep 2012 09:30:33 +0000 Author : Robert Osfield ⚡️ Updated SO version number to avoid collision with new additions to serializers

    Wed, 5 Sep 2012 09:08:25 +0000 Author : Robert Osfield Added GL_RGBA8 and GL_RGBA16 entries to the Image::computePixelFormat() and improved he readability of the method by inserting line spacing.

    Wed, 5 Sep 2012 08:48:10 +0000 Author : Robert Osfield 🛠 From Ulrich Hertlein, "fixes a typo and adds support for OS X 10.8"

    Wed, 5 Sep 2012 08:42:14 +0000 Author : Robert Osfield ➕ Added deprecated note to indices entry.

    Tue, 4 Sep 2012 08:21:09 +0000 Author : Robert Osfield From Brad Christiansen, changed OSG_INFO to OSG_DEBUG to quieten down volume of messages in INFO

    Mon, 3 Sep 2012 15:19:00 +0000 Author : Robert Osfield ⚡️ From Brad Christiansen, "fix for the NVTTImageProcessor. When the code was updated in revision 12912 a couple of typos where made. These cause a crash when compressing transparent images and mangled colours when compressing rgb images. "

    Mon, 3 Sep 2012 09:08:16 +0000 Author : Robert Osfield 🏗 Adjusted the #define's to help GLES2 build

    Mon, 3 Sep 2012 08:30:01 +0000 Author : Robert Osfield From Lilin Xiong, " there is a small bug in osgDB::readNodeFiles(std::vector<std::string>& fileList,const Options* options) in file ReadFile.cpp line 85: osg::Node *node = osgDB::readNodeFile( *itr , Registry::instance()->getOptions() ); It should be: osg::Node *node = osgDB::readNodeFile( *itr , options );"

    Fri, 31 Aug 2012 16:00:55 +0000 Author : Robert Osfield ➕ Added a fix for a multi-threading bug that occured when TerrainTiles were accessed via the Terrain::_updateTerrainTileSet that were being deleted at the same time by the DatabasePager thread.

    Wed, 29 Aug 2012 16:48:27 +0000 Author : Robert Osfield 🛠 From Wang Rui, "This patch fixes a problem of the osg::Program serializers that can't save/load GeometryInputType data correctly. The bug is initially found by John Kelso."

    Fri, 24 Aug 2012 15:05:03 +0000 Author : Robert Osfield From Johannes Scholz, fix for writing out of hexidecimal numbers

    Thu, 23 Aug 2012 15:06:27 +0000 Author : Robert Osfield 🛠 Fixed bug in GLBufferObjectSet::discardAllDeletedGLBufferObjects() and GLBufferObjectSet::flushDeletedGLBufferObjects(double currentTime, double& availableTime) where the NumberActiveGLBufferObjects was errneously being incremented by numDiscarded.M osg/BufferObject.cpp

    Wed, 22 Aug 2012 16:39:47 +0000 Author : Robert Osfield 🛠 Fixed typo

    Tue, 21 Aug 2012 09:45:24 +0000 Author : Robert Osfield ➕ Added check against the Camera NodeMask to decide whether it's appropriate to test for events on that camera.

    Wed, 15 Aug 2012 12:40:48 +0000 Author : Robert Osfield ➕ Added ShadowSettings::s/getMaximumShadowMapDistance(double) property, usage of these property in ViewDependentShadowMap, and setting of it with --max-shadow-distance in the osgshadow example.

    Tue, 14 Aug 2012 20:15:00 +0000 Author : Robert Osfield ➕ Added a mutex to protect the removal and addition of Uniform and Program to StateSet to avoid parents being invalidated when multi-threading.

    Fri, 3 Aug 2012 16:14:14 +0000 Author : Robert Osfield ⚡️ Introduced --near-far-mode into osgshadow and ShadowSettings::setComputeNearFarModeOverride(..) to allow user control of how the cull traversal is optimized for computing the depth range of the shadow map.

    Fri, 3 Aug 2012 15:23:44 +0000 Author : Robert Osfield ✂ Removed the erronous creation of a local ShadowSettings object

    Tue, 24 Jul 2012 09:05:04 +0000 Author : Robert Osfield ➕ Added FireGL to prefernce list for use glGenerateMipMap

    Mon, 23 Jul 2012 08:15:57 +0000 Author : Robert Osfield 🛠 Fixed build

    Thu, 12 Jul 2012 16:41:53 +0000 Author : Robert Osfield 0️⃣ Introduced Texture::Extensions::s/getPreferGenerateMipmapSGISForPowerOfTwo() flag that defaults to false for Radeon, true elsewhere. This is used to workaround mipmapping bugs with ATI/AMD cards.

    Wed, 11 Jul 2012 14:36:14 +0000 Author : Robert Osfield 🛠 Fixed indentation

    Wed, 11 Jul 2012 08:39:11 +0000 Author : Robert Osfield 🛠 Fixed parameter default value to avoid warning

    Tue, 10 Jul 2012 16:20:32 +0000 Author : Robert Osfield 🗄 Replaced use of now deprecated methods.

    Tue, 10 Jul 2012 16:11:40 +0000 Author : Robert Osfield Enabled the use the getReceivesShadowTraversalMask().

    Tue, 10 Jul 2012 16:11:15 +0000 Author : Robert Osfield 🔄 Changed settings of masks to use ShadowSettings.

    Tue, 10 Jul 2012 15:50:46 +0000 Author : Robert Osfield 🚚 Moved mask settings into ShadowSettings

    Mon, 9 Jul 2012 17:49:04 +0000 Author : Robert Osfield ⚡️ Changed updateCamera(Camera*) to updateCamera(Camera&) to make it clear that a valid Camera object should be passed in.

    Mon, 9 Jul 2012 17:32:13 +0000 Author : Robert Osfield ⚡️ From Riccardo Corsi, introduced CameraManipulator::updateCamera() method that allows more Camera properties to be controlled by the CameraManipulator.

    Mon, 25 Jun 2012 16:31:36 +0000 Author : Robert Osfield ♻️ Refactored the way that the static Scene cache is managed by moving all the functionality into a SceneSingleton

    Fri, 22 Jun 2012 16:21:08 +0000 Author : Robert Osfield Restructed the way that the global notify variables are initialized to avoid problems with multi-threaded initialization of these variables.

    Sat, 16 Jun 2012 09:08:05 +0000 Author : Robert Osfield 🛠 Fixed spelling of FileNameComparator

    Fri, 15 Jun 2012 09:04:32 +0000 Author : Robert Osfield 🚚 Moved the frame() event into the event traversal after then events and their state have been accumulated.

    Tue, 12 Jun 2012 20:15:58 +0000 Author : Robert Osfield ➕ Added FileNameComparator to sort the filenames in an ImageSequence into alphanumerical order so that it can handle the numerical ordering found in screenshot numbered sets of files

    Tue, 12 Jun 2012 18:29:03 +0000 Author : Robert Osfield Enabled 6 ImageThreads in the ImagePager

    Tue, 12 Jun 2012 10:31:50 +0000 Author : Robert Osfield Commented out the disabling of use of PBO's in ImageStream, and disabled the use ClientStoreHint in Present3D.

    Mon, 11 Jun 2012 19:54:07 +0000 Author : Robert Osfield Added support for setting the paging_mode property to PRE_LOAD_ALL_IMAGES, PAGE_AND_RETAIN_IMAGES or PAGE_AND_DICARD_IMAGE for osg::ImageStream, with PAGE_AND_DICARD_IMAGE set as the default.

    Fri, 8 Jun 2012 10:26:23 +0000 Author : Robert Osfield ➕ Added ImageStream support to and tags in .p3d

    Fri, 8 Jun 2012 04:18:28 +0000 Author : Robert Osfield ➕ Added osg::ImageSequence support into osgPresentation::SlideShowConstructor and the associated tag in .p3d.

    Thu, 7 Jun 2012 10:08:42 +0000 Author : Robert Osfield ➕ Added --fps support

    Thu, 31 May 2012 14:45:24 +0000 Author : Robert Osfield ➕ Added typdef for Win32

    Fri, 25 May 2012 16:07:11 +0000 Author : Robert Osfield 👍 From Wang Rui, "A very small but maybe fatal problem was found when I saved models with shader and uniforms (with new double types support) to osgb format and tried to read it again. The application will crash here. And the serializer file should be slightly changed to fix it. Please replace the original file in osgWrappers/serializers/osg/Uniform.cpp."

    Fri, 25 May 2012 15:32:51 +0000 Author : Robert Osfield ➕ Added Dragger::get/setActivationMouseButtonMask(uint).

    Fri, 25 May 2012 08:56:25 +0000 Author : Robert Osfield 0️⃣ From Jaap Glas, "Added a default parameter to the following constructor in TabPlaneDragger and TabPlaneDragger.cpp:TabPlaneDragger(float handleScaleFactor=20.0f);

    0️⃣ The reason for this is that the default OSG tab sizes are way bigger than those we used in our application so far. And since handleScaleFactor_ 👀 is already a (constant) class member, I see no objection against making it user defined."

    Thu, 24 May 2012 18:15:44 +0000 Author : Robert Osfield 🚚 From Jaap Gas, added missing break, and missing removeDraggerCallback.

    Mon, 21 May 2012 09:12:13 +0000 Author : Robert Osfield ✂ Removed -ftree-vectorize from OSX 10.7 build to avoid warning when building with clang.

    Wed, 2 May 2012 14:13:29 +0000 Author : Robert Osfield ✂ Removed trailing spaces

    Wed, 2 May 2012 13:58:34 +0000 Author : Robert Osfield 🛠 Fixed for including cmath before osg/Math.

    Fri, 27 Apr 2012 09:43:25 +0000 Author : Robert Osfield Added using base_class::set to the Matrix*Template class to enable the set() method from the base class to be used.

    Thu, 26 Apr 2012 10:07:36 +0000 Author : Robert Osfield ⚡️ From Christophe Herreman, Added viewer.setCameraManipulator( keyswitchManipulator.get() ) to fix problem with master Camera not being updated

    Fri, 20 Apr 2012 10:01:50 +0000 Author : Robert Osfield 🐎 From Mathias Froehlich,"Attached is a change to the ac3d model loader as of rev 11498, that uses indexed draws instead of plain array draws to save some amount of main memory. Draw performance does not change with the nvidia binary blob as well as with the open source drivers."

    Fri, 20 Apr 2012 09:53:41 +0000 Author : Robert Osfield 🔌 From John Kaniarz, "Here's a patch to add new extensions for tessellation shaders to the GLSL plugin." "I went with .tctrl and .teval for the shader extensions."

    Fri, 20 Apr 2012 09:40:29 +0000 Author : Robert Osfield Ran dos2unx on file

    Fri, 20 Apr 2012 09:38:51 +0000 Author : Robert Osfield From John Kaniarz, "Here is an example of using tessellation shaders in osg. With permission from the author, I adapted it from this tutorial: http://prideout.net/blog/?p=48"

    Thu, 19 Apr 2012 14:58:35 +0000 Author : Robert Osfield Restructed how the GL_SAMPLER_* #define's are placed to avoid build problems under GLES.

    Thu, 19 Apr 2012 14:34:28 +0000 Author : Robert Osfield Changed #ifdef IPHONE_4_0 to #if defined(IPHONE_4_0) to fix error that Clang compile warning highlighted

    Thu, 19 Apr 2012 13:18:58 +0000 Author : Robert Osfield 👉 Fixed build with OSG_USE_REF_PTR_IMPLICIT_OUTPUT set to OFF.

    Thu, 19 Apr 2012 10:27:58 +0000 Author : Robert Osfield From David Callu, "Here the fix for Matrix{2,3,4}x{2,3,4}{fd} defined in Uniform header.My previous patch for Atomic Counter Uniform provide new template implementation of Matrix{2,3,4}x{2,3,4}{fd}. This new implementation use Column-Major Matrix. Original code define matrix as Row-Major matrix like other Matrix in OSG, and my matrix implementation break compatibility with previous code. For example osg_normalMatrix define in osg::State report by Roland Hill. Thanks to Paul Martz to spot me when the bug appear."

    Thu, 19 Apr 2012 10:10:26 +0000 Author : Robert Osfield ➕ Added missing getUniformBlocks implmentation

    Thu, 19 Apr 2012 09:50:10 +0000 Author : Robert Osfield ⚡️ From Jorge Izquierdo Ciges, "Mostly small changes to add more compile options, and shared linking (still testing that capability, but this enables on a compile basis if the user wants). Robert, when you give the Ok I'll update/rewrite the Android section in the old/new wiki you'll say where is better. Mostly to be clear for the future users what options can configure and what are their purpose."

    Wed, 18 Apr 2012 10:16:09 +0000 Author : Robert Osfield Refactored the handling of GLES adaptations of the 1,2,3,4 internal formats and added handling of GL_RGB8_OES and GL_RGBA8_OES.

    Wed, 18 Apr 2012 09:56:00 +0000 Author : Robert Osfield From Mathias Froehlich, "Attached is a change to the slow path geometry dispatch tables that allows the use of 3 component float color vectors."

    Wed, 18 Apr 2012 09:51:39 +0000 Author : Robert Osfield 👀 From Martin Naylor, "I have been experiencing a crash in the example osgtexture2D. Not sure why my system seems to be so sensitive to these problems.But attached is a fix which seems to stabilise the example. 👀 Note: it only seems to crash intermittently when spinning the object with your mouse.

    So I assume this is a threading issue because of the data variance missing in some of the text node setups in the example. "

    Wed, 18 Apr 2012 09:50:23 +0000 Author : Robert Osfield ⚡️ Updated version number

    Fri, 6 Apr 2012 11:29:29 +0000 Author : Robert Osfield 🏁 From Martin Naylor, "Please find attached a fix for the STD library(tested under Windowsx64 VS2008) when atomiccounter is found but not used."

    Fri, 6 Apr 2012 10:42:17 +0000 Author : Robert Osfield From Ulrich Hertlein, Fix for MatrixTemplate compile errors

    Thu, 5 Apr 2012 13:53:47 +0000 Author : Robert Osfield From Wang Rui, "I'd like to submit the changes that will put ObjectProperty and ObjectMark variables into the InputStream/OutputStream class instead of static ones. This should avoid the threading problem and won't repeatedly reallocate memory for the properties. Some of the wrappers will be slightly modified to use the property variable stored in the InputStream/OutputStream as well."

    Fri, 30 Mar 2012 17:08:21 +0000 Author : Robert Osfield 🚀 Update AUTHORS for release

    Fri, 30 Mar 2012 16:58:24 +0000 Author : Robert Osfield 🚀 Updated ChangeLog for dev release

    Fri, 30 Mar 2012 10:10:27 +0000 Author : Robert Osfield ➕ Added check to avoid accessing pointer past the end of the string.

    Thu, 29 Mar 2012 15:08:15 +0000 Author : Robert Osfield 📚 From Magnus Kessler, typo and documentation fixes

    Thu, 29 Mar 2012 14:58:00 +0000 Author : Robert Osfield ⚡️ From Cedric Pinson, "I Updated the ply plugin to support alpha color in files. Plus I updated it to use by default an alpha of 1.0 instead of 0 when no alpha is specified. Last changes is to divide byte color by 255.0 instead of 256.0."

    Thu, 29 Mar 2012 09:57:47 +0000 Author : Robert Osfield 🚚 From Magnus Kessler, "remove unecessary conversion from float in double precision method"

    Thu, 29 Mar 2012 09:43:12 +0000 Author : Robert Osfield ⚡️ From David Callu, "Here an update of osg::Uniform : - add non square matrix - add double - add all uniform type available in OpenGL 4.2 - backward compatibility for Matrixd to set/get an float uniform matrix - update of IVE / Wrapper ReadWriterimplementation of AtomicCounterBuffer based on BufferIndexBinding

    ➕ add example that use AtomicCounterBuffer and show rendering order of fragments, original idea from geeks3d.com."

    Thu, 29 Mar 2012 08:27:21 +0000 Author : Robert Osfield ➕ Added int packing parameter to Image::readPixels(..)

    Fri, 23 Mar 2012 16:09:30 +0000 Author : Robert Osfield ✂ Removed trailing spaces

    Fri, 23 Mar 2012 11:32:10 +0000 Author : Robert Osfield 🚀 Updated ChangeLog and AUTHORS for 3.1.2 dev release

    Fri, 23 Mar 2012 11:20:17 +0000 Author : Robert Osfield 🛠 Fixed potential memory leak

    Fri, 23 Mar 2012 11:16:01 +0000 Author : Robert Osfield 🔌 From Luc Frauciel, "I've encoutered a nasty group of dae which are incompatible with dae plugins (and probably collada schema ) in 4 different ways :1) they use direct link to texture

    🔌 -> this is already handle by current plugin : OK

    2) they defined colors with only 3 color components

    -> it leads to a crash when trying to acces to the fourth component I fixed that

    3) they contain empty primitive lists

    -> reading is ok, but osgviewer crashes when trying to display the geometries The reason is that osg assume that DrawElementsare never empty (blunt acces to DrawElements.front() in PrimitiveSet.cpp) 🔌 I corrected this (on the plugin side), but I wonder : 🔌 Is it the responsability of plugins to create non empty DrawElements, or of osg core not to crash when they occur ? If the responsability is on the osg core side, I can submit a patch to PrimitiveSet.cpp regarding that aspect.

    🔌 4) they use a material binding scheme not supported by the plugin

    ->I've implemented a mechanism to handle this binding scheme

    You will also find in the patch an example of these evil dae and comments on the offending elements. 👀 They seems to be produced by ComputaMaps (www.computamaps.com) They load well in Google Earth "

    Fri, 23 Mar 2012 10:24:50 +0000 Author : Robert Osfield From Ulrich Hertlein, "as discussed on osg-users there is an issue with clang++ on OS X and iOS that results in the following error:Users/stephan/Documents/Projekte/cefix/cefix/ios/../../libs/ios/include/OpenThreads/Atomic:244:48: error: cannot initialize a parameter of type 'void *' with an lvalue of type 'const void *const' return __sync_bool_compare_and_swap(&_ptr, ptrOld, ptrNew);

    This can be solved by a cast to '(void*)ptrOld'. This should be benign since both 'ptrOld' and 'ptrNew' are only read and the cast is in fact in place for all other implementations as well.

    On OS X the cast compiles cleanly on both g++ (i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1) and clang++ (Apple clang version 3.1 (tags/Apple/clang-318.0.54)). "

    Fri, 23 Mar 2012 10:21:51 +0000 Author : Robert Osfield As per Ulrich Hertlrein's suggestion, changed APPLE_PLATFORM_SDK_CANONICAL_NAME to OSG_OSX_SDK_NAME.

    Fri, 23 Mar 2012 10:18:27 +0000 Author : Robert Osfield From Erik den Dekker, " IF(${CMAKE_OSX_SYSROOT} STREQUAL "/Developer/SDKs/MacOSX10.7.sdk") ... ELSEIF(${CMAKE_OSX_SYSROOT} STREQUAL "/Developer/SDKs/MacOSX10.5.sdk" OR ${CMAKE_OSX_SYSROOT} STREQUAL "/Developer/SDKs/MacOSX10.6.sdk")

    ...

    🍎 ELSEIF(EXISTS /Developer/SDKs/MacOSX10.4u.sdk) ...

            ELSE()
    

    ...

            ENDIF()
    

    Which is fragile because XCode could be installed into another directory than /Developer. (In case XCode is not installed into the /Developer directory CMake can automatically resolve the path via command line utility ${CMAKE_XCODE_SELECT} --print-path)

    🍎 This issue bites me currently because the latest XCode (Version 4.3.1 - 4E1019) installed through the Mac App Store is per default installed in "/Applications/Xcode.app/Contents/Developer" and hence the 10.7 SDK in "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk"

    🌐 Searching the web to find the proper way to determine the version of the Platform SDK programmatically, I found no standard way. I came up with 2 options myself:

    📜 1) Parse the path string to extract the version number

    2) Read a value from the SDKSettings.plist found in the root of each SDK (e.g., "defaults read ${CMAKE_OSX_ROOT}/SDKSettings.plist CanonicalName" gives "macosx10.7")

    🏗 I implemented the last option and verified that at least the following Mac OS SDKs (10.3.9, 10.4, 10.5, 10.6, 10.7) support this method. It also looks reasonably future proof. An additional benefit of this method is that it also seems to be compatible with iOS and iOS Simulator SDKs (at least for version 5.1, but I assume this also applies to older versions). This is interesting because the CMake infrastructure to build OSG for iOS currently still contains similar hard-coded paths and even requires you to manually change the cmake file to build for another iOS SDK version. In the near future I hope to address these issues, but I haven't been able to try this yet."

    Wed, 21 Mar 2012 17:36:20 +0000 Author : Robert Osfield 🚚 Ran script to remove trailing spaces and tabs

    Wed, 21 Mar 2012 16:02:32 +0000 Author : Robert Osfield For all OSG_GL*_FEATURE #defines changed 1's to true and 0's to false.

    Wed, 21 Mar 2012 14:08:07 +0000 Author : Robert Osfield 🏁 From David Callu, "just a typo fix that break the compilation under windows"

    Wed, 21 Mar 2012 11:36:54 +0000 Author : Robert Osfield ➕ Added Traits::getContextVersion(uint,uint)

    Wed, 21 Mar 2012 11:26:09 +0000 Author : Robert Osfield ⚡️ Updated version number

    Tue, 20 Mar 2012 12:01:02 +0000 Author : Robert Osfield ✂ Removed inappropriate warning

    Tue, 20 Mar 2012 11:18:45 +0000 Author : Robert Osfield Replaced && with & to address error in handling bitmask

    Mon, 19 Mar 2012 09:49:41 +0000 Author : Robert Osfield 🔌 From Lukasz Izdebski, Added StencilTwoSided support to ive plugin

    Fri, 16 Mar 2012 13:22:20 +0000 Author : Robert Osfield 🛠 Fixed the order of setting of CenterMode

    Wed, 14 Mar 2012 16:42:07 +0000 Author : Robert Osfield From Wang Rui, "I'd like to submit a slightly modified version of the ViewDependentShadowMap. It includes two fixes: one is in ComputeLightSpaceBounds::update(), which changes the statement "if (v.z()<0.0f)" to "if (v.z()<-1.0f)" as clipping space coordinates should be transformed to [-1, 1] and should not be discarded unless they go beyond the range; the other is in ViewDependentShadowMap::computeShadowCameraSettings(), in which I changed the line: viewMatrix.makeLookAt(frustum.center+positionedLight.lightDir*zMin, frustum.center, lightUp); to viewMatrix.makeLookAt(frustum.center+positionedLight.lightDir*zMin, frustum.center+positionedLight.lightDir*zMax, lightUp);The reason I've done such a change is that for huge scenes like a city on the earth, the values of frustum.center can be extremely large, but zMin may be very small (e.g., when model depth in light coords equals the model radius by chance) in some cases so the result of (eye - center) might jiggle while moving around the shadow scene and thus make the shadow map suddenly disappear some time. The small change here also considers the effect of zMax to avoid such problems.

    "

    Mon, 12 Mar 2012 14:22:48 +0000 Author : Robert Osfield 🚚 Moved static initializers into global scope to prevent problems with using exit().

    Sun, 11 Mar 2012 22:05:29 +0000 Author : Cedric Pinson ⚡️ Changed osgAnimation::StackedTransform::update(t). It can now be used for custom usage

    Fri, 9 Mar 2012 13:16:39 +0000 Author : Robert Osfield 🚀 Updated ChangeLog and AUTHORS file for 3.1.1 dev release

    Fri, 9 Mar 2012 10:20:23 +0000 Author : Robert Osfield 0️⃣ From Chuck Seberino, "Attached are modified versions of RotateCylinderDragger and Projector files that clean up the use of _onCylinder / isProjectionOnCylinder().I have also made changes to the RotateCylinderDragger to provide a cylinder ring with a thickness. It is totally optional, but IMHO makes the default behavior work better than a solid cylinder (which typically obscures the geometry you are trying to drag). Gives it a bit more to grab, especially in the case where eyepoint and cylinder axis are near parallel. "

    Thu, 8 Mar 2012 16:33:44 +0000 Author : Robert Osfield 🚀 Updated version number for 3.1.1 dev release

    Thu, 8 Mar 2012 16:05:17 +0000 Author : Robert Osfield 👍 From Farshid Lashkari, "I've added support for reading contents of cubemap textures to the osg::Image::readImageFromCurrentTexture method. I added a new parameter to the method for specifying which face of the cubemap to read."

    Wed, 7 Mar 2012 09:32:38 +0000 Author : Robert Osfield 🛠 From Olaf Flebbe, "Appended now a bugfixed proposition for the Win7 Multitouch Support.Now examples/osgmultitouch really works ;-)

    Based on yesterdays trunk.

    • It should now work with all Visual Studio Versions.
    • WIN_VER is left as-is
    • I added the missing declarations from a recent SDK, if not supplied by the SDK
    • ⚡️ If someone chooses to update WIN_VER, the declarations should not break.
    • All API Calls are runtime detected.
    • 👍 No CMake Variable, Support is enabled automatically ."

    Tue, 6 Mar 2012 10:35:57 +0000 Author : Robert Osfield 🏗 From Guillaume Millet, "Please find a small fix to avoid crash of texture Atlas builder in case of textures with NULL image.If an object is comming with texture and NULL image, the texture atlas builder crash when sorting textures according to texture height. 🏗 The fix is to skip textures with NULL image when inserting textures in the builder texture list. "

    Tue, 6 Mar 2012 10:33:20 +0000 Author : Robert Osfield From Farshild Laskari, "The vertex shader for the point stateset of PrecipitationEffect was not properly computing the clip vertex. It needed to apply a modelview transformation to the clip vertex. Attached is the fix."

    Tue, 6 Mar 2012 10:29:47 +0000 Author : Robert Osfield From Christian Buchner, "The attached openscenegraph example is much simpler than osgshaders.cpp and demonstrates the use of GLSL vertex and fragment shaders with a simple animation callback. I found the osgshaders.cpp too complex to serve as a starting point for GLSL programming"

    Tue, 6 Mar 2012 10:08:49 +0000 Author : Robert Osfield 🛠 From Chuck Seberino, "Here is a fix for the RotateCylinderDragger. This patch fixes the case where the picking direction is close to the cylinder axis. The current behavior is this:* If the eyepoint and cylinder axis are close to parallel (given some tolerance), then it uses a plane perpendicular to the cylinder axis.

    • 0️⃣ Otherwise it uses a plane parallel to the cylinder axis oriented towards the eyepoint (previous behavior). This gives decent behavior and is the only path that was taken in the previous code. I kept with previous behavior and that allowed a good bit of code to be removed, simplifying things. There is now no need for the _onCylinder flag, but since there is a public accessor, I wasn't sure how to handle it for backwards compatibility, so I left it in. NOTE - there is no default initialized value, so if it is kept in, it should be set to 'false' to keep same behavior as before. I am not quite sure how the _onCylinder case was supposed to behave as even forcing that path gave undesirable behavior, even with carefully controlled dragging. "

    Tue, 6 Mar 2012 10:06:00 +0000 Author : Robert Osfield ➕ Added RotateCylinderDragger and RotateSphereDragger to list of manipulators for testing purposes

    Mon, 5 Mar 2012 14:17:01 +0000 Author : Robert Osfield ⚡️ From Paul Martz, "Just a minor update and typo fix. "

    Thu, 1 Mar 2012 11:33:31 +0000 Author : Robert Osfield From Luc Frauciel, "I've modified dxf writer :- correction to writeFace : the fourth point was defined with an incorrect code (http://www.autodesk.com/techpubs/autocad/acad2000/dxf/3dface_dxf_06.htm)

    • if no layer name was found, an empty string was used, with is incorrect according to dxf specifications and was rejected by Autodesk DWG TrueView
    • 🔌 the plugin was writting polygons and triangles as LINE, as if PolygonMode GL_LINE was active, and didn't use 3DFACE primitive. I changed this behaviour to write 3DFACE as default, and LINE when PolygonMode GL_LINE is active. when reading back the file with osg, the result is now consistent with the source

    ✅ Tested with osg plugin, FME (Safe software), Autodesk DWG TrueView "

    Thu, 1 Mar 2012 11:03:18 +0000 Author : Robert Osfield ✅ From Luc Frauciel, "In 3ds plugin, asGeometry() is used on a drawable but the resulting pointer is not tested for nullity. It leads to a crash when writing osgText::Text or Shapes"

    Thu, 1 Mar 2012 10:38:28 +0000 Author : Robert Osfield From David Callu, "I found a bug in osg::Program.in osg::Program::PerContextProgram :

    typedef std::vector LastAppliedUniformList; should be typedef std::map LastAppliedUniformList;

    Intel driver can use index uniform value > 200000. With a std::vector, this index uniform value generate an out of memory error

    Nothing in OpenGL or GLSL specification define index uniform value rules. And all other implementation that deal with uniform index in osg::Program 👉 use a std::map. 🐎 This fix could have a little performance impact but this is the cost to pay to work with all driver."

    Thu, 1 Mar 2012 10:14:55 +0000 Author : Robert Osfield ✂ Removed redudent spaces at ends of lines

    Wed, 29 Feb 2012 14:01:44 +0000 Author : Robert Osfield 🚀 Updated ChangeLog and AUTHORS for dev release

    Wed, 29 Feb 2012 10:22:56 +0000 Author : Robert Osfield 👌 Improved the handling of endian swap of osg::Array

    Wed, 29 Feb 2012 10:22:18 +0000 Author : Robert Osfield From Glenn Waldron, "Attached are modifications to ZipArchive to make it safe for mutli-threaded access. Here's a summary:* Uses a separate ZIP file handle per thread

    • Maintains a single shared (read-only) index, created the first time through
    • ✅ Stress-tested with the DatabasePager using 24 threads under osgEarth

    ⚡️ I also updated the member variables to use OSG's leading-underscore convention."

    Tue, 28 Feb 2012 12:03:48 +0000 Author : Robert Osfield 🏗 From Guillaume Millet, "When using the texture Atlas builder, it will convert from REPEAT to CLAMP all textures using only texcoord between [-0.001 1.001] to give a chance to create an Atlas. If the atlas creation failed for other reason (texture size, only one compatible texture, ...) the texture remain modified in CLAMP mode.But if you use texcoords between [0.0 1.0] using CLAMP mode instead REPEAT it is not safe because you will have a blend to the border color at extremities. If we want to have exactly the same rendering after changing mode from REPEAT to CLAMP we should use the CLAMP_TO_EDGE mode instead of CLAMP to avoid blending to border color at extremities.

    ✅ Please find as attachment the proposed patch against latest svn version. "

    Tue, 28 Feb 2012 11:37:09 +0000 Author : Robert Osfield ➕ Added build problem with using float Matrix.

    Tue, 28 Feb 2012 10:21:21 +0000 Author : Robert Osfield 🏗 From Thomas Hogarth, build fix for IOS build

    Mon, 27 Feb 2012 09:50:47 +0000 Author : Robert Osfield ➕ Added fin.imbue(std::locale::classic()); to avoid problems with parsing of .obj files

    Fri, 24 Feb 2012 21:07:02 +0000 Author : Robert Osfield ➕ Added s/getByteSwap to teh InputStreamOperator base class and use of this method in the InputStream::start(InputStreamOperator*) method to ensure the bytes are swapped consistently.

    Fri, 24 Feb 2012 12:15:15 +0000 Author : Robert Osfield Added support for using glGenerateMipmap instead of GL_GENERATE_MIPMAP_SGIS on GLES2

    Fri, 24 Feb 2012 11:43:35 +0000 Author : Robert Osfield Added support for checking the possible endian reversal the OSG_HEADER_LOW and OSG_HEADER_HIGH when reading binary files written out from systems that have a different endian to the system reading it.

    Fri, 24 Feb 2012 10:56:48 +0000 Author : Robert Osfield ⚠ Cleaned up CMake warning

    Thu, 23 Feb 2012 17:51:40 +0000 Author : Robert Osfield Moved the state.applyTextureMode(0,GL_TEXTURE_2D,osg::StateAttribute::ON);

    into the #if defined(OSG_GL_FIXED_FUNCTION_AVAILABLE) block to solve problems under GLES and GL3.x/GL4.x

    Thu, 23 Feb 2012 15:55:30 +0000 Author : Robert Osfield 🔧 From Mathieu Marache, "I was trying to play with the configuratiion files from the data but couldn't load them with osgviewer's -c CLI switch, this correction should make the alias work :-) "

    Wed, 22 Feb 2012 10:50:38 +0000 Author : Robert Osfield From Sergey Polischuk, "In and Out control points were computed incorrectly for some animation channels with cubic bezier interpolation"

    Wed, 22 Feb 2012 10:46:35 +0000 Author : Robert Osfield From Miha Ravsel, "While trying to create my custom serializer class, i created some dummy data which accidentally popped-up bug in InputStream readObjectFields function.Bug description: Let's say we have class A namespace Bug { class A : public osg::Object { public: //... typedef std::vector<osg::ref_ptr > AList;

    protected: AList _alist; //... } }

    REGISTER_OBJECT_WRAPPER( A, new Bug::A, Bug::A, "osg::Object Bug::A" ) { ADD_LIST_SERIALIZER(A,Bug::A::AList); }

    🐛 Bug: We create say 3 instances of class A: A1,A2,A3 and then we add A2 and A3 and A1 as child instances of A1 so we get next structure: A1 |- A2,A3,A1

    we call osgDB::writeObjectFile(A1,"/data/a.osgt") -> saved correctly( third element in list is saved as unique id that references parentClass

    now we call A1 = osgDB::readObjectFile("/data/a.osgt");

    Everything is deserialized correctely except last element in list which should be same instance as parent A1.

    The attached code resolves this issue by passing UniqueID in readObjectFields method and saving object in _identifierMap as soon as we have valid object instance so we can make reference to parent object from any child instance. "

    Tue, 21 Feb 2012 17:20:58 +0000 Author : Robert Osfield 🛠 From Paul Martz, "The attached fixes a few issues that are present when ref_ptr implicit casting is disabled."

    Tue, 21 Feb 2012 11:30:07 +0000 Author : Robert Osfield 0️⃣ 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.

    • 0️⃣ Defaults are now: 👍 10.7: Support Intel 32 and 64 Bit Cocoa with imageio picture reader 👍 10.6 + 10.5: Support Cocoa with imageio on Intel and PowerPC 10.4: Carbon, Quicktime and PowerPC

    🍎 Now OSG compiles out of the box for MacOSX 10.7. , tested with gcc and clang with FlightGear."

    Tue, 21 Feb 2012 11:13:25 +0000 Author : Robert Osfield From Chris Denham, "ReaderWriter3DS smoothing group handling corrections"

    Tue, 21 Feb 2012 10:42:59 +0000 Author : Robert Osfield 🛠 Fixed warnings

    Tue, 21 Feb 2012 10:38:12 +0000 Author : Robert Osfield Fixed erroneous use #if !defined(OSG_GLES1_FEATURES) && !defined(OSG_GLES2_FEATURES) which should have been #if !defined(OSG_GLES1_AVAILABLE) && !defined(OSG_GLES2_AVAILABLE)

    Mon, 20 Feb 2012 16:00:46 +0000 Author : Robert Osfield 🔌 From Luc Frauciel, "When dae plugin is used with daeUseSequencedTextureUnitsoption, the transparency processing is done with the wrong texture unit I've remplaced the unused parameter diffuseColorName by the diffuseTextureUnit effectively used."

    Mon, 20 Feb 2012 12:36:53 +0000 Author : Robert Osfield From Alexander Sinditskiy, "Fix loading small monochrome bmp images"

    Mon, 20 Feb 2012 12:33:17 +0000 Author : Robert Osfield From Dietmar Funck, "in order to use a customized database thread it's necessary to use a customized database pager, which creates such customized database threads, too. I think the best way to achieve this is to overwrite the DatabasePager::addDatabaseThread() method within the customized database pager. However this method is not 'virtual' yet, so I propose to make the method 'virtual'."

    Mon, 20 Feb 2012 12:23:36 +0000 Author : Robert Osfield 🚚 From Farshid Lashkari, "I've attached a small optimization to osgDB::Registry::removeExpiredObjectsInCache that removes the expired items while iterating over the cache, instead of saving to a temporary vector and then removing."

    Mon, 20 Feb 2012 12:18:50 +0000 Author : Robert Osfield From Riccardo Corsi, Added passing of EventVisitor pointer to event handlers.

    Mon, 20 Feb 2012 12:12:43 +0000 Author : Robert Osfield From Riccardo Corsi, "please find attached a small patch for HDR plugin, which simply set by default the internal pixel format to GL_RGB32F_ARB where appropriate.In the current version there's a comment saying that the plugin set it to GL_RGB8 (even when reading from float) to support old graphics cards, but the comment dates back to 2004... What's more I believe that it's correct to expect a floating texture format if you're loading an hdr image. It was quite troublesome for us to discover why our background image wasn't showing hdr data...

    🚚 In case you accept the submission, I've removed the comment as it would be misleading to leave it there."

    Mon, 20 Feb 2012 12:03:14 +0000 Author : Robert Osfield 👀 From Johannes Baeurele, "The osg::Image class now contains a 'supportsTextureSubloading()' method that is used inside the Texture2D::apply method. For now it only checks for the etc1 format in which case it returns 'false'. All other formats lead to a return value of 'true'.Without the change the application does not work properly. First I get the notification that an OpenGL error occured. After some more of this error messages I see broken textures on the screen. With the changes attached to this message my application works as intended."

    👍 Note from Robert Osfield, changed the Image::supportsTextureSubloading() to be const and to be implemented in the .cpp rather than inline.

    Fri, 17 Feb 2012 16:51:10 +0000 Author : Robert Osfield From Kim Bale, "The application description for osg2cpp was cut and pasted from osgconv and not changed.I've added a more relevant description."

    Fri, 17 Feb 2012 16:45:49 +0000 Author : Robert Osfield 🔌 From Martin Lambers, "It adds a new ReaderWriter plugin for the GTA file format (http://gta.nongnu.org). This allows to read and write floating point image data. Unlike other formats, GTA also allows very good compression ratios for floating point data. The compression method can be selected with the COMPRESSION option of the plugin. "

    Fri, 17 Feb 2012 16:13:16 +0000 Author : Robert Osfield Added usage of OSG_CPP_EXCEPTIONS_AVAILABLE for plugins that use std::exceptions.

    Fri, 10 Feb 2012 17:24:08 +0000 Author : Robert Osfield From Stephan Huber, " Here's another small submission for IOS, which adds unique ids to the touchpoints, so the ids stay the same during a touch-sequence.(and some minor code enhancements)"

    Fri, 10 Feb 2012 17:20:43 +0000 Author : Robert Osfield ⬆️ From Colin McDonald, "Upgrading to OpenSceneGraph 3.0.1, texture mip mapping stopped working on some junk low-end graphics cards which I still have to support. They worked ok with osg 2.8 and earlier.The problem turned out to be with gl proxy textures, which are unreliable on those devices. Proxy textures are used by the glu 🏗 mipmap build routines to determine if a texture size is 👌 supported. The external glu library had a nice fallback behaviour, so that if proxy textures didn't work then the mipmap texture was still created. But in the work on the new embedded glu routines that fallback behaviour has been inadvertently ⏪ lost. I have restored the fallback in src/osg/glu/libutil/mipmap.cpp. It doesn't add any extra complexity."

    Fri, 10 Feb 2012 16:12:28 +0000 Author : Robert Osfield 🚚 From Domenico Mangieri, "Implementation for MoveRight and MoveUp methods in FirstPersonManipulator is missing.I'm using the manipulator, so I added it."

    Fri, 10 Feb 2012 15:57:51 +0000 Author : Robert Osfield 🏗 From Stephan Huber, attached you'll find a compile fix for the new introduced rowlength-feature on IOS/OpenGL ES builds

    Thu, 9 Feb 2012 18:10:52 +0000 Author : Robert Osfield 🔧 From Luc Frauciel, "osgUtil Tessellator : beginTessellation() made virtual to allow configuration of tessellation:The initialisation of glu low level tessellator is done in osgUtil::Tessellator::beginTessellation() This function is not virtual, preventing any customization of the tesselation. In particular, there in an option in glu tesselator that force the generated primitives to be triangles and that I'd like to use (GLU_TESS_EDGE_FLAG). "

    Thu, 9 Feb 2012 17:52:13 +0000 Author : Robert Osfield From Torben Dannhauer, "Modification to osgfilecache: Now source data can also be local.:find attached my modifications to osgfilecache.

    It now allows also the caching of LOCAL terrain databases. In combination with the extends and level cmd parameter it allows to extract parts of terrain databases and write it in a new "Sub database". I also modified osgDB::FileCache to create correct filenames if the data source is local."

    Thu, 9 Feb 2012 17:45:23 +0000 Author : Robert Osfield ⚡️ Updated ChangeLog, AUTHORS and Contriburos.cpp files

    Thu, 9 Feb 2012 16:42:47 +0000 Author : Robert Osfield From Martin von Gagern, "The xine osg plugin won't compile against xine-lib-1.2.0:OpenSceneGraph-3.0.1/src/osgPlugins/xine/video_out_rgb.c:2772:25: error: ?video_driver_class_t? has no member named ?get_identifier? OpenSceneGraph-3.0.1/src/osgPlugins/xine/video_out_rgb.c:2773:25: error: ?video_driver_class_t? has no member named ?get_description?

    This has been reported on Gentoo: https://bugs.gentoo.org/397643 The relevant commit to the xine-lib repository is http://anonscm.debian.org/hg/xine-lib/xine-lib-1.2/diff/806b590a4d38/src/xine-engine/video_out.h

    This change addresses the issue. I'm sending the full modified file as 🚀 an attachment. It is based on the 3.0.1 release of OSG. I'll also paste a diff below. You will find a colorized view in the Gentoo bugzilla.

    The xine-lib API changed in the following way: the identifier and description members are now "const char*" strings instead of "char* ()(video_driver_class_t)" getter function. As the functions in the osg 🔌 plugin will always simply return a string literal, without accessing their argument, it is safe to simply call them with a NULL argument and 👉 use the returned string. This makes it easy to support both API 🔖 versions. When you drop support for older xine one day, you might want 🚚 to move the string literals to the assignment, getting rid of the functions in the process.

    ✅ The modified code compiles for me. I'm not sure how to test it, as I've 🏗 only got OSG around in order to build (and hopefully one day even use) Flightgear.

    I'm assigning my copyright in this change to the osg project leads. "

    Thu, 9 Feb 2012 15:54:13 +0000 Author : Robert Osfield 🍎 From Olaf Flebbe, "there are two ocurrences where pointer to bool is mixed with bool. Fixes warnings on MacOSX with llvm.diff --git a/src/osg/State.cpp b/src/osg/State.cpp index 0b88d63..2137bbd 100644 --- a/src/osg/State.cpp +++ b/src/osg/State.cpp @@ -109,7 +109,7 @@ State::State(): } }

    • _abortRenderingPtr = false;
    • _abortRenderingPtr = NULL;

      _checkGLErrors = ONCE_PER_FRAME;

    @@ -689,7 +689,7 @@ bool State::getLastAppliedTextureMode(unsigned int unit,Stat

    const StateAttribute* State::getLastAppliedTextureAttribute(unsigned int unit,S {

    • if (unit>=_textureAttributeMapList.size()) return false;
    • if (unit>=_textureAttributeMapList.size()) return NULL; return getLastAppliedAttribute(_textureAttributeMapList[unit],type,member); }

    "

    Thu, 9 Feb 2012 15:51:20 +0000 Author : Robert Osfield From Paul Martz, a simple GL3 example

    Thu, 9 Feb 2012 15:08:30 +0000 Author : Robert Osfield From Colin McDonald, "The bounding box returned by getBound() for Text which is not auto-rotated (e.g. HUD text) is not always correct, because it doesn't take account of the base line offsets added by the various alignment options such as CENTER_TOP, CENTER_BOTTOM etc.The attached src/osgText/TextBase.cpp fixes the problem."

    Thu, 9 Feb 2012 14:40:07 +0000 Author : Robert Osfield 🏗 From Colin McDonald, fix for Solaris build.

    Thu, 9 Feb 2012 14:33:13 +0000 Author : Robert Osfield From Filip Arlet,"I ran into problem with osg::Text _BASE_LINE alignment. It didn't account line spacing. Btw. same problem in 3D textChanged _offset from: -_characterHeight*(_lineCount-1) to: -_characterHeight*(1.0 + _lineSpacing)*(_lineCount-1)"

    Thu, 9 Feb 2012 14:28:39 +0000 Author : Robert Osfield ➕ Added back in support for checking the current working directory by default, but now do the check after the Options and Registry DataFilePathLists have been checked, which will allow users to better control over where files are searched for.

    Thu, 9 Feb 2012 14:11:36 +0000 Author : Robert Osfield From Chris Denham, "This is a submission to fix a problem with use of mode GL_RESCALE_NORMAL for geometries below a scaling transform which is not equal in X, Y & Z components. In this case, the 'slow' method of mode GL_NORMALIZE should be used to perform the normalization.I have attached a correction to daeRTransforms.cpp based on trunk at [12892] which corrects this problem.

    This is the changed section:

    Code: if (scale.x() == scale.y() && scale.y() == scale.z()) { // This mode may be quicker than GL_NORMALIZE, but ONLY works if x, y & z components of scale are the same. ss->setMode(GL_RESCALE_NORMAL, osg::StateAttribute::ON|osg::StateAttribute::OVERRIDE); } else { // This mode may be slower than GL_RESCALE_NORMAL, but does work if x, y & z components of scale are not the same. ss->setMode(GL_NORMALIZE, osg::StateAttribute::ON|osg::StateAttribute::OVERRIDE); }"

    Thu, 9 Feb 2012 12:50:42 +0000 Author : Robert Osfield ⚡️ From Thorsten Brehm, "attached update changes OSG's src/osgDB/Registry.cpp, so it doesn't (accidentally) resolve relative paths against the current working directory when searching for resources. So far, such paths were always resolved against the cwd first.I guess the previous behaviour of giving the cwd precedence over any path configured in the "database path list" (osgDB::Options) wasn't intentional. Otherwise, if it was intentional after all, it'd be good to add another feature instead, to make this configurable - e.g. a flag in osgDB::Options to disable this, if an application doesn't want the cwd being considered. "

    0️⃣ Note from Robert Osfield, this submission will change the default behaviour of searching for files so can potentially break existing applications as it won't search the current working direction unless it's included in the DataFilePathList entry in the Options or Registy. I'll add a follow up submission to add back in this feature.

    Wed, 8 Feb 2012 17:12:58 +0000 Author : Robert Osfield 🐎 From Hartmut Seichter, "attached a revised CMakeLists.txt file for Android that avoids the problems with a ARM gcc bug that appears in the NDK. It only overrides the optimization level for one file. As it resides only in the cfg parser this should not have side effects on performance."

    Wed, 8 Feb 2012 10:50:04 +0000 Author : Robert Osfield From Paul Martz, "This change clarifies the description for OSG_GL_VERTEX_ARRAY_FUNCS_AVAILABLE."

    Wed, 8 Feb 2012 10:06:58 +0000 Author : Robert Osfield From Leandro Motto Barros,"I've made a few changes to osgUtil::PolytopeIntersector so that it actually uses double precision floating point numbers everywhere (as 👉 long as OSG_USE_FLOAT_PLANE is not defined).

    I needed double precision intersections in a project I am working on. ✅ These changes fixed the problems I was having -- this is all testing I have done.

    🔔 Notice that I have changed osgUtil::PolytopeIntersector::Intersection's members to use doubles (osg::Vec3d, instead of osg::Vec3). I could have added #ifdef's there 👍 too, but I think it is better to not change the types of stuff in the public interface depending on some preprocessor definition.

    The modified files are attached. A diff also follows, for those who like it."

    With the following changes from Robert Osfield:

    "I've just reviewed your changes and have just tweaked them a little to streamline them. What I have done in the PolytopeIntersector header is add:

       typedef osg::Plane::Vec3_type Vec3_type;
    

    And then use this typedef in the definition of the vertices rather then Vec3d as you did. Next changes were to PolytopeInteresector.cpp where to the PolytopeIntersectorUtils defintions of the Vec3_type, and value_type which now simply read:

    typedef osg::Plane::Vec3_type Vec3_type; typedef Vec3_type::value_type value_type;

    This way I was able to complete avoid any if def's and have essential the same implementation as you achieved. Changes now checked into svn/trunk."

    Wed, 8 Feb 2012 09:34:44 +0000 Author : Robert Osfield 🚀 From Claus Scheiblauer, "in GraphicsWindowQt.cpp the GLWidget::keyReleaseEvent was implemented slightly different to the GLWidget::keyPressEvent, which caused the cursor keys values to be not correctly mapped from an QKeyEvent value to an osg key value when releasing a cursor key."

    Tue, 7 Feb 2012 16:14:13 +0000 Author : Robert Osfield 👉 Fixed build issues when compile with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF.

    Tue, 7 Feb 2012 12:37:48 +0000 Author : Robert Osfield From Alexander Irion, "Added missing format GL_ALPHA to Image::computeFormatDataType()."

    Tue, 7 Feb 2012 12:02:04 +0000 Author : Robert Osfield From Johannes Baeuerle, "The first problem is wrong value of the block size of etc1 textures in the getCompressedSize call in Texture.cpp. With the current block size of 16 the target application crashes with a GL_INVALID_VALUE. The reason is that the calculated size passed to OpenGL does not match the size of the passed data(data pointer,texture width,texture height,spec of etc1). With a block size of 8 in the getCompressedSize call this error dissapears."

    Tue, 7 Feb 2012 11:43:42 +0000 Author : Robert Osfield From Nico Kruithof, "I found that Collada wasn't found correctly with visual studio 2010."

    Tue, 7 Feb 2012 11:41:20 +0000 Author : Robert Osfield From Marius Kintel, "GraphicsWindowQt::WindowData no longer requires the parent widget of a graphics window to be of type GLWidget."

    Tue, 7 Feb 2012 11:29:47 +0000 Author : Robert Osfield 🚚 From David Fries, "Of the two ways to use the Tessellator object, only retessellatePolygons was applying the winding and boundary option. Moved the gluTessProperty calls into beginTessellation().There's a comment typo fix, removing an unused VertexPointList typedef, and allocates one _tobj instead of one per tesellation. Protections were added to check that _tobj was allocated in the few remaining places it wasn't being checked.


    On a side note, I would like to avoid the 'new Vec3d' in Tessellator::addVertex for each call to gluTessVertex(tess, location, data). The RedBook leaves it ambiguous if the location pointer must remain valid after gluTessVertex or not. 📄 http://www.opengl.org/sdk/docs/man/xhtml/gluTessVertex.xml says that changing location is not safe, so being conservative, I'll leave it as is, even though the Mesa GLU library copies the data not the pointer, so it is currently safe."

    Tue, 7 Feb 2012 11:21:11 +0000 Author : Robert Osfield ⚡️ From Lionel Lagarde, "The setNormal method of osg::Billboard has side effects (it calls updateCache and update the normal to Z rotation matrix). When cloning billboards, copying the normal vector is not enough. In the correction, the copy constructor calls setNormal to update the internal members."

    Tue, 7 Feb 2012 10:57:19 +0000 Author : Robert Osfield ✅ From Wojciech Lewandowski, "This is a one line modification of StatsHandler.cpp to work correctly while dumping states to console when ViewerStats getEarliesFrameNumber() and getLatestFrameNumber() return zeroes. If that happened in current version, printing loop was iterating between 0 and 0xFFFF FFFF indices and that was hanging our system. "

    Tue, 7 Feb 2012 10:51:22 +0000 Author : Robert Osfield ⚡️ From Tamer Fahmy, Fix for bug when scrolling down and using render on demand."Currently issuing a mouse scroll DOWN event would stop updating animations in progress.

    The fix consists of changing the line us.requestContinuousUpdate( false ); to: us.requestContinuousUpdate( isAnimating() || _thrown );

    in OrbitManipulator::handleMouseWheel() as has been done for the GUIEventAdapter::SCROLL_UP case a couple of lines earlier or in src/osgGA/FirstPersonManipulator.cpp."

    Tue, 7 Feb 2012 10:40:04 +0000 Author : Robert Osfield 0️⃣ From Rudolf Wiedemann, "the file attached fixes the incomplete implementation of "osg::DefaultUserDataContainer"'s copy constructor. Copying user objects was missing."Note from Robert Osfield, in submission changed _objectList.push_back((*itr)->clone(copyop)); to _objectList.push_back(copyop(*itr));

    Tue, 7 Feb 2012 10:33:09 +0000 Author : Robert Osfield 🏁 From Sukender, "I just fixed using UTF8 paths in JP2 readerwriter under Windows. Jpeg2000 plugin could not handle UTF8 paths as it was using an Japser open() function which seems to be based on the standard fopen(). The fix simply opens the file beforehand and only gives a FILE* to the Jasper lib (and then closes the file, of course). "

    Mon, 6 Feb 2012 13:45:20 +0000 Author : Robert Osfield ⚡️ From Mathias Froehlich, "In Optimizer.cpp a nodes update callback is checked twice and the cull callback is checked never for the decision of a node being redundant. The change replaces one of the update callback tests with a cull callback test."

    Mon, 6 Feb 2012 13:40:01 +0000 Author : Robert Osfield 🏁 From Mathias Froehlich, "Attached is a change to the stats handler so that the aspect ratio of the viewer stats coordinates always stay about 1:1 to the pixels. This helps for more readable stats with very wide windows for example."

    Mon, 6 Feb 2012 13:35:45 +0000 Author : Robert Osfield 0️⃣ From Mathias Froehlich, "The attached change to the default font makes the baseline correctly working and makes the glyphs aspect ratio match their 12x8 bitmaps. I am not exactly sure about osgTexts current internals but it matches the changes that happened lately to the txf font. "

    Mon, 6 Feb 2012 13:29:38 +0000 Author : Robert Osfield 🏗 From Cory Riddell, "I've been using the dot plugin and found that our application which sets the global locale was generating bad dot files. Specifically, the node numbers had comma separators in them (like 1,234 rather than 1234).The attached file simply forces the stringstreams used to build up the dot file to use the "C" locale."

    Mon, 6 Feb 2012 13:27:25 +0000 Author : Robert Osfield From Robert Milharcic, "In attached file I implemented LOAD_IMMEDIATELY mode for new osg ProxyNode wrapper. Current version of proxynode loading uses DatabasePager for both modes(DEFER_LOADING_TO_DATABASE_PAGER and LOAD_IMMEDIATELY).Immediate loading of external references begins after ProxyNode has been deserialized in ProxyNodeFinishedObjectReadCallback."

    Mon, 6 Feb 2012 12:42:52 +0000 Author : Robert Osfield 👀 From Paul Palumbo, "This change seems to fix a problem reading 32-bit Floating point tiff images. Without this fix, I'm only getting half my image displayed in "osgviewer --image"."

    Mon, 6 Feb 2012 12:38:11 +0000 Author : Robert Osfield From Jason Beverage, "Attached is a patch to the SVG plugin to use cairo_surface_destroy instead of free. This was causing a crash on Windows. "

    Mon, 6 Feb 2012 12:36:25 +0000 Author : Robert Osfield From Jan Peciva, "attaching improved StatsVisitor. Changes: - apply() and reset() methods made virtual to allow overriding - added apply(StateSet&) to make more easier to gather StateAttribute statistics in user-derived classes "

    Mon, 6 Feb 2012 12:29:29 +0000 Author : Robert Osfield 🛠 Fixed indendation and line endings

    Mon, 6 Feb 2012 12:06:40 +0000 Author : Robert Osfield 🚚 From Brad Christiansen, "The attached files add the ability to control when a paged child becomes eligible for expiry based on time and/or elapsed frames.I found that some of the items that had been paged in were being expired on the first frame that they were not visible (as the cache was full). This resulted in excessive paging every time the view was moved. With the following changes I could only allow children to be expired if they had not been used for e.g. 30 seconds or 60 frames."

    Mon, 6 Feb 2012 12:05:36 +0000 Author : Robert Osfield 🛠 Fixed silly compiler warning that was being produced in error.

    Mon, 6 Feb 2012 11:17:12 +0000 Author : Robert Osfield 🚚 From Alexander Sinditskiy, "looks like GlyphGeometries _glyphGeometries; should be removed because Glyph3D have the same named local variable."

    Fri, 3 Feb 2012 15:15:37 +0000 Author : Robert Osfield 0️⃣ From Stephan Huber, "attached you'll find a first version of multi-touch-support for OS X (>= 10.6), which will forward all multi-touch events from a trackpad to the corresponding osgGA-event-structures.The support is switched off per default, but you can enable multi-touch 👌 support via a new flag for GraphicsWindowCocoa::WindowData or directly via the GraphicsWindowCocoa-class.

    👍 After switching multi-touch-support on, all mouse-events from the trackpad get ignored, otherwise you'll have multiple events for the same pointer which is very confusing (as the trackpad reports absolute 🚚 movement, and as a mouse relative movement).

    I think this is not a problem, as multi-touch-input is a completely different beast as a mouse, so you'll have to code your own event-handlers anyway.

    ♻️ While coding this stuff, I asked myself if we should refactor GUIEventAdapter/EventQueue and assign a specific event-type for 🚀 touch-input instead of using PUSH/DRAG/RELEASE. This will make it clearer how to use the code, but will break the mouse-emulation for the first touch-point and with that all existing manipulators. What do you think? I am happy to code the proposed changes.

    ➕ Additionally I created a small (and ugly) example osgmultitouch which 👉 makes use of the osgGA::MultiTouchTrackballManipulator, shows all touch-points on a HUD and demonstrates how to get the touchpoints from an osgGA::GUIEventAdapter.

    There's even a small example video here: http://vimeo.com/31611842"

    Fri, 3 Feb 2012 14:25:08 +0000 Author : Robert Osfield 0️⃣ From Stephan Huber, "attached you'll find a first version of multi-touch-support for OS X (>= 10.6), which will forward all multi-touch events from a trackpad to the corresponding osgGA-event-structures.The support is switched off per default, but you can enable multi-touch 👌 support via a new flag for GraphicsWindowCocoa::WindowData or directly via the GraphicsWindowCocoa-class.

    👍 After switching multi-touch-support on, all mouse-events from the trackpad get ignored, otherwise you'll have multiple events for the same pointer which is very confusing (as the trackpad reports absolute 🚚 movement, and as a mouse relative movement).

    I think this is not a problem, as multi-touch-input is a completely different beast as a mouse, so you'll have to code your own event-handlers anyway.

    ♻️ While coding this stuff, I asked myself if we should refactor GUIEventAdapter/EventQueue and assign a specific event-type for 🚀 touch-input instead of using PUSH/DRAG/RELEASE. This will make it clearer how to use the code, but will break the mouse-emulation for the first touch-point and with that all existing manipulators. What do you think? I am happy to code the proposed changes.

    ➕ Additionally I created a small (and ugly) example osgmultitouch which 👉 makes use of the osgGA::MultiTouchTrackballManipulator, shows all touch-points on a HUD and demonstrates how to get the touchpoints from an osgGA::GUIEventAdapter.

    There's even a small example video here: http://vimeo.com/31611842"

    Fri, 3 Feb 2012 11:10:17 +0000 Author : Robert Osfield 👌 Improved handling of archives

    Fri, 3 Feb 2012 11:09:45 +0000 Author : Robert Osfield 👍 From Terry Welsh, improved support for handling archives

    Wed, 1 Feb 2012 17:42:42 +0000 Author : Robert Osfield 🏁 From Colin McDonald, "I have an application with multiple windows. They share GL objects between the contexts, using the GraphicsContext::Traits sharedContext and setting the same contextID.When one of these shared contexts is closed, GraphicsContext::close ✂ deletes all GLObjects for that contextID, regardless of the fact that they are shared. This means that all of the other contexts sharing the objects have to recompile them.

    The attached tweak makes GraphicsContext::close a bit less brutal for shared contexts. I have also changed a misleading diagnostic message. "

    Wed, 1 Feb 2012 17:38:37 +0000 Author : Robert Osfield 🔌 From Luc Frauciel, "FBX plugin was locked on version 2012.1 of FBX SDK which is not available anymore on Autodesk website. This patch allows version of FBX >= 2012.1, which includes current one : 2012.2 "

    Wed, 1 Feb 2012 17:16:44 +0000 Author : Robert Osfield 📇 Renamed selection to transform to make it clear to understand what is being done.

    Wed, 1 Feb 2012 17:10:48 +0000 Author : Robert Osfield ➕ Added example usage of teh new DraggerTransforCallback's HandleCommandMask which is tied to the TabPlaneDragger example.

    Wed, 1 Feb 2012 13:55:38 +0000 Author : Robert Osfield ➕ Added DraggerTransformCallback::HandleCommandMask to DraggerTransformCallback to allow applications to select which commands they want the dragger callback to respond to why updating the transform.

    Tue, 31 Jan 2012 10:56:52 +0000 Author : Robert Osfield 👌 Improved the handling of osgManipulator::Constraint, DraggerCallbacks and Command so that they now use a Visitor Pattern to ensure the correct methods on constraints and callbaks are called for each Command. Also fixed the handling of Constraints when applied to composite Draggers.

    Mon, 30 Jan 2012 12:26:28 +0000 Author : Robert Osfield ➕ Added support for Scale1DDragger, Scale2DDragger and TranslatePlaneDragger to --dragger command line option

    Fri, 27 Jan 2012 09:49:06 +0000 Author : Robert Osfield From Kristofer Tingdahl, Added missing core OSG libraries.

    Thu, 26 Jan 2012 18:03:26 +0000 Author : Robert Osfield From Stephan Huber, "a recent submission added a 10.6-feature to GraphicsWindowCocoa. I added some ifdefs around, so it compiles again with 10.5 SDK"

    Thu, 26 Jan 2012 14:26:59 +0000 Author : Robert Osfield Quietend down debug message

    Thu, 26 Jan 2012 13:08:19 +0000 Author : Robert Osfield 🖨 From J.P. Delport, "when switching from windowed mode to fullscreen (with the 'f' key) in X11, no RESIZE event is generated. This confuses handlers that perform some processing on the RESIZE event, e.g. the InteractiveImageHandler.To reproduce the problem I attach a minimally modified osgviewer that just prints resize events. You can check what's printed in the console when you go fullscreen and windowed a few times.

    👀 The attached version of GraphicsWindowX11 fixes the problem for me, but I'm not sure this is the right approach. Maybe you can see a fix for the problem clearer.

    🔧 The only place where the RESIZE event is generated in GraphicsWindowX11 is in CheckEvents and it then depends on the ConfigureNotify message. For some reason, either ConfigureNotify is not sent when going fullscreen or the traits already reflect the latest window size."

    Wed, 25 Jan 2012 17:37:55 +0000 Author : Robert Osfield From J.P. Delport, "this fall-through had me scratching my head for a while...It made InteractiveImageHandler eat keypresses outside its image."

    Wed, 25 Jan 2012 17:35:17 +0000 Author : Robert Osfield From J.P. Delport, "GraphicsWindowX11 typo, I believe X/Y's should match."

    Wed, 25 Jan 2012 17:31:07 +0000 Author : Robert Osfield From Luc Frauciel, "Ati FirePro is as much crippled as other Ati drivers. This patch add "FirePro" to the black list of renderers in State.cpp / initializeExtensionProcsIt allows to avoid an OpenGL error on Viewer initialization. 🏁 Tested on FirePro M7740 / Windows7 x64 Driver 8.85.7.2"

    Wed, 25 Jan 2012 15:38:31 +0000 Author : Robert Osfield 🔄 Changed the KeyEventToggleTexturing to 'e' to avoid conflict with 't' used for transparency.

    Tue, 24 Jan 2012 17:57:01 +0000 Author : Robert Osfield Made the cursor state protected.

    Tue, 24 Jan 2012 17:49:18 +0000 Author : Robert Osfield ✅ From Tobias Ottenweller, "this is a fix for the problem where all input freezes for a quarter second when calling requestWarpPointer under Mac OS X (described here: http://forum.openscenegraph.org/viewtopic.php?t=3933 ).I used the latest version available via subversion.

    🗄 My fix is using some API only available on 10.4 and later. I used some preprocessor statements to gain compatibility with 10.3 and earlier using (now) deprecated API.

    ✅ Only tested on OS X Lion (10.7). Please do some testing as well since I'm fairly new to OpenSceneGraph. Someone should also test the code for 10.3 and earlier."

    Tue, 24 Jan 2012 17:47:04 +0000 Author : Robert Osfield 🛠 Fixed indentation and spaces at ends of lines.

    Tue, 24 Jan 2012 17:40:31 +0000 Author : Robert Osfield From Paulk Martz, "Looks like the ClipNode::setReferenceFrame comment block came from LightSource. Fixing the comment block to refer to ClipNode instead of light source."

    Tue, 24 Jan 2012 17:38:23 +0000 Author : Robert Osfield 🛠 Chris Denham, fixed type of parameters to ensure they are longs where appropriate.

    Tue, 24 Jan 2012 17:30:44 +0000 Author : Robert Osfield 🚚 Moved setEndBarrierOperation(..) implementation into .cpp and added support for stoppig and starting threading if required.

    Tue, 24 Jan 2012 17:21:14 +0000 Author : Robert Osfield 🔀 From Paul Martz, Added ViewerBase::s/getEndBarrierOperation(..) method to allow user control of how viewers are sync'd.

    Tue, 24 Jan 2012 15:44:58 +0000 Author : Robert Osfield 🛠 Fixed compile error

    Tue, 24 Jan 2012 14:34:02 +0000 Author : Robert Osfield Added support for using GL_UNPACK_ROW_LENGTH in conjunction with texture's + osg::Image via new RowLength parameter in osg::Image. To support this Image::setData(..) now has a new optional rowLength parameter which defaults to 0, which provides the original behaviour, Image::setRowLength(int) and int Image::getRowLength() are also provided.With the introduction of RowLength support in osg::Image it is now possible to create a sub image where the t size of the image are smaller than the row length, useful for when you have a large image on the CPU and which to use a small portion of it on the GPU. However, when these sub images are created the data within the image is no longer contiguous so data access can no longer assume that all the data is in one block. The new method Image::isDataContiguous() enables the user to check whether the data is contiguous, and if not one can either access the data row by row using Image::data(column,row,image) accessor, or use the 🆕 new Image::DataIterator for stepping through each block on memory assocatied with the image.

    ⚡️ To support the possibility of non contiguous osg::Image usage of image objects has had to be updated to check DataContiguous and handle the case or use access via the DataIerator or by row by row. To achieve this a relatively large number of files has had to be modified, in particular the texture classes and 🔌 image plugins that doing writing.

    Tue, 24 Jan 2012 14:27:17 +0000 Author : Robert Osfield Refactored the click_to_run implementation to avoid bug associated with running the first click_to_run entry in a layer when subsequent click to run's are called.

    Mon, 23 Jan 2012 18:48:18 +0000 Author : Robert Osfield 🔄 Changed float QuicktimeImageStream::getCurrentTime() to double QuicktimeImageStream::getCurrentTime() to keep it consistent with the type of the virtual function ImageStream::getCurrentTime(), and with this fixing a compile and runtime error.Changed time variables all to use doubles rather than float to be consist with the change to getCurrentTime().

    Thu, 5 Jan 2012 14:07:56 +0000 Author : Robert Osfield 🔌 From Alberto Luacus, "The ffmpeg plugin fails to compile with the upcoming libav 0.8 because the required header mathematics.h is not being included explicitly.I have just included it, and verified that this also works with current 🔖 version 0.7, since the header is also available there."

    Tue, 3 Jan 2012 15:59:19 +0000 Author : Robert Osfield 🛠 Fixed the return value of SlideEventHandler::selectLayer() so that the 'n' now works correctly.

    Mon, 2 Jan 2012 16:54:05 +0000 Author : Robert Osfield 0️⃣ From Farshid Lashkari, "Attached is a simple fix to osg::Sequence that allows it to load properly with the serializer formats (osgt/osgb). The problem was that the internal _nrepsRemain member was not being initialized properly if the number of repeats was equal to the default value of -1. When the number of repeats is explicitly set using setNumRepeats(), _nrepsRemain is set to the same value. However, in the constructor of osg::Sequence, it was not being initialized to the same value as _nreps. This fix simply changes the initial value of _nrepsRemain to the same as _nreps."

    Mon, 2 Jan 2012 16:38:01 +0000 Author : Robert Osfield 🔌 From Chris Denham, Implementation of write functions in CURL plugin

    Fri, 23 Dec 2011 17:40:31 +0000 Author : Robert Osfield From Paul Martz and David Glenn,"From David Glenn and Paul Martz. This change adds support for the NO_COLOR bit in the Vertex records' flags field. If NO_COLOR is set, and PACKED_COLOR is not set, the code will now properly default to using the face color at those vertices. See the osg-users thread "Open Flight characteristic not reflected in the current OSG" for more info."

    and

    "In consultation with David Glenn, it appears we needed to change a second file to correct how OpenFlight handles transparency when vertices have NO_COLOR. "

    Fri, 23 Dec 2011 17:34:07 +0000 Author : Robert Osfield 🔒 Gunnar Holm, "After upgrading from 2.8.3 to 3.0.1 we experienced a lock in the Mutex functionality when using Terrain::setVerticalScale. This was caused by the following call sequence resulting in a lockup:void Terrain::setVerticalScale(float scale) CALLS dirtyRegisteredTiles();

    void Terrain::dirtyRegisteredTiles(int dirtyMask) SETS LOCK OpenThreads::ScopedLock<OpenThreads::Mutex> lock(_mutex); and CALLS (on every tile) setDirtyMask(dirtyMask);

    void TerrainTile::setDirtyMask(int dirtyMask) CALLS _terrain->updateTerrainTileOnNextFrame(this);

    ⚡️ void Terrain::updateTerrainTileOnNextFrame(TerrainTile* terrainTile) SETS LOCK OpenThreads::ScopedLock<OpenThreads::Mutex> lock(_mutex); ******* PROBLEM - since lock has already been set! ********

    The suggested fix submitted changes from using Mutex to ReentrantMutex. "

    Fri, 23 Dec 2011 17:21:59 +0000 Author : Robert Osfield From Aurelien Albert, "I made a modification in the Dragger class :You can now set a "intersection mask" and it will be used when looking for intersections.

    So you can now easily "hide" some objects from manipulators."

    Fri, 23 Dec 2011 17:16:06 +0000 Author : Robert Osfield From Brad Christiansen, "I have added an implementation for set/getVolume in the direct show plug-in."

    Fri, 23 Dec 2011 17:15:06 +0000 Author : Robert Osfield From Glenn Waldron, "Attached is a change to ClusterCullingCallback to make it work properly under an RTT camera with an INHERIT_VIEWPOINT reference frame."

    Fri, 23 Dec 2011 16:57:34 +0000 Author : Robert Osfield ✅ From James Turner, "Testing FlightGear with Cocoa osgViewer, encountered some problems with hiding / re-showing the cursor. Attached version fixes this, by tracking the current cursor value, and ensuring we don't nest calls to [NSCursor hide] or [NSCursor unhide]."

    Fri, 23 Dec 2011 16:29:51 +0000 Author : Robert Osfield ♻️ From Ulrich Hertlein, "attached is a patch for osgPlugins/mdl/MDLReader.cpp that improves its functionality on Unix filesystems. It also includes code cleanups/refactoring."

    Fri, 23 Dec 2011 16:27:25 +0000 Author : Robert Osfield 🐧 From Brad Christiansen, "Attached are some small changes to the ImageStream interface and the DirectShow and FFMPEG plugins to provide the current time being displayed in the image stream. I don’t have access to an OSX or Linux dev machine to make the changes required to the quick time plugin. This plugin will just default to returning 0."

    Fri, 23 Dec 2011 16:14:51 +0000 Author : Robert Osfield 🛠 From Ulrich Hertlein, typo fixes

    Fri, 23 Dec 2011 12:42:18 +0000 Author : Robert Osfield ➕ Added handling of an empty filename when writing out an image file.

    Mon, 19 Dec 2011 16:18:18 +0000 Author : Robert Osfield ✂ Removed inappropriate static usage

    Mon, 19 Dec 2011 09:37:57 +0000 Author : Robert Osfield 🚚 Moved the createSpotLightImage function into include/osg/ImageUtils

    Mon, 19 Dec 2011 09:09:30 +0000 Author : Robert Osfield ➕ Added --num-sm and --parallel-split and --cascaded command line options to set the appriopriate ViewDependentShadowMap settings.

    Tue, 13 Dec 2011 21:14:33 +0000 Author : Robert Osfield 🚚 Moved osgshaders example across to use the new osgUtil::PerlinNoise example

    Tue, 13 Dec 2011 21:12:00 +0000 Author : Robert Osfield Created new PerlinNoise class from the Noise.h+Noise.cpp code in the osgshaders example.

    Wed, 30 Nov 2011 19:14:14 +0000 Author : Robert Osfield 🛠 Fixed build under Tiny Core.

    Fri, 25 Nov 2011 12:48:03 +0000 Author : Robert Osfield To fix problems in tight bound computation of the shadow map made the ComputeLightSpaceBounds usage always used when the CastShadowMask is active. Changed the ComputeLightSpaceBounds to use just VIEW_FRUSTUM_CULLING.

    Fri, 25 Nov 2011 09:24:50 +0000 Author : Robert Osfield From Jean-Sebastien Guay, fix for handling texture unit >= 8 and negative LigthNum.

    Tue, 22 Nov 2011 21:55:30 +0000 Author : Robert Osfield ➕ Added prelimanary support for parallel split shadow maps into ViewDependentShadowMap.

    Fri, 18 Nov 2011 08:20:04 +0000 Author : Robert Osfield ⚡️ From Trajce Nikolov, "Here is extended version of the osgforest example - technique with geometry shader added, was doing it for a project so I thought might be useful to update the example as well "

    Fri, 18 Nov 2011 08:15:36 +0000 Author : Robert Osfield 🛠 Fixed indentation

    Thu, 17 Nov 2011 18:45:18 +0000 Author : Robert Osfield ➕ Added .get() to fix build

    Fri, 11 Nov 2011 10:36:17 +0000 Author : Robert Osfield ⚡️ Updated built in volume shaders to honour the osg::Matierial setting

    Fri, 11 Nov 2011 10:25:20 +0000 Author : Robert Osfield Enabled blending for the iso surface rendering to enable fade in/fade out of volume.

    Thu, 10 Nov 2011 15:50:22 +0000 Author : Robert Osfield ➕ Added handling of osgGA::GUIEventAdapter::getMouseYOrientation() in the orientation of mouse y position.Added updating of properties on both mouse move/drag and keydown.

    Mon, 7 Nov 2011 14:36:50 +0000 Author : Robert Osfield ➕ Added a check against OSX 10.6 to enable better selection of when to provide custom cosf etc. definition. This change has been introduced to address recurcsion problems in 10.7 in the ac3d plugin.

    Fri, 4 Nov 2011 12:50:05 +0000 Author : Robert Osfield ⚡️ Implement presentation update feature that reloads the presentation on pressing 'u'.

    Fri, 4 Nov 2011 12:47:24 +0000 Author : Robert Osfield 👌 Improved the handling of setStartTick() being called mid app, such as when idirectly called when doing a Viewer::setSceneData(). Improved the setting the the initial event state.

    Fri, 4 Nov 2011 12:45:32 +0000 Author : Robert Osfield 👌 Improved handling of resetting of the EventQueue::startTick().

    Fri, 4 Nov 2011 12:44:01 +0000 Author : Robert Osfield ➕ Added removeFromObjectCache method.

    Wed, 2 Nov 2011 10:57:17 +0000 Author : Robert Osfield Add check to filter out the return of FILE_NOT_FOUND from archive results to prevent these from prematurely exiting the Registry::read(..) method bofore it loads plugins to try and load requested file.

    Tue, 1 Nov 2011 16:13:24 +0000 Author : Robert Osfield Replaced the use of PrtScrn with 'm' for taking screenshots, replaced the use of 'm' with 'M' for taking movies.

    Tue, 1 Nov 2011 13:41:48 +0000 Author : Robert Osfield From Stephan Huber, "A recent commit (https://github.com/openscenegraph/osg/commit/41e23f466d0749d0d9db7ca0b0ada996432a1ee1) for GraphicWindowsIOS.mm broke the compilation for OpenGL ES 1.x as GL_DEPTH_COMPONENT32_OES is not defined for 1.x. I added a #define-guard."

    Tue, 1 Nov 2011 13:36:07 +0000 Author : Robert Osfield ➕ Added screen capture handler to present3D, with the PrtScn button used for a single frame capture and 'm' for continuous frame capture. The --screenshot filename command line option can be used to configure the name of the screen capture.

    Tue, 1 Nov 2011 11:08:48 +0000 Author : Robert Osfield ➕ Added setting of the sampleDensityWhenMovingProperty at the same time as when setting the sampleDensityProperty

    Tue, 1 Nov 2011 10:30:18 +0000 Author : Robert Osfield 🛠 Fixed the use DCM_SeriesDescription

    Tue, 1 Nov 2011 10:27:12 +0000 Author : Robert Osfield 👌 Improved the handling of multiple datasets being read at once, with all the images in a series being group according to Series UID and SeriesDescription and orientation.

    Mon, 31 Oct 2011 15:29:49 +0000 Author : Robert Osfield ➕ Adding missing checks against View's Camera and SceneData for any update callbacks that need calling.

    Fri, 28 Oct 2011 11:00:55 +0000 Author : Robert Osfield 🔄 Changed the notification level to INFO.

    Fri, 28 Oct 2011 11:00:08 +0000 Author : Robert Osfield 🔄 Changed the setting of Traits::sampleBuffers so that it's set to 1 when DisplaySettings::getMultiSamples() is set to a non zero value.

    Fri, 28 Oct 2011 10:36:29 +0000 Author : Robert Osfield 🔄 Changed the default for SampleBuffers to be 1 when set.

    Fri, 28 Oct 2011 09:45:51 +0000 Author : Robert Osfield ✂ Removed OSX codepath for setting the depth value to 32 as this turned out to be unneccesary.

    Fri, 28 Oct 2011 09:11:21 +0000 Author : Robert Osfield 🔄 Changed the default depth to 24.

    Thu, 27 Oct 2011 16:33:18 +0000 Author : Robert Osfield ⚡️ Updated volume shaders to use the GL_LIGHT 0 values to control the direction of the light source

    Thu, 27 Oct 2011 13:11:20 +0000 Author : Robert Osfield Reimplement the light direction controls so that they now work correctly with osgViewer::Viewer.Improved the computation of the light direction from non-dimensional mouse coords so that they now project onto a hemisphere making the interaction more intuitive.

    Thu, 27 Oct 2011 09:24:34 +0000 Author : Robert Osfield ➕ Added support for ignore returns as white space.

    Thu, 27 Oct 2011 08:34:53 +0000 Author : Robert Osfield ➕ Added support for American spelling of swap and add supportOptions(..) documentation for the new options.

    Wed, 26 Oct 2011 14:25:56 +0000 Author : Robert Osfield ➕ Added support into the .p3d format for specifying the osgDB::Options::OptionString via the .Added support into .vnc plugin for passing in the keywords "swap", "RGB", "RGBA", "BGR", "BGRA" as OptionString values to allow .p3d presentations to control whether the pixelformat should be swapped or set to a specific format.

    Wed, 26 Oct 2011 12:48:57 +0000 Author : Robert Osfield ➕ Added password support into present3D's vnc support via the tag usage : hostname

    Wed, 26 Oct 2011 12:29:38 +0000 Author : Robert Osfield ➕ Added password support into osgvnc example and vnc plugin

    Wed, 26 Oct 2011 09:34:50 +0000 Author : Robert Osfield Implement a simply attempt at detecting when the pixel format needs to be swapped.

    Tue, 25 Oct 2011 15:55:33 +0000 Author : Robert Osfield ➕ Added support for 32bit depth buffer

    Tue, 25 Oct 2011 15:31:46 +0000 Author : Robert Osfield ➕ Added hack of using a 32bit depth buffer default setting for Traits when compiling under Apple.

    Mon, 24 Oct 2011 13:40:29 +0000 Author : Robert Osfield 🚚 Moved switching off of the cursor till after the slide event handler has had a chance to switch off the scene.

    Mon, 24 Oct 2011 11:09:35 +0000 Author : Robert Osfield 🛠 Fixed handling of slide with no layers.

    Sat, 22 Oct 2011 09:02:18 +0000 Author : Robert Osfield 🛠 Fixed build of StreamOperator

    Fri, 21 Oct 2011 15:39:51 +0000 Author : Robert Osfield 🛠 Fixed handling of Vec3dArray in GLBeginEdnAdapter/ArrayDispatchers.

    Fri, 21 Oct 2011 11:00:29 +0000 Author : Robert Osfield Added support for using negative scale_x, scale_y and scale_z values in the tag to allow presentations to flip the imagery

    Fri, 21 Oct 2011 10:59:42 +0000 Author : Robert Osfield ➕ Added flipDepth() method

    Fri, 21 Oct 2011 09:31:56 +0000 Author : Robert Osfield 🛠 Fixed handling of scale.x, scale.y and scale.z paramters so that all of them now take an effect.

    Thu, 20 Oct 2011 16:49:08 +0000 Author : Robert Osfield 🛠 Fixed handling of reading/writing of osgVolume::VolumeTile tiles

    Thu, 20 Oct 2011 16:35:50 +0000 Author : Robert Osfield ➕ Added support for calling throwException() from InputIterator and added a check for negative string sizes.

    Thu, 20 Oct 2011 11:50:04 +0000 Author : Robert Osfield ➕ Added check against build type to avoid the build of the osgviewerWX example with debug build as this fails with unresolved symbols within the internals of WxWidgets.

    Thu, 20 Oct 2011 10:52:32 +0000 Author : Robert Osfield 🏗 From Ulrich Hertlein, fixed build problem due to cmake_policy CMP0017 being only available from cmake-2.8.4, added guard to prevent build problems

    Thu, 20 Oct 2011 09:23:26 +0000 Author : Robert Osfield 👌 Improved handling of recent Cmake versions

    Thu, 20 Oct 2011 08:59:47 +0000 Author : Robert Osfield 🛠 Fixed typo in command line output, and add an explanation message for when createTexture3D fails to create an osg::Image from a list of input osg::Image.

    Mon, 17 Oct 2011 15:39:46 +0000 Author : Robert Osfield 🛠 Fixed typo

    Mon, 17 Oct 2011 14:41:49 +0000 Author : Robert Osfield 👌 Improvements to the compute near/far

    Mon, 17 Oct 2011 14:40:29 +0000 Author : Robert Osfield 👌 Improvements to osgShadow::ViewDependentShadowMap and ShadowSettings

    Mon, 17 Oct 2011 11:12:05 +0000 Author : Robert Osfield Quitened down debug message

    Mon, 17 Oct 2011 10:25:28 +0000 Author : Robert Osfield From Jean-Sebastien Guay, add --mapres size option to ViewDependentShadowMap settings.

    Mon, 3 Oct 2011 15:57:06 +0000 Author : Robert Osfield ➕ Add catch for when shadows are enabled between the update and draw traversals.

    Mon, 3 Oct 2011 15:25:16 +0000 Author : Robert Osfield 0️⃣ From Jean-Sebastien Guay, changed the border colour for the shadow map to be 1 rather the 0 used for debugging so that areas outside the shadow map default to being unshadowed rather than shadowed. changed the shadow map texture assigment to StateSet so that it doesn't use OVERRIDE, enabling subgraphs to use the same texture unit for other textures if they so required. tidied up indentation.

    Mon, 3 Oct 2011 14:57:39 +0000 Author : Robert Osfield 🔄 Changed getVertical(..) so it uses the same coord scale as the getGlyph

    Mon, 3 Oct 2011 14:56:38 +0000 Author : Robert Osfield 🛠 Fixed handling of ShadowSetting LightNum

    Mon, 3 Oct 2011 10:36:18 +0000 Author : Robert Osfield ➕ Added Font::getVertical(float& ascender, float& descender) methods.

    Wed, 28 Sep 2011 11:52:27 +0000 Author : Robert Osfield ➕ Added catch for NaN vertices that were being generated by osgText, these NaN vertices were causing glu tesselation functions to crash.

    Wed, 28 Sep 2011 10:54:30 +0000 Author : Robert Osfield ➕ Added computation of the extents, in light space, of the shadow maps RenderStage contents and use of this to produce a tighter bound light space projection.

    Tue, 20 Sep 2011 11:46:45 +0000 Author : Robert Osfield ➕ Added a half second sleep after calling system command when the command is run in the background so that this command has a chance to run and open a window before the calling present3D moves on to the next frame.

    Tue, 20 Sep 2011 10:59:18 +0000 Author : Robert Osfield ➕ Added better error reporting and handling when tag contents are not valid.

    Tue, 20 Sep 2011 10:01:07 +0000 Author : Robert Osfield ➕ Added handling of <!DOCTYPE...> tag and "" options.

    Mon, 19 Sep 2011 10:42:54 +0000 Author : Robert Osfield ⚠ From Ulrich Hertlein, "attached is a patch that cleans up compiler warnings and common functionality."

    Mon, 19 Sep 2011 10:39:19 +0000 Author : Robert Osfield From Wojciech Lewandowski, "There was a bug in reading modifier keys when focus to GraphicsWindowWin32 was restored. Handler of WM_SETFOCUS was reading pressed keys and sending WM_KEYDOWN messages to fill initial keyboard state. But WM_KEYDOWN messages sent had 0 on lParam and adaptKey method computing state of modifier mask was using lParam to find which modifier keys are down. Obviously when lParam was 0 it was not recording proper modifier masks.This patch fixes this code sending proper lParam and also makes sure LEFT_CONTROL will be not confused with RIGHT_CONTROL."

    Mon, 19 Sep 2011 10:34:31 +0000 Author : Robert Osfield From Luc Frauciel, "You'll find attached a new option that allow, when using LOD in USER_DEFINED_CENTER mode to expand the radius of the node by the radius of loaded objets. Motivation ; When using PagedLODs, you don't always know the real size of loaded children, If it occurs that they are out of predefined bounds, picking on the parts that are out of bound will fail They also can be culled out too soon. The problem often occurs with long object (roads). I've modified LOD and ProxyNode to include this option."and later email:

    "Attached the UNION_OF_BOUNDING_SPHERE_AND_USER_DEFINED version There are impacts on some serializers (dae, osgWrapper). 🗄 I haven't modified deprecated osg, since it's deprecated"

    Mon, 19 Sep 2011 10:12:53 +0000 Author : Robert Osfield ➕ Added removal of [..] from names returned from glGetActiveUniform results to avoid issues with name lookups when the driver add the [..] for uniform arrays.

    Mon, 19 Sep 2011 09:44:29 +0000 Author : Robert Osfield Copya and Paste Anti-Pattern strikes again! Renamed FreeType usage to Revisions to correct previous mistake when copying and modifying the ReaderWriter.

    Wed, 14 Sep 2011 10:45:11 +0000 Author : Robert Osfield 🛠 Fixed memory leak

    Wed, 14 Sep 2011 10:22:04 +0000 Author : Robert Osfield ➕ Added missing forward declaration

    Wed, 14 Sep 2011 10:02:11 +0000 Author : Robert Osfield ➕ Added asCamera() methods into osg::Camera and osg::Node

    Wed, 14 Sep 2011 09:49:28 +0000 Author : Robert Osfield 🔌 From Laurens Voerman, "attached is a zipped OpenSceneGraph\src\osgPlugins\ffmpeg\FFmpegDecoderAudio.cppIt solves a wrong sample format being set for audiostreams type S32 and F32, for the enum AVSampleFormat (in include/avutil/samplefmt.h) doesn't match enum SampleFormat (in include/osg/AudioStream) for anything but SAMPLE_FORMAT_U8 and SAMPLE_FORMAT_S16 "

    and follow up that address versioning issue

    "I can find the change, avutil version 50.38.0 introduced a new header file: libavutil/samplefmt.h older versions use libavcodec/avcodec.h with the sampleformats without AV_

    an intermideate fix with the FF_API_OLD_SAMPLE_FMT is removed from ffmpeg 0.8.3 so I think this is the correct fix:

    🔖 #if LIBAVUTIL_VERSION_INT < AV_VERSION_INT(50,38,0)

    define AV_SAMPLE_FMT_NONE SAMPLE_FMT_NONE

    define AV_SAMPLE_FMT_U8 SAMPLE_FMT_U8

    define AV_SAMPLE_FMT_S16 SAMPLE_FMT_S16

    define AV_SAMPLE_FMT_S32 SAMPLE_FMT_S32

    define AV_SAMPLE_FMT_FLT SAMPLE_FMT_FLT

    define AV_SAMPLE_FMT_DBL SAMPLE_FMT_DBL

    define AV_SAMPLE_FMT_NB SAMPLE_FMT_NB

    endif

    "

    Tue, 13 Sep 2011 13:38:26 +0000 Author : Robert Osfield From Morten Hauknes, "I have been using the getLastVisiblePixelCount on pre 3.0 osg. I believe maybe this was a private function that we made public in our side. I use(d) this method to make a simple algorithm to tell how much visible an object was in percent.So with the 3.0 api change we propose the following change:

    • put OSG_EXPORT on the QueryGeometry class so that we get access to the getNumPixels method.
    • Create a function called getQueryGeometry that returns a casted _queryGeode->getDrawable(). Or a function called getQueryGeode that returns _queryGeode."

    Tue, 13 Sep 2011 13:33:41 +0000 Author : Robert Osfield From Jean-Sebastien Guay, removed unneccessary BUILD_QT_EXAMPLES cmake option

    Tue, 13 Sep 2011 11:48:06 +0000 Author : Robert Osfield From Sukender, "I just fount that writing double precision values (eg. Vec3dArray for vertices) works with .osg but not .osgt/.osgx. So here is the fix (SVN trunk r12712). I suppose .osgb works as expected on this point and did not change anything. So, as for .osg, if you add "precision 16" (for instance) to the optionString, then you'll get double precision vertices written correctly. "

    Tue, 13 Sep 2011 11:09:39 +0000 Author : Robert Osfield 🚀 From Robert Milharcic, "This will hopefully fix some issues with osgQt, more precisely with GLWidget event handling. There are at least two current GL context braking events, QEvent::Hide and QEvent::ParentChange. When running in a multithreaded mode they both try to change current GL context in a wrong thread (main GUI thread). The QEvent::ParentChange is also problematic when running in a single threaded model because Qt is going to release current contex then delete it, and then it will create new one, and as a result the osg will continue to render to an invalid deleted context. This changes workaround above problems by deferring execution of the problematic evens. These events has to be enqueued and executed later. The enqueued event processing is currently done right after swap in a swapBuffersImplementation of GraphicsWindowQt while code is running in a render thread by calling QGLWidget handler directly. In principle the deferred events queue should be executed while in GUI thread but I couldn't find any reliable way to do this, that is without risking a deadlock. For now it is assumed, Qt is not going to execute any GUI thread only operations inside the QGLWidget handler."

    Tue, 13 Sep 2011 10:15:07 +0000 Author : Robert Osfield 🚚 From Farshid Lashkari, " The osgUtil::CullVisitor class will display an OSG_INFO notification when attempting to clamp the projection matrix with invalid near/var values. This usually appears when the scene graph is empty or all objects are culled. I don't think this scenario warrants having this message appear every frame. It makes it very difficult to debug other issues when this notification floods the output window.I'd prefer to have the notification removed, but there might be legitimate cases where you want this displayed. Instead, I just disabled the output if the near/far values are equal to FLT_MAX (their initial values). This should at least prevent the notification for the common case where everything was culled."

    Tue, 13 Sep 2011 09:59:21 +0000 Author : Robert Osfield ⚡️ From Paul Martz, "Here's my proposed change regarding the osg-users post "small feature culling threshold". I've updated the comments and brought the default values into agreement, but didn't bother to add the environment variable support."

    Tue, 13 Sep 2011 09:53:34 +0000 Author : Robert Osfield 🏗 From Jean-Sebastien Guay, "I added a simple setting in OSG's CMakeLists.txt to be able to disable building anything related to Qt. It just skips the FindPackage(...) for Qt3 and Qt4, so since they are not found nothing related to Qt will be generated by CMake. The default is to build the Qt related stuff, so current behavior is unchanged."

    Tue, 13 Sep 2011 09:46:22 +0000 Author : Robert Osfield From Sukender, "I added a tiny check to avoid an integer divide-by-zero, when image is invalid (ie. all values are 0)."

    Tue, 13 Sep 2011 09:43:45 +0000 Author : Robert Osfield From Sukender, "I added a crash-guard against corrupted 3DS files, having faces indexes out of the range of existing vertices."

    Tue, 13 Sep 2011 09:21:07 +0000 Author : Robert Osfield From Farshild Lashkari, "Attached is a simple patch that avoids the depth write pass in Text::renderWithDelayedDepthWrites if the current osg::State object has GL_DEPTH_TEST disabled."

    Tue, 13 Sep 2011 09:17:21 +0000 Author : Robert Osfield 🏗 Reverted Paul Idstein warning fix as this was breaking the build

    Mon, 12 Sep 2011 16:24:08 +0000 Author : Robert Osfield From Ulrich Hertlein, Added some error checks and memory cleanup.

    Mon, 12 Sep 2011 16:20:45 +0000 Author : Robert Osfield 🏗 From Stephan Huber, fixed build for OSX 10.6 and earlier

    Mon, 12 Sep 2011 16:17:33 +0000 Author : Robert Osfield 👍 From Johannes Baeuerle, opptimization of ES support of osg/BufferObject

    Mon, 12 Sep 2011 12:38:41 +0000 Author : Robert Osfield From Bjorn Blissing, "Found a minor (probably a copy & paste) bug in ViewerEventHandlers. Line 251: int getKeyEventWindowedResolutionDown() const { return _keyEventWindowedResolutionUp; }Should be replaced with: int getKeyEventWindowedResolutionDown() const { return _keyEventWindowedResolutionDown; }"

    Mon, 12 Sep 2011 12:26:55 +0000 Author : Robert Osfield 🛠 From Luc Frauciel, "When osgUtil::DelaunayTriangulator triangulate() function ends with no triangle generated, it crashes. This patch fixes that"

    Mon, 12 Sep 2011 12:14:17 +0000 Author : Robert Osfield 📚 From Magnus Kessler, documentation fixes

    Mon, 12 Sep 2011 12:04:46 +0000 Author : Robert Osfield 👌 Improved the clarity of doxygen comments

    Mon, 12 Sep 2011 11:51:14 +0000 Author : Robert Osfield 🛠 Fixed typos in the documentation

    Mon, 12 Sep 2011 11:28:14 +0000 Author : Robert Osfield From Cedric Pinson, from three submissions:"Here a patch that correct like the previous assign collada material name to stateset."

    and

    "I changed how the collada reader set object name in osg. Current implementation use collada ID to setup name. with this patch I use collada name to setup name in osg object and if collada provide no name I use as fallback ID. I am not sure we want this fallback.

    The motivation of this change is that when an artist set names to its objects and export to collada, I am not able to use those names in osg to retrieve the node."

    and

    ⚡️ "Here the update of the file that fix the light id stuff"

    Mon, 12 Sep 2011 11:24:52 +0000 Author : Robert Osfield 🏗 From Bob Kuehne, build fix for OSX 10.7 SDK.

    Mon, 12 Sep 2011 11:24:24 +0000 Author : Robert Osfield ⚠ From Paul Idstein, warning fixes for OSX 10.7

    Mon, 12 Sep 2011 10:52:16 +0000 Author : Robert Osfield 🛠 From Magnus Kessler, typo fixes

    Mon, 12 Sep 2011 10:47:59 +0000 Author : Robert Osfield From Wang Rui, "I've encountered a strange problem that osgviewerMFC doesn't work well with the StatsHandler. When the 's' key is pressed, the rendering window will be halted. I tried solving the problem by commenting a line in CMFC_OSG_MDIView::OnKeyDown() and it seems to work now.Another improvement here is to use a thread class derived from OpenThreads to replace the old _beginthread(). It helps a lot in keeping a high frame rate when you open more than one MDI child 🏁 windows. And the application using OpenThreads in my opinion will be more compatible and portable."

    Mon, 12 Sep 2011 10:46:42 +0000 Author : Robert Osfield ⚡️ Updated SO version number to 90 to allow for recent changes to the ABI, and to set the base for the 3.1.0 series.

    Mon, 12 Sep 2011 10:43:24 +0000 Author : Robert Osfield From Sukender, "I added private constructors to osg::ValueObject & TemplatedValueObject, to avoid allocation on the stack and ugly things like: TemplatedValueObject value(....); container->addUserObject(value);"

    Wed, 7 Sep 2011 20:05:25 +0000 Author : Robert Osfield ➕ Added handling the ShadowSettings::LightNum for selecting which light to use.

    Wed, 7 Sep 2011 16:26:57 +0000 Author : Robert Osfield ➕ Added handling of the case when RenderLeaf::_modelview matrix is NULL, such as when LightPointNode is used in the scene graph.

    Wed, 7 Sep 2011 15:55:54 +0000 Author : Robert Osfield 🚚 Moved ViewDependetShadowMap parameter settings into a dedicated ShadowSettings object in prep for making it possible to scale the API to handle multiple lights and multiple shadow maps per light.

    Tue, 6 Sep 2011 17:26:27 +0000 Author : Robert Osfield ➕ Added setting of the shadow map Camera's name to "ShadowCamera" to improve integration with osgOcean.

    Tue, 6 Sep 2011 14:13:13 +0000 Author : Robert Osfield ➕ Added optimization of the mutliple cessna shadow model to address peformance issues when rendering 100 cessna's.

    Tue, 6 Sep 2011 11:42:54 +0000 Author : Robert Osfield ➕ Added -5 model option using Wang Rui's test demo as a base

    Tue, 6 Sep 2011 11:11:38 +0000 Author : Robert Osfield 🛠 Fixed the heights of the trees and houses

    Tue, 6 Sep 2011 10:12:45 +0000 Author : Robert Osfield ➕ Added s/getPerspectiveShadowMapCutOffAngle() and use of this when setting up light space to avoid sigularaties when the light and view directions are co-incident.

    Mon, 5 Sep 2011 12:36:47 +0000 Author : Robert Osfield ➕ Added support for setting whether ViewDependentShadowMap should provide it's own vertex and fragment shaders.

    Mon, 5 Sep 2011 12:27:20 +0000 Author : Robert Osfield Replaced use of ShapeDrawable with osgTerrain for the terrain tile

    Fri, 2 Sep 2011 10:16:16 +0000 Author : Robert Osfield ➕ Added s/getTextureSize() method for setting the shadow map texture size.

    Fri, 2 Sep 2011 07:46:08 +0000 Author : Robert Osfield Disabled the use of the ReceivesShadowTraversalMask() mask

    Thu, 1 Sep 2011 18:49:33 +0000 Author : Robert Osfield Added test line for COMPUTE_NEAR_USING_PRIMITIVES

    Thu, 1 Sep 2011 18:48:21 +0000 Author : Robert Osfield Added fine grained computation of the far plane when using the COMPUTE_NEAR_FAR_USING_PRIMITIVES ComputeNearFarMode. Added COMPUTE_NEAR_FAR_USING_PRIMITIVES option that provides the original functionality where only the near plane is computed in a fine grained way, with the far plane being computed simply from bound volumes.

    Mon, 29 Aug 2011 16:01:02 +0000 Author : Robert Osfield 🏗 From Tony Horrobin, build fix

    Mon, 29 Aug 2011 10:26:05 +0000 Author : Robert Osfield ➕ Added fallback base texture

    Mon, 29 Aug 2011 09:59:47 +0000 Author : Robert Osfield ➕ Added support for setting the MinimumShadowMapNearFarRatio.

    Fri, 26 Aug 2011 15:40:09 +0000 Author : Robert Osfield 🛠 Fixed bug in computaton of the min/max x/z ratios.

    Fri, 26 Aug 2011 15:36:33 +0000 Author : Robert Osfield ➕ Added names to models to help with debugging.

    Fri, 26 Aug 2011 10:52:25 +0000 Author : Robert Osfield ➕ Added releaseGLObjects/resizeGLObjectBuffers support

    Thu, 25 Aug 2011 17:21:38 +0000 Author : Robert Osfield 👌 Improved the handling of depth partitioning and orthographic datasets

    Thu, 25 Aug 2011 15:39:09 +0000 Author : Robert Osfield ➕ Added event handling for toggling on/off the light source animation.

    Wed, 24 Aug 2011 19:38:58 +0000 Author : Robert Osfield ➕ Added support for user defined setting of the shadow texture unit

    Wed, 24 Aug 2011 13:57:15 +0000 Author : Robert Osfield 🔄 Changed new ViewDependentShadowMap to default to a perspective shadow map with automatic detection of a spot light/perspetive light projection matrix to prevent inappropriate usage of perspective shadow map.

    Wed, 24 Aug 2011 12:32:03 +0000 Author : Robert Osfield 💅 Imorovements to the new perspective/lispsm style shadow implementation.

    Wed, 24 Aug 2011 12:31:35 +0000 Author : Robert Osfield ⚠ Quitened down and fixed warning

    Fri, 19 Aug 2011 12:42:51 +0000 Author : Robert Osfield Quitended down debug messages and added passing of RenderStage to LispSM code

    Fri, 19 Aug 2011 10:43:38 +0000 Author : Robert Osfield 👌 Improved the LispSM computation

    Fri, 19 Aug 2011 10:43:15 +0000 Author : Robert Osfield 🔄 Changed the local variable near/far type

    Wed, 17 Aug 2011 17:06:55 +0000 Author : Robert Osfield ➕ Added back in control of the backface culling.

    Wed, 17 Aug 2011 16:09:17 +0000 Author : Robert Osfield intermin check-in of work on new LispSM implementation

    Mon, 15 Aug 2011 14:37:16 +0000 Author : Robert Osfield ➕ Added missing assignement of _simulationTime.

    Sat, 13 Aug 2011 19:09:58 +0000 Author : Robert Osfield ✅ From Paul Martz, "Recent changes to osgShadow on trunk were apparently not yet tested with ref_ptr implicit casting disabled. Attached is a fix. "

    Fri, 12 Aug 2011 20:29:14 +0000 Author : Robert Osfield ➕ Added public interface for selecting use of perspective and light space perspective shadow maps. Implementation of backends not implemented yet so will follow.

    Fri, 12 Aug 2011 14:53:40 +0000 Author : Robert Osfield Implemented first pass at shaders for new ViewDepedentShadow map class

    Tue, 9 Aug 2011 15:57:37 +0000 Author : Robert Osfield Implemented ViewDependentShadowMap::setDebugDraw(bool) to allow osgshadow to enable/disable the debug display via the standard --debugHUD option.

    Tue, 9 Aug 2011 15:20:25 +0000 Author : Robert Osfield 🔄 Changed RTT Camera to use depth.

    Tue, 9 Aug 2011 13:39:57 +0000 Author : Robert Osfield Implemented caching of Camera, Texture and TexGen

    Tue, 9 Aug 2011 06:54:44 +0000 Author : Robert Osfield ➕ Added replacement of the placeholder StateSet in the StateGraph with custom StateSet implemented just for the needs of that particular frame.

    Mon, 8 Aug 2011 17:00:55 +0000 Author : Robert Osfield Further work on basic ViewDependentShadowMaps, adding implementation of RTT camera and texgen setup.

    Sun, 7 Aug 2011 15:54:21 +0000 Author : Robert Osfield 👍 From Jean-Sebestien Guay and Robert Osfield, mixture of two sets of change - one from JS that adds more controls for specifying positional and spot lights, and from RO adding support for the new ViewDepedentShadowMap

    Sun, 7 Aug 2011 15:51:54 +0000 Author : Robert Osfield Preliminary work on new ViewDependentShadowMap base class

    Fri, 29 Jul 2011 11:22:32 +0000 Author : Robert Osfield Commented out the colorAmbientEmissive += gl_FrontLightProduct[0].ambient; line from the fragment shader as it was causing problems with the shadowed region being sporadically lit when using a spotlight.

    Fri, 29 Jul 2011 07:42:55 +0000 Author : Robert Osfield 🛠 Fixed comment on end barrier position.

    Thu, 28 Jul 2011 16:40:28 +0000 Author : Robert Osfield 👌 Improved handling of the scaling of dicom imagery.

    Thu, 28 Jul 2011 12:07:22 +0000 Author : Robert Osfield Refectored the EGL setup so that it's honours the Traits values.

    Thu, 28 Jul 2011 11:05:10 +0000 Author : Robert Osfield ⏪ Reverted the change to the default setting of _resizeNonPowerOfTwoHint back to true for all platforms to ensure the same behaivour across platforms, something that can be achieved now thanks to the integrated GLU library.Corrected the default of the ResizeNonPowerOfTwoHint to true to reflect the actual default setting set by the 0️⃣ Texture default constructor.

    Thu, 28 Jul 2011 08:19:29 +0000 Author : Robert Osfield From Johannes Baeuerle, "in the file src/osgDB/ObjectWrapper.cpp, where the GlobalLookupTable for gl enums for serialization purposes is defined, some of the compressed texture formats are missing. I added enums for the pvr and etc formats."

    Thu, 28 Jul 2011 07:46:05 +0000 Author : Robert Osfield From Jason Beverage, "Here is a small fix for getCameraContainingPosition. getXMin was being used in a case where getYMin should be used instead."

    Mon, 25 Jul 2011 17:07:56 +0000 Author : Robert Osfield 🛠 Fixed stats bug where not all stats fields were being collected by the cull_draw() method used in the SingleThreaded and CullDrawThreadPerContext threading models.

    Fri, 22 Jul 2011 09:27:41 +0000 Author : Robert Osfield 👍 From Alexander Irion, "Texture borders are not supported in ES._isTextureBorderClampSupported is set to "TRUE" in Texture.cpp, because of the version number check (GL VERSION >= 1.3).

    This leads to an invalid enum error, when GL_TEXTURE_BORDER_COLOR is tried to set. "

    Fri, 22 Jul 2011 08:25:29 +0000 Author : Robert Osfield 🛠 In the RecordCameraPathhandler fixed the handling of pressing 'Z' before 'z' which was causing the view to be reset to 0,0,0 by AnimationPathManipualtor with an empty AnimationPath.

    Thu, 21 Jul 2011 09:55:03 +0000 Author : Robert Osfield 🛠 Fixed typo

    Thu, 21 Jul 2011 09:07:22 +0000 Author : Robert Osfield ⚡️ From Mathias Froehlich, "I have attached an updated version of the VRML2 loader. That change is the result of the '[osgPlugins] VRML plugin - "file" url' discussion on osg-users.The attached change avoids rewriting file names into some kind of file urls and then use the url for opening an fstream. Instead just use the given file name to open the stream. Also this change adds some Notify output for the error paths. "

    Thu, 21 Jul 2011 08:52:02 +0000 Author : Robert Osfield 🔖 From Wang Rui, "This fixes a small problem in the FindFBX file. In CMake scripts, VS2010 is not marked as MSVC100 but MSVC10. And CMake defines MSVC_VERSION instead of MSVC_VER to indicate the version number. The modification can find fbx sdk for VS2010 automatically now. "

    Wed, 20 Jul 2011 10:17:19 +0000 Author : Robert Osfield 🛠 From Claus Scheiblauer, fixed handling of horizontal mouse wheel events.

    Wed, 20 Jul 2011 09:10:32 +0000 Author : Robert Osfield ↪ Introduced workaround for problem of text that is scaled in screen coords, but hasn't been rendered yet so doesn't have knowledge of screen space yet, so assume that scaling is 1 rather than 0 as was previously assumed in the previous handling of screen space text.

    Mon, 18 Jul 2011 12:41:22 +0000 Author : Robert Osfield ➕ Added doxygen comments explaining read file callback functionality.

    Mon, 18 Jul 2011 09:40:58 +0000 Author : Robert Osfield Changed the HAVE_CONFIG_H guard so that it uses #ifndef _MSC_VER rather than _WIN32 to avoid problems with Mingw and Cygwin builds of DCMTK.

    Sun, 17 Jul 2011 16:24:47 +0000 Author : Robert Osfield 🛠 From Alberto Luacas, typo fixes

    Sun, 17 Jul 2011 10:30:40 +0000 Author : Robert Osfield From Wang Rui, improved the handling of the _preReadString within the readWrappedString method by factoring the reading of the next character into a dedicated getCharacter(..) method.

    Fri, 15 Jul 2011 10:24:23 +0000 Author : Robert Osfield 🏁 From Wang Rui, "I've found that the latest ffmpeg made some functions and macros deprecated, which led to compilation errors in the OSG plugin. I tried fixing them and tested with the version ffmpeg-git-5d4fd1d (ffmpeg version > 0.8, libavcodec = 53.7.0) under Windows. "

    Fri, 15 Jul 2011 10:22:44 +0000 Author : Cedric Pinson 🛠 Fix crash in osgAnimation when keyframe container are empty

    Fri, 15 Jul 2011 09:47:34 +0000 Author : Robert Osfield From Sukender, Fix for compile errors "public: static char const * const osg::ValueObjectClassNameTrait< xxx >::s_className" already defined in xxx.obj"

    Fri, 15 Jul 2011 09:14:16 +0000 Author : Robert Osfield 🏁 From Wang Rui,"The files attached should be separately put into the directories src/osgPlugins/osg and src/osgWrappers/serializers/osgSim. They fix a serious infinite loop problem that may be caused by the stream buffer mechanism under Windows and some osgSim wrapper bugs pointed by Andreas. I've asked the community to help test them and hope now we can solve these recent .osgt file reading issues."

    Fri, 15 Jul 2011 08:43:47 +0000 Author : Robert Osfield ⚠ From Ryan Pavlik, "Fix inventor state copy constructor. Clang warning: In file included from src/osgPlugins/Inventor/ConvertToInventor.cpp:80: src/osgPlugins/Inventor/ConvertToInventor.h:117:71: warning: field is uninitialized when used here [-Wuninitialized] osgTexGenS(s.osgTexGenS), osgTexGenT(s.osgTexGenT), osgTexGen(osgTexGen), "

    Fri, 15 Jul 2011 08:32:04 +0000 Author : Robert Osfield 🛠 From Philip Lamp, submitted by Stephan Huber, "Modify the ReaderWriteImageIO_IOS to correctly handle relative paths when reading from a file. This means that no longer do all image files have to live at the root of the Resources folder inside the app bundle, but can now be organized inside folders. Also improved error handling and fixed a potential leak of a CGColorSpaceRef each once per image load."

    Fri, 15 Jul 2011 08:16:58 +0000 Author : Robert Osfield Converted tabs to four spaces

    Tue, 28 Jun 2011 07:54:00 +0000 Author : Robert Osfield 🔀 Merged the OSG-3.0 branch versions of into svn/trunk.

    Tue, 28 Jun 2011 07:23:52 +0000 Author : Robert Osfield ➕ Added #if lib curl version check around #include as this header was deprecated and now removed entirely from libcurl-7.21.7.

    Tue, 28 Jun 2011 07:22:09 +0000 Author : Robert Osfield 🔌 From Wang Rui, "I've found a small problem which causes crashes in the 3ds plugin while trying to load a model. The fix here will ensure that the texture map is valid and everything could work well then."

    Mon, 27 Jun 2011 21:33:38 +0000 Author : Robert Osfield 👉 Tweaked the comments

    Mon, 27 Jun 2011 21:32:20 +0000 Author : Robert Osfield 🏁 From Jean-Sebestien Guay, workaround for bug under windows with the seek implementation when handling ascii files with unix file endings.

    Mon, 27 Jun 2011 15:43:33 +0000 Author : Robert Osfield ⚡️ Updated NEWS and fixed typo in Contributors.

    Mon, 27 Jun 2011 10:20:37 +0000 Author : Robert Osfield 🛠 Fixed typo

    Mon, 27 Jun 2011 10:19:44 +0000 Author : Robert Osfield 👌 Improved the setContextID doxygen comment.

    Sat, 25 Jun 2011 20:51:58 +0000 Author : Robert Osfield 🔌 From Andreas Eskland, "I found that a binary PNM file couldn't be read by the PNM plugin in the 3.0 branch. Attached is a small fix in ReaderWriterPNM.cpp, simply opening the file in binary mode."

    Sat, 25 Jun 2011 11:00:33 +0000 Author : Robert Osfield 🛠 Fixed memory growth issue when using Texture2D::SubloadCallbacks that don't set the TextureObjects sizes.

    Sat, 25 Jun 2011 07:07:16 +0000 Author : Robert Osfield Tightened up float usage.

    Fri, 24 Jun 2011 19:17:25 +0000 Author : Robert Osfield Tightened up the float/double usage

    Fri, 24 Jun 2011 16:15:47 +0000 Author : Robert Osfield ✂ Removed redundent assert and associated variables to fix warnings.

    Fri, 24 Jun 2011 15:04:16 +0000 Author : Robert Osfield Implemented missing writeShader

    Fri, 24 Jun 2011 13:35:20 +0000 Author : Robert Osfield ⏪ From Martin Innus, fixed erroneous change of INTEGER to UNKNOWN, reverting back to INTEGER.

    Fri, 24 Jun 2011 12:40:18 +0000 Author : Robert Osfield Implemented missing Archive::readShader/writeShader, and added searching of the archive list in Registr::read() so that files that are stored in the archives can be found.

    Fri, 24 Jun 2011 08:32:25 +0000 Author : Robert Osfield 🛠 From Ulrich Hertlein, "While we're on osgSim/ShapeAttribute, here's a fix that fixes the 'UNKNOW' typo and some doxygen"

    Fri, 24 Jun 2011 08:13:58 +0000 Author : Robert Osfield 👀 From Wang Rui, "I've modified the code to handle -1.#IND and other kinds of infinite values. Please see the attachments for details"

    Fri, 24 Jun 2011 08:05:54 +0000 Author : Robert Osfield ➕ Added operator ==, != and < to fix VS build

    Thu, 23 Jun 2011 19:58:52 +0000 Author : Robert Osfield 🛠 Fixed warnings generated by clang,src/osgAnimation/Skeleton.cpp:25:87: warning: addition of default argument on redeclaration makes this constructor a copy constructor [-Wdefault-arg-special-member] ⚡️ Skeleton::UpdateSkeleton::UpdateSkeleton(const UpdateSkeleton& us, const osg::CopyOp& copyop= osg::CopyOp::SHALLOW_COPY) : osg::Object(us, copyop), osg::NodeCallback(us, copyop)

    ⚠ /src/OpenThreads/pthreads/PThread.cpp:1024:15: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (cpunum<0) return -1;

    ⚠ src/osgDB/ExternalFileWriter.cpp:221:122: warning: expression result unused [-Wunused-value] _objects.insert(ObjectsSet::value_type(&obj, ObjectData(absoluteDestinationPath, relativeDestinationPath, written))).first;

    ⚠ src/osgManipulator/Dragger.cpp:175:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (*itr = constraint) return;

    ⚠ src/osgManipulator/Dragger.cpp:187:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (*itr = constraint)

    Thu, 23 Jun 2011 18:24:07 +0000 Author : Robert Osfield ⚠ Warning fixes for:OpenSceneGraph/src/osgPlugins/Inventor/ConvertFromInventor.cpp: In member function ?virtual SbBool SoVRMLImageTextureOsg::readInstance(SoInput*, short unsigned int)?: ⚠ OpenSceneGraph/src/osgPlugins/Inventor/ConvertFromInventor.cpp:1264:16: warning: variable ?retval? set but not used [-Wunused-but-set-variable] 🔌 OpenSceneGraph/src/osgPlugins/ac/Geode.cpp: In member function ?void ac3d::Geode::ProcessGeometry(std::ostream&, unsigned int)?: ⚠ OpenSceneGraph/src/osgPlugins/ac/Geode.cpp:806:35: warning: variable ?fRep_s? set but not used [-Wunused-but-set-variable] ⚠ OpenSceneGraph/src/osgPlugins/ac/Geode.cpp:806:43: warning: variable ?fRep_t? set but not used [-Wunused-but-set-variable] ⚠ OpenSceneGraph/src/osgPlugins/ac/Geode.cpp:807:35: warning: variable ?fOffset_s? set but not used [-Wunused-but-set-variable] ⚠ OpenSceneGraph/src/osgPlugins/ac/Geode.cpp:807:46: warning: variable ?fOffset_t? set but not used [-Wunused-but-set-variable] OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp: In member function ?virtual void osgViewer::GraphicsWindowX11::checkEvents()?: ⚠ OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp:1181:10: warning: variable ?destroyWindowRequested? set but not used [-Wunused-but-set-variable]

    Thu, 23 Jun 2011 16:36:36 +0000 Author : Robert Osfield 🛠 Fixed virtual method mismtaches between subclasses and parent classes.

    Thu, 23 Jun 2011 15:42:45 +0000 Author : Robert Osfield 🏗 From Ulrich Hertlein, build fix for OSX.

    Thu, 23 Jun 2011 15:37:35 +0000 Author : Robert Osfield ➕ Added better handling of archives in ReaderWriterZip::readNode() so that if there is no master file definition it loads all the available nodes in the zip archive and returns an osg::Group containing all the nodes if there is more than one, or just returns the node if there is just one. Also implemented this functionality for ReaderWriterZip::readImage().

    Thu, 23 Jun 2011 12:24:47 +0000 Author : Robert Osfield 🛠 Fixed typo in name

    Thu, 23 Jun 2011 11:27:23 +0000 Author : Robert Osfield ⚡️ Updated ChangeLog and AUTHORS file

    Thu, 23 Jun 2011 11:26:51 +0000 Author : Robert Osfield 🛠 Fixed name typo

    Thu, 23 Jun 2011 11:09:49 +0000 Author : Robert Osfield 🛠 Fixed warnings.OpenSceneGraph/src/osgGA/NodeTrackerManipulator.cpp:32:1: warning: base class ?class osg::Object? should be explicitly initialized in the copy constructor ⚠ OpenSceneGraph/src/osgGA/TerrainManipulator.cpp:31:1: warning: base class ?class osg::Object? should be explicitly initialized in the copy constructor ⚠ OpenSceneGraph/include/osgSim/ShapeAttribute:99:9: warning: base class ?class std::vector<osgSim::ShapeAttribute>? should be explicitly initialized in the copy constructor ⚠ OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::gi? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::byte_before_the_zipfile? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::num_file? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::pos_in_central_dir? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::current_file_ok? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::central_pos? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::size_central_dir? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::offset_central_dir? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::cur_file_info? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::cur_file_info_internal? OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::pfile_in_zip_read? ⚠ OpenSceneGraph/src/osgViewer/CompositeViewer.cpp:30:1: warning: base class ?class osg::Object? should be explicitly initialized in the copy constructor ⚠ OpenSceneGraph/src/osgViewer/View.cpp:159:1: warning: base class ?class osg::Object? should be explicitly initialized in the copy constructor ⚠ OpenSceneGraph/src/osgViewer/Viewer.cpp:196:1: warning: base class ?class osg::Object? should be explicitly initialized in the copy constructor ⚠ OpenSceneGraph/src/osgViewer/Viewer.cpp:196:1: warning: base class ?class osgViewer::ViewerBase? should be explicitly initialized in the copy constructor ⚠ OpenSceneGraph/include/osgManipulator/Dragger:47:9: warning: base class ?class osg::Object? should be explicitly initialized in the copy constructor

    Thu, 23 Jun 2011 09:26:27 +0000 Author : Robert Osfield 🚀 From Ryan Pavlik, "I have successfully compiled OpenSceneGraph trunk using the Clang compiler (using a recent trunk build of llvm and clang, haven't tested an older release). The attached files contain the change shown in the diff below, which was required to finish the build with Clang. It fixes an issue with two-phase name lookup - there's more information here http://blog.llvm.org/2009/12/dreaded-two-phase-name-lookup.html "

    Thu, 23 Jun 2011 09:22:23 +0000 Author : Robert Osfield ⚠ From Dimi Christopoulos, "I attach a fixed version of mipmap.cpp which produced a lot of warning on my gcc compiler."

    Thu, 23 Jun 2011 07:13:13 +0000 Author : Robert Osfield Converted tabs to four spaces

    Wed, 22 Jun 2011 16:18:34 +0000 Author : Robert Osfield ⚡️ From Magnus Kessler, "I have recently installed the latest version of collada-dom on Linux, and found that the include path has changed. By default, collada-dom now installs its header files under /usr/local/include/collada-dom or/usr/include/collada- dom. The attached FindCollada.cmake has been updated to look for these locations in addition to the previous candidate locations."

    Wed, 22 Jun 2011 12:30:01 +0000 Author : Robert Osfield ⚠ Resolved warnings reported by g++ 4.6's -Wunused-but-set-variable.Warnings were:

    /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osg/ShapeDrawable.cpp: In member function ‘void PrimitiveShapeVisitor::createHalfSphere(unsigned int, unsigned int, float, int, float, const Matrix&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osg/ShapeDrawable.cpp:1409:11: warning: variable ‘nzBase’ set but not used [-Wunused-but-set-variable] ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osg/ShapeDrawable.cpp:1410:11: warning: variable ‘nRatioBase’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/DelaunayTriangulator.cpp: In function ‘osgUtil::Triangle_list osgUtil::fillHole(osg::Vec3Array*, std::vector >)’: ✅ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/DelaunayTriangulator.cpp:569:27: warning: variable ‘ptest’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/DelaunayTriangulator.cpp: In member function ‘bool osgUtil::DelaunayTriangulator::triangulate()’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/DelaunayTriangulator.cpp:979:45: warning: variable ‘curp’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/RenderStage.cpp: In member function ‘void osgUtil::RenderStage::runCameraSetUp(osg::RenderInfo&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/RenderStage.cpp:631:18: warning: variable ‘stencilAttached’ set but not used [-Wunused-but-set-variable] 🏗 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/FadeText.cpp: In member function ‘void FadeTextPolytopeData::buildPolytope()’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/FadeText.cpp:74:20: warning: variable ‘edge23’ set but not used [-Wunused-but-set-variable] ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/FadeText.cpp:75:20: warning: variable ‘edge30’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/Text.cpp: In member function ‘void osgText::Text::computeBackdropPositions(unsigned int) const’: /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/Text.cpp:747:10: warning: variable ‘is_valid_size’ set but not used [-Wunused-but-set-variable] 🚚 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/NodeTrackerManipulator.cpp: In member function ‘virtual bool osgGA::NodeTrackerManipulator::performMovementLeftMouseButton(double, double, double)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/NodeTrackerManipulator.cpp:257:21: warning: variable ‘lookVector’ set but not used [-Wunused-but-set-variable] ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/NodeTrackerManipulator.cpp:259:21: warning: variable ‘upVector’ set but not used [-Wunused-but-set-variable] 🚚 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/TerrainManipulator.cpp: In member function ‘virtual bool osgGA::TerrainManipulator::performMovementMiddleMouseButton(double, double, double)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/TerrainManipulator.cpp:217:11: warning: variable ‘lookVector’ set but not used [-Wunused-but-set-variable] ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/TerrainManipulator.cpp:219:11: warning: variable ‘upVector’ set but not used [-Wunused-but-set-variable] 🛠 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgVolume/FixedFunctionTechnique.cpp: In member function ‘virtual void osgVolume::FixedFunctionTechnique::init()’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgVolume/FixedFunctionTechnique.cpp:124:30: warning: variable ‘tf’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgParticle/FluidProgram.cpp: In member function ‘virtual void osgParticle::FluidProgram::execute(double)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgParticle/FluidProgram.cpp:38:23: warning: variable ‘velBefore’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgShadow/ParallelSplitShadowMap.cpp: In member function ‘virtual void osgShadow::ParallelSplitShadowMap::cull(osgUtil::CullVisitor&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgShadow/ParallelSplitShadowMap.cpp:593:22: warning: variable ‘bb’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgTerrain/GeometryTechnique.cpp: In member function ‘virtual void osgTerrain::GeometryTechnique::generateGeometry(osgTerrain::GeometryTechnique::BufferData&, osgTerrain::Locator*, const osg::Vec3d&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgTerrain/GeometryTechnique.cpp:777:12: warning: variable ‘i_sampleFactor’ set but not used [-Wunused-but-set-variable] ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgTerrain/GeometryTechnique.cpp:778:12: warning: variable ‘j_sampleFactor’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/dds/ReaderWriterDDS.cpp: In function ‘osg::Image* ReadDDSFile(std::istream&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/dds/ReaderWriterDDS.cpp:314:10: warning: variable ‘is3dImage’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/dds/ReaderWriterDDS.cpp: In function ‘bool WriteDDSFile(const osg::Image*, std::ostream&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/dds/ReaderWriterDDS.cpp:721:10: warning: variable ‘is3dImage’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/hdr/hdrloader.cpp: In static member function ‘static bool HDRLoader::load(const char*, bool, HDRLoaderResult&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/hdr/hdrloader.cpp:101:10: warning: variable ‘cmd’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/vtf/ReaderWriterVTF.cpp: In function ‘osg::Image* ReadVTFFile(std::istream&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/vtf/ReaderWriterVTF.cpp:360:23: warning: variable ‘base’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/jp2/ReaderWriterJP2.cpp: In function ‘int putdata(jas_stream_t*, jas_image_t*, int)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/jp2/ReaderWriterJP2.cpp:41:13: warning: variable ‘linelen’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/Inventor/ConvertToInventor.cpp: In member function ‘void ConvertToInventor::processGeometry(const osg::Geometry*, ConvertToInventor::InventorState*)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/Inventor/ConvertToInventor.cpp:1639:10: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/Inventor/ConvertFromInventor.cpp: In member function ‘virtual SbBool SoVRMLImageTextureOsg::readInstance(SoInput*, short unsigned int)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/Inventor/ConvertFromInventor.cpp:1264:16: warning: variable ‘retval’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/GeometryRecords.cpp: In member function ‘virtual void flt::Face::readRecord(flt::RecordInputStream&, flt::Document&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/GeometryRecords.cpp:369:19: warning: variable ‘secondaryPackedColor’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/GeometryRecords.cpp: In member function ‘virtual void flt::Mesh::readRecord(flt::RecordInputStream&, flt::Document&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/GeometryRecords.cpp:942:19: warning: variable ‘secondaryPackedColor’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: In member function ‘virtual osgDB::ReaderWriter::ReadResult FLTReaderWriter::readNode(std::istream&, const Options*) const’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp:427:40: warning: variable ‘pos’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ive/ShapeAttributeList.cpp: In member function ‘void ive::ShapeAttributeList::write(ive::DataOutputStream*)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ive/ShapeAttributeList.cpp:31:48: warning: variable ‘it’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp: In member function ‘void ac3d::Geode::ProcessGeometry(std::ostream&, unsigned int)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:806:35: warning: variable ‘fRep_s’ set but not used [-Wunused-but-set-variable] ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:806:43: warning: variable ‘fRep_t’ set but not used [-Wunused-but-set-variable] ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:807:35: warning: variable ‘fOffset_s’ set but not used [-Wunused-but-set-variable] ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:807:46: warning: variable ‘fOffset_t’ set but not used [-Wunused-but-set-variable] ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:932:38: warning: variable ‘primLength’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_geom.cpp: In member function ‘virtual bool trpgGeometry::Write(trpgWriteBuffer&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_geom.cpp:615:19: warning: variable ‘u’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_material.cpp: In member function ‘int trpgMatTable::AddMaterial(const trpgMaterial&, bool)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_material.cpp:103:10: warning: variable ‘spaceInTable’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_rarchive.cpp: In member function ‘virtual bool trpgr_Archive::ReadHeader(bool)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_rarchive.cpp:261:14: warning: variable ‘headerHasTexTable’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/unzip.cpp: In member function ‘ZRESULT TUnzip::Get(int, ZIPENTRY*)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/unzip.cpp:4055:8: warning: variable ‘hidden’ set but not used [-Wunused-but-set-variable] ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/unzip.cpp:4055:22: warning: variable ‘system’ set but not used [-Wunused-but-set-variable] ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/unzip.cpp:4055:36: warning: variable ‘archive’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/ZipArchive.cpp: In member function ‘virtual bool ZipArchive::getFileNames(osgDB::Archive::FileNameList&) const’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/ZipArchive.cpp:91:37: warning: variable ‘iterEnd’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/pvr/ReaderWriterPVR.cpp: In member function ‘osgDB::ReaderWriter::ReadResult ReaderWriterPVR::readPVRStream(std::istream&) const’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/pvr/ReaderWriterPVR.cpp:155:14: warning: variable ‘hasAlpha’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp: In function ‘osg::Geometry* create3DSphericalDisplayDistortionMesh(const Vec3&, const Vec3&, const Vec3&, double, double, osg::Image*, const Matrix&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp:737:15: warning: variable ‘cursor’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp: In function ‘osg::Geometry* createParoramicSphericalDisplayDistortionMesh(const Vec3&, const Vec3&, const Vec3&, double, double, osg::Image*, const Matrix&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp:1130:19: warning: variable ‘cursor’ set but not used [-Wunused-but-set-variable] ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp:1118:15: warning: variable ‘dx’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/GraphicsWindowX11.cpp: In member function ‘virtual void osgViewer::GraphicsWindowX11::checkEvents()’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/GraphicsWindowX11.cpp:1181:10: warning: variable ‘destroyWindowRequested’ set but not used [-Wunused-but-set-variable] 🔌 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/cfg/ConfigParser.cpp: In member function ‘bool osgProducer::CameraConfig::parseFile(const string&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/cfg/ConfigParser.cpp:2247:13: warning: variable ‘result’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgQt/QGraphicsViewAdapter.cpp: In member function ‘bool osgQt::QGraphicsViewAdapter::handlePointerEvent(int, int, int)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgQt/QGraphicsViewAdapter.cpp:344:17: warning: variable ‘viewportGeometry’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp: In function ‘osg::Node* createDistortionSubgraph(osg::Node*, const Vec4&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp:125:19: warning: variable ‘cursor’ set but not used [-Wunused-but-set-variable] ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp:126:19: warning: variable ‘texcoord’ set but not used [-Wunused-but-set-variable] 📜 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp: In function ‘osg::Geometry* createDomeDistortionMesh(const Vec3&, const Vec3&, const Vec3&, osg::ArgumentParser&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp:358:15: warning: variable ‘cursor’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgposter/osgposter.cpp: In function ‘int main(int, char*)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgposter/osgposter.cpp:253:31: warning: variable ‘outputTiles’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgthreadedterrain/osgthreadedterrain.cpp: In function ‘int main(int, char)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgthreadedterrain/osgthreadedterrain.cpp:669:10: warning: variable ‘readParameter’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgtext3D/TextNode.cpp: In member function ‘virtual void osgText::Layout::layout(osgText::TextNode&) const’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgtext3D/TextNode.cpp:80:11: warning: variable ‘characterHeightScale’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgvolume/osgvolume.cpp: In function ‘int main(int, char)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgvolume/osgvolume.cpp:678:38: warning: variable ‘internalFormatMode’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgwidgetcanvas/osgwidgetcanvas.cpp: In function ‘bool windowMouseOver(osgWidget::Event&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgwidgetcanvas/osgwidgetcanvas.cpp:27:24: warning: variable ‘xy’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgwidgetcanvas/osgwidgetcanvas.cpp: In function ‘bool widgetMouseOver(osgWidget::Event&)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgwidgetcanvas/osgwidgetcanvas.cpp:35:24: warning: variable ‘xy’ set but not used [-Wunused-but-set-variable] 📜 /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/p3d/ReaderWriterP3D.cpp: In member function ‘osg::Node ReaderWriterP3DXML::parseXmlGraph(osgDB::XmlNode*, bool, osgDB::Options*) const’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/p3d/ReaderWriterP3D.cpp:2121:10: warning: variable ‘readSlide’ set but not used [-Wunused-but-set-variable] /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/applications/present3D/present3D.cpp: In function ‘int main(int, char**)’: ⚠ /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/applications/present3D/present3D.cpp:639:10: warning: variable ‘sizesSpecified’ set but not used [-Wunused-but-set-variable]

    Wed, 22 Jun 2011 09:12:12 +0000 Author : Robert Osfield 🛠 Fixed regression in --run-on-demand feature

    Tue, 21 Jun 2011 17:26:40 +0000 Author : Robert Osfield ✂ Removed assert() that always evaluated to true.

    Tue, 21 Jun 2011 13:01:23 +0000 Author : Robert Osfield ⚡️ From Torben Dannhauer, "originally I posted the addendum of 'freetype244MT', but that was wrong. I updated it to the correct addendum of 'freetype244' yesterday, but supposedly that was not forwarded to you by the forum-to-mail-gateway.Find attached the corrected CMake module. "

    Tue, 21 Jun 2011 10:15:03 +0000 Author : Robert Osfield ⚡️ Updated ChangeLog

    Tue, 21 Jun 2011 09:54:57 +0000 Author : Robert Osfield ➕ Added returns to end of files

    Tue, 21 Jun 2011 09:54:23 +0000 Author : Robert Osfield ➕ Added return to end of file

    Tue, 21 Jun 2011 09:53:34 +0000 Author : Robert Osfield Conveted tabs to four spaces and added a return to end of file

    Tue, 21 Jun 2011 09:29:32 +0000 Author : Michael PLATINGS 🛠 Fixed redundant "enumeration not handled in switch" warnings. Fixed a warning about a comparison between different enums - EUnifiedMappingType was being compared with EMappingType. In general the FBX SDK is moving away from Get & Set functions to giving direct access to properties, so I have changed GetMappingType() to CurrentMappingType.Get()

    Tue, 21 Jun 2011 09:00:01 +0000 Author : Robert Osfield ⚠ Disabled VisualStudio warning warning C4611: interaction between '_setjmp' and C++ object destruction is non-portable

    Mon, 20 Jun 2011 19:15:53 +0000 Author : Robert Osfield 🛠 Fixed a range of issues reported by cppcheck:[examples/osgphotoalbum/PhotoArchive.cpp:56]: (error) Memory leak: fileIndentifier [examples/osgphotoalbum/PhotoArchive.cpp:257]: (error) Deallocating a deallocated pointer: newData [examples/osgphotoalbum/PhotoArchive.cpp:318]: (error) Deallocating a deallocated pointer: newData [src/osg/ImageUtils.cpp:116]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:307]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:312]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:367]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:399]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:400]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:482]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:483]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:484]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:519]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/ImageUtils.cpp:536]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:71]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:74]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:77]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:82]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:102]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:107]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:599]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:600]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:601]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:602]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:603]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:604]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:605]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osg/OcclusionQueryNode.cpp:606]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:134]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:135]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:136]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:137]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:139]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:177]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:178]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:195]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:198]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:203]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:205]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/ExternalFileWriter.cpp:253]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. [src/osgDB/InputStream.cpp:553]: (error) Memory leak: data [src/osgDB/OutputStream.cpp:393]: (error) Memory leak: data 🔌 [src/osgPlugins/Inventor/ConvertToInventor.cpp:656]: (error) Mismatching allocation and deallocation: tmpArray 🔌 [src/osgPlugins/Inventor/ReaderWriterIV.cpp:237]: (error) Common realloc mistake: 'buf' nulled but not freed upon failure 🔌 [src/osgPlugins/OpenFlight/expGeometryRecords.cpp:167]: (portability) Extra qualification 'flt::' unnecessary and considered an error by many compilers. 🔌 [src/osgPlugins/OpenFlight/expGeometryRecords.cpp:373]: (portability) Extra qualification 'flt::' unnecessary and considered an error by many compilers. 🔌 [src/osgPlugins/cfg/CameraConfig.cpp:635]: (error) Unusual pointer arithmetic 🔌 [src/osgPlugins/freetype/FreeTypeLibrary.cpp:122]: (error) Memory leak: buffer 🔌 [src/osgPlugins/geo/ReaderWriterGEO.cpp:210]: (error) Possible null pointer dereference: gfd - otherwise it is redundant to check if gfd is null at line 211 🔌 [src/osgPlugins/geo/ReaderWriterGEO.cpp:227]: (error) Possible null pointer dereference: gfd - otherwise it is redundant to check if gfd is null at line 228 🔌 [src/osgPlugins/geo/ReaderWriterGEO.cpp:903]: (error) Possible null pointer dereference: gfd - otherwise it is redundant to check if gfd is null at line 904 🔌 [src/osgPlugins/geo/osgGeoNodes.h:180]: (error) Memory leak: geoHeaderGeo::intVars 🔌 [src/osgPlugins/geo/osgGeoNodes.h:181]: (error) Memory leak: geoHeaderGeo::useVars 🔌 [src/osgPlugins/geo/osgGeoNodes.h:182]: (error) Memory leak: geoHeaderGeo::extVars 🔌 [src/osgPlugins/md2/ReaderWriterMD2.cpp:180]: (error) Memory leak: mapbase 🔌 [src/osgPlugins/md2/ReaderWriterMD2.cpp:166]: (error) Resource leak: file_fd 🔌 [src/osgPlugins/pic/ReaderWriterPIC.cpp:152]: (error) Mismatching allocation and deallocation: tmpbuf 🔌 [src/osgPlugins/pic/ReaderWriterPIC.cpp:153]: (error) Mismatching allocation and deallocation: buffer 🔌 [src/osgPlugins/ply/plyfile.cpp:843]: (error) Memory leak: plyfile 🔌 [src/osgPlugins/pvr/ReaderWriterPVR.cpp:179]: (error) Memory leak: imageData 🔌 [src/osgPlugins/shp/ESRIShapeParser.cpp:29]: (error) Resource leak: fd 🔌 [src/osgPlugins/shp/XBaseParser.cpp:96]: (error) Resource leak: fd 🔌 [src/osgPlugins/zip/unzip.cpp:3158]: (error) Possible null pointer dereference: s - otherwise it is redundant to check if s is null at line 3159 🔌 [src/osgPlugins/zip/unzip.cpp:4155]: (error) Dangerous usage of 'rd' (strncpy doesn't always 0-terminate it) [src/osgShadow/MinimalCullBoundsShadowMap.cpp:334]: (error) Possible null pointer dereference: rl - otherwise it is redundant to check if rl is null at line 331 [src/osgViewer/ScreenCaptureHandler.cpp:617]: (error) Possible null pointer dereference: camera - otherwise it is redundant to check if camera is null at line 611 [src/osgViewer/ScreenCaptureHandler.cpp:632]: (error) Possible null pointer dereference: camera - otherwise it is redundant to check if camera is null at line 626 [src/osgVolume/Locator.cpp:209]: (error) Dangerous iterator usage after erase()-method. [src/osgVolume/RayTracedTechnique.cpp:274]: (error) Possible null pointer dereference: imageLayer - otherwise it is redundant to check if imageLayer is null at line 259 [src/osgVolume/RayTracedTechnique.cpp:275]: (error) Possible null pointer dereference: imageLayer - otherwise it is redundant to check if imageLayer is null at line 259 [src/osgWrappers/serializers/osg/ShaderBinary.cpp:28]: (error) Mismatching allocation and deallocation: data

    Mon, 20 Jun 2011 14:09:49 +0000 Author : Robert Osfield ✂ Removed unneccesary namespace qualifiers, and issue picked out by cppcheck.

    Mon, 20 Jun 2011 12:36:53 +0000 Author : Robert Osfield 👍 From Farshid Lashkari, BGR write support for BMP, PNG and TGA

    Mon, 20 Jun 2011 11:25:52 +0000 Author : Robert Osfield ➕ Added catch for window manager doesn't set the window size to full screen.

    Mon, 20 Jun 2011 09:28:39 +0000 Author : Robert Osfield ➕ Added check against Traits::overrideRedirct to prevent the fullscreen workaround being run when overrideRedirect is on as overrideRedirect switches off the window managers ability to manage the fullscreen so the problem doesn't need working around.

    Mon, 20 Jun 2011 09:22:57 +0000 Author : Robert Osfield ↪ Introduced a workaround for fullscreen toggle issues under modern X11 window managers.

    Mon, 20 Jun 2011 09:20:39 +0000 Author : Robert Osfield ➕ Added sleep before window resizing to make it less likely that the previous frames rendering traversal is still running when the window(s) is resized, something that creates what looks like a glitch in rendering.

    Sun, 19 Jun 2011 19:16:49 +0000 Author : Robert Osfield ⚡️ From Torben Dannhauer, "Just in time for OSG 3.0 I will present an updated 3rdParty package for VS2008 , which includes some updated libraries (libcurl, freetype, jpeg). It also provides now all debug databases (*.pdb), so all the annoying compile warnings about missing .pdb files are gone.I extended the CMAKE module to find the new library."

    Fri, 17 Jun 2011 16:55:49 +0000 Author : Robert Osfield 🚀 Updated version to 3.1.0 in prep for the first developer release for 3.x series

    Fri, 17 Jun 2011 12:57:31 +0000 Author : Robert Osfield ➕ Added extern "C" to fix build issues under OSX

    Fri, 17 Jun 2011 12:31:07 +0000 Author : Robert Osfield ⚡️ Updated ChangeLog, NEWS and READE for 3.0.0-rc1

    Fri, 17 Jun 2011 11:47:47 +0000 Author : Robert Osfield ⚡️ Updated version number

    Fri, 17 Jun 2011 11:47:33 +0000 Author : Robert Osfield 🛠 Fixed Jorge Izquierdo name.

    Fri, 17 Jun 2011 11:02:40 +0000 Author : Robert Osfield 🚀 Updated OpenThreads version number for stable release

    Fri, 17 Jun 2011 10:35:00 +0000 Author : Robert Osfield 🏗 Tempory fix for static build of Present3D which disables the use of ffmpeg when compiling static, will need to look into unresolved symbols assoiated with FFMPEG at a later date.

    Fri, 17 Jun 2011 09:20:57 +0000 Author : Robert Osfield ⚡️ Updated AUTHORS file for 3.0.0-rc1

    Fri, 17 Jun 2011 09:19:11 +0000 Author : Robert Osfield ⚡️ Updated ChangeLog

    Fri, 17 Jun 2011 09:05:48 +0000 Author : Robert Osfield From Jan Peciva, "sending updated version of StencilTwoSided. It supports now even GL_ATI_separate_stencil extension and there are more OSG_INFOs to see, which API is used."

    Fri, 17 Jun 2011 09:02:22 +0000 Author : Robert Osfield ⚡️ Updated version number of 3.0.0-rc1

    Fri, 17 Jun 2011 08:47:36 +0000 Author : Robert Osfield ➕ Added GLES version checks to prevent build problems under GLES1 and GLES2

    Fri, 17 Jun 2011 08:42:54 +0000 Author : Robert Osfield Refined the version checking

    Fri, 17 Jun 2011 08:41:56 +0000 Author : Robert Osfield 🏗 Build fix

    Fri, 17 Jun 2011 08:26:51 +0000 Author : Robert Osfield 🚚 From Ulrich Hertlein, "the OS X/Cocoa implementation logs some debug junk on every key stroke. The attached patch removes this."

    Fri, 17 Jun 2011 08:15:18 +0000 Author : Robert Osfield From Jorge Ciges, "This is one of those bugs that you don't find until you try to compile under another pc that doesn't have Cmake 2.8."

    Fri, 17 Jun 2011 06:22:01 +0000 Author : Robert Osfield 🛠 Fixed warning

    Fri, 17 Jun 2011 06:09:25 +0000 Author : Robert Osfield 🛠 Fixed warnings

    Fri, 17 Jun 2011 05:57:29 +0000 Author : Robert Osfield ➕ Added disabling of VisualStudio warning C4324 : structure was padded due to __declspec(align())

    Thu, 16 Jun 2011 18:43:58 +0000 Author : Robert Osfield 🛠 Fixed warnings.

    Thu, 16 Jun 2011 18:25:46 +0000 Author : Robert Osfield ➕ Added support for new InternalTextureFormatModes

    Thu, 16 Jun 2011 18:12:55 +0000 Author : Robert Osfield ➕ Added wider file extension support to ExternalFileWriter::generateObjectName

    Thu, 16 Jun 2011 16:02:27 +0000 Author : Robert Osfield 🔌 From Farshid Lashkari, "Attached is a small patch that adds support for writing BGR images to the DDS plugin."

    Thu, 16 Jun 2011 16:00:33 +0000 Author : Robert Osfield From John Cummings, "While testing recent OSG developer releases and the subversion trunk, I have noticed that on my 64-bit Linux machines, all of the OSG libraries get installed into the "lib64" directory as I would expect. However, the OpenThreads library gets installed into the "lib" directory when selecting "Build OpenThreads with Qt threading support." That is, with the BUILD_OPENTHREADS_WITH_QT set to ON.I am attaching the a fix for this issue in the file:

    src/OpenThreads/qt/CMakeLists.txt

    It simply adds ${LIB_POSTFIX} to the destination as in done with all ✅ other CMakeLists.txt with libraries in OSG. I have tested it on both 🐧 32-bit and 64-bit Linux."

    Thu, 16 Jun 2011 15:57:40 +0000 Author : Robert Osfield 🏁 Windows warning fixes

    Thu, 16 Jun 2011 13:00:28 +0000 Author : Robert Osfield 🛠 Fixed indentation issues

    Thu, 16 Jun 2011 10:05:49 +0000 Author : Robert Osfield 👌 Improved indentation.

    Thu, 16 Jun 2011 08:59:48 +0000 Author : Robert Osfield Replaced tabs with four spaces

    Thu, 16 Jun 2011 08:46:30 +0000 Author : Robert Osfield From Jean-Christophe Lombardo, "On Fedora 14, dcmtk libs are under /usr/lib/dcmtk. I've added a PATH_SUFFIX to take that into account"

    Wed, 15 Jun 2011 18:31:11 +0000 Author : Robert Osfield 👌 Improved the handling of compiling vs flushing deleted objects

    Wed, 15 Jun 2011 17:00:44 +0000 Author : Robert Osfield 🔄 Changed the key handling code to use EventQueue::getTime() rather then the theEvent timestamp.

    Wed, 15 Jun 2011 09:36:34 +0000 Author : Robert Osfield 🛠 Fixed blitting of FBO's with multiple render targets.

    Wed, 15 Jun 2011 09:35:25 +0000 Author : Robert Osfield ✅ From Anthousis Andreadis, added multiple sampling test for multiple rendering targets which is activated by the --ms command line option.

    Tue, 14 Jun 2011 18:10:27 +0000 Author : Robert Osfield ⚡️ From Jorge Ciges, "Update to FindAndroidNDK to make it use the latest Ndk (r5c) automatically.That fixes compatibilities with some 2.1 devices. And it looks like all goes well."

    Tue, 14 Jun 2011 16:54:20 +0000 Author : Robert Osfield Replaced .osg with .osgt file usage

    Tue, 14 Jun 2011 16:50:40 +0000 Author : Robert Osfield 👌 Improved the handling of command line parameters

    Tue, 14 Jun 2011 15:55:36 +0000 Author : Robert Osfield ⚡️ Updated version

    Tue, 14 Jun 2011 15:48:27 +0000 Author : Robert Osfield ➕ Added support osg::State::drawQuad(..) for number of vertices in quads to uint range rather than just ushort range.

    Tue, 14 Jun 2011 12:44:44 +0000 Author : Robert Osfield 🛠 Fixed issue with events having a negative delta of time between them.

    Tue, 14 Jun 2011 10:15:12 +0000 Author : Robert Osfield ➕ Added GLBufferObject::computeBufferAlignment(..) method to enable buffer entries to be aligned along specified buffer alignment boundaries, currently defaulting to 4.

    Tue, 14 Jun 2011 09:16:44 +0000 Author : Robert Osfield 🏁 From Stephan Huber, "attached you'll find a fix for the non-working useCursor()-method for Windows. With the old code you can switch off the cursor, but not back on."

    Tue, 14 Jun 2011 09:11:58 +0000 Author : Robert Osfield ✂ Removed executable permission.

    Tue, 14 Jun 2011 09:01:54 +0000 Author : Robert Osfield 🏗 From Stephan Huber, "attached you'll find some tweaks for the FindQuicktime and > FindQTKit-cmake-plugins, so they get disabled for ios-builds."

    Mon, 13 Jun 2011 15:20:48 +0000 Author : Robert Osfield 🛠 Fixed wild card search when wild card filename includes a path.

    Mon, 13 Jun 2011 08:52:11 +0000 Author : Robert Osfield 💅 From Jeremy Moles, fixed style == operator.

    Mon, 13 Jun 2011 08:45:25 +0000 Author : Robert Osfield 🏗 From Stephan Huber, build fix for IOS

    Fri, 10 Jun 2011 11:42:02 +0000 Author : Robert Osfield ➕ Added handling of s/gUserValue() directly on a UserDataContainer.

    Thu, 9 Jun 2011 14:20:46 +0000 Author : Robert Osfield 🚀 Updated ChangeLog and AUTHORS file for 2.9.16 dev release

    Thu, 9 Jun 2011 14:11:04 +0000 Author : Robert Osfield From Jorge Ciges, "two clean example viewers (GLES1/2) that permit load models withouth recompiling by options in the menu and some basic options. basic options.As Rafa and I told you earlier this can't be integrated in the CMAKE chain. It needs to be compiled by the user out of the OSG standard compilation. It could be stored in the examples. That way users will not come here asking for the examples.

    Main characteristics are:

    -Menu with loading and unloading by path. -Return to home view -Keyboard capabilities with manipilator switch and basic state changing. -Change color screen. 🌲 -Osg log bypassed to LogCat (This comes practically straight from Marcin Hajder example I've only added personal TAG) -Earmbi / Earmbi V7 👍 -Install to SD (if the device supports the feature)

    🏗 And that's all. Now I'm looking to fix the environmental mapping with true GLES (it does not work well in Android) I will try to make it in time for 3.0. The other work that i'm studying Dynamic build with Android but that will need a lot of time to test.

    Thu, 9 Jun 2011 12:57:14 +0000 Author : Robert Osfield ♻️ Refactored the UserDataContainer so that the osg::UserDataContainer is now a pure virtual base class, with a osg::DefaultUserDataContainer subclassed from this. The user object access methods have now all been moved from osg::Object into the UserDataContainer class, except for the set/getUserData() methods that are left in osg::Object for backwards compatibility, and the description list access methods have been moved back into osg::Node.main UserObject access methods are now all def

    Thu, 9 Jun 2011 11:07:27 +0000 Author : Robert Osfield From Mathias Froehlich, "the attached patch adds an additional null pointer check"

    Thu, 9 Jun 2011 11:05:36 +0000 Author : Robert Osfield From Mathias Froehlich, "The attached patch adds the polygon primitive to the TangentSpace computation. As far as I understand, this should just work for the polygon as well as with the tristrip primitive. "

    Thu, 9 Jun 2011 10:48:19 +0000 Author : Robert Osfield 🔄 Changed the defaults volume setting to not enable the SampleDensityWhenMoving property.

    Wed, 8 Jun 2011 17:45:24 +0000 Author : Robert Osfield Cleaned up example to use the new ImageUtils functions for creating a 3D image from a list of images.

    Wed, 8 Jun 2011 16:10:46 +0000 Author : Robert Osfield ➕ Added support for creating a 3D Image from an image list.Added support for reading a list of images in the Present3D tag.

    Wed, 8 Jun 2011 09:28:59 +0000 Author : Robert Osfield ✂ Removed OSG_EXPORT

    Wed, 8 Jun 2011 09:24:50 +0000 Author : Robert Osfield Introduced a less conservative near ratio.

    Wed, 8 Jun 2011 09:24:29 +0000 Author : Robert Osfield Simplified the osgdepthpartion example to use the osgView::View::setUpDepthPartition(..) feature

    Tue, 7 Jun 2011 20:24:49 +0000 Author : Robert Osfield ➕ Added support for reading .osg, .osgb, .osgx, .osgt and .ive models that contain volumes from within the volume tag.

    Tue, 7 Jun 2011 16:17:35 +0000 Author : Robert Osfield ➕ Added support for .osgt, .osgb and .osgx plugins to osgvolume example

    Tue, 7 Jun 2011 15:33:35 +0000 Author : Robert Osfield 🚀 Updated ChangeLog and AUTHORS file for release

    Tue, 7 Jun 2011 14:28:58 +0000 Author : Robert Osfield ⚡️ From Sukender, "Lastest change (update to FBX 2012.1) introduced a regression. It didn't take materials' order into consideration. The line lMaterialLayer->GetDirectArray().SetAt(it->second.getIndex(), lMaterial); has been replaced by _curFbxNode->AddMaterial(lMaterial); because KFbxLayerElementMaterial::GetDirectArray() is now private and we can't access to it. However, pushing back the material at the end of the vector is wrong. We can use the (now) public attribute KFbxLayerElementMaterial::mDirectArray, as in this submission. "

    Tue, 7 Jun 2011 14:26:13 +0000 Author : Robert Osfield 🏗 From Mathias Froehlich, build fixes for legacy unix systems

    Tue, 7 Jun 2011 13:02:20 +0000 Author : Robert Osfield ➕ Added ability to subclass from osg::Object to provide custom user data functionality. A new UserDataContainer provides the default implementation of the user data functionality.

    Tue, 7 Jun 2011 09:28:38 +0000 Author : Robert Osfield ➕ Added the return of the index position of the added UserObject

    Tue, 7 Jun 2011 08:53:03 +0000 Author : Robert Osfield ➕ Added support for searching for user objects from a given startPosition in the UserDataContainer object.

    Mon, 6 Jun 2011 11:48:32 +0000 Author : Robert Osfield From Frida Schlaug, "Imageio for ios had a poorly implemented function for reading from streams (always returning null). In this patch I copied some code from the non-ios imageio file and adjusted it to work on ios. "

    Mon, 6 Jun 2011 11:45:25 +0000 Author : Robert Osfield From Jorge Ciges, Minor tweaks in Android makefiles that make possible to compile for armeabi v7 with neon

    Mon, 6 Jun 2011 11:44:21 +0000 Author : Robert Osfield From Jorge Ciges, Minor tweaks in Android makefiles that make possible to compile for armeabi v7 with neon

    Fri, 3 Jun 2011 15:58:36 +0000 Author : Robert Osfield ➕ Added support for --tf-255 transfer function files

    Fri, 3 Jun 2011 13:47:59 +0000 Author : Robert Osfield ➕ Added support for using the sampleDensityWhenMoving tag with all techniques

    Thu, 2 Jun 2011 22:49:29 +0000 Author : Robert Osfield ➕ Added extra check to make sure that _userDataContainer was available before copying it

    Thu, 2 Jun 2011 22:07:16 +0000 Author : Robert Osfield ➕ Add new macro's to help with serialization of new user objects

    Thu, 2 Jun 2011 22:06:56 +0000 Author : Robert Osfield ➕ Added new osguserdata example as a guide to the new user object API and as a testbed

    Thu, 2 Jun 2011 22:05:10 +0000 Author : Robert Osfield ➕ Added support for new osg::Object user objects.

    Thu, 2 Jun 2011 22:04:08 +0000 Author : Robert Osfield ♻️ Introduced new user object support into osg::Object that allows assignment of a list of user objects to an osg::Object.Refactored original UserData and Descriptions strings to be managed alongside the new user object suppport within a single osg::Object::UserDataContainer.

    Thu, 2 Jun 2011 21:32:03 +0000 Author : Robert Osfield ⚡️ Updated version

    Thu, 2 Jun 2011 20:38:13 +0000 Author : Robert Osfield ➕ Added ref_ptr<> usage to avoid possible memory leak.

    Thu, 2 Jun 2011 14:42:21 +0000 Author : Robert Osfield 🚀 Updated version and so number for next dev release

    Mon, 30 May 2011 15:43:18 +0000 Author : Robert Osfield 🚀 Updated AUTHORS and ChangeLog for 2.9.15 dev release

    Mon, 30 May 2011 13:02:13 +0000 Author : Robert Osfield 🏗 From Dimi Christop, build fix for RHEL 4.

    Mon, 30 May 2011 09:26:24 +0000 Author : Robert Osfield ➕ Added closing of the _eventDisplay on failure of initializing the context properly.

    Mon, 30 May 2011 09:25:11 +0000 Author : Robert Osfield 🛠 Fixed X11 related crash that occured when GraphicsWindow::setCursor was called right after viewer.realize(); The fix was to simply move the setting of the thread that has done the makeCurrent to right before the makeCurrent() rather than right after.

    Mon, 30 May 2011 08:26:43 +0000 Author : Robert Osfield From Wang Rui, "The submission fixes the spelling bug we discussed in osg-users. It replaces the variable ACTUAL_3DPARTY_DIR to ACTUAL_3RDPARTY_DIR with back compatibility. Please find it in attachment. "

    Mon, 30 May 2011 08:24:34 +0000 Author : Robert Osfield 🛠 From Terry Welsh, "I was having a small culling problem with osgText... new TextBase.cpp that fixes it."

    Fri, 27 May 2011 16:04:18 +0000 Author : Robert Osfield ⏪ Reverted part of revision r12294 that introduced threading related problems under X11 due to checking the _display Display member variable assigned to the graphics thread from the main thread.

    Fri, 27 May 2011 11:22:43 +0000 Author : Robert Osfield ⚡️ From Ryan Pavlik, "Existing osgconv behavior is to transform the model bounding sphere center to the world origin before performing transformations specified on the command line, and translating back after rotation and scaling unless an alternate translation is specified. This patch adds a setting to the OrientationConverter class in osgconv to disable this extra transformation, which has the effect of applying specified transforms with respect to the input world coordinate system, rather than to the center of the bounding sphere. It also adds a command line argument "--use-world-frame" to enable this behavior. When this command line argument is not passed, behavior is unchanged from before the patch. The usage text has been updated to reflect this additional option, and the comments in OrientationConverter are also updated."Note from Robert Osfield, tweaked the OrientationConverter.cpp a little to improve readability.

    Fri, 27 May 2011 11:18:44 +0000 Author : Robert Osfield 🛠 Fixed indentation

    Fri, 27 May 2011 11:07:04 +0000 Author : Robert Osfield 🛠 Fixed the searchAndReplace function so that it correctly skips over the newly inserted replacement strings.

    Fri, 27 May 2011 09:08:48 +0000 Author : Robert Osfield 📚 From Jean-Sebastien Guay, "I like the recent addition that adds folders in the solution tree to better organize the numerous examples, libraries, plugins etc.I added two folders that were missing IMHO: packaging and documentation. "

    Fri, 27 May 2011 09:05:20 +0000 Author : Robert Osfield 🚀 From Eric Sokolowsky, "Attached is an updated PNM plugin for inclusion in both the trunk and for release version 2.8.5. The attached file fixes numerous bugs in reading 8-bit and 16-bit images, including loading the images upside-down. This file also incorporates trunk patch r12220 which updated the plugin for reading and writing images through streams instead of C-style FILE I/O."Note from Robert Osfield, previous revision was in error due to an incomplete merge, this revision completes the job.

    Fri, 27 May 2011 09:00:53 +0000 Author : Robert Osfield 🚚 From Laurens Voerman, "While working on the osg exporter for 3dsmax I found a bug in the TriStripVisitor. I created a small example (attached), and a modified version of src\osgUtil\TriStripVisitor.cpp where the problem is removed."

    Fri, 27 May 2011 08:55:37 +0000 Author : Robert Osfield 🚀 From Eric Sokolowsky, "Attached is an updated PNM plugin for inclusion in both the trunk and for release version 2.8.5. The attached file fixes numerous bugs in reading 8-bit and 16-bit images, including loading the images upside-down. This file also incorporates trunk patch r12220 which updated the plugin for reading and writing images through streams instead of C-style FILE I/O."

    Fri, 27 May 2011 08:22:16 +0000 Author : Robert Osfield ⏪ Reverted Bryce Eldrige submission.

    Thu, 26 May 2011 16:52:08 +0000 Author : Robert Osfield Form Jorge Ciges, improved GL version detection code.

    Thu, 26 May 2011 16:34:33 +0000 Author : Robert Osfield 🛠 From Dietmar Funck, "I've noticed an issue when writing arrays of type Vec2D and Vec3D to a .osgb file. A number is written to the output stream to identify the array type. In case of Vec2D and Vec3D arrays Vec4D is written as array type - I guess this is a copy and paste mistake. Writing the correct array types fixes the issue - in my case it fixes writing and afterwards reading geometry instances."

    Thu, 26 May 2011 16:26:50 +0000 Author : Robert Osfield From Bryce Eldridge, "Here is an update for the TIFF plugin that includes the following features when writing out TIFF files:- Support for writing unsigned 16-bit images (GL_UNSIGNED_SHORT)

    • 📜 Code to parse the options string for the following options: -- 🏁 Flag to turn off the compression. The PACKBITS compression type causes issues for me with some programs on Windows (Picasa for example). -- Options to set the XRESOLUTION and YRESOLUTION tags (DPI) in the TIFF file.

    0️⃣ Existing behavior (PACKBITS compression, DPI tags left at default) is preserved if the options string is not set. "

    Thu, 26 May 2011 16:19:54 +0000 Author : Robert Osfield Fixed default setting of texture_no_tile to match the flags seet in lib3ds_material.cpp initialize_texture_map(..).

    Thu, 26 May 2011 16:16:11 +0000 Author : Robert Osfield From Oliver Neumann,"I checked your solution and found one missing point which makes it still produce the tif error: 👀 The very first seek_set on the empty stream with zero offset."

    "This means that the empty stream is seeked again resulting in the fail bit to be set. Your code does not check this case, furthermore you use t_off instead of std::ostream::streampos for the tellp() calls. In this special case (empty stream) tellp() returns -1 which is cast to 0xFFFFFFFFFF as t_off is unsigned. I suggest this addition to your code (within the switch statement)"

    Thu, 26 May 2011 16:13:04 +0000 Author : Robert Osfield 🛠 Fixed indentation

    Thu, 26 May 2011 15:47:20 +0000 Author : Robert Osfield 🛠 Fixed handling of changes in gl buffer object size so that when a gl buffer object is resized all the buffer data is recompiled.

    Wed, 25 May 2011 12:41:49 +0000 Author : Robert Osfield 🚚 From Bradley Anderegg, "Ok, I am re-submitting this with the changes we discussed. That is, there is a default implementation of osgDB::Archive::getDirectoryContents() that uses getFileNames(), and the osgDB::ArchiveExtended header was removed as it is now unnecessary.Here is a quick list of the modified files:

    Archive - getDirectoryContents() no longer pure virtual 0️⃣ Archive.cpp - default getDirectoryContents() implementation unzip.cpp - modified to fix a bug where the same file will not load twice in a row 👍 ZipArchive.h / ZipArchive.cpp - extends osgDB::Archive and provides support for random access loading within a .zip file ReaderWriterZip.cpp - modified to use the ZipArchive class"

    Wed, 25 May 2011 09:34:53 +0000 Author : Robert Osfield ⚡️ Updated ChangeLog

    Wed, 25 May 2011 09:34:02 +0000 Author : Robert Osfield 🏗 From Olaf Flebbe, fixes for OSX AGL build

    Wed, 25 May 2011 09:13:26 +0000 Author : Robert Osfield ✂ Removed now redundent local implementation of getDirectoryContexts()

    Wed, 25 May 2011 09:04:44 +0000 Author : Robert Osfield 🚚 From Bradley Anderegg, "Ok, I am re-submitting this with the changes we discussed. That is, there is a default implementation of osgDB::Archive::getDirectoryContents() that uses getFileNames(), and the osgDB::ArchiveExtended header was removed as it is now unnecessary.Here is a quick list of the modified files:

    Archive - getDirectoryContents() no longer pure virtual 0️⃣ Archive.cpp - default getDirectoryContents() implementation unzip.cpp - modified to fix a bug where the same file will not load twice in a row 👍 ZipArchive.h / ZipArchive.cpp - extends osgDB::Archive and provides support for random access loading within a .zip file ReaderWriterZip.cpp - modified to use the ZipArchive class"

    Tue, 24 May 2011 13:05:44 +0000 Author : Robert Osfield 🍎 From Olaf Flebbe, "build out-of-the box on MacOSX. The default windowing system is carbon and it needs the AGL OpenGL Windowing binding framework, which is missing. osgViewer does not link therefore. Cocoa does not use AGL.The fix adds the AGL Framework to the Carbon link line for osgViewer"

    Tue, 24 May 2011 10:20:36 +0000 Author : Robert Osfield 🛠 Fixed Coverity issues.CID 11669: Uninitialized pointer field (UNINIT_CTOR) Non-static class member _glAttachShader is not initialized in this constructor nor in any functions that it calls. Non-static class member _glBindAttribLocation is not initialized in this constructor nor in any functions that it calls. ...

    CID 11699: Uninitialized scalar field (UNINIT_CTOR) 👍 Non-static class member _areTessellationShadersSupported is not initialized in this constructor nor in any functions that it calls.

    Tue, 24 May 2011 10:19:22 +0000 Author : Robert Osfield 🛠 Fixed Coverity issue.CID 12328: Resource leak (RESOURCE_LEAK) 👯 Calling allocation function "osg::KdTree::cloneType() const". (The virtual call resolves to "osg::Object * osg::KdTree::cloneType() const".) [show details] 👯 Failing to save storage allocated by "this->_kdTreePrototype->cloneType()" leaks it.

    Tue, 24 May 2011 10:18:47 +0000 Author : Robert Osfield 🛠 Fixed Coverity issue.CID 11692: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _allocationMode is not initialized in this constructor nor in any functions that it calls.

    Tue, 24 May 2011 10:18:05 +0000 Author : Robert Osfield 🛠 Fixed Coverity issue.CID 11668: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _primitiveMode is not initialized in this constructor nor in any functions that it calls.

    Tue, 24 May 2011 10:16:12 +0000 Author : Robert Osfield 🛠 Fixed 3 Coverity issues.CID 11697: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _type is not initialized in this constructor nor in any functions that it calls.

    CID 11698: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _type is not initialized in this constructor nor in any functions that it calls.

    CID 12329: Resource leak (RESOURCE_LEAK) 🔌 Calling allocation function "osg::Object::clone(osg::CopyOp const &) const". (The virtual call resolves to "osg::Object * GDALPlugin::DataSetLayer::clone(osg::CopyOp const &) const".) [show details] 👯 Failing to save storage allocated by "this->getVertexArray()->clone(struct osg::CopyOp const(128U))" leaks it.

    Tue, 24 May 2011 10:15:39 +0000 Author : Robert Osfield 🛠 Fixed Coverity issue.CID 11696: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _simulationTime is not initialized in this constructor nor in any functions that it calls.

    Tue, 24 May 2011 10:15:17 +0000 Author : Robert Osfield 🛠 Fixed Coverity issue.CID 11695: Uninitialized pointer field (UNINIT_CTOR) Non-static class member _ximpl is not initialized in this constructor nor in any functions that it calls.

    Tue, 24 May 2011 10:14:45 +0000 Author : Robert Osfield 🛠 Fixed Coverity issue.CID 11694: Uninitialized scalar field (UNINIT_CTOR) 👍 Non-static class member _isARBOcclusionQuerySupported is not initialized in this constructor nor in any functions that it calls.

    Tue, 24 May 2011 10:14:03 +0000 Author : Robert Osfield 🛠 Fixed Coverity issue.CID 11666: Uninitialized pointer field (UNINIT_CTOR) Non-static class member _glMultiTexCoord1dv is not initialized in this constructor nor in any functions that it calls. Non-static class member _glVertexAttrib1dv is not initialized in this constructor nor in any functions that it calls.

    Tue, 24 May 2011 10:13:07 +0000 Author : Robert Osfield 🛠 Fixed Coverity issue.CID 11691: Uninitialized scalar field (UNINIT_CTOR) 👍 Non-static class member _isPBOSupported is not initialized in this constructor nor in any functions that it calls. 👍 Non-static class member _isUniformBufferObjectSupported is not initialized in this constructor nor in any functions that it calls.

    Tue, 24 May 2011 10:08:40 +0000 Author : Robert Osfield 🛠 Fixed build error

    Mon, 23 May 2011 16:58:49 +0000 Author : Robert Osfield ✂ Removed unused numX, numY member variables, and added initializer for firstHeaderWrite.

    Mon, 23 May 2011 08:17:02 +0000 Author : Robert Osfield ➕ Added CullVisitor::setCalculatedNearPlane() and setCalculatedFarPlane(() methods to enable 3rd party code to manage the compute of the near/far planes.

    Thu, 19 May 2011 13:25:03 +0000 Author : Robert Osfield 0️⃣ Uppded the default acceleration as it was too slow for reasonable sized models

    Tue, 17 May 2011 12:57:46 +0000 Author : Robert Osfield From Sukender, "There was a stupid parameter inversion in ExternalFileWriter.cpp. Sorry for this. Here is the fix."

    Tue, 17 May 2011 09:21:32 +0000 Author : Robert Osfield From Wang Rui, added close button hint

    Mon, 16 May 2011 12:44:39 +0000 Author : Robert Osfield From Stephan Huber, "proposed changes allows the user to add a osgGraphicsWindowIOS as an UIView, respecting the sizes via GraphicsContext::Traits. This helps users, who want to integrate osg into an existing ios-app with multiple UIViews. Additinally a view-controller gets only created if needed, set IGNORE_ORIENTATION via the WindowData-struct. "

    Mon, 16 May 2011 10:07:20 +0000 Author : Robert Osfield 0️⃣ From Sukender, I wrapped my change about non-empty texture units in an off-by-default option, so that it doesn't break any existing code. But AFAIK, other readers (except OSGx) generate contiguous texture units, so I guess this option to be useful for users.Other changes in this sumbission include the added ability to tessellate polygons in Collada reader, with appropriate options.

    • No tessellation
    • Tessellate as triangle fan (previous behaviour, kept as default for backward-compatibility)
    • Full tessellation

    🚚 I also put auto_ptr<> for RAII of DAE structure (as discussed), and moved reader options in a structure, as for the writer.

    🔀 Code also make use of osgDB::ExternalFileWriter I submitted, so please merge this submission after the PluginImageWriter one.

    Mon, 16 May 2011 09:17:30 +0000 Author : Robert Osfield 📇 Renamed example from osgviewerQtContext to osgviewerQt.

    Mon, 16 May 2011 09:16:22 +0000 Author : Robert Osfield ⚡️ Updated example to use new GraphicsWindowQt::getGLWidget() method instead of deprecated getGraphWidget() method

    Mon, 16 May 2011 09:15:02 +0000 Author : Robert Osfield ➕ Added support for setting threading model from command line and changed default threading model to CullDrawThreadPerContext. New command line options are: osgviewerQtContext --SingleThreaded osgviewerQtContext --CullDrawThreadPerContext osgviewerQtContext --DrawThreadPerContext osgviewerQtContext --CullDrawThreadPerContext

    Mon, 16 May 2011 09:06:06 +0000 Author : Robert Osfield From Jan Peciva, I have improved GraphicsWindowQt:- renamed osgQt::GraphWidget to osgQt::GLWidget 👍 as it better fits to Qt naming (osgQt::GLWidget is derived from QGLWidget while recent GraphWidget... it is unclear, maybe QGraphicsView, QGraphicsScene,....)

    • ➕ added the code to properly manage ON_DEMAND rendering scheme (involves osgQt::setViewer() and internal HeartBeat class)
    • ➕ added forward key events functionality. It allows to not eat the key events by GLWidget, but it forwards them to Qt processing as well.
    • destroying GLWidget before GraphicsWindowQt and vice versa does not crash the application
    • it is possible to request particular QGLFormat in GLWidget constructor
    • ➕ added QtWindowingSystem class
    • 🛠 multithread OSG rendering improvements/fixes

    --

    From Robert Osfield, added back in getGraphWidget() method for backwards compatibility.

    Mon, 16 May 2011 08:59:10 +0000 Author : Robert Osfield 🛠 Fixed traling spaces

    Mon, 16 May 2011 08:50:59 +0000 Author : Robert Osfield From Rafa Gata, I've been playing around with serializers in order to use it as a "generic" property mechanism for osg::Object.The main problem I have found is that InputStream and OutputStream only takes the stream when you call start method, and in that case it attaches to the stream buffer some stuff, useful for files but not for ⚙ runtime/gui usage. I have added a simple setInputIterator and setOutputIterator to the classes so now you can easily serialize values without version and other stuff.

    Writing matrix: osgDB::OutputStream os(0); std::stringstream sstream; os.setOutputIterator(new AsciiOutputIterator(&sstream)); os << matrix; std::string value = sstream.str();

    Reading matrix: osgDB::InputStream is(0); std::stringstream sstream(value); is.setInputIterator(new AsciiInputIterator(&sstream)); osg::Matrixf mat2; is >> mat2;

    From Robert Osfield, added doxygen comments to clarify the role of the methods.

    Sun, 15 May 2011 08:27:04 +0000 Author : Robert Osfield 🏗 From Wang Rui, build fix

    Fri, 13 May 2011 19:19:00 +0000 Author : Robert Osfield ⚡️ Updated SO version as the osgText and osgQt libraries API have changed, albeit only by a small amount.

    Fri, 13 May 2011 19:08:04 +0000 Author : Robert Osfield 🛠 Fixed handling of Font implementations that don't handle multiple font resolutions.

    Fri, 13 May 2011 11:20:48 +0000 Author : Robert Osfield 👌 Improved the size, advance and bearing settings

    Thu, 12 May 2011 18:52:18 +0000 Author : Robert Osfield 🏗 Warning and build fixes

    Thu, 12 May 2011 18:40:18 +0000 Author : Robert Osfield ➕ Added newline to end of file

    Thu, 12 May 2011 14:07:15 +0000 Author : Robert Osfield From Sukender, ported across to use the new osgDB::ExternalFileWriter

    Thu, 12 May 2011 13:27:14 +0000 Author : Robert Osfield From Sukender, new ExternalFileWriter helper class that helps the management of writing out external files to disk avoid writing out of duplicates.

    Thu, 12 May 2011 13:12:07 +0000 Author : Robert Osfield From Sukender, "Here is a tiny fix which adds missing virtual methods in osgUtil::TransformAttributeFunctor, to handle Vec3d."

    Thu, 12 May 2011 13:08:02 +0000 Author : Robert Osfield ✂ Removed unused parameter

    Thu, 12 May 2011 12:28:43 +0000 Author : Robert Osfield From Wang Rui, "A Chinese engineer (named Beilei Geng) reports a possible bug in the osg2cpp application to me today. The conversion result may become incorrect if there are quotation marks ( " ) in the shader file, which will mostly appear in comment lines.Replace all " into \" before writing to cpp files will solve the problem, as the attached file shows."

    Thu, 12 May 2011 11:45:29 +0000 Author : Robert Osfield From Rene Molenaar, "I have found a problem regarding manifest in the plugins, see http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/src/CMakeLists.txt the option OSG_MSVC_GENERATE_PLUGINS_AND_WRAPPERS_MANIFESTS is set to ON only after the subdirectories are added, this causes /MANIFEST:NO while the option is ON after the first configure, generate.if this option is moved (i.e. above the ADD_SUBDIRECTORY statement) results are as expected.

    attached you will find the correct CMakeLists.txt "

    Thu, 12 May 2011 10:28:47 +0000 Author : Robert Osfield ✂ Removed redundent method

    Thu, 12 May 2011 10:10:49 +0000 Author : Robert Osfield ➕ Added setting of size.

    Mon, 9 May 2011 10:54:50 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11812: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _lastFrameUsed is not initialized in this constructor nor in any functions that it calls. Non-static class member _s is not initialized in this constructor nor in any functions that it calls. Non-static class member _t is not initialized in this constructor nor in any functions that it calls.

    Mon, 9 May 2011 10:54:10 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11813: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _endian is not initialized in this constructor nor in any functions that it calls.

    Mon, 9 May 2011 10:53:38 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11814: Uninitialized scalar field (UNINIT_CTOR) ⚡️ Non-static class member _updateCamera is not initialized in this constructor nor in any functions that it calls.

    Mon, 9 May 2011 10:53:12 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11815: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _cosMaxElevation is not initialized in this constructor nor in any functions that it calls. Non-static class member _cosMaxFadeElevation is not initialized in this constructor nor in any functions that it calls. Non-static class member _cosMinElevation is not initialized in this constructor nor in any functions that it calls. Non-static class member _cosMinFadeElevation is not initialized in this constructor nor in any functions that it calls.

    Mon, 9 May 2011 10:52:34 +0000 Author : Robert Osfield 🛠 Fixed 6 Coverity reported issues.CID 11820: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _azAngle is not initialized in this constructor nor in any functions that it calls. Non-static class member _elevAngle is not initialized in this constructor nor in any functions that it calls.

    CID 11819: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _BoundaryAngle is not initialized in this constructor nor in any functions that it calls. Non-static class member _planeOrientation is not initialized in this constructor nor in any functions that it calls.

    CID 11818: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _BoundaryAngle is not initialized in this constructor nor in any functions that it calls. Non-static class member _planeOrientation is not initialized in this constructor nor in any functions that it calls.

    CID 11817: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _distance is not initialized in this constructor nor in any functions that it calls.

    CID 11817: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _distance is not initialized in this constructor nor in any functions that it calls.

    CID 11816: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _leftRightSurfaces is not initialized in this constructor nor in any functions that it calls.

    Mon, 9 May 2011 10:51:52 +0000 Author : Robert Osfield 🛠 Fixed 2 Coverty reported issues.CID 11821: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _traversalNumber is not initialized in this constructor nor in any functions that it calls.

    CID 11822: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _traversalNumber is not initialized in this constructor nor in any functions that it calls.

    Sun, 8 May 2011 12:06:25 +0000 Author : Robert Osfield 🚀 Updated version number to 2.9.15 after dev release

    Sun, 8 May 2011 11:57:53 +0000 Author : Robert Osfield 🚀 Updated AUTHORS for 2.9.14 dev release

    Sun, 8 May 2011 11:56:23 +0000 Author : Robert Osfield ⚡️ Update ChangeLog

    Fri, 6 May 2011 16:46:13 +0000 Author : Robert Osfield Added osg::ref_ptr<osgDB::Archive> osgDB::Registry::getRefFromArchiveCache() and osg::ref_ptr<osgDB::Object> osgDB::Registry::getRefFromObjectCache().

    Fri, 6 May 2011 12:32:23 +0000 Author : Robert Osfield ✂ Removed trailing spaces

    Fri, 6 May 2011 12:30:58 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11828: Uninitialized scalar field (UNINIT_CTOR) Non-static class member distance is not initialized in this constructor nor in any functions that it calls. Non-static class member maxDistance is not initialized in this constructor nor in any functions that it calls. Non-static class member numIntersectionPoints is not initialized in this constructor nor in any functions that it calls. Non-static class member primitiveIndex is not initialized in this constructor nor in any functions that it calls.

    Fri, 6 May 2011 12:30:21 +0000 Author : Robert Osfield 🚚 Moved constructor implementation into .cpp

    Fri, 6 May 2011 12:27:19 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11838: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _alphaFuncKey is not initialized in this constructor nor in any functions that it calls. Non-static class member _cyleBackwardKey is not initialized in this constructor nor in any functions that it calls. Non-static class member _cyleForwardKey is not initialized in this constructor nor in any functions that it calls. Non-static class member _sampleDensityKey is not initialized in this constructor nor in any functions that it calls. Non-static class member _transparencyKey is not initialized in this constructor nor in any functions that it calls. ⚡️ Non-static class member _updateAlphaCutOff is not initialized in this constructor nor in any functions that it calls. ⚡️ Non-static class member _updateSampleDensity is not initialized in this constructor nor in any functions that it calls. ⚡️ Non-static class member _updateTransparency is not initialized in this constructor nor in any functions that it calls.

    Fri, 6 May 2011 12:26:13 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11827: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _plane_mask is not initialized in this constructor nor in any functions that it calls.

    Fri, 6 May 2011 12:25:34 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11826: Uninitialized scalar field (UNINIT_CTOR) Class member declaration for _recordHeightsAsAttributes.

    Fri, 6 May 2011 12:25:02 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11830: Uninitialized pointer field (UNINIT_CTOR) Non-static class member _geometry is not initialized in this constructor nor in any functions that it calls.

    Fri, 6 May 2011 12:24:19 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11825: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _primitiveIndex is not initialized in this constructor nor in any functions that it calls. Non-static class member _ratio is not initialized in this constructor nor in any functions that it calls.

    CID 11824: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _hit is not initialized in this constructor nor in any functions that it calls. Non-static class member _index is not initialized in this constructor nor in any functions that it calls. Non-static class member _length is not initialized in this constructor nor in any functions that it calls. Non-static class member _ratio is not initialized in this constructor nor in any functions that it calls.

    Fri, 6 May 2011 12:23:45 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11829: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _primitiveMode is not initialized in this constructor nor in any functions that it calls.

    Fri, 6 May 2011 12:22:49 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11836: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _fullscreen is not initialized in this constructor nor in any functions that it calls.

    Fri, 6 May 2011 12:22:10 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11831: Uninitialized pointer field (UNINIT_CTOR) Non-static class member _context is not initialized in this constructor nor in any functions that it calls. Non-static class member _dc is not initialized in this constructor nor in any functions that it calls. Non-static class member _handle is not initialized in this constructor nor in any functions that it calls. Non-static class member _instance is not initialized in this constructor nor in any functions that it calls.

    Fri, 6 May 2011 12:21:11 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11835: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _startTick is not initialized in this constructor nor in any functions that it calls.

    Fri, 6 May 2011 12:20:48 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issues.CID 11834: Uninitialized scalar field (UNINIT_CTOR) ⚡️ Non-static class member _tickLastUpdated is not initialized in this constructor nor in any functions that it calls. Non-static class member _tmpText is not initialized in this constructor nor in any functions that it calls.

    CID 11833: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _tmpText is not initialized in this constructor nor in any functions that it calls.

    Fri, 6 May 2011 10:30:23 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issues.CID 11843: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _inexp is not initialized in this constructor nor in any functions that it calls. Non-static class member _outexp is not initialized in this constructor nor in any functions that it calls.

    CID 11842: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _inexp is not initialized in this constructor nor in any functions that it calls. Non-static class member _outexp is not initialized in this constructor nor in any functions that it calls.

    Fri, 6 May 2011 10:29:47 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issues.WindowManager.cpp CID 11841: Uninitialized pointer field (UNINIT_CTOR) Non-static class member _lastEvent is not initialized in this constructor nor in any functions that it calls. Non-static class member _lastPush is not initialized in this constructor nor in any functions that it calls. Non-static class member _view is not initialized in this constructor nor in any functions that it calls.

    Frame.cpp CID 11840: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _flags is not initialized in this constructor nor in any functions that it calls.

    Window.cpp CID 11839: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _index is not initialized in this constructor nor in any functions that it calls.

    Fri, 6 May 2011 10:28:24 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issueCID 11441: Non-array delete for scalars (DELETE_ARRAY) "_dwobj::readOpenings(_iobuf *, int)" allocates "obj.fc1". [show details]

    "_dwobj::~_dwobj()" uses delete on "obj.fc1" which is an array. It should be deleted with operator delete[]. [show details]

    Fri, 6 May 2011 10:27:59 +0000 Author : Robert Osfield Fixed Covertiy reported issues. CID 11394: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::IntArray". Assigning: "this->colorindices" = "new osg::IntArray". The constructor allocates field "colorindices" of "struct vertexInfo" but there is no destructor.CID 11395: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::IntArray". Assigning: "this->coordindices" = "new osg::IntArray". The constructor allocates field "coordindices" of "struct vertexInfo" but there is no destructor.

    CID 11396: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::IntArray". Assigning: "this->normindices" = "new osg::IntArray". The constructor allocates field "normindices" of "struct vertexInfo" but there is no destructor.

    CID 11397: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::IntArray". Assigning: "this->txindices" = "new osg::IntArray". The constructor allocates field "txindices" of "struct vertexInfo" but there is no destructor.

    CID 11398: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::Vec2Array". Assigning: "this->txcoords" = "new osg::Vec2Array". The constructor allocates field "txcoords" of "struct vertexInfo" but there is no destructor.

    CID 11399: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::Vec3Array". Assigning: "this->norms" = "new osg::Vec3Array". The constructor allocates field "norms" of "struct vertexInfo" but there is no destructor.

    CID 11400: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::Vec3Array". Assigning: "this->coords" = "new osg::Vec3Array". The constructor allocates field "coords" of "struct vertexInfo" but there is no destructor.

    CID 11401: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::Vec4Array". Assigning: "this->colors" = "new osg::Vec4Array". The constructor allocates field "colors" of "struct vertexInfo" but there is no destructor.

    CID 11402: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::Vec4Array". Assigning: "this->polycols" = "new osg::Vec4Array". The constructor allocates field "polycols" of "struct vertexInfo" but there is no destructor.

    Fri, 6 May 2011 09:26:14 +0000 Author : Robert Osfield 🚀 Updated SO version number for dev release

    Fri, 6 May 2011 09:22:17 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11388: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new char[numBytes]". Assigning: "this->_startPtr" = "new char[numBytes]". The constructor allocates field "_startPtr" of "struct DataConverter" but there is no destructor. Assigning: "this->_currentPtr" = "new char[numBytes]". The constructor allocates field "_currentPtr" of "struct DataConverter" but there is no destructor.

    Fri, 6 May 2011 09:21:40 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 12263: Missing break in switch (MISSING_BREAK) This case (value 8) is not terminated by a 'break' statement.

    CID 12262: Missing break in switch (MISSING_BREAK) This case (value 7) is not terminated by a 'break' statement.

    CID 12261: Missing break in switch (MISSING_BREAK) This case (value 6) is not terminated by a 'break' statement.

    Fri, 6 May 2011 09:21:04 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issues.CID 10392: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _maxIndex is not initialized in this constructor nor in any functions that it calls. Non-static class member _minIndex is not initialized in this constructor nor in any functions that it calls.

    CID 10454: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _maxIndex is not initialized in this constructor nor in any functions that it calls. Non-static class member _minIndex is not initialized in this constructor nor in any functions that it calls.

    CID 10505: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _maxIndex is not initialized in this constructor nor in any functions that it calls. Non-static class member _minIndex is not initialized in this constructor nor in any functions that it calls.

    CID 10919: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _maxIndex is not initialized in this constructor nor in any functions that it calls. Non-static class member _minIndex is not initialized in this constructor nor in any functions that it calls.

    CID 10920: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _maxIndex is not initialized in this constructor nor in any functions that it calls. Non-static class member _minIndex is not initialized in this constructor nor in any functions that it calls.

    Fri, 6 May 2011 09:20:06 +0000 Author : Robert Osfield Fixed Coverity reported issues.CID 11389: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new bsp::VBSPData". Assigning: "this->bsp_data" = "new bsp::VBSPData". 🆓 The constructor allocates field "bsp_data" of "struct bsp::VBSPReader" but the destructor and whatever functions it calls do not free it.

    Fri, 6 May 2011 09:19:27 +0000 Author : Robert Osfield Fixed Coverity reported issues by using ref_ptr<> for object.ID 11390: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::Vec3Array". Assigning: "this->vertices" = "new osg::Vec3Array". 🆓 The constructor allocates field "vertices" of "struct prims" but the destructor and whatever functions it calls do not free it.

    CID 11391: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::Vec3Array". Assigning: "this->normals" = "new osg::Vec3Array". 🆓 The constructor allocates field "normals" of "struct prims" but the destructor and whatever functions it calls do not free it.

    CID 11392: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::Vec3Array". Assigning: "this->txc" = "new osg::Vec3Array". 🆓 The constructor allocates field "txc" of "struct prims" but the destructor and whatever functions it calls do not free it.

    CID 11393: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::Vec3Array". Assigning: "this->txcoords" = "new osg::Vec3Array". 🆓 The constructor allocates field "txcoords" of "struct prims" but the destructor and whatever functions it calls do not free it.

    CID 11747: Uninitialized pointer field (UNINIT_CTOR) Non-static class member gset is not initialized in this constructor nor in any functions that it calls.

    Fri, 6 May 2011 09:00:46 +0000 Author : Robert Osfield 🛠 Fixed build problem

    Thu, 5 May 2011 12:40:03 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11845: Structurally dead code (UNREACHABLE) This code cannot be reached: ".basic_string("");".

    Thu, 5 May 2011 12:39:35 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11855: Use after free (USE_AFTER_FREE) "operator delete[](void *)" frees "buffer".

    Thu, 5 May 2011 12:38:48 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue. This fix addresses a memory leak.CID 11847: Unused pointer value (UNUSED_VALUE) Pointer "node" returned by "lib3ds_node_new(LIB3DS_NODE_CAMERA)" is never used.

    Thu, 5 May 2011 12:37:00 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11844: Uninitialized scalar field (UNINIT_CTOR) 0️⃣ Non-static class member _defaultValue is not initialized in this constructor nor in any functions that it calls. Index: ../include/osgDB/Serializer

    Thu, 5 May 2011 11:31:12 +0000 Author : Robert Osfield 🛠 Fixed warning

    Thu, 5 May 2011 11:27:34 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11864: Wrapper object use after free (WRAPPER_ESCAPE) Assigning: "szFilename" = "path.c_str()", which extracts wrapped state from local "path".

    Thu, 5 May 2011 10:31:34 +0000 Author : Robert Osfield 🛠 Fixed 4 Coverity reported issuesCID 11851: Unused pointer value (UNUSED_VALUE) Pointer "gfd" returned by "gr->getField(26)" is never used.

    CID 11850: Unused pointer value (UNUSED_VALUE) Pointer "gfd" returned by "gr->getField(80)" is never used.

    CID 11849: Unused pointer value (UNUSED_VALUE) Pointer "gfd" returned by "gr->getField(3)" is never used.

    CID 11848: Unused pointer value (UNUSED_VALUE) Pointer "gfd" returned by "grec->getField(3)" is never used.

    Thu, 5 May 2011 10:28:34 +0000 Author : Robert Osfield 🛠 Fixed typo

    Wed, 4 May 2011 16:36:35 +0000 Author : Robert Osfield 🏗 From Mathias Froehlich, build fix for gcc 4.6

    Wed, 4 May 2011 16:01:21 +0000 Author : Robert Osfield From Stephan Huber, "attached you'll find a small enhancement for GraphicsWindowCocoa to implement the recently introduced setSyncToVBlank-method.Additionally I added a ToggleSyncToVBlank-eventhandler to osgViewer. I ✅ used it to test the code, perhaps you'll find it useful and include it in the distribution."

    Wed, 4 May 2011 09:53:11 +0000 Author : Robert Osfield ✂ Removed unncessary references to FREETYPE

    Wed, 4 May 2011 09:48:10 +0000 Author : Robert Osfield 🏗 From Michael Platings, fix for build with cmake 2.6.x

    Tue, 3 May 2011 12:43:00 +0000 Author : Robert Osfield ➕ Added OSGVIEWER_EXPORT

    Tue, 3 May 2011 10:14:34 +0000 Author : Robert Osfield ➕ Added missing break;

    Tue, 3 May 2011 09:58:31 +0000 Author : Robert Osfield ⚡️ From Michael Platings, "I've updated the FBX plugin to use the latest FBX SDK (2012.1). Please apply the attached .cmake which finds the correct SDK headers & libraries."

    Tue, 3 May 2011 09:11:04 +0000 Author : Michael PLATINGS ⚡️ Updated to use FBX SDK 2012.1

    Fri, 29 Apr 2011 16:50:45 +0000 Author : Robert Osfield 👌 Improved the handling of different combinations of slashes and dirNames.

    Fri, 29 Apr 2011 16:34:26 +0000 Author : Robert Osfield Added following methods to osgDB::Archive in support of work by Fradley Anderegg on .zip archive support: /** Get the file name which represents the archived file.*/ virtual std::string getArchiveFileName() const = 0;

       /** return type of file. */
       virtual FileType getFileType(const std::string& filename) const = 0;
    
       /** return the contents of a directory.
       * returns an empty array on any error.*/
       virtual DirectoryContents getDirectoryContents(const std::string& dirName) const = 0;
    

    🔌 Added implementations of these new methods into src/osgPlugins/osga/OSGA_Archive.h src/osgPlugins/osga/OSGA_Archive.cpp

    Fri, 29 Apr 2011 14:31:45 +0000 Author : Robert Osfield ♻️ Refactored the libtiffOStreamSeekProc function so that it extendeds the stream when the requested file position is beyond the current end of the stream. This fix addresses a bug that occurred when writting to a streamstream.

    Fri, 29 Apr 2011 09:16:47 +0000 Author : Robert Osfield ⚡️ Update ChangeLog

    Thu, 28 Apr 2011 16:33:14 +0000 Author : Robert Osfield Fixed Coverity reported issue.CID 11447: Unchecked dynamic_cast (FORWARD_NULL) Dynamic cast to pointer "dynamic_cast (nc->clone(this))" can return null. Assigning null: "first" = "dynamic_cast (nc->clone(this))".

    👯 The clone() implementation is written using macro's so that it always returns the type of Object 👯 being cloned so it's normally safe to assume that a dynamic_cast<> will always return a valid pointer as long 👯 as the new T that involves creates a valid object. However, if the class being cloned doesn't correctly 👯 implement the clone() method then their potential for the dynamic_cast to fail and will return a NULL and will 0️⃣ result in a memory leak of the object of paraent class that the clone would have defaulted to.

    👯 I've tightened up the CopyOp.cpp code to check the return type and added better handling of the clone in the ⚠ osg::clone() methods so thay don't have any potential mememory leaks and report warnings to OSG_WARN when 👻 problems are encountered. It may be more apporpriate to throw an exception so will need to ponder this issue further.

    Thu, 28 Apr 2011 10:23:50 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11403: Logically dead code (DEADCODE) After this line, the value of "needspace" is equal to 0. Assigning: "needspace" = "false".

    Technically the report is correct, but the code is just debugging code that was there just in case the code needed to be reviewed. This code is long since through it's debugging stage so the code 🚚 is no longer really worth keeping so I've removed it for cleanness sake.

    Thu, 28 Apr 2011 10:23:28 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.ID 11667: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _useVertexAttribAlias is not initialized in this constructor nor in any functions that it calls.

    Member variable should have been initialized but this varaible will have always been initialized in later code before it was used anyway so wouldn't have resulted in a runtime bug.

    Thu, 28 Apr 2011 10:22:20 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11414: Logically dead code (DEADCODE) After this line, the value of "vboMemory" is equal to 0. Assigning: "vboMemory" = "NULL".

    Another case of debugging code paths being picked out. I have chosen to just delete these paths as the code 🚧 looks to be working fine and less code is better than more code when it comes to maintenance.

    Wed, 27 Apr 2011 16:37:25 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue. Issue is benign as all the member variables are initialized in after construction, but I've moved this initialization into the constructor to make the code more managable.CID 11686: Uninitialized scalar field (UNINIT_CTOR) Non-static class member cnt is not initialized in this constructor nor in any functions that it calls. Non-static class member maxcnt is not initialized in this constructor nor in any functions that it calls. Non-static class member phase is not initialized in this constructor nor in any functions that it calls.

    Wed, 27 Apr 2011 16:35:34 +0000 Author : Robert Osfield 🛠 Fixed 2 Coverity reported issues. Both issues are benign, but I've addressed then as with the changes the code is clean and more mantainable.CID 11676: Uninitialized scalar field (UNINIT_CTOR) Non-static class member cancelMode is not initialized in this constructor nor in any functions that it calls. Non-static class member cpunum is not initialized in this constructor nor in any functions that it calls. Non-static class member detached is not initialized in this constructor nor in any functions that it calls. Non-static class member isRunning is not initialized in this constructor nor in any functions that it calls. Non-static class member stackSize is not initialized in this constructor nor in any functions that it calls. Non-static class member threadPolicy is not initialized in this constructor nor in any functions that it calls. Non-static class member threadPriority is not initialized in this constructor nor in any functions that it calls. Non-static class member uniqueId is not initialized in this constructor nor in any functions that it calls.

    CID 11564: Unsigned compared against 0 (NO_EFFECT) This less-than-zero comparison of an unsigned value is never true. "cpunum < 0U".

    Wed, 27 Apr 2011 16:06:32 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11677: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _minimumNumberAccumAlphaBits is not initialized in this constructor nor in any functions that it calls. Non-static class member _minimumNumberAccumBlueBits is not initialized in this constructor nor in any functions that it calls. Non-static class member _minimumNumberAccumGreenBits is not initialized in this constructor nor in any functions that it calls. Non-static class member _minimumNumberAccumRedBits is not initialized in this constructor nor in any functions that it calls.

    Wed, 27 Apr 2011 16:06:10 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11690: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _frameLastUsed is not initialized in this constructor nor in any functions that it calls.

    Wed, 27 Apr 2011 16:05:37 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11689: Uninitialized pointer field (UNINIT_CTOR) Non-static class member _glBlendColor is not initialized in this constructor nor in any functions that it calls.

    Wed, 27 Apr 2011 16:05:13 +0000 Author : Robert Osfield 🛠 Fixed 2 Coverity reported issues.CID 11681: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _previousHeight is not initialized in this constructor nor in any functions that it calls. Non-static class member _previousWidth is not initialized in this constructor nor in any functions that it calls.

    CID 11688: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _previousHeight is not initialized in this constructor nor in any functions that it calls. Non-static class member _previousWidth is not initialized in this constructor nor in any functions that it calls.

    Wed, 27 Apr 2011 16:04:37 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue, in this case it's a unused member variable so could just be deleted.CID 11687: Uninitialized pointer field (UNINIT_CTOR) Non-static class member _glBeginEndAdapter is not initialized in this constructor nor in any functions that it calls.

    Wed, 27 Apr 2011 16:03:37 +0000 Author : Robert Osfield 🛠 Fixed 3 Coverity reported issues. CID 11622 is a bit of false positive as for valid settings no leak would happen.CID 11810: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _setMaxFarDistance is not initialized in this constructor nor in any functions that it calls.

    CID 11811: Uninitialized pointer field (UNINIT_CTOR) Non-static class member _displayTexturesGroupingNode is not initialized in this constructor nor in any functions that it calls.

    CID 11622: Resource leak (RESOURCE_LEAK) Calling allocation function "operator new(unsigned long long)". Variable "" is not freed or pointed-to in function "osg::StateSet::StateSet()". [show details] Assigning: "sharedStateSet" = storage returned from "new osg::StateSet". 282 osg::StateSet* sharedStateSet = new osg::StateSet; Variable "sharedStateSet" is not freed or pointed-to in function "osg::Object::setDataVariance(osg::Object::DataVariance)". [show details]

    Wed, 27 Apr 2011 16:02:10 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11588: Resource leak (RESOURCE_LEAK) Calling allocation function "operator new[](unsigned long long)". Assigning: "dataPtr" = storage returned from "new unsigned char[newTotalSize]".

    Wed, 27 Apr 2011 16:01:43 +0000 Author : Robert Osfield 🛠 Fixed 2 Coverity reported issues.Following are both false positives as the the scope they are in will always assign the object to a ref counted structure. I've modified the code to use ref_ptr<> to just make it clear that it's underscope, although this is not strictly neccessary as the code is OK, I introduced this for clarity and robustness in presence of exceptions.

    CID 11586: Resource leak (RESOURCE_LEAK) Calling allocation function "operator new(unsigned long long)". Variable "" is not freed or pointed-to in function "osg::VertexBufferObject::VertexBufferObject()". [show details] Assigning: "vbo" = storage returned from "new osg::VertexBufferObject".

    CID 11587: Resource leak (RESOURCE_LEAK) Calling allocation function "operator new(unsigned long long)". Variable "" is not freed or pointed-to in function "osg::ElementBufferObject::ElementBufferObject()". [show details] Assigning: "ebo" = storage returned from "new osg::ElementBufferObject".

    Wed, 27 Apr 2011 16:00:32 +0000 Author : Robert Osfield 🛠 Fixed Coverity reported issue.CID 11636: Allocation size mismatch (SIZECHECK) "my_alloc(sizeof (struct PlyProperty) /36/ * elem->nprops, 1292, "..\..\..\..\src\osgPlugins\ply\plyfile.cpp")" allocates memory. [show details] Allocating a multiple of 36 bytes to pointer "other->props", which needs 8 bytes.

    Tue, 26 Apr 2011 19:31:04 +0000 Author : Robert Osfield Fixed 1 Coverity Low Impact issue "Unused pointer value (UNUSED_VALUE) Pointer "indices" returned by "this->_vertexAttribList[0ULL].indices.get()" is never used."Report highlighted the fact that later code wasn't using the indices variable when it should have been, so potentially a higher impact that the severity suggested by Coverity.

    Tue, 26 Apr 2011 19:29:22 +0000 Author : Robert Osfield 🛠 Fixed 3 Coverity Low Impact performance issues relating to "Big parameter passed by value".

    Tue, 26 Apr 2011 15:24:21 +0000 Author : Robert Osfield 🚀 Updated version after 2.9.13 dev release

    Tue, 26 Apr 2011 14:55:19 +0000 Author : Robert Osfield 🚀 Updated ChangeLog and AUTHORS for 2.9.13 dev release

    Tue, 26 Apr 2011 12:07:37 +0000 Author : Robert Osfield 🛠 From Mattias Helsing, "Fixes two of the osgWidget examples that were broken due to changed virtual function prototypes in osgWidget/EventInterface"

    Tue, 26 Apr 2011 12:05:57 +0000 Author : Robert Osfield From Craig Bosma,"Please find attached a fix for shared contexts on OS X, with the Cocoa backend. The NSOpenGLContext* _context member of GraphicsHandleCocoa was never set on successfully creation, so even if the dynamic_cast to GraphicsHandleCocoa succeeds, we get a bogus (NULL) pointer on retrieving the actual NSOpenGLContext* (line 1013).This should fix the problem, as well as cause GraphicsWindowCocoa to report the correct name "GraphicsWindowCarbon" -> "GraphicsWindowCocoa". "

    Tue, 26 Apr 2011 11:51:21 +0000 Author : Robert Osfield From Farshid Lashkari, "I believe their is small error in how OutputStream handles the WriteImageHint. In the "writeImage" method, it converts the WriteImageHint to an internal "decision" flag. During this conversion, it seems to be swapping the behavior for WRITE_EXTERNAL_FILE and WRITE_USE_EXTERNAL. I've attached what I believe to be the correct conversion."

    Thu, 21 Apr 2011 17:16:27 +0000 Author : Robert Osfield 🛠 From Mattias Helsing, "Fixes installation of the osgViewer headers that got broken with rev 12208 and 12231.The windowing system specific headers under include/osgViewer/api/ are again installed under include/osgViewer/api/

    Works in recent ubuntu with cmake-2.8.4 and msvc2010 with cmake-2.8.2"

    Thu, 21 Apr 2011 17:04:50 +0000 Author : Robert Osfield From Johannes Baeuerele, "I have extended the pvr reader plugin to support etc1 compression(GL_ETC1_RGB8_OES). The changes attached to this submission are based on today's trunk.The pvr format which can be used as a wrapper for different compressed and uncompressed formats supports this compression algorithm. The original pvr compression uses the pvrtc format. The handling of pvrtc is already implemented in the pvr plugin. PVR provides wrapper functionality for some formats, e.g. etc or even dxt/dds.

    🔌 Our target system (gles2) is able to use the etc compression format. With minor changes in the submitted files, there is no need to write a separate plugin. However the original pvr texture compression formats are not supported on our target, which is the reason for this extension.

    The changes mainly consist in the definition on new enum values in the classes and headers of ReaderWriterPVR,Image and Texture. I also found some locations where the handling of the original pvr textures was not implemented. These are also part of this submission."

    Thu, 21 Apr 2011 13:34:03 +0000 Author : Robert Osfield From Marius Heise, "here is a patch that implements Win32 HW-synced swapping using wglJoinSwapGroupNV, wglBindSwapBarrierNV and the existing traits. It was tested with multiple ATI FirePro S400 cards.I also fixed the vsync implementation introduced with rev.11357 that was crashing with the Windows Error #170. So I removed your temporary /* */ around the vsync condition..."

    Thu, 21 Apr 2011 13:01:11 +0000 Author : Robert Osfield From Fred Smith, "GraphicsWindowWin32::setWindow currently creates a context with no regards to the Traits, like createWindow does.That is, it calls ::wglCreateContext to create a context, not the member method createContextImplementation(), which takes into an account the Traits.

    In my situation, this prevents a GL 3.x context from being created. "

    Thu, 21 Apr 2011 12:53:22 +0000 Author : Robert Osfield 🏗 From Jorge Ciges, "1rst - Changes in Cmake: They make possible "make install" with the android building.2nd - Script to use a 3rd party directory with basic libraries: libjpeg,libpng,libtiff,giflib,freetype,curl,gdal.

    3rd - Change in the GLES library loading for Android. That should make GLES2 work properly.

    4rth- Included two defines RGB8_OES and RGBA8_OES as a substitute in GLES for RGB8 and RGBA8

    5th - OpenGL and GLSL version identification changed to recognize GLES versions properly "

    Thu, 21 Apr 2011 12:12:40 +0000 Author : Robert Osfield 🔌 From Cedric Pinson, "I have tried some model that produces crashes in the dae plugin because of empty node:if (GetFloat4Param(cot->getParam()->getRef(), f4)) {...}

    ✅ in the model I have tested cot->getParam()->getRef() return 0x0 and make it crahes inside GetFloat4Param.

    ✅ I have added a test before calling GetFloat4Param if (cot->getParam()->getRef() != 0 && GetFloat4Param(cot->getParam()->getRef(), f4)) {...} "

    Thu, 21 Apr 2011 12:06:06 +0000 Author : Robert Osfield From Tomas Hogarth, "Attached are the complete changed files GraphicsWindowIOS and GraphicsWindowIOS.mm. The change is in regard to the ability to adapt to device orientation. We did just have a bool indicating the window would adapt to all orientations. I have changed this to a bit mask allowing the user to specify individual orientations or combinations. enum DeviceOrientation{

                    PORTRAIT_ORIENTATION = 1<<0,
    
                    PORTRAIT_UPSIDEDOWN_ORIENTATION  = 1<<1,
    
                    LANDSCAPE_LEFT_ORIENTATION  = 1<<2,
    
                    LANDSCAPE_RIGHT_ORIENTATION  = 1<<3,
    
                    ALL_ORIENTATIONS = PORTRAIT_ORIENTATION  | PORTRAIT_UPSIDEDOWN_ORIENTATION  | LANDSCAPE_LEFT_ORIENTATION  | LANDSCAPE_RIGHT_ORIENTATION
    
                };
    
                typedef unsigned int DeviceOrientationFlags;
    

    ✅ The main motivation for this is to easily allow the user to specifiy that the device is in a horizontal orientation rather then having to rotate the view matrix. All flags have been tested individually as well as in combinations. The default is ALL_ORIENTATIONS to keep the exiting functionality for anyone who hasn't specified WindowData for their context traits. "

    Wed, 20 Apr 2011 19:20:28 +0000 Author : Robert Osfield ⚡️ From Sukender, Here is a tiny update to FileNameUtils. It brings getPathRoot() and isAbsolutePath() to the public side of the lib.

    Wed, 20 Apr 2011 17:15:58 +0000 Author : Robert Osfield 🏁 From Guillaume Taze, "This is a fix for the error popups which appeared when reading a corrupted file on windows. Errors are redirected to std::err instead."Note from Robert Osfield, changed jpeg error report output from stderr to standard OSG notification system using OSG_WARN.

    Wed, 20 Apr 2011 11:45:01 +0000 Author : Robert Osfield ➕ Added releaseGLObjects(State*) support into osg::FrameBufferObject, osg::RenderBin and osg::RenderStage to ensure proper clean up of FBO's on closing a graphics context.

    Tue, 19 Apr 2011 14:19:06 +0000 Author : Robert Osfield 📚 From Magnus Kessler, "A few minor fixes in the documentation strings of ReaderWriterFLT.cpp"

    Tue, 19 Apr 2011 14:11:13 +0000 Author : Robert Osfield From Bradley Anderegg, "The first change just exposes the archive extension list so that external applications can determine if an archive extension is valid.The second change is a bug fix in Registry::read(const ReadFunctor&) where if you pass in valid options they get wiped out after the archive 🔌 is loaded but before being passed along to the plugin."

    Tue, 19 Apr 2011 13:32:25 +0000 Author : Robert Osfield From Paul Martz, "To summarize the fix: OpenGL eye coords are negative outside Cartesian quadrant 1. As a result, the center of projection is eye coord (0,0), which (when used as st tex coords) looks up the lower left corner of the texture. However, in projective texturing, you usually want eye coord (0,0) to look up the center of the texture. Accomplishing this mapping requires not just a lookat and perspective transform, but also a translate and scale."

    Tue, 19 Apr 2011 12:01:38 +0000 Author : Robert Osfield 🏁 From Jan Peciva, "please find attached proposed fix for ON_DEMAND rendering. The biggest issue was that the windows did not act on repaint request (WM_PAINT, EXPOSE,...)Detailed explanation:

    • I implemented requestRedraw using the push approach (not using GraphicsWindow::_requestRedraw flag that I was considering) as there may be multiple viewers reading the flag and fighting to reset it after the paint request, while some viewers may not spot the request to redraw
    • 🏁 I made windows call GraphicsWindow::requestRedraw when they receive appropriate message (WM_PAINT, EXPOSE, RESIZE,...)
    • 🐧 There were issues on Linux that windows did not want to close using x ✅ button. Resolved by moving the test for DeleteWindow event from swapBuffersImplementation() to GraphicsWindowX11::checkEvents(). The difficulty was that DeleteWindow event is not coming using _eventDisplay, but through _display.
    • The last difficulty was that it is necessary to call 🏁 ViewerBase::checkWindowStatus() to set _done to true when all windows are closed. This did not happened recently in ON_DEMAND run scheme. I put the call 🏁 to checkWindowStatus() to eventTraversal. "

    Tue, 19 Apr 2011 11:46:05 +0000 Author : Robert Osfield ✂ Removed spaces from end of lines

    Tue, 19 Apr 2011 11:40:22 +0000 Author : Robert Osfield 💅 Ran svn propset -R svn:eol-style native . on the OpenSceneGraph

    Tue, 19 Apr 2011 09:54:14 +0000 Author : Robert Osfield 👌 Improved the handling of unitialized bounding box

    Tue, 19 Apr 2011 09:53:34 +0000 Author : Robert Osfield Cleaned up example

    Mon, 18 Apr 2011 12:58:28 +0000 Author : Robert Osfield ⚡️ Updated SO version number

    Mon, 18 Apr 2011 12:35:19 +0000 Author : Robert Osfield ➕ Added IncrementalCompileOperation::compileAllForNextFrame(uint) method and supporting functionality that tell the IncrementalCompileOperation to compile all pending objects during next draw traversal, for specified number of frames.

    Thu, 14 Apr 2011 15:47:29 +0000 Author : Robert Osfield From Stephan Huber, "attached you'll find some enhancements for the iphone-part of the readme."

    Thu, 14 Apr 2011 15:45:14 +0000 Author : Robert Osfield 🏁 From Magnus Kessler, "The standard width for the windows cmd and terminals on many Unix systems is 80 columns. I reorganized some of the help strings to make the output of osgconv --help --all

    fit to 80 columns. This avoids difficult to read line breaks added by the terminal program itself."

    Thu, 14 Apr 2011 15:22:43 +0000 Author : Robert Osfield 👍 Cleaned up DXT1 support

    Thu, 14 Apr 2011 15:21:53 +0000 Author : Robert Osfield 👉 Added IF (WIN32) around OSG_USE_UTF8_FILENAME

    Thu, 14 Apr 2011 10:44:37 +0000 Author : Robert Osfield Added osgDB::Option string entries: supportsOption("dds_dxt1_rgb","set the pixel format of DXT1 encoded images to be RGB"); supportsOption("dds_dxt1_rgba","set the pixel format of DXT1 encoded images to be RGBA"); supportsOption("dds_dxt1_detect_rgba","For DXT1 encode images set the pixel format according to presence of transparent pixels.");

    0️⃣ And set the default not to modify and detect the RGB or RGBA pixel format for DXT images.

    Thu, 14 Apr 2011 09:16:09 +0000 Author : Robert Osfield ➕ Added setting of the internal texture format

    Wed, 13 Apr 2011 19:28:30 +0000 Author : Robert Osfield quitened down debug output

    Wed, 13 Apr 2011 19:26:35 +0000 Author : Robert Osfield Introduced new code for detecting DXT1 images catogoriesed as RGB that actually have a 1 bit alpha, therefore re-interpreting these as RGBA.

    Wed, 13 Apr 2011 10:44:36 +0000 Author : Robert Osfield ➕ Added handling of DXT1 in osg::Image::isImageTranslucent()

    Mon, 11 Apr 2011 19:11:25 +0000 Author : Robert Osfield ➕ Added support for explitly requesting DXT1a and DXT1c compression

    Mon, 4 Apr 2011 10:16:46 +0000 Author : Robert Osfield 🛠 From Stephan Huber, "Attached you'll find a fixed GraphicsWindowCocoa-implementation which should fix the reported bugs.the osgkeyboard-example works now, but not the numbers of the keypad, as they hilight only for KEY_KP_Left, KEY_KP_Right, KEY_KP_Up, KEY_KP_DOWN etc and not for KEY_KP_0 - KEY_KP_9."

    Thu, 31 Mar 2011 14:57:18 +0000 Author : Robert Osfield Added OPENTHREADS_ATOMIC_USE_MUTEX Cmake options that allows you to override the default detection of atomic implementatition, making it possible to force the use of Mutex for OpenThreads::Atomic, and as a consequence for use of Mutex for Referenced::ref/unref() counting.

    Wed, 30 Mar 2011 15:15:07 +0000 Author : Robert Osfield 🛠 From Tim Moore, Fixes to race in DatabasePager where a parent PagedLOD of newly loaded subgraph has been expired.Clean up of visitor naming to make it clearer what role it has.

    Wed, 23 Mar 2011 14:01:58 +0000 Author : Robert Osfield ➕ Added m4v as a handled movie file extension

    Mon, 21 Mar 2011 21:28:35 +0000 Author : Robert Osfield ➕ Added dciimage library to DCMTK libs

    Mon, 21 Mar 2011 21:28:02 +0000 Author : Robert Osfield 👌 Improved handling of RGB data.

    Sat, 19 Mar 2011 16:25:01 +0000 Author : Robert Osfield ➕ Added .get() to fix build

    Fri, 18 Mar 2011 12:21:58 +0000 Author : Robert Osfield ➕ Adde an isFileADicom(..) method to enable the loader to automatically identifier dicom files without making any assumptions about the file extension

    Fri, 18 Mar 2011 11:23:39 +0000 Author : Robert Osfield ➕ Added extra DCMTK libraries to search and link line to enable build against new DCMTK-3.6.0 release

    Thu, 17 Mar 2011 17:33:02 +0000 Author : Robert Osfield ➕ Added support for new SampleDensityWhenMovingProperty into .p3d format, with it default to 0.02.One can override this value via the sampleDensityWhenMoving="value" property in the volume tag, i.e.

         <volume sampleDensityWhenMoving="0.01">CardiacCT</volume>
    

    To switch the feature off set the value to 0, i.e.

         <volume sampleDensityWhenMoving="0">CardiacCT</volume>
    

    Thu, 17 Mar 2011 15:37:39 +0000 Author : Robert Osfield ➕ Added SampleDensityWhenMovingProperty to control LOD property of osgVolume.

    Thu, 17 Mar 2011 13:56:27 +0000 Author : Robert Osfield 🔄 Changed the view movement detection code so that it uses the new CullVisitor::Identifier to indentifier cull traversals, this enables the code to properly detect movement when osgViewer::Renderer uses double buffering of SceneView.

    Thu, 17 Mar 2011 13:54:54 +0000 Author : Robert Osfield ➕ Added set up of CulLVisitor::Identifier so that the double buffered SceneView/CullVisitor share the same Identifier.

    Thu, 17 Mar 2011 13:54:14 +0000 Author : Robert Osfield ➕ Added CullVisitor::Identifier to help with cull operations that require a consistent identifier for cull traveresals when osgViewer::Renderer uses double buffering.

    Thu, 17 Mar 2011 11:49:22 +0000 Author : Robert Osfield 👍 First cut at LOD support in RayTracedTechnique, which lowers the number of samples taken when the view of the volume is changing.

    Wed, 16 Mar 2011 13:48:09 +0000 Author : Robert Osfield From Torben Dannhauer, "adds an additional library name of libpng ( libpng15 ) to search fo"

    Wed, 16 Mar 2011 13:41:39 +0000 Author : Robert Osfield 🏗 From Alan Dickinson,"I tested out my changes against the trunk and everything worked fine... except I noticed that the CMAKE_BUILD_POSTFIX is set incorrectly for a undefined or blank BUILD_TYPE.So here is the one line change to the CMakeLists.txt to rectify this omission."

    Wed, 16 Mar 2011 10:51:42 +0000 Author : Robert Osfield ➕ Added hud and billboard support to image, stereo_image, pdf, browser and vnc image placement

    Tue, 15 Mar 2011 19:54:57 +0000 Author : Robert Osfield ➕ Added support hud property for title, bullets and paragraph tags

    Tue, 15 Mar 2011 14:04:50 +0000 Author : Robert Osfield 🛠 From Sukender, "Fixed a case where getUniqueName() does not work properly"

    Tue, 15 Mar 2011 14:02:39 +0000 Author : Robert Osfield ⚡️ From Torben Dannhauer, update to reflect addition of NVTT to Windows 3rdPartyPackage

    Tue, 15 Mar 2011 13:53:59 +0000 Author : Robert Osfield ➕ Added checked against GL version number for enabled _isTexture3DSupported.

    Tue, 15 Mar 2011 13:40:13 +0000 Author : Robert Osfield 🛠 Fixed warning

    Tue, 15 Mar 2011 13:30:27 +0000 Author : Robert Osfield ➕ Added OSG_EXPORT to declaration of View::Slave.

    Tue, 15 Mar 2011 12:48:40 +0000 Author : Robert Osfield Re-enabled the fallback compute of bounding volume.

    Tue, 15 Mar 2011 12:26:16 +0000 Author : Robert Osfield 🛠 Fixed updating of text position when PositionData.position is not modified by tag but other elements of PositionData are - such as when billboarding

    Mon, 14 Mar 2011 21:36:32 +0000 Author : Robert Osfield Implemented billboard="on" option for image, bullet and paragraph tags

    Mon, 14 Mar 2011 11:29:08 +0000 Author : Robert Osfield ➕ Added support for placing comments at end of each line.

    Mon, 14 Mar 2011 10:07:15 +0000 Author : Robert Osfield 🐎 From Farshid Lashkari, "Another update. I added a LIMIT_NEAREST enum which implements your previous suggestion of rejecting bounding volumes further from the nearest existing intersection. I only implemented this for LineSegmentIntersector. I'd appreciate it if you could double check the math I added to LineSegmentIntersector::intersects() for checking if the bounding sphere is further away. The results of this are promising. I'm getting noticeable performance increase for line intersections with scenes containing many drawables. "

    Mon, 14 Mar 2011 09:59:32 +0000 Author : Robert Osfield ⚠ From Torben Dannhauer, warning fix for a false positive warning generated by VS about "not all control pathes return a value".

    Fri, 11 Mar 2011 17:20:24 +0000 Author : Robert Osfield From Farshid Lashkari, removal of redundent spaces at the end of lines.

    Fri, 11 Mar 2011 16:31:01 +0000 Author : Robert Osfield From Benjamin Wasty and David Guthrie, "currently, non-alpha-numeric keys are not recognized (except as modifiers) in osgQt, so I added the mapping code from my Qt integration to GraphicsWindowQt (which is based on Delta3D code from David Guthrie - he gave me permission to submit it under OSGPL)."

    Fri, 11 Mar 2011 11:25:19 +0000 Author : Robert Osfield 👍 From Sukender, "Added support for texcoords scale and offset (UV scaling and offset in Lib3DS Materials), for texture unit 0."

    Fri, 11 Mar 2011 11:20:30 +0000 Author : Robert Osfield 🛠 Fixed the case insenstive search under unices

    Fri, 11 Mar 2011 10:24:12 +0000 Author : Robert Osfield From Mourad Boufarguine, "There is a redundant cmake code at the end of osgViewer cmake script. The install command is issued in SETUP_LIBRARY macro." "I spotted this when i tried a make install on the android port :) I saw some weird copy commands of osgViewer headers. I managed to get all osg headers copied to cmake_install_prefix/include upon make install, but i can't (yet) get the libraries to be copied to cmake_install_prefix/lib (see attached files)"

    Fri, 11 Mar 2011 10:18:43 +0000 Author : Robert Osfield From Alan Dickinson, "I modified the CPack and CMake files to utilze the CMAKE_INSTALL_PREFIX when building RPM packages.I also modified the CMake and pkgconfig files to append the _POSTFIX extenstion based on the CMAKE_BUILD_TYPE.

    Additionally I fixed packaging/ld.so.conf.d/openscenegraph.conf.in to add a '/' betweeen the arguments since the CMAKE_INSTALL_PREFIX can't end with a '/'. "

    Thu, 10 Mar 2011 14:53:39 +0000 Author : Robert Osfield 🏁 From Mourad Boufarguine, "I gave osg android port a try on Windows using cygwin, and it worked like a charm (only a tiny problem with osgViewer, when cross compiling for android using cygwin, the windows path in osgViewer/CMakeLists.txt is used rather than the android one, fix attached). "

    Thu, 10 Mar 2011 14:44:49 +0000 Author : Robert Osfield 🔌 From Mourad Boufarguine, "I gave projects folders in VS a try, it works for applications, plugins and examples but not for the osg core libraries. Attached OsgMacroUtils.cmake is a tiny fix for this. OpenThreads is addressed seperately."

    Thu, 10 Mar 2011 10:56:12 +0000 Author : Robert Osfield 🚚 From Rafa Gaitan, "Attached the fix to remove the symlinks created with make install."

    Thu, 10 Mar 2011 10:52:47 +0000 Author : Robert Osfield From Michael Platings, "I'm guessing that the stack corruption was caused by calling GetFullPathNameW with the nBufferLength argument as the number of bytes in the buffer, rather than the number of characters. I've attached code that uses GetFullPathNameW et al. with _countof() rather than sizeof() and this works fine."

    Wed, 9 Mar 2011 17:35:30 +0000 Author : Robert Osfield Quitened down timing stats

    Wed, 9 Mar 2011 16:30:48 +0000 Author : Robert Osfield From Johannes Baeuerle, fix for memory leak

    Wed, 9 Mar 2011 15:55:35 +0000 Author : Robert Osfield ⚡️ From Jan Peciva, "please, find attached updates to Inventor plugin:- improved transparency

    • do not treat 32-bit textures as transparent textures unless they really contain transparent pixels
    • error messages forwarded to osg::notify"

    Wed, 9 Mar 2011 14:44:14 +0000 Author : Robert Osfield 🚚 From Sukender, "1. Made code a bit more readable/cleaner. 2. Removed unecessary code. Also made sure the images names are not truncated in the middle of an UTF8 character. You'll find there a function called utf8TruncateBytes(), which may be moved in core OSG (osgDB/ConvertUTF I guess). Feel free to do it if you feel it that way. "

    Wed, 9 Mar 2011 14:15:04 +0000 Author : Robert Osfield From Piotr Gwiazdowski, "So there's config setting OSG_DISABLE_MSVC_WARNINGS which should disable pragmas that turn off specific warnings for MSVC. Unfortunately it's presence is only checked in osg/Export header, making other Export headers disable warnings no matter what, which is kind of incoherent.My fix adds #include to every Export header. I've also ⚠ unified checking whether to disable warnings to current osg/Export way:

    if defined(_MSC_VER) && defined(OSG_DISABLE_MSVC_WARNINGS).

    Attachment contains all changed Export files in their original locations."

    Wed, 9 Mar 2011 13:10:38 +0000 Author : Robert Osfield 💅 From Eric Sokolowsky, "I have updated the pnm plugin to use streams instead of C-style I/O. Attached is src/osgPlugins/pnm/ReaderWriterPNM.cpp"

    Wed, 9 Mar 2011 13:05:59 +0000 Author : Robert Osfield 👀 From Tassilo Glander,"I patched the cmake configuration to support folders, which are really handy to organize the many projects in the OSG solution into examples, applications and core libs in the IDE. This feature has been introduced to cmake in 2.8.3, on older versions it should be ignored silently. I tested on Visual Studio 2008 with cmake 2.8.3 and 2.8.4.See the screenshots for comparison [img]osg_solution.png[/img]

    This needs few changes:

    activate on global cmakelist.txt:

    [code]set_property(GLOBAL PROPERTY USE_FOLDERS On)[/code]

    set appropriate folder names for project type in osgMacroUtils.cmake:

    [code]SET_TARGET_PROPERTIES(${CORELIB_NAME} PROPERTIES FOLDER "OSG Core")[/code]

    similar for examples, applications"

    Wed, 9 Mar 2011 12:29:14 +0000 Author : Robert Osfield 💅 From Piotr Gwiazdowski, "Recently I've been having some trouble with osgWidget::StyleManager (I'll omit osgWidget namespace from now on). It seems to me that there are some inconsistency in the code. In Style there are multiple applyStyle method overloads, applying style for different widgets/windows built-in in osgWidget. Plus you can do overrides. It's good so far.The problem lies in StyleManager::_applyStyleToObject (which calls _coearceAndApply, which calls _applySpecificStyle, which calls 💅 Style::applyStyle). With current implementation Style::applyStyle variants for Input, Window, Frame::Corner, Frame::Border, Window::EmbeddedWindow are never called, because their classes' names are omitted in methods' if/else if block, making it impossible to use 💅 styles with most than half of built-in widget/window types.

    My fix simply adds couple else if blocks, making each 💅 Style::applyStyle variant callable. By the way, I think that next 💅 update should add Style::applyStyle overload for Table class and add proper className overloads for Input and Window."

    Wed, 9 Mar 2011 12:15:39 +0000 Author : Robert Osfield Removed the repeated called to jas_init() and jas_image_clearfmts() calls to make it possible to use the reading multi-threaded

    Wed, 9 Mar 2011 11:22:20 +0000 Author : Robert Osfield ⚡️ From Dietmar Funck, "I've noticed an issue with osgUtil::RenderStage::runCameraSetUp() if the number of buffer attachments of the camera decreases according to privous calls. This happens because RenderStage::_bufferAttachmentMap is updated only for the number of buffers the camera has when runCameraSetUp is called. For example if there were 4 attachments and now only 3, only the first three elements of _bufferAttachmentMap are changed. The fourth is just as before - however it shouldn't be there.Calling _bufferAttachmentMap.clear() before resolves this problem. "

    Wed, 9 Mar 2011 11:15:10 +0000 Author : Robert Osfield 🐧 From Cedric Pinson, "I have just adjusted the FindCOLLADA function to let it find library on gnu/linux."

    Wed, 9 Mar 2011 11:13:12 +0000 Author : Robert Osfield 🛠 From Sukender, "I fixed the writing but never thought about the reading part... Here is the fix for reading path containing %23 (= '#') characters."

    Wed, 9 Mar 2011 11:06:36 +0000 Author : Robert Osfield 🚀 Updated versions for next OSG dev release

    Wed, 9 Mar 2011 10:35:00 +0000 Author : Robert Osfield 🔄 Changed the use of a viewer thread to be off by default because it was causing the application to crash when any users input was recieved

    Tue, 8 Mar 2011 17:05:29 +0000 Author : Robert Osfield 🛠 Fixed error in X11 string name

    Tue, 8 Mar 2011 16:35:37 +0000 Author : Robert Osfield 🏗 From Rafa Gaitan and Jorge Izquierdo, build support for Android NDK."- In order to build against GLES1 we execute: $ mkdir build_android_gles1 $ cd build_android_gles1 🏗 $ cmake .. -DOSG_BUILD_PLATFORM_ANDROID=ON -DDYNAMIC_OPENTHREADS=OFF -DDYNAMIC_OPENSCENEGRAPH=OFF -DANDROID_NDK=/ -DOSG_GLES1_AVAILABLE=ON -DOSG_GL1_AVAILABLE=OFF -DOSG_GL2_AVAILABLE=OFF -DOSG_GL_DISPLAYLISTS_AVAILABLE=OFF -DJ=2 -DOSG_CPP_EXCEPTIONS_AVAILABLE=OFF $ make If all is correct you will have and static OSG inside: build_android_gles1/bin/ndk/local/armeabi.

    • 🏗 GLES2 is not tested/proved, but I think it could be possible build it with the correct cmake flags.
    • 🏗 The flag -DJ=2 is used to pass to the ndk-build the number of 🏗 processors to speed up the building.
    • 👉 make install is not yet supported."

    Tue, 8 Mar 2011 15:31:49 +0000 Author : Robert Osfield 🛠 Fixed indentation

    Tue, 8 Mar 2011 13:51:13 +0000 Author : Robert Osfield From Rafa Gaitan, "I have added the macro SETUP_LIBRARY, similar to SETUP_PLUGIN or SETUP_EXE, in order to have a unique entry point to build the libraries. With this changes the android integration will be less painful (currently is a big IF(ANDROID) for each CMakeLists.txt) and more maintainable in the future. I hope next submissions will be for supporting android from my colleague Jorge. "

    Mon, 7 Mar 2011 14:42:47 +0000 Author : Robert Osfield ➕ Added comments

    Mon, 7 Mar 2011 13:45:58 +0000 Author : Robert Osfield 🔄 Changed all .c++ to .cpp's

    Mon, 7 Mar 2011 12:35:30 +0000 Author : Robert Osfield ➕ Added --color r g b a, --wall-color r g b a, --back-color r g b a options for setting the colours of faces via materials. and --image filename, --wall-image filename, --back-image filename options to set the textures used, note, texcoords are not currently set up so texels used will be 0,0.

    Mon, 7 Mar 2011 12:33:11 +0000 Author : Robert Osfield Enabled the settng/getting of the Text3D's WallStateSet and BackStateSet along with use of these in the rendering implementation to allow separate colour and other state to be assigned to the front, wall and back faces.

    Thu, 3 Mar 2011 15:52:19 +0000 Author : Robert Osfield Moved intial cut of depth partition support into osgViewer::View via two new methods: /** Convenience method for setting up multiple slave cameras that depth partition the specified camera./ bool setUpDepthPartitionForCamera(osg::Camera cameraToPartition, DepthPartitionSettings* dps=0);

        /** Convenience method for setting up multiple slave cameras that depth partition each of the view's active cameras.*/
        bool setUpDepthPartition(DepthPartitionSettings* dsp=0);
    

    Thu, 3 Mar 2011 12:33:57 +0000 Author : Robert Osfield Introduced a new more generic function for settings up the depth partitioning of viewer cameras.

    Wed, 2 Mar 2011 16:40:36 +0000 Author : Robert Osfield 🏗 Build fix

    Wed, 2 Mar 2011 16:24:07 +0000 Author : Robert Osfield Made parameter a little easier to adjust and commented out verbose debug info

    Wed, 2 Mar 2011 16:09:50 +0000 Author : Robert Osfield Implemented first cut of more flexible depth partitioning code.

    Tue, 1 Mar 2011 16:21:38 +0000 Author : Robert Osfield 🛠 Fixed typo

    Tue, 1 Mar 2011 15:04:56 +0000 Author : Robert Osfield ➕ Added support for passing the --depth-partition distance, throw to the depth partition slave camera setup.

    Tue, 1 Mar 2011 14:50:25 +0000 Author : Robert Osfield ➕ Added experiment depth partioning support in the form of an slave camera configuration.

    Tue, 1 Mar 2011 14:48:48 +0000 Author : Robert Osfield ➕ Added support for an View::Slave::UpdateSlaveCallback

    Sat, 26 Feb 2011 16:04:34 +0000 Author : Robert Osfield 🛠 Fixed handling of write and reading of straight Node objects in the scene graph.

    Sat, 26 Feb 2011 15:52:51 +0000 Author : Robert Osfield 🔄 Changed the handling of unkown nodes on write so that the code now ignores the non supported nodes allows the overall write to continue.

    Thu, 24 Feb 2011 11:54:44 +0000 Author : Robert Osfield ✂ Removed TrapezoidalShadowMap due to discovery of patent on algorithm.

    Wed, 23 Feb 2011 22:52:01 +0000 Author : Cedric Pinson ⚠ Cedric Pinson: Fix divide by zero when Action has 0 frames, and add a warning message because it means something wrong on input data

    Wed, 23 Feb 2011 16:49:38 +0000 Author : Robert Osfield 🛠 Fixed typo

    Wed, 23 Feb 2011 16:46:34 +0000 Author : Robert Osfield From Wojciech Lewandowski, intial cut at new TrapezoidalShadowMap ShadowTechnique

    Wed, 23 Feb 2011 16:45:44 +0000 Author : Robert Osfield From Wojciech Lewandowski, various tweaks to osgShadow shadow mapping classes to improve consistency and enable more debug info output

    Wed, 23 Feb 2011 14:09:29 +0000 Author : Robert Osfield Inverted the orientation of the 't' transparency control so that it's full on at the bottom of the screen, and full transparent at the bottom.

    Wed, 23 Feb 2011 13:56:41 +0000 Author : Robert Osfield ➕ Added support for negative --xMultipler, --yMultiple and --zMultiplier values

    Wed, 23 Feb 2011 12:48:17 +0000 Author : Robert Osfield ➕ Added support for positive values of --xMultiple --yMultiplier and --zMultiplier

    Wed, 23 Feb 2011 12:13:43 +0000 Author : Robert Osfield 🔄 Changed the default number of components for a RGB to 4 so it appears as an RGBA

    Wed, 23 Feb 2011 11:43:30 +0000 Author : Robert Osfield ➕ Added error reporting for old options

    Wed, 23 Feb 2011 11:28:43 +0000 Author : Robert Osfield ➕ Added -n option

    Wed, 23 Feb 2011 10:37:51 +0000 Author : Robert Osfield Added extra check for GL_BGR and GL_BGRA formats and messages describing image format loaded

    Tue, 22 Feb 2011 14:21:34 +0000 Author : Robert Osfield ➕ Added test code to explore problems with LightSpacePerspectiveShadowMap implementation handling of different datasets and camera settings.

    Tue, 22 Feb 2011 11:59:51 +0000 Author : Robert Osfield Added support for GL_BGR and GL_BGRA pixel formats

    Tue, 22 Feb 2011 10:53:58 +0000 Author : Robert Osfield 🔄 Changed the handling of erroneous dicom files so that the loading of a directory of dicom files is not abondonded when one or more erroneous files are encountered.

    Mon, 21 Feb 2011 12:29:13 +0000 Author : Robert Osfield ➕ Added computePositions() call to Text3D::resizeGLObjectsBuffers(uint)

    Mon, 21 Feb 2011 10:02:53 +0000 Author : Robert Osfield ➕ Added missing Terrain.h reference

    Sun, 20 Feb 2011 09:57:07 +0000 Author : Robert Osfield 🛠 Fixed build of various LiSPSM algorithms

    Sun, 20 Feb 2011 09:55:20 +0000 Author : Robert Osfield ➕ Added --fov and --light-pos and --light-dir command line parameters

    Fri, 18 Feb 2011 11:04:01 +0000 Author : Michael PLATINGS Disabled the RGB components of the opacity texture

    Mon, 14 Feb 2011 16:24:12 +0000 Author : Robert Osfield 0️⃣ From Philipp Svehla, "We’ve added support for users to override the default values for child elements in asset tags (for the collada writer). This support was added for the following child elements: - contributor

        - author
    
        - authoring_tool
    
        - comments
    
        - copyright
    
        - source_data
    
    • created

    • keywords

    • modified

    • revision

    • subject

    • title

    • unit

      - name
      
      - meter
      
    • up_axis

    👍 With this support, users are able to include additional information in their models. Additionally, tools such as sketchup that support asset tags use the values appropriately within their imported models."

    Mon, 14 Feb 2011 16:09:51 +0000 Author : Robert Osfield From Tim Moore, "This patch fixes some performance problems with the DXF loader. It removes some unnecessary copies of vertex coordinates (which were causing an exponential explosion). It also replaces BIND_PER_PRIMITIVE normals with BIND_PER_VERTEX so that the resulting geometry will be on the fast path."

    Mon, 14 Feb 2011 16:05:33 +0000 Author : Robert Osfield ➕ Added copyop parameter to cloneOptions() method

    Mon, 14 Feb 2011 15:59:49 +0000 Author : Robert Osfield 👯 From Tim Moore, "The non-virtual cloneOptions() method, which is now used by DatabasePager, breaks derived classes of osgDB::Options. This patch uses the clone() method to clone Options."

    Mon, 14 Feb 2011 15:43:41 +0000 Author : Robert Osfield ⚡️ From Sukender, "Here is an minor update for Jasper finder. It adds debug cache value for Windows/MSVC builds, and adds search paths."

    Mon, 14 Feb 2011 15:04:40 +0000 Author : Robert Osfield 🚚 From Jan Peciva, "Improvements: - Use OSG routines to load images instead of simage library (removes dependency on 3rdParty simage library). Applies to Coin Inventor clone only. "

    Mon, 14 Feb 2011 15:01:56 +0000 Author : Robert Osfield 🚚 Moved ProgramBinary into osg::Program scope

    Mon, 14 Feb 2011 14:16:58 +0000 Author : Robert Osfield 🛠 From Sukender, "Here are two sumbissions for DAE.1. daeRGeometry.cpp (rev 12132). A tiny sumbission which fixes a quite important bug: a parameter was forgotten in Collada ReaderWriter, and texture coordinates could not be loaded properly. So: " Added missing paramter when calling createGeometryData(). Fixes missing texture coordinates (in "bind_vertex_input"). "

    1. ReaderWriterDAE.cpp (rev 12132): " ➕ Added "baseImageDir" as a plugin string data, in order to manually specify base directory to use when relativising image file names. This is used to properly write files, when images are not located in a subdirectory (like "../images" for some software). "

    Mon, 14 Feb 2011 13:54:15 +0000 Author : Robert Osfield 🔌 From Johannes Bauerle, "I experienced problems using binary shaders in osgt files (=the osg-serializer plugins). At runtime std::bad_alloc errors were thrown when using binary shaders.The reason is that the .osgt text files do not provide size information about the contained binary shader hence leading to a bad allocation when reading the shader data, probably size 0 ? The reader method in the responsible serializer class (serializers/osg/BinaryShader) is correct and does not need to be changed as it queries the size as expected. The writer method supports two paths(binary output .osgb and text output .osgt/.osgx). Only the text path is affected as the binary path writes the size.

    I extended the writer in the text path by the size information. The results before and after the fix are shown below:

    Erroneous code for binary shader in osgt file before fix:

    Data { 0a 0d 0 ... }

    Corrected code for binary shader in osgt file after fix:

    Data 524 { 0a 0d 0 ... }

    After my fix the the thrown error disappeared."

    Mon, 14 Feb 2011 13:50:14 +0000 Author : Robert Osfield ⚡️ From Jahannes Bauerle, "l discovered that the shader class(/src/osg/Shader.cpp) shows wrong behavior when using binary shaders . When shader objects are compared the reference pointer behind the _shaderBinary member is not included in the comparison.I included binary shaders into an osgt model file. These shaders only consists of the binary shader code, I did not supply the text version additionally. When loading the model the osg::Optimizer threw away all shaders except the first one. In the current trunk version of the file two shader objects are identical despite differing _shaderBinary members as the compare method of the Shader class does not include the comparison of that member.

    The fix in this submission adds the check for identity of the referenced binary shaders to the shader class.

    When comparing two shader objects with text source shaders the new lines of comparison are not even executed as the comparison returns false in the previous lines when the text shaders differ.

    ⚡️ With this fix I get expected behavior, the Optimizer handles the different shaders correctly."

    Mon, 14 Feb 2011 12:55:44 +0000 Author : Robert Osfield Set debug message to INFO

    Mon, 14 Feb 2011 12:54:21 +0000 Author : Robert Osfield 👍 From Michael Platings, I've added initial support to osg for glGetProgramBinary and glProgramBinary. This means that shader programs can now be cached to disk and later reloaded, which is much faster than linking shaders from source code. This should mean significantly shorter load times for people who use lots of combinations of shaders.

    Mon, 14 Feb 2011 12:14:36 +0000 Author : Robert Osfield 🛠 Fixed typo

    Fri, 11 Feb 2011 12:11:17 +0000 Author : Robert Osfield From Jean-Sebastien Guay, event handler for controlling the field of view of the viewer's camera using 0, - and = keys.

    Fri, 11 Feb 2011 11:08:00 +0000 Author : Robert Osfield ⚡️ Update ChangeLog

    Fri, 11 Feb 2011 09:18:36 +0000 Author : Robert Osfield ➕ Added check against the NodePath being empty.

    Thu, 10 Feb 2011 14:24:39 +0000 Author : Robert Osfield 👉 Tweak to output details

    Thu, 10 Feb 2011 14:09:04 +0000 Author : Robert Osfield ⚡️ Updated AUTHORS and Contributors.cpp files

    Thu, 10 Feb 2011 12:23:18 +0000 Author : Robert Osfield 🏗 From Martin von Gagern, build fix for latest ffmpeg changes

    Tue, 8 Feb 2011 14:36:15 +0000 Author : Robert Osfield ➕ Added const

    Mon, 7 Feb 2011 14:19:58 +0000 Author : Robert Osfield Implementated experimental reuse of PBO's after download

    Fri, 4 Feb 2011 12:43:00 +0000 Author : Robert Osfield Added support for enabling the assignment of PixelBufferObjects to loaded Images to aid the download of images to the GPU. Feature can be enabled/disabled (default) by setting the env : OSG_ASSIGN_PBO_TO_IMAGES to ON or OFF

    Fri, 4 Feb 2011 10:27:05 +0000 Author : Robert Osfield ➕ Added support for getting the current screen refresh rate using the XrandR extension.

    Thu, 3 Feb 2011 17:07:01 +0000 Author : Robert Osfield ♻️ Refactored NodeTrackerManipulator to use osg::ObserverNodePath rather than it's only local equivilant.

    Thu, 3 Feb 2011 14:27:50 +0000 Author : Robert Osfield ➕ Added call to GraphicsCostEstimator::calibrate.

    Thu, 3 Feb 2011 12:42:23 +0000 Author : Robert Osfield 🚚 Moved GraphicsCostEstimator ref pointer into osg::State

    Thu, 3 Feb 2011 12:22:09 +0000 Author : Robert Osfield 🚚 Moved GraphicsCostEstimator from osgUtil into core OSG library

    Wed, 2 Feb 2011 17:23:12 +0000 Author : Robert Osfield 🏗 From Jean-Sebastien Guay, build fix

    Wed, 2 Feb 2011 16:44:21 +0000 Author : Michael PLATINGS ⚡️ Updated information about the FBX SDK version

    Tue, 1 Feb 2011 18:12:59 +0000 Author : Robert Osfield From Sukender, "Vertices in DOUBLE PRECISION were not handled by Remapper classes. I added missing virtual methods."

    Tue, 1 Feb 2011 12:18:47 +0000 Author : Robert Osfield 🛠 Fixed the setting of the Drawable modes

    Tue, 1 Feb 2011 12:18:22 +0000 Author : Robert Osfield ➕ Added experimental timing and PBO usage into ICO+GCE classes

    Tue, 1 Feb 2011 12:17:40 +0000 Author : Robert Osfield 🛠 Fixed bug in PixelBufferObject constructor for the case when a null Image is passed in to it. Added extra checks for NULL buffer data.

    Mon, 31 Jan 2011 11:40:35 +0000 Author : Robert Osfield Ran: svn propset svn:eol-style native include// svn propset svn:keywords "Author Date Id Revision" include//

    Mon, 31 Jan 2011 11:35:50 +0000 Author : Robert Osfield svn propset svn:keywords "Author Date Id Revision" include/OpenThreads/*

    Mon, 31 Jan 2011 10:41:17 +0000 Author : Robert Osfield 💅 Set eol-style to native.

    Fri, 28 Jan 2011 14:24:30 +0000 Author : Robert Osfield 🚀 Temporarily disabled the cost estimate code for the 2.9.11 release

    Fri, 28 Jan 2011 13:54:44 +0000 Author : Robert Osfield 🔒 From Ulrich Hertlein, "I adapted the Cocoa implementation so that it reports the unmodified key and the modified key as requested. Can other OS X developers please test the attached file, to make sure it works for everybody?I fixed the problem with the caps-lock-key, too."

    Fri, 28 Jan 2011 12:34:49 +0000 Author : Robert Osfield 🛠 Fixed size of default font

    Fri, 28 Jan 2011 11:07:51 +0000 Author : Robert Osfield ⚠ From Per Fahlberg, warning fixes

    Fri, 28 Jan 2011 10:59:50 +0000 Author : Robert Osfield ✅ From Mathias Froehlich, "Driven by the last qfontimplementation changes, I realized, that I never contributed my testcase/demo for the original implementation. This attached change is similar to osgtext but uses the QFontImplementation in a Qt based viewer. With that, it should be easier for all of us to test changes in qfontimplementation"

    Fri, 28 Jan 2011 10:53:49 +0000 Author : Robert Osfield 👀 From Ulrich Hertlien, "the changes from r12126 (see below) in dae/domSourceReader.h cause compiler errors on OS X with gcc-4.2.1:In file included from 🔌 /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/daeRAnimations.cpp:3: 🔌 /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:43: error: explicit specialization in non-namespace scope 'class osgDAE::domSourceReader' 🔌 /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:45: error: explicit specialization in non-namespace scope 'class osgDAE::domSourceReader' 🔌 /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:47: error: explicit specialization in non-namespace scope 'class osgDAE::domSourceReader' 🔌 /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:49: error: explicit specialization in non-namespace scope 'class osgDAE::domSourceReader' 🔌 /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:51: error: explicit specialization in non-namespace scope 'class osgDAE::domSourceReader' ...

    🛠 The attached file fixes this."

    Fri, 28 Jan 2011 10:50:24 +0000 Author : Robert Osfield ✏️ From Mourad Boufarguine, "This is a tiny fix for some typos in osg code."

    Thu, 27 Jan 2011 18:49:22 +0000 Author : Robert Osfield 👍 From Andreas Roth, "simple fix to support quad buffer stereo in osgQt"

    Thu, 27 Jan 2011 17:14:28 +0000 Author : Robert Osfield From Eric Buehler, "I believe that the osgWidget::Window::HA_CENTER alignment should be center aligned rather than by the origin, as the osgWidget::Window::VA_TOP causes.The current setAnchorHorizontal() command doesn't center the center of the object, it just center's the object's origin. The following change to osgWidget::Window::update() will correct that behavior so that it is consistent with setAnchorVertical() behavior. "

    Thu, 27 Jan 2011 17:12:23 +0000 Author : Robert Osfield ✅ From Sukender, "I found the bug I was chasing! Here is my "twin" submission, from latest trunk rev: 12124.1. DAE submission: 🔌 DAE plugin now correctly writes images URI in Collada file, when images are used twice. I also greatly improved readability and maintenability of geometry reading (mainly daeRGeometry.cpp), by factorizing code, templatizing it (for double/single precision), and removing ugly macros.

    1. osgDB submission: ⚡️ I updated osgDB::getPathRelative(): it is now far more readable, it handles more cases (especially when you want to relativise "a/c" from "a/b", which results in "../c"), and I added comments to make it clearer to maintain."

    Thu, 27 Jan 2011 16:23:48 +0000 Author : Robert Osfield From Alexander Sinditskiy, "reason of this changes described in http://forum.openscenegraph.org/viewtopic.php?t=7596and another problem is: example osgkeyboard is not work (keys not highlight) if user have 2 keyboard layout native and english and current user layout is native

    I try to explain my changes

    we need something that is identify key without modifier keys and layout -> this is UnmodifedKey

    I think osg must have its own UnmodifiedKeys table. Code must be run same on different platforms. This can de guaranteed by UnmodifiedKeys table.

    Mikhail Izmestev helped me. He implemented VirtualKey changes in GraphicsWindowX11"

    Thu, 27 Jan 2011 09:41:37 +0000 Author : Robert Osfield ✂ Removed the executable property from source files

    Wed, 26 Jan 2011 18:47:55 +0000 Author : Robert Osfield Implement first pass at texture compile estimation

    Wed, 26 Jan 2011 16:47:40 +0000 Author : Robert Osfield ✅ Replaced CompileStats with GraphicsCostEstimator

    Wed, 26 Jan 2011 16:46:58 +0000 Author : Robert Osfield ⚠ From Mourad Biyfarguine, "This is a fix to some 'potentially uninitialized local variable' warnings in src/osg/glu/libutil/mipmap.cpp."

    Wed, 26 Jan 2011 16:45:36 +0000 Author : Robert Osfield 🏗 From Mathias Froehlich, build fix for Solaris

    Wed, 26 Jan 2011 16:10:42 +0000 Author : Robert Osfield 👀 From Wang Rui, "I've found a problem when using QFont (osgQt/QFontImplementation.cpp) to read fonts: only the first character of a whole text is correctly shown and others are disappeared. I haven't got into the font implementation so can't explain why this happened and how it should work under other platforms, but it seems to be fixed by specifying width and height of the glyph object. The source file is attached for future developments. At present it just works for my own project. :-) "

    Wed, 26 Jan 2011 12:51:46 +0000 Author : Robert Osfield 🚚 Moved GraphicsCostEstimator into osgUtil.

    Wed, 26 Jan 2011 12:07:56 +0000 Author : Robert Osfield Implemented first pass at geometry cost estimation.

    Tue, 25 Jan 2011 16:48:53 +0000 Author : Robert Osfield 🛠 Fixed warnings

    Tue, 25 Jan 2011 11:11:47 +0000 Author : Robert Osfield ✅ Further work on GraphicsCostEstimator classes

    Mon, 24 Jan 2011 21:12:25 +0000 Author : Robert Osfield 🏗 From Mathias Froehlich, build fixes

    Mon, 24 Jan 2011 20:45:02 +0000 Author : Robert Osfield ➕ Added osggraphicscost example as a base of for developing and testing the new osgUtil::GraphicsCostEsimator class.

    Mon, 24 Jan 2011 11:45:45 +0000 Author : Cedric Pinson From Michael Platings, Fix animation duration when adding channel to animation

    Fri, 21 Jan 2011 14:11:22 +0000 Author : Robert Osfield ➕ Added #include to fix build

    Fri, 21 Jan 2011 13:40:28 +0000 Author : Robert Osfield 👉 From Sukender, " DAE plugin was linking ORIGINAL images in the Collada file, using image->getName() as a path (even if images were modified in memory!). As the behaviour was not the one of other plugins (3DS, FBX, and such), I made the plugin relativise images filenames (as those plugins) and write the image which is in memory. However, in order to avoid removing features, I kept the previous behaviour but moved it in an option. Here are the options of the plugin I changed: - daeForceTexture was unclear in this new context and removed in favor of two new options - daeLinkOriginalTexturesNoForce: Writes reference to the original image if found, instead of writing the image in memory - daeLinkOriginalTexturesForce: Writes reference to the original image even if not found, instead of writing the image in memory Of course, if you specify no option, images are written as for other plugins.Other thing I changed is the UTF8 support as I told you in a previous conversation. Now there is a simple option, "daeNamesUseCodepage", which makes all names except filenames (materials, animation, geometries...) be considered as encoded using current codepage. If so, they'll be converted to UTF8 when writing; else they are written directly. Of course, filenames follow OSG_USE_UTF8_FILENAME as usual.

    I did "

    Fri, 21 Jan 2011 12:17:18 +0000 Author : Michael PLATINGS 🚚 From Sukender: I had to call code from the FBX plugin (to relativise paths). I thus extracted it from FBX and moved it in osgDB (FileNameUtils)

    Fri, 21 Jan 2011 11:46:15 +0000 Author : Robert Osfield From Sukender, getPathRelative() method.

    Thu, 20 Jan 2011 12:34:41 +0000 Author : Robert Osfield ➕ Added export to see if it address Mingw link problems

    Thu, 20 Jan 2011 12:32:20 +0000 Author : Robert Osfield 🔒 From Matthew Johnson-Roberson, "Small fix for operation thread to protect the access to _operations vector by functions getNumOperationsInQueue() and empty(). It is simply an addition of OpenThreads::ScopedLock<OpenThreads::Mutex> lock(_operationsMutex); to protect against accessing while writing which was segfaulting in VPB specifically in void ThreadPool::run(osg::Operation* op) in the waiting loopwhile (_operationQueue->getNumOperationsInQueue() >= _maxNumberOfOperationsInQueue) "

    Thu, 20 Jan 2011 12:27:51 +0000 Author : Robert Osfield ⚠ From Per Fahlberg, warning fixes

    Thu, 20 Jan 2011 12:23:04 +0000 Author : Robert Osfield 🔌 From Simon Julier, "I have been using the ply plugin to read files created by bundler and pmvs2 (http://grail.cs.washington.edu/software/pmvs/). This program generates models in the form of vertices only. However, the existing ply reader implementation was not able to handle the models generated in a satisfactory manner for two reasons:1. It did not support normals applied to individual vertices. 👍 2. It would only support red / green / blue colour triples, but the pmvs models are generated with diffuse colours. (The PLY format, http://local.wasp.uwa.edu.au/~pbourke/dataformats/ply/, lists specular and ambient colour forms as well.)

    To partially overcome these limitations, please find attached modified versions of

    🔌 src/osgPlugins/ply/vertexData.cpp 🔌 src/osgPlugins/ply/vertexData.h

    The changes I've made are:

    ⚠ 1. I have changed the boolean hasColor flag to a vertexField (which is a boolean operation on an enum) to indicate what fields are present in the ply file. (This is required because Turk's ply reader spits out warnings for every line where you try to read fields which do not exist.)

    1. I have modified the code to apply valid normals to either triangles or vertices. 👍 3. I have kludged in "support" for the various colour variants. Specifically, all the colour specified can be read from the file. However, they are all applied in the same way (namely as a colour array, bound to each vertex)."

    Wed, 19 Jan 2011 10:57:58 +0000 Author : Robert Osfield From Simon Julier, "I ran across linking errors with osgdb_exr. Specifically, I found it was necessary to link against libImlIlf, libImlThread, libHalf, libIex and libzip.I have attached a patch, against the trunk from 13:30 today, which consists of the following:

    1. CMakeModules/FindOpenEXR.cmake: Look for libIlmThread and libIex as well. 2. src/osgPlugins/CMakeList.txt: Only include the exr subdirectory if both the OpenEXR and zip libraries were found. 3. src/osgPlugins/exr/CMakeLists.txt: Add ZIP_LIBRARY to TARGET_EXTERNAL_LIBRARIES."

    Wed, 19 Jan 2011 10:38:39 +0000 Author : Robert Osfield From Sukender, normalized option names

    Wed, 19 Jan 2011 10:31:49 +0000 Author : Robert Osfield 🔌 From Sukender, "Added ability for writer to read from Vec3/4d/f. Plugin now warns if it finds another type of data"

    Wed, 19 Jan 2011 09:53:34 +0000 Author : Robert Osfield ⚡️ From Sukender, "Factorized the depth loop ("while ( lastDepth >= _nodePath.size() )...") into a method called updateCurrentDaeNode(). Added missing calls into apply(osg::LightSource &) and daeWriter::apply(osg::Camera &) and daeWriter::apply(osg::CameraView &)"

    Wed, 19 Jan 2011 09:36:21 +0000 Author : Robert Osfield 🛠 From Sukender, "Fixed ReaderWriterDAE::ConvertFilePathToColladaCompatibleURI(): It now handles paths containing '#' character as expected."

    Wed, 19 Jan 2011 09:34:26 +0000 Author : Robert Osfield From Sukender and Robert Osfield, clean up of options

    Tue, 18 Jan 2011 16:14:24 +0000 Author : Robert Osfield From Michael Platings, "I've attached a fix for a subtle bug that causes animations (and quite possibly other things) to be serialized incorrectly.For the following code:

    define MYMACRO(NAME) myOutputStream << #NAME;

    MYMACRO(Group)

    you would expect that "Group" would be output. However, as there are many overloaded operator<< functions, none of which take a const char* argument, the function that's actually called is operator<<(bool). Hence what actually gets output is "TRUE". An actual example of this is in serializers\osgAnimation\Animation.cpp, WRITE_CHANNEL_FUNC2.

    So the simple solution to this is to add operator<<(const char*), attached. "

    Tue, 18 Jan 2011 15:00:36 +0000 Author : Robert Osfield 🚚 Moved the StateSet query and texcoord settings to within the if (vertices) block to avoid an attempt to dereferences geometry->getStateSet() when non Geometry drawable is intersected.

    Tue, 18 Jan 2011 11:20:53 +0000 Author : Robert Osfield 🛠 Fixed CompileSet so it returns true when there is nothing to compile at all.

    Tue, 18 Jan 2011 09:54:47 +0000 Author : Robert Osfield 🏗 Build fix

    Mon, 17 Jan 2011 17:17:19 +0000 Author : Robert Osfield 👍 Implemented better coupling of DatabasePager and IcrementalCompileOperation, removing functional duplication and opening the door to dynamic enabling/disabling of pre compile based on load.

    Mon, 17 Jan 2011 09:10:14 +0000 Author : Robert Osfield ➕ Added getNum methods

    Sat, 15 Jan 2011 18:12:19 +0000 Author : Robert Osfield First steps on the path to integrating ImageProcessor

    Fri, 14 Jan 2011 14:30:19 +0000 Author : Robert Osfield 🔌 From Guy Volckaert, "Changes to the openflight plugin to support replacing double sided polygons by 2 opposite facing polygons. This is sometimes required to resolved lighting and intersection issues. A new import option was was added to activate this feature called "replaceDoubleSidedPolys".

    Fri, 14 Jan 2011 13:31:07 +0000 Author : Robert Osfield From Sukender, "- Lowered one notify level (it's now coherent with the "if" just above)"

    Fri, 14 Jan 2011 12:08:46 +0000 Author : Robert Osfield From Wang Rui, "I'd like to submit a small new feature to the osgmanipulator example which could fix the dragger size in screen, so that no matter how we zoom in/out the camera, the dragger will never be scaled.This is what 3D graphics software like 3dsmax and maya behave, which helps users select and manipulate draggers more easily.

    🛠 You may turn on the feature with the new --fixedDraggerSize argument: