Skip to content
Commits on Oct 10, 2012
Commits on Oct 9, 2012
  1. Removed the insert of requests in the ImageSequence::_filesRequested …

    Robert OSFIELD committed Oct 9, 2012
    …data structure so that it always requests files, leaving it up the ImagePager to decide to track duplicates
  2. From Wang Rui, "I modified the Serializer header to add a UPDATE_TO_V…

    Robert OSFIELD committed Oct 9, 2012
    …ERSION_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.
Commits on Oct 8, 2012
  1. From Wang Rui, "I've added CDATA tag support to XmlParser so that we …

    Robert OSFIELD committed Oct 8, 2012
    …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.
    :-)"
  2. Added a static_cast to avoid build issues under Windows

    Robert OSFIELD committed Oct 8, 2012
  3. Fixed warning

    Robert OSFIELD committed Oct 8, 2012
  4. From Aurelein Albert, "Under some Visual Studio configuration, I get …

    Robert OSFIELD committed Oct 8, 2012
    …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
    "
  5. From Gill Peacegood, "In the attached file I have changed the colour …

    Robert OSFIELD committed Oct 8, 2012
    …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."
  6. From Oren Fromberg, ""

    Robert OSFIELD committed Oct 8, 2012
    --This line, and thosAttached is an update to ReaderWriterDAE.cpp/h and daeReader.cpp/h that implements
    
    osgDB::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
  7. From James Athey, "I've attached a new osgDB ReaderWriter that can re…

    Robert OSFIELD committed Oct 8, 2012
    …ad 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)
    "
Commits on Oct 5, 2012
  1. Made TouchData and osg::Object to aid with serialization.

    Robert OSFIELD committed Oct 5, 2012
  2. Improved ImageSequence's handling of seek() and added a simply hack t…

    Robert OSFIELD committed Oct 5, 2012
    …o ImagePager to prevent the number of requests accumulating.
  3. From Stephan Huber and Robert Osfield, addded interactive setting of …

    Robert OSFIELD committed Oct 5, 2012
    …the ImageSequence::seek() based on the mouse x position.
  4. Added set methods to assist with serialization support

    Robert OSFIELD committed Oct 5, 2012
Commits on Oct 4, 2012
  1. From Stephan Huber, "attached you'll find a fix for Registry.cpp not …

    Robert OSFIELD committed Oct 4, 2012
    …using the QTKit-plugin for video-files. W/o this fix you had to preload the plugin to open movie-files."
Commits on Oct 2, 2012
  1. From Stephan Huber, OSX and iOS Video support via a QTKit plugin from…

    Robert OSFIELD committed Oct 2, 2012
    … OSX 10.7 and before, and an AVFoundation plugin for iOS and OSX10.8 and later.
Commits on Oct 1, 2012
Commits on Sep 28, 2012
  1. From Leigh Stivers, "We had this problem which shows up with nVidia's…

    Robert OSFIELD committed Sep 28, 2012
    … 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."
Commits on Sep 27, 2012
  1. From Thomas Hogarth, "Apple have decided in their eternal wisdom to d…

    Robert OSFIELD committed Sep 27, 2012
    …o 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"
Commits on Sep 26, 2012
  1. From Paul Martz, "This change to include/osg/GL correctly includes th…

    Robert OSFIELD committed Sep 26, 2012
    …e OpenGL header on OSX 10.7 when building OSG trunk for GL3. It also adds some CPP defines for compatibility."
Commits on Sep 25, 2012
  1. Changed dispatch to virtual

    Robert OSFIELD committed Sep 25, 2012
Commits on Sep 24, 2012
  1. From Frederic Bouvier, "fix PNG write for images with bits per compon…

    Robert OSFIELD committed Sep 24, 2012
    …ents different than 8 that was hard coded."
Commits on Sep 20, 2012
  1. From Aurelien Albert, "In the DXF plugin, DXF layers are decoded and …

    Robert OSFIELD committed Sep 20, 2012
    …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."
  2. From Luc Frauciel, Added sRGB FrameBuffer string

    Robert OSFIELD committed Sep 20, 2012
  3. From Vladimir Cheaev, "

    Robert OSFIELD committed Sep 20, 2012
    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.
    "
  4. From Farshid Lashkari, Added GLBeginEndAdapter::reset(), and _overall…

    Robert OSFIELD committed Sep 20, 2012
    …NormalAssigned, _overallColorAssigned flags to avoid the GLBeginEndAdapter adapter setting colour and normals when none has been assigned.
  5. From Ulrich Hertlein, "attached is a patch to src/osgViewer/CMakeList…

    Robert OSFIELD committed Sep 20, 2012
    …s.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."
  6. Added ReadQueue::size() method to help with debugging.

    Robert OSFIELD committed Sep 20, 2012
Commits on Sep 12, 2012
  1. Added handling of directory names in osgimagesequence commandline.

    Robert OSFIELD committed Sep 12, 2012
    From Stephan Huber, added support for controlling the ImageSequence seek position via mouse x position, toggled on/off via 'i' key.
  2. Added osgDB::getSortedDirectoryContents and osgDB::FileNameComparator…

    Robert OSFIELD committed Sep 12, 2012
    … to help with sorting directory contents into alphabetic and numerical order.
  3. Converted sorting of directory contents across to use the new osgDB::…

    Robert OSFIELD committed Sep 12, 2012
    …FileNameComparator and osgDB::getSortedDirectoryContents()
Commits on Sep 10, 2012
  1. Updated version after 3.1.3 dev release

    Robert OSFIELD committed Sep 10, 2012
Commits on Sep 7, 2012
  1. Updated ChangeLog for 3.1.3 dev release

    Robert OSFIELD committed Sep 7, 2012
  2. From Wojciech Lewandowski, "With current trunk I had an error while c…

    Robert OSFIELD committed Sep 7, 2012
    …ompiling osg/Image.cpp for IOS simulator / GLES2. Symbol GL_RGBA16 was missing. Adding #define GL_RGBA16 0x805B to Image header solves the problem. "
  3. Added setting of the input range of the event state based on the mast…

    Robert OSFIELD committed Sep 7, 2012
    …er cameras viewport.
Something went wrong with that request. Please try again.