Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: OpenSceneGraph…
Commits on Apr 26, 2011
  1. Release OpenSceneGraph-2.9.13

    Robert OSFIELD authored
  2. Updated ChangeLog and AUTHORS for 2.9.13 dev release

    Robert OSFIELD authored
  3. From Mattias Helsing, "Fixes two of the osgWidget examples that were …

    Robert OSFIELD authored
    …broken due to changed
    
    virtual function prototypes in osgWidget/EventInterface"
  4. From Craig Bosma,"Please find attached a fix for shared contexts on O…

    Robert OSFIELD authored
    …S 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".
    "
  5. From Farshid Lashkari, "I believe their is small error in how OutputS…

    Robert OSFIELD authored
    …tream 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."
Commits on Apr 21, 2011
  1. From Mattias Helsing, "Fixes installation of the osgViewer headers th…

    Robert OSFIELD authored
    …at got broken with rev
    
    12208 and 12231.
    
    The windowing system specific headers under
    include/osgViewer/api/<system> are again installed under
    include/osgViewer/api/<system>
    
    Works in recent ubuntu with cmake-2.8.4 and msvc2010 with cmake-2.8.2"
  2. From Johannes Baeuerele, "I have extended the pvr reader plugin to su…

    Robert OSFIELD authored
    …pport 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."
  3. From Marius Heise, "here is a patch that implements Win32 HW-synced s…

    Robert OSFIELD authored
    …wapping 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..."
  4. From Fred Smith, "GraphicsWindowWin32::setWindow currently creates a …

    Robert OSFIELD authored
    …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.
    "
  5. From Jorge Ciges, "1rst - Changes in Cmake: They make possible "make …

    Robert OSFIELD authored
    …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
    "
  6. From Cedric Pinson, "I have tried some model that produces crashes in…

    Robert OSFIELD authored
    … 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)) {...}
    "
  7. From Tomas Hogarth, "Attached are the complete changed files Graphics…

    Robert OSFIELD authored
    …WindowIOS 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.
    "
Commits on Apr 20, 2011
  1. From Sukender, Here is a tiny update to FileNameUtils. It brings getP…

    Robert OSFIELD authored
    …athRoot() and isAbsolutePath() to the public side of the lib.
  2. From Guillaume Taze, "This is a fix for the error popups which appear…

    Robert OSFIELD authored
    …ed 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.
  3. Added releaseGLObjects(State*) support into osg::FrameBufferObject, o…

    Robert OSFIELD authored
    …sg::RenderBin and osg::RenderStage
    
    to ensure proper clean up of FBO's on closing a graphics context.
Commits on Apr 19, 2011
  1. From Magnus Kessler, "A few minor fixes in the documentation strings …

    Robert OSFIELD authored
    …of ReaderWriterFLT.cpp"
  2. From Bradley Anderegg, "The first change just exposes the archive ext…

    Robert OSFIELD authored
    …ension 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."
  3. From Paul Martz, "To summarize the fix: OpenGL eye coords are negativ…

    Robert OSFIELD authored
    …e 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."
  4. From Jan Peciva, "please find attached proposed fix for ON_DEMAND ren…

    Robert OSFIELD authored
    …dering. 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.
    "
  5. Removed spaces from end of lines

    Robert OSFIELD authored
  6. Improved the handling of unitialized bounding box

    Robert OSFIELD authored
  7. Cleaned up example

    Robert OSFIELD authored
Commits on Apr 18, 2011
  1. Updated SO version number

    Robert OSFIELD authored
  2. Added IncrementalCompileOperation::compileAllForNextFrame(uint) metho…

    Robert OSFIELD authored
    …d and supporting
    
    functionality that  tell the IncrementalCompileOperation to compile all pending objects during next draw traversal,
    for specified number of frames.
Commits on Apr 14, 2011
  1. From Stephan Huber, "attached you'll find some enhancements for the i…

    Robert OSFIELD authored
    …phone-part of the readme."
  2. From Magnus Kessler, "The standard width for the windows cmd and term…

    Robert OSFIELD authored
    …inals 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."
  3. Cleaned up DXT1 support

    Robert OSFIELD authored
  4. Added IF (WIN32) around OSG_USE_UTF8_FILENAME

    Robert OSFIELD authored
  5. Added osgDB::Option string entries:

    Robert OSFIELD authored
            supportsOption("dds_dxt1_rgb","set the pixel format of DXT1 encoded images to be RGB");
            supportsOption("dds_dxt1_rgba","set the pixel format of DXT1 encoded images to be RGBA");
            supportsOption("dds_dxt1_detect_rgba","For DXT1 encode images set the pixel format according to presence of transparent pixels.");
    
    And set the default not to modify and detect the RGB or RGBA pixel format for DXT images.
  6. Added setting of the internal texture format

    Robert OSFIELD authored
Commits on Apr 13, 2011
  1. quitened down debug output

    Robert OSFIELD authored
  2. Introduced new code for detecting DXT1 images catogoriesed as RGB tha…

    Robert OSFIELD authored
    …t actually have a 1 bit alpha,
    
    therefore re-interpreting these as RGBA.
  3. Added handling of DXT1 in osg::Image::isImageTranslucent()

    Robert OSFIELD authored
Commits on Apr 11, 2011
Something went wrong with that request. Please try again.