Files
UnrealEngineUWP/Engine/Source/Runtime/ClothingSystemRuntimeCommon
Alex McAdams 855ad419c0 ClothCollection Schema rework. Existing cloth assets will be emptied, but their associated Dataflow graphs and nodes are still valid (with the exception of AddWeightMapNodes which need to be repainted because indexing has changed).
The topline changes are:

* No more Lods in the collection. Instead, have one collection per Lod in the ClothAsset.
* Separate SimPatterns and RenderPatterns. SimPattern = contiguous 2D island. RenderPattern = SkeletalMeshSection (single material)
* Separate 2D and 3D sim vertices. 2D vertices are unwelded patterns. 3D vertices are welded. Welding and bookkeeping is handled by the new FCollectionClothSeamFacade
** Most sim vertex data live on 3D vertices since that is how they will be consumed by the solver.
** Weight maps live on 3D vertices. Cloth paint tool has been updated to show welded 2D values changing together when in 2D mode.
* Tethers are now stored on their dynamic node as SimVertex3D data. They are batched at the end when generating the final asset. (This is because seaming after tether creation could generate invalid batches)

Callouts for a few features NOT included in the CL that will need to be done in the future. They were not implemented in the previous version either, so no loss of functionality, but they need to be implemented for completeness:
* SkeletalMeshImport as sim mesh. We're now requiring that SimPatterns are 2D islands, so need to possibly generate multiple SimPatterns.
* Multiple LODs not fully supported. Missing Up and Down transition data as well as handling property collection per LOD at the solver level.

Features not implemented because we lack DataflowNodes to make these construction changes, but will need to be implemented
* Ability to remove seams and split the associated 3D vertices.
* Cleanup/compactify 2D and 3D sim vertices if only 2D or only 3D vertices are removed.

#preflight 6470edd7da61f7b079459e52
#rb kriss.gossart

[CL 25783019 by Alex McAdams in ue5-main branch]
2023-06-03 19:33:19 -04:00
..