Commit Graph

56 Commits

Author SHA1 Message Date
tyson brochu
b0ac3e41bf ClothEditor:
- replace the dummy 3D preview mesh with a SkeletalMeshComponent
- when a tool finishes operating on the rest-space mesh, set the SkeletalMesh's sim mesh from the result
- add a ClothEditor3DViewportClient to render the sim mesh using debug render
- remove dead code relating to background visualization copied from the UV editor

#rnx
#rb rinat.abdrashitov
#preflight 6227bc65a8370672876134b5
#preflight 6227c194c653e7ef9f5996ed

[CL 19310475 by tyson brochu in ue5-main branch]
2022-03-08 15:57:01 -05:00
michael lentine
74d44fbdf8 Chaos Cloth - Make the number of iteration frame rate dependent and add a new MaxIterations property to the cloth shared config.
#rb Kriss.Gossart
#jira UE-140723
#preflight 62153d857a4932edb20fac50

#ROBOMERGE-AUTHOR: michael.lentine
#ROBOMERGE-SOURCE: CL 19079258 in //UE5/Release-5.0/... via CL 19094794
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19137276 by michael lentine in ue5-main branch]
2022-02-24 20:52:58 -05:00
kriss gossart
4c2cc665c8 Chaos Cloth - Add environmental collision support.
#rb Cedric.Caillaud
#jira nojira
#preflight 61b099e8e0430ca4388f1322

#ROBOMERGE-AUTHOR: kriss.gossart
#ROBOMERGE-SOURCE: CL 18404800 in //UE5/Release-5.0/... via CL 18404808
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v896-18170469)

[CL 18404817 by kriss gossart in ue5-release-engine-test branch]
2021-12-08 07:57:27 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
kriss gossart
0ccfc6d630 Chaos Cloth - Significantly reduce the cloth initialization hitch by caching the Long Range Attachment tether calculations. Move the tether code to its own files inside the cloth common runtime module.
Cloth - Tidy up ClothingAsset and ClothPhysicalMeshData to allow for more cloth data caching.

#rb Benn.Gallagher, Cedric.Caillaud, Michael.Forot
#preflight 16823444

#ROBOMERGE-SOURCE: CL 16882246 via CL 16913004
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16913040 by kriss gossart in ue5-release-engine-test branch]
2021-07-21 14:54:22 -04:00
zousar shaker
d55f79222e Wrapped ObjectPtr upgrade refresh for Engine + ShooterGame
#rb none
#preflight 60f6411c35476b00018dd12c

#ROBOMERGE-SOURCE: CL 16892864 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16892876 by zousar shaker in ue5-release-engine-test branch]
2021-07-20 00:24:38 -04:00
aurel cordonnier
25a11deeac Merge from Release-Engine-Staging @ 16579919
This represents UE4/Main @ 16579691 and Dev-PerfTest @ 16579576

[CL 16581170 by aurel cordonnier in ue5-release-engine-test branch]
2021-06-07 20:09:45 -04:00
cedric caillaud
851d4b474e Fix broken rendering of cloth when running with LWC on
- changed FClothSimulData to use FVector3f array types
- adjusted the various API to take the FVector3f arrays
- changed GPUSkinCache to also use FMatrix44f instead of FMatrix in various places

#rb andrew.davidson
[FYI] kriss.gossart
#jira UE-113937

#ROBOMERGE-SOURCE: CL 16314362 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v804-16311228)

[CL 16314374 by cedric caillaud in ue5-release-engine-test branch]
2021-05-13 12:29:40 -04:00
Andrew Davidson
3ddc3a4da3 Merge up from //UE5/Dev-LargeWorldCoordinates
#rb none

[CL 16211417 by Andrew Davidson in ue5-main branch]
2021-05-05 15:07:25 -04:00
Marc Audy
01b7c9f4f5 Merge UE5/RES @ 15958325 to UE5/Main
This represents UE4/Main @ 15913390 and Dev-PerfTest @ 15913304

[CL 15958515 by Marc Audy in ue5-main branch]
2021-04-08 14:32:07 -04:00
Marc Audy
0cbbc781ca Merge UE5/Release-Engine-Staging @ 15740152 to UE5/Main
This represents UE4/Main @ 15709114

[CL 15740605 by Marc Audy in ue5-main branch]
2021-03-18 15:20:03 -04:00
Marc Audy
8f73cd7fa9 Merge UE5/Release-Engine-Staging @ 15630841 to UE5/Main
This represents UE4/Main @ 15601601

[CL 15631170 by Marc Audy in ue5-main branch]
2021-03-05 19:27:14 -04:00
Marc Audy
9753392e2b Merge UE5/RES CL# 15462083 to UE5/Main
This represents UE4/Main @ 15414221

[CL 15463811 by Marc Audy in ue5-main branch]
2021-02-18 18:13:28 -04:00
kriss gossart
73ae6c8a56 Chaos Cloth - Add a warning message in the Mesh Editor viewport for when the simulation has lost all impulses because of running slow and being teleported. [Merging CL 14479886]
#jira none
#rb none

[CL 14496351 by kriss gossart in ue5-main branch]
2020-10-14 15:28:11 -04:00
kriss gossart
7a777cf2dc Chaos Cloth - LOD/graph node refactor.
- Add multi LOD support.
- Add simulation Mesh, Cloth, Collider, and Solver graph node ready classes.
- Fix backstop, and improve backstop debug draw.
- Add Anim debug draw.
- Output cloth sim data in local space.

#jira UESP-3283
#fyi Chris.Caulfield, Michael.Lentine
#rb none

[CL 14112532 by kriss gossart in ue5-main branch]
2020-08-14 06:18:22 -04:00
kriss gossart
472e8e3e8f Cloth - Add cloth info functions to the Clothing Simulation Interactor to make them accessible from blueprint.
Chaos Cloth - Implement GetNumSubteps() and GetNumIterations().

#rb none

#ROBOMERGE-SOURCE: CL 13170122 via CL 13170124 via CL 13170125
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v688-13145358)

[CL 13170126 by kriss gossart in Main branch]
2020-05-05 06:21:06 -04:00
kriss gossart
79f5f5fdf1 Chaos Cloth - Add particle counts and simulation time to the cloth editor's viewport HUD.
#rb none

#ROBOMERGE-SOURCE: CL 12976637 via CL 12976658 via CL 12976672
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v682-12900288)

[CL 12976681 by kriss gossart in Main branch]
2020-04-22 12:38:41 -04:00
Lina Halper
44c1bb3292 COPY from //Dev-Anim to //Dev-Main
#rb: none
#fyi: Laurent.Delayen, Thomas.Sarkanen

[CL 11088765 by Lina Halper in Main branch]
2020-01-22 17:58:55 -05:00
robomerge
40ea74b2ac Chaos Cloth - Makes the Clothing Simulation Interactor a BP class to replace types of otherwise Nv specific variables.
#rb none


#ROBOMERGE-SOURCE: CL 11082886 via CL 11082887 via CL 11083752 via CL 11084116
#ROBOMERGE-BOT: (v637-11041722)

[CL 11084418 by robomerge in Main branch]
2020-01-22 13:24:57 -05:00
kriss gossart
957074871e Chaos Cloth - Fix clothing interactor and Chaos Cloth simulation to allow for in game change of gravity.
#rb none


#ROBOMERGE-SOURCE: CL 11076423 via CL 11076445 via CL 11076452 via CL 11076464
#ROBOMERGE-BOT: (v637-11041722)

[CL 11076477 by kriss gossart in Main branch]
2020-01-21 15:51:54 -05:00
kriss gossart
c6c3bac263 Chaos Cloth - Refactor the cloth simulation and context classes.
- 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]
2020-01-06 12:54:08 -05:00
kriss gossart
f193178f83 Chaos Cloth - Add live editing for cloth property changes.
- 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]
2019-12-26 15:30:43 -05:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#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]
2019-12-26 14:45:42 -05:00
kriss gossart
67d91b99a0 Add a calibrated Chaos Cloth parameter migration from existing Nv Cloth configs.
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]
2019-12-19 13:11:29 -05:00
kriss gossart
a18007f52d Move common clothing asset functionalities to ClothingSystemRuntimeCommon to enable Chaos Cloth authoring.
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]
2019-12-10 05:02:44 -05:00