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
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
..
Config FBX -> Scene, part 2. Code changes, file renames (#1704) 5 years ago
Generation/Components [MeshOptimizer] Determine the original vertex index based on the position (#1562) 5 years ago
Platform/Linux Final update copyright headers to reference license files at the repo root (#1693) 5 years ago
SceneBuilder First pass FBX -> Scene File conversion. (#1699) 5 years ago
SceneProcessingModule.cpp FBX -> Scene, part 2. Code changes, file renames (#1704) 5 years ago
SceneProcessingModule.h FBX -> Scene, part 2. Code changes, file renames (#1704) 5 years ago
SceneProcessingModuleStub.cpp Final update copyright headers to reference license files at the repo root (#1693) 5 years ago