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
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
..
Include/Config First pass FBX -> Scene File conversion. (#1699) 5 years ago
Source [MeshOptimizer] Determine the original vertex index based on the position (#1562) 5 years ago
Tests [MeshOptimizer] Determine the original vertex index based on the position (#1562) 5 years ago
CMakeLists.txt [MeshOptimizer] Determine the original vertex index based on the position (#1562) 5 years ago
sceneprocessing_editor_files.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
sceneprocessing_editor_static_files.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
sceneprocessing_editor_tests_files.cmake [MeshOptimizer] Determine the original vertex index based on the position (#1562) 5 years ago
sceneprocessing_files.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
sceneprocessing_tests_files.cmake Final update copyright headers to reference license files at the repo root (#1693) 5 years ago