You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Gems/SceneProcessing/Code/Source/Generation/Components/MeshOptimizer
Chris Burel ef1f95f1d0
[MeshOptimizer] Determine the original vertex index based on the position (#1562)
* Determine the original vertex index based on the position

The Assimp library does not expose the FBX control point indices. This
change causes vertices that are close enough in their position to be
considered as coming from the same control point. This allows the mesh
optimizer to consider vertices with the same control point index (or
"original vertex index" as it is called in the code) for deduplication.

Signed-off-by: Chris Burel <burelc@amazon.com>

* Use a filter view instead of reimplementing a filter view

Signed-off-by: Chris Burel <burelc@amazon.com>

* Don't attempt to weld similar vertices if there's blendshapes

Signed-off-by: Chris Burel <burelc@amazon.com>

* Add test for the mesh optimizer's ability to weld nearby vertices

Signed-off-by: Chris Burel <burelc@amazon.com>

* Add logging call to show mesh optimizer effect on vertex count

Signed-off-by: Chris Burel <burelc@amazon.com>

* Use a bunch of temporaries in order to make `position` `const`

Signed-off-by: Chris Burel <burelc@amazon.com>
5 years ago
..
Array2D.h Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
Array2D.inl Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
MeshBuilder.cpp Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
MeshBuilder.h Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
MeshBuilderInvalidIndex.h Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
MeshBuilderSkinningInfo.cpp Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
MeshBuilderSkinningInfo.h Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
MeshBuilderSubMesh.cpp Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
MeshBuilderSubMesh.h Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
MeshBuilderVertexAttributeLayers.cpp Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
MeshBuilderVertexAttributeLayers.h Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
MeshOptimizerComponent.cpp [MeshOptimizer] Determine the original vertex index based on the position (#1562) 5 years ago
MeshOptimizerComponent.h Final update copyright headers to reference license files at the repo root (#1693) 5 years ago