Commit Graph

72 Commits

Author SHA1 Message Date
zousar shaker
836bd0854d Automated search-and-replace pass to change uses of UE_TRANSITIONAL_OBJECT_PTR(Type) to TObjectPtr<Type>.
There were two instance of the type being incorrect and they were manually fixed.

#rb none

#ROBOMERGE-AUTHOR: zousar.shaker
#ROBOMERGE-SOURCE: CL 17472048 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17472069 by zousar shaker in ue5-release-engine-test branch]
2021-09-09 10:07:44 -04:00
aurel cordonnier
7f517562d5 Merge from Release-Engine-Staging @ 17438845 to Release-Engine-Test
This represents UE4/Main @17430120 and Dev-PerfTest @17437669

[CL 17439044 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-06 12:23:53 -04:00
kriss gossart
33cc9afb6b Chaos Cloth - Fix max distance kinematic threshold issues detected in debug builds.
#rb Michael.Forot
#jira UE-124926
#preflight 612f8e56677f0e00018d1a0a

#ROBOMERGE-SOURCE: CL 17400220 via CL 17400775
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17400781 by kriss gossart in ue5-release-engine-test branch]
2021-09-02 07:07:11 -04:00
tyson brochu
d244f00c7e Cloth wrap deformer: test cubic solver roots vs distance to the original triangles, so as to avoid large roots.
#jira UE-121023
#rnx
#preflight 61251366ba9f0e0001a655ac

#ROBOMERGE-SOURCE: CL 17288747 via CL 17288754
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v861-17282326)

[CL 17288764 by tyson brochu in ue5-release-engine-test branch]
2021-08-24 12:37:14 -04:00
tyson brochu
b8d442d63d Cloth wrap deformer:
- use face-average vertex normals when computing wrap weights
- check cubic function extrema for near-double-roots

#jira UE-121023
#rnx
#rb david.hill kriss.gossart halfdan.ingvarsson
#pf 611fe2b65e7372000136a47e

#ROBOMERGE-SOURCE: CL 17250770 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17250773 by tyson brochu in ue5-release-engine-test branch]
2021-08-20 14:31:57 -04:00
kriss gossart
da5f178d56 Chaos Cloth - Fix/skip tether generation when there isn't any kinematic nodes.
#rb trivial

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

[CL 16920946 by kriss gossart in ue5-release-engine-test branch]
2021-07-22 01:01:05 -04:00
kriss gossart
876757f06e Cloth - Fix erroneous Max operation between bool and float on self-collision radius.
#rb trivial

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

[CL 16916282 by kriss gossart in ue5-release-engine-test branch]
2021-07-21 18:02:50 -04: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
tyson brochu
56940bf4e4 Fix an ensure that will always fire
#rnx
#rb jimmy.andrews
#jira UE-118988

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

[CL 16781242 by tyson brochu in ue5-release-engine-test branch]
2021-06-24 22:48:33 -04:00
tyson brochu
01946a82b6 Fix bad merge
#rb
#rnx

#ROBOMERGE-SOURCE: CL 16766193 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16766207 by tyson brochu in ue5-release-engine-test branch]
2021-06-23 19:53:27 -04:00
tyson brochu
c1f8607a78 ClothingMeshUtils:
- fix zero-weight vertices after applying max distance falloff function
- if a zero-weight vertex is ever encountered in the shader, fall back to skinned vertex data
- fix construction of TargetMesh index buffer
- pull out MaxEdgeLength computation into its own function
- simplify Kernel expression

#rnx
#rb kriss.gossart halfdan.ingvarsson
#preflight 60d39b8ca93474000176026c

#ROBOMERGE-OWNER: tyson.brochu
#ROBOMERGE-AUTHOR: tyson.brochu
#ROBOMERGE-SOURCE: CL 16763969 via CL 16764327
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16764334 by tyson brochu in ue5-release-engine-test branch]
2021-06-23 18:21:20 -04:00
tyson brochu
280506773d Cloth wrap deformer with multiple influences:
- use new barycentric weight computation
- if no triangles are within kernel radius, default to single-influence mode for that vertex
- add a missing division by NUM_INFLUENCES_PER_VERTEX when computing normals and tangents in the shader

#rnx
#rb kriss.gossart halfdan.ingvarsson
#preflight 60ca51632ab2180001380e9c

#ROBOMERGE-SOURCE: CL 16696354 via CL 16696388
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16696406 by tyson brochu in ue5-release-engine-test branch]
2021-06-16 17:10:58 -04:00
halfdan ingvarsson
3ee9e867b0 Zoinks! Turns out PVS was right after all. We never end up with zero roots, thanks to MATH!
#trivial
#rnx

#ROBOMERGE-SOURCE: CL 16635289 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v831-16623017)

[CL 16635295 by halfdan ingvarsson in ue5-release-engine-test branch]
2021-06-10 22:19:35 -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
Marc Audy
e80ea6b959 Merge from Release-Engine-Staging @ 16444985
This represents UE4/Main @ 16445039 and Dev-PerfTest @ 16444526

[CL 16445122 by Marc Audy in ue5-release-engine-test branch]
2021-05-25 02:43:26 -04:00
Marc Audy
f02d489290 Update Release-Engine-Test from Release-Engine-Staging @ 16264272
[CL 16264458 by Marc Audy in ue5-release-engine-test branch]
2021-05-11 01:10:20 -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
aurel cordonnier
50944fd712 Merge UE5/RES @ 16162155 to UE5/Main
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156

[CL 16163576 by aurel cordonnier in ue5-main branch]
2021-04-29 19:32:06 -04:00
kriss gossart
4634bf5aa5 Cloth - Fix LOD transition maps, broken by mistakenly enabling multiple influences in the call to GenerateMeshToMeshSkinningData. [Integrate CL 16114138 from //UE5/Release-Engine-Staging]
#rb Jaco.VanDyk
[FYI] Tyson.Brochu
#jira UE-113373

[CL 16128222 by kriss gossart in ue5-main branch]
2021-04-27 11:33:24 -04:00
kriss gossart
3ee8251952 Cloth - Fix the cloth wrap deformer capture optimization code in cases where the skinned points' are outside their closest cloth triangle bounding volumes.
#rb Benn.Gallagher
#jira UE-111788
#lockdown Nick.Whiting

#ROBOMERGE-OWNER: kriss.gossart
#ROBOMERGE-AUTHOR: kriss.gossart
#ROBOMERGE-SOURCE: CL 16005071 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v789-15992632)
#ROBOMERGE-CONFLICT from-shelf

[CL 16005192 by kriss gossart in ue5-main branch]
2021-04-14 10:28:40 -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
Thomas Sarkanen
b7771aaa90 Edigrating CLs 15666719 and 15675845.
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]
2021-03-11 10:57:49 -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
Zousar Shaker
55267633ff Remove the ability to implicitly convert or reinterpret-in-place a TSet or TMap of wrapped pointers as raw pointers, and fix-up all code that was depending on this compatibility API. This ability can't be permitted when we enable lazy load (UE_WITH_OBJECT_HANDLE_LATE_RESOLVE is non-zero) because the hash order of a wrapped pointer differs from a raw pointer, this means that reinterpreting a container of one type to a container of another type means the reinterpreted container isn't in hash order which is invalid.
#rb matt.peters
#fyi devin.doucette
#fyi steve.robb

[CL 15273466 by Zousar Shaker in ue5-main branch]
2021-02-01 15:15:23 -04:00