change optimizer options for models
Tristrips are old and busted, index meshes are the new hotness :)
This commit is contained in:
parent
87676fad4d
commit
b2a6cdec4e
@ -314,7 +314,9 @@ OptimizeModelPolicy::OptimizeModelPolicy(const string& extension) :
|
|||||||
_osgOptions(Optimizer::SHARE_DUPLICATE_STATE
|
_osgOptions(Optimizer::SHARE_DUPLICATE_STATE
|
||||||
| Optimizer::MERGE_GEOMETRY
|
| Optimizer::MERGE_GEOMETRY
|
||||||
| Optimizer::FLATTEN_STATIC_TRANSFORMS
|
| Optimizer::FLATTEN_STATIC_TRANSFORMS
|
||||||
| Optimizer::TRISTRIP_GEOMETRY)
|
| Optimizer::INDEX_MESH
|
||||||
|
| Optimizer::VERTEX_POSTTRANSFORM
|
||||||
|
| Optimizer::VERTEX_PRETRANSFORM)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user