Since Chaos Cloth caches are now read in two places (SkeletalMeshComponentCacheAdapter and ClothComponentCacheAdapter), I created a few new structs to share code.
ClothingSimulationCacheData holds cache data that is read for the associated context.
ChaosClothingCacheSchema reads and writes cache data.
We need to write the ReferenceSpaceTransform as part of caching and then to read it back and set it.
Additionally, I'm now only writing the particles that have been simulated (namely other LOD particles will no longer be cached).
ChaosCache has been updated to be able to store named transforms (rather than just per-particle transforms)
Existing cloth caches will continue to work. They simply don't have the transform data.
#preflight 63f02662977ceed915637592
#rb michael.forot kriss.gossart
[CL 24318632 by Alex McAdams in ue5-main branch]
Renamed / deprecated master/slave terms at SkinnedMeshComponent and SkeletalMeshComponent (plus all the users)
#jira UE-158645, UE-158525, UE-158532
#review @thomas.sarkanen @john.vanderburg
#preflight 62ced88af324cee189e48d43
#tests Verified the properties transfer correctly after modifying them without the fix and loading the character with the component with the fix applied
#preflight 62cfc490c36afd11ef07c9ab
[CL 21088391 by jaime cifuentes in ue5-main branch]
#preflight 61f277cbaf74b68515c0bd64
#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18751911 in //UE5/Release-5.0/... via CL 18751924 via CL 18752067
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)
[CL 18752076 by andrew davidson in ue5-main branch]
Fixed check when blending curves when the required bones of linked anim instances were inconsistent with the main instance
This was caused by skeletal meshes streaming out setting the predicted LOD level without flagging required bones for recalculation, which meant that when a linked anim instance was created at a point where a LOD streamed out it could then build required bones at a different LOD to the main instance (e.g. main instance's required bones would be left at LOD 0, but linked instance's would be rebuilt at LOD 1).
Added accessors to the PredictedLODLevel and deprecated direct access to the member due to the potential for it to cause havoc if it is abused.
and
Prevent first-frame rendering issues when spawning LOD stripped skeletal meshes
#jira MH-3083
#jira UE-107627
#jira UE-78773
#jira FORT-354970
#jira FORT-345744
#jira FORT-355705
#rb Jurre.deBaare
[CL 15676600 by Thomas Sarkanen in ue5-main branch]
Adding a public member to USkeletalMesh class is now prohibed since it can break asynchronous operations that will be added next to this submit.
#rb danny.couture
#jira UEENT-3936
#rnx
[CL 14812920 by Alexis Matte in ue5-main branch]
[fyi] Gustav.Melich, Michael.Lentine
Merging CL 12116735
#ROBOMERGE-SOURCE: CL 12123731 via CL 12123732 via CL 12130734
#ROBOMERGE-BOT: (v659-12123632)
[CL 12130926 by kriss gossart in Main branch]
- Move teleport property from the nv cloth context to the common cloth context.
- Fix Chaos Cloth particle and collision particle initializations.
[FYI] Jaco.VanDyk
#ROBOMERGE-SOURCE: CL 10944730 via CL 10944735 via CL 10945108 via CL 10945131
#ROBOMERGE-BOT: (v632-10940481)
[CL 10945155 by kriss gossart in Main branch]
- Move the IClothingSimulation and IClothingSimulationContext definitions from ClothingSimulation.h/cpp to ClothingSimulationInterface.h/cpp files to make place for the FClothingSimulationCommon definitions.
- Move common simulation and context implementation from the ClothingSystemRuntimeInterface to the ClothingSystemRuntimeCommon module.
- Merge common code used in Nv and Chaos cloth simulations, and remove duplicated code where possible.
- Move specific FillContext behaviors out of the base simulation class and into the context subclasses.
#rb Benn.Gallagher
[FYI] Jaco.VanDyk
Merge: CL 10878385, CL10879173
Release-11.40-Chaos -> Release-12.00
#ROBOMERGE-SOURCE: CL 10879538 via CL 10879553 via CL 10879562
#ROBOMERGE-BOT: (v626-10872990)
[CL 10880533 by kriss gossart in Main branch]