Permalink
Commits on Oct 8, 2008
  1. Updated date

    robertosfield committed Oct 8, 2008
  2. Updated wrappers

    robertosfield committed Oct 8, 2008
  3. Replaced std::vector::insert with std::copy + back_inserter to avoid …

    …member template problems with sunos.
    robertosfield committed Oct 8, 2008
Commits on Oct 7, 2008
  1. From Jean-Sebastien Guay and Robert Osfield, added setDataVariance(os…

    …g::DYNAMIC) to avoid problems to optimization.
    robertosfield committed Oct 7, 2008
  2. Restoring Roger's original 2.0 factor as on review the later orthogra…

    …phic projection code
    
    doesn't require the position to be far out from the center to simulate an infinite light.
    robertosfield committed Oct 7, 2008
  3. From Roger James, "The light position is incorrectly calculated for s…

    …hadow casting scenes whose bounding box centre is not the origin. This is a one line fix.
    
    "
    robertosfield committed Oct 7, 2008
  4. From Wojciech Lewandowski and Robert Osfield, add CMake build option …

    …for controlling the Windows/NVidia multi-monitor workaround.
    robertosfield committed Oct 7, 2008
  5. Updated wrappers

    robertosfield committed Oct 7, 2008
  6. From Jean-Sebastirn Guay, "Inspired by the latest additions to the St…

    …atsHandler, here is my own addition. It's a graph that helps show the variation of the various stats over time. It's clearer than just having bars for the last 10 frames or so, IMHO, since 10 frames go by pretty fast...
    
    The graph is displayed "under" (behind) the normal bar chart you get when you press 's' twice. It doesn't hide the normal stats, you can still read them without any trouble, and that way, it doesn't take any more screen space. It starts from the left, and will scroll left when there is enough data to fill the screen width. The graph lines have the same colors we're used to (except I made the event color a bit bluer, so it's not exactly the same as the update color). A screen shot is attached.
    
    The lines get a bit confused when they're all overlapping at the bottom of the graph, but I think that's the least of our concerns (if they're all at the bottom of the graph - except FPS of course - then great!).
    
    The only thing I'm not very keen about is that to make things simple, I clamp the values to a given maximum. Right now, the maximums I have set are:
    
    * Frame rate: 100 fps (people have 60, 75, 85Hz refresh rates, so there's no one right value, but I think 100 is OK)
    * Stats: 0.016 seconds (what you need to get 60Hz minimum)
    
    This could be changed so that the scale of the graph changes according to the maximum value in the last screenful of the graph instead of clamping values. We would then need to display the scale for each value on the side of the graph, because if the scale changes, you need to know what it is at this moment.
    
    I tried to make things easy to change, so for example if you don't like that the graph is in the same space as the normal stats bars, it's easy to move it anywhere else, and make it have other dimensions. The maximums and colors are also easy to change.
    
    The impact on performance should be minimal, since it's one vertex per graph line that's added per frame, and vertices are removed when they scroll off the screen, so you'll never have more than say 1280 * (3 + ncameras) vertices on the screen at one time. No polygons, I used line strips. The scrolling is done with a MatrixTransform."
    robertosfield committed Oct 7, 2008
  7. From Colin McDonald, "Attached is an update to the dxf plugin which a…

    …dds rudimentary support for
    
    text entities.
    "
    robertosfield committed Oct 7, 2008
  8. Added the ability to release OpenGL objects in PagedLOD subgrphs that…

    … are no longer being rendered.
    robertosfield committed Oct 7, 2008
Commits on Oct 6, 2008
  1. Updated wrappers

    robertosfield committed Oct 6, 2008
  2. Ran dos2unix

    robertosfield committed Oct 6, 2008
  3. From Glenn Waldron, "osgTerrain::Locator::setTransformAsExtents() doe…

    …s not update the _inverse member. Fix attached.
    
    "
    robertosfield committed Oct 6, 2008
  4. Ran dos2unix on headers

    robertosfield committed Oct 6, 2008
  5. From Jason Beverage, "Attached is a fix for getTile in the Terrain cl…

    …ass. It should be checking for itr == _terrainTileMap.end() instead of itr != _terrainTileMap.end()."
    robertosfield committed Oct 6, 2008
Commits on Oct 3, 2008
  1. Moved the OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION definition into …

    …the Config.in rather use of -D define
    robertosfield committed Oct 3, 2008