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/NvCloth/Code/Source/Pipeline/SceneAPIExt
Chris Burel 24740b3f86
Update the cloth rule to look for optimized meshes (#2737)
The cloth rule stores the name of a mesh node that is used to retrieve
cloth data from. However, at asset processing time, the model builder
switches things to look for the optimized version of a mesh. The cloth
rule was not doing this, so it would return the cloth data for the
unoptimized mesh. This resulted in the final mesh having some data from
the optimized mesh and cloth data from the non-optimized mesh.

This changes the cloth rule to use the optimized version of a mesh, if
it exists, and fall back to the unoptimized mesh when it does not exist.

This closes issue 2454.

Signed-off-by: Chris Burel <burelc@amazon.com>
4 years ago
..
ClothRule.cpp Update the cloth rule to look for optimized meshes (#2737) 4 years ago
ClothRule.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ClothRuleBehavior.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ClothRuleBehavior.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago