Show
Ignore:
Timestamp:
03/10/09 15:15:59 (5 years ago)
Author:
robert
Message:

From Roland Smeenk, "While working on the Collada plugin I noticed that all geometry created by the dae reader result in slow path geometry.
Because there already exists the option to convert slow path geometry to the fast path by computing an internal fast path alternative, I added a new optimizer option that automatically does this. To check the results I also made some changes to the statistics gathering and rendering.

Somewhat unrelated, but also part of the optimizer I disabled removal of CameraView? nodes during RemoveRedundantNodes? optimization.
As discussed on the ML, CameraViews? were removed from the scenegraph. This solves that issue.

Summary:
-Geometry::areFastPathsUsed now also looks at internalOptimizedGeometry
-Added Optimize option to make all slow path geometry compute their internal fast path alternative
-Added fast geometry counter to the statistics
-Disabled removel of CameraViews? in optimizer
"

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgUtil/Statistics

    r9552 r9886  
    202202    unsigned int _numInstancedDrawable; 
    203203    unsigned int _numInstancedGeometry; 
     204    unsigned int _numInstancedFastGeometry; 
    204205    unsigned int _numInstancedStateSet; 
    205206 
     
    211212    DrawableSet _drawableSet; 
    212213    DrawableSet _geometrySet; 
     214    DrawableSet _fastGeometrySet; 
    213215    StateSetSet _statesetSet; 
    214216