Changes between Version 1 and Version 2 of Support/UserGuides/OptimizerOptions

Show
Ignore:
Timestamp:
03/27/10 12:09:41 (5 years ago)
Author:
timoore33 (IP: 90.55.148.134)
Comment:

Describe new mesh optimizations

Legend:

Unmodified
Added
Removed
Modified
  • Support/UserGuides/OptimizerOptions

    v1 v2  
    221221pushing down the transforms to the geometry leaves of the scene graph, but with the difference that any subgraphs that are shared between different transforms of duplicated and flatten individually. 
    222222This results in more static transforms being removed, but also means that more data is generated, and as a result may not always be the most appropriate flatten visitor to use. 
     223 
     224== INDEX_MESH == 
     225 
     226INDEX_MESH transforms polygonal geometry into an indexed triangle mesh with shared vertex attributes. Quads, triangle strips, triangle fans, and polygons are replaced by triangles. The result is in the !DrawElements form that stores indices into arrays of vertex attributes. This optimization can reduce the storage space of a mesh and collapse several primitive sets into one. 
     227 
     228== VERTEX_POSTTRANSFORM == 
     229 
     230Optimize the order of triangles in a !DrawElements mesh to reduce cache misses in the GPU post-transform cache. This can significantly improve rendering time; see [http://shiny-dynamics.blogspot.com/2010/03/vertex-cache-optimization-for-osg.html this blog entry] for details. 
     231 
     232== VERTEX_PRETRANSFORM == 
     233 
     234Change the order of vertex attributes to reflect their first use in the triangles of a mesh so that vertices that are used in early triangles come first in the vertex attribute arrays. This optimizes cache misses in the GPU pre-transform cache. This optimization should usually be run together with VERTEX_POSTTRANSFORM.