Commits on Jun 29, 2008
  1. Changed the Optimizer::StateVisitor so that it can individually decid…

    …e whether
    to optimize away duplicate state with dynamic, static and unspecified DataVarience.  By default
    the code now optimizes away duplicate state with either static and unspecied state, previously 
    it was just handling static state.
    robertosfield committed Jun 29, 2008
Commits on Jun 28, 2008
  1. Added realize of new graphics contexts to handle new views being adde…

    …d with
    unrealized windows
    robertosfield committed Jun 28, 2008
Commits on Jun 27, 2008
  1. Changed back to use an std::vector<> rather than a std::list for Requ…

    …estQueue to
    avoid member template problems under Solaris.
    robertosfield committed Jun 27, 2008
  2. Refactored the sort of the requestQueue so that there is single code …

    …path for doing the sort.
    robertosfield committed Jun 27, 2008
  3. From Mathias Froehlich, "Update to the configure check for msvc 7.1.

    MemoryBarrier() is used in the implementation, so it should be checked.
    This in effect disables the faster atomic ops on msvc 7.1 and older, even if
    only the MemoryBarrier() call is missing. But it ensures for the fist cut
    that it will build everywhere. If somebody cares for msvc 7.1 enough and has
    one for testing installed, he might provide the apropriate defines to guard
    that MemoryBarrier() call.
    I tested that msvc8 32/64bit still passes the configure tests and compiles.
    robertosfield committed Jun 27, 2008
  4. Simplified the MixinVector class so that it no longer supports custom…

    … allocators,
    instead just uses std::vector<>'s default allocators.
    robertosfield committed Jun 27, 2008
  5. Moved the apply(&) default implementations from the header into the N…

    and changed the casts to use static_cast<>.
    robertosfield committed Jun 27, 2008
  6. from Stephan Huber: updated XCode project

    Stephan Maximilian HUBER committed Jun 27, 2008
  7. From Andre Normann, "with version 8504, I am not able to compile osgw…

    …rappers under Windows, because there are some DLL export macros missing. I fixed it and put the files in the attached zip file.
    robertosfield committed Jun 27, 2008
Commits on Jun 26, 2008
  1. Updated ChangeLog

    robertosfield committed Jun 26, 2008
  2. Updated wrappers

    robertosfield committed Jun 26, 2008
  3. From Paul Martz, "The method IntersectionVisitor::apply(osg::PagedLOD…

    …&) appears to attempt to identify a "highest res" child of the PagedLOD and only allow intersection on that child. The implementation appears to be flawed in two cases:
    1) The "highest res" child is assumed to be the child with index "getNumFileNames()-1" or "getNumChildren()-1". As a result, PagedLODs that do not sort children from furthest to nearest will intersect with the wrong child. (see attached "case1.osg" to reproduce this problem.)
    2) The code assumes there is only one highest res child. As a result. PagedLODs with multiple children at the same highest res range can only intersect one of those children. ("case2.osg" demonstrates this issue; you can only pick the quad on the right.)
    I've attached a modified IntersectionVisitor.cpp that attempts to resolve these issues. It identifies a highest res range based on the range mode, then continues traversal on all valid children corresponding to that range description. Only in the case of a malformed PagedLOD does the code fall back to getting the last child in the list.
    robertosfield committed Jun 26, 2008
  4. From Morten Haukness, "When cloning effects osg crashes because the c…

    …opy constructur tries to run av pure virtual method (setUpEmitterAndProgram). The right thing to do when cloning an effect is to run the inherited version og buildEffect and setUpEmitterAndProgram.
    robertosfield committed Jun 26, 2008
  5. Changed the removeCamera() method so that it now actively calls relea…

    on all children of a camera that aren't shared with other cameras on that context.
    This change fixes problems with allocating and deleting views.
    robertosfield committed Jun 26, 2008
  6. From Mathias Froehlich, added do not edit comments to so th…

    …at the autogenerated
    Config files have an appropriate warning notice
    robertosfield committed Jun 26, 2008
  7. From Mathias Froechlich, "Attached is a change to that atomic stuff t…

    …o move the win32, msvc
    implementation of the atomic increment and decrement into a implementation
    This way inlining and compiler optimization can no longer happen for these
    implementations, but it fixes compilation on win32 msvc targets. I expect
    that this is still faster than with with mutexes.
    Also the i386 gcc target gets atomic operations with this patch. By using an
    implementation file we can guarantee that we have the right compiler flags
    robertosfield committed Jun 26, 2008
Commits on Jun 23, 2008
  1. Fixed pedantic warning

    robertosfield committed Jun 23, 2008
  2. From Mathias Froehlich, "fixed win32/win64 configure check and win32/…

    atomic related compile failures with msvs2005. Attached changes to make win32
    really use the atomic stuff. There are pointer typecast problems and some
    historic alignment restrictions that I just took from a previous similar
    implementation of mine without looking deep enough. "
    robertosfield committed Jun 23, 2008
  3. From Mathieu Marache, "Suibject: CMakeList ADD_DEFINITION for CMAKE_D…

    …EBUG_POSTFIX broken
    This corrects the build for the CMake 2.4 and 2.6 series
    The error was in compiling osgDB/Registry.cpp
    robertosfield committed Jun 23, 2008
  4. Commented out the explict install of the Config files as including th…

    …ese files into
    the header list allows the normal Cmake install support to install them.
    robertosfield committed Jun 23, 2008
  5. From Eric Sokolowsky, "I have made a number of changes intended to ge…

    …t a few things working better on OSX. However, since I'm still pretty new at Mac development and cmake I'm not entirely certain that the changes I have made are benign on other platforms. I have tested these changes on Leopard with CMake 2.6 generating Xcode 3.0 projects, compiling on ppc and i386 for 10.5 and 10.4, and on Linux (CentOS) and everything still seems to work ok. Here are the changes I made (against OSG svn as of this afternoon):
    - Added osgviewerCocoa example to APPLE builds
    - Fixed corrupt Xcode project generation with CMake 2.6 dealing with ADD_DEFINITIONS and CMake Policy CMP0005 on Leopard
    - Resolved CMP0006 warning for examples and programs by setting BUNDLE DESTINATION to same as RUNTIME DESTINATION with CMake 2.6
    - Fixed freetype plugin on Leopard to avoid OpenGL linking problem
    - Figured out how to use a custom Info.plist included in the project (see osgviewerCocoa application CMakeLists.txt)"
    robertosfield committed Jun 23, 2008
  6. From Stephan Huber: added missing config files and updated xcode-project

    Stephan Maximilian HUBER committed Jun 23, 2008
Commits on Jun 21, 2008
  1. Quietened down debug info

    robertosfield committed Jun 21, 2008
Commits on Jun 20, 2008
  1. Changed the include/osg/Config and include/OpenThreads/Config referen…

    …ces to use the assocaited CMake variable for these headers
    robertosfield committed Jun 20, 2008
  2. Updated ChangeLog

    robertosfield committed Jun 20, 2008