- 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]
Note: the previous context refactor actually fixed the hitch/jiggling related issue.
#rb none
#ROBOMERGE-SOURCE: CL 10927742 via CL 10928149 via CL 10928154 via CL 10928161
#ROBOMERGE-BOT: (v626-10872990)
[CL 10928163 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]
- Add Chaos Cloth physics refresh, called when UI manipulators are used on collision volumes.
- Tidied up ChaosClothingSimulation.cpp to remove redundant function arguments.
- Bug fix: Shape constraints now have a version where it is not applied on all particles but only to the relevant instance.
[FYI] Jaco.VanDyk
#ROBOMERGE-SOURCE: CL 10869211 via CL 10869235 via CL 10869512 via CL 10869901
#ROBOMERGE-BOT: (v613-10869866)
[CL 10870583 by kriss gossart in Main branch]
#rnx
#rb none
#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)
[CL 10870549 by ryan durand in Main branch]
Move the cloth shared config creation responsability out of the Chaos Cloth simulation code to the points where clothing assets are loaded or created within the SkeletalMesh code.
Add shared cloth configs to the list of config classes returned by the cloth factories.
Set all Chaos Cloth default stiffness properties to 0.5.
Remove unused Chaos Cloth volume related properties.
Add a missing stiffness value setup to the bending element constraints.
#rb Jaco.VanDyk
#ROBOMERGE-SOURCE: CL 10812067 via CL 10812070 via CL 10812075 via CL 10812077
#ROBOMERGE-BOT: (v610-10636431)
[CL 10812081 by kriss gossart in Main branch]
Added a new migration path Nv Cloth config to Chaos Cloth config using the legacy config structure.
#rb Jaco.VanDyk
#ROBOMERGE-SOURCE: CL 10637234 via CL 10637527 via CL 10637594
#ROBOMERGE-BOT: (v609-10634694)
[CL 10637685 by kriss gossart in Main branch]
Create a new ClothingSimulationFactory function to get the definitive default factory, for whatever cloth factories are actually enabled.
Rework nv cloth/apex dependencies in the ClothingSystemRuntimeNv module to allow the move of the legacy components and common config elements to the common module.
Add legacy cloth asset and runtime components to the common module to allow legacy assets to be loaded in a Chaos simulation, even with nv cloth disabled.
Allow storage of several configs to coexist in the ClothingAsset object config map, with their names as the key.
Resurrect the cloth physical mesh data structure to avoid the UClass overhead.
Add migration functions and BaseEngine redirectors to keep backward compatibility with legacy cloth assets, and assets saved after Ryan's refactor.
#rb Benn.Gallagher, Jaco.VanDyk
#ROBOMERGE-SOURCE: CL 10634739 via CL 10634740 via CL 10634741
#ROBOMERGE-BOT: (v608-10590470)
[CL 10634742 by kriss gossart in Main branch]
Performance Improvements (Test Asset 980us -> 580us for test asset on test platform):
Removed unnecessary copies and buffer creation
Collapsed transform calculations
In place skinning function
Removed duplicate spring constraints
Moved critical functions to header files so that they can be inlined
Long Range Constraints are switched to iterate per constraint instead of per particle
Scoped Cycle counters added
#rb Benn.Gallagher
#[fyi] Ryan.Kautzman, Michael.Lentine, Benn.Gallagher, Kriss.Gossart
#[review]-10494959 [at]Benn Gallagher
#ushell-cherrypick of 10371495 by jaco.vandyk
#ROBOMERGE-SOURCE: CL 10515883 via CL 10515884 via CL 10515887
#ROBOMERGE-BOT: (v606-10482310)
[CL 10515889 by jaco vandyk in Main branch]
Also remove a bunch of unused get/set functions in the ClothMeshAdapter with unnecessary dependencies to the nv module.
#jira
#rb Benn.Gallagher, Jaco.VanDyk
#ROBOMERGE-SOURCE: CL 10318411 via CL 10318767 via CL 10318795
#ROBOMERGE-BOT: (v593-10286020)
[CL 10319252 by kriss gossart in Main branch]
- Chaos normal debug rendering now the correct way around for newly imported assets
- Dead code removed from ClothingMeshUtils
- Comments added in code when non default winding order is used for face normal calculations, giving opposite results (like calculation of barycentric coordinates)
#rb Kriss.Gossart
[FYI] Ryan.Kautzman, Michael.Lentine, Benn.Gallagher
[at]Kriss.Gossart
#ROBOMERGE-SOURCE: CL 10284819 via CL 10284820 via CL 10284821
#ROBOMERGE-BOT: (v591-10236483)
[CL 10284822 by jaco vandyk in Main branch]
[FYI] Benn.Gallagher, Jaco.VanDyk
#ROBOMERGE-SOURCE: CL 10005752 via CL 10005832
#ROBOMERGE-BOT: (v562-10004402)
[CL 10005847 by kriss gossart in Main branch]
#rb Benn.Gallagher
[FYI] Jaco.VanDyk
#ROBOMERGE-SOURCE: CL 9969464 via CL 9969468
#ROBOMERGE-BOT: (v560-9963197)
[CL 9969469 by kriss gossart in Main branch]
- Remove the related cvars
#rb Benn.Gallagher
[FYI] Ryan.Kautzman, Michael.Lentine, Kriss.Gossart
[at]Benn.Gallagher
#ROBOMERGE-SOURCE: CL 9890068 via CL 9890205
#ROBOMERGE-BOT: (v553-9872581)
[CL 9890240 by jaco vandyk in Main branch]
#rb none
#ROBOMERGE-OWNER: michael.lentine
#ROBOMERGE-AUTHOR: michael.lentine
#ROBOMERGE-SOURCE: CL 9374650 via CL 9374665
#ROBOMERGE-BOT: (v456-9359915)
[CL 9385990 by michael lentine in Main branch]