Commit Graph

7 Commits

Author SHA1 Message Date
Brandon Schaefer
03bbd63419 Fix ASan hit in DynamicBVH tests
Avoid taking a reference to a container that may be resized during the calling process

#jira UE-144151
#rb none
#fyi Brian.Karis
#preflight none

[CL 20354522 by Brandon Schaefer in ue5-main branch]
2022-05-24 15:58:58 -04:00
Brian Karis
dba24ab6be FDynamicBVH now supports a forest with a spatial hash at the highest level to support LWC without the need for doubles for bounding boxes.
Switched FDynamicBVH to use greedy insertion because branch and bound perf significantly degrades with heavily overlapped leaves.

Added closest point queries using branch and bound.

FBounds is now templated as TBounds.

#rb graham.wihlidal
#robomerge FNNC
#preflight 6216dbf9104496cff8abfc36

[CL 19107993 by Brian Karis in ue5-main branch]
2022-02-23 21:17:53 -05:00
zak middleton
36c99f6887 #ue5 - LWC: FVector4f <-> FVector4d conversion is now explicit.
FLinearColor has also been modified to make any double->float conversions explicit. Previously all 3D TVector versions were allowed to be implicit and thus could convert TVector<double> => FLinearColor => TVector4<float>.

Fixed up all engine and game casts. Added "//LWC_TODO: precision loss" around any explicit casts that previously were silently explicit and we may need to revisit for precision loss analysis.

#jira UE-122085
#rb Ben.Ingram, Andrew.Davidson
#preflight 61f24af473238441cb7bb0f1

#ROBOMERGE-AUTHOR: zak.middleton
#ROBOMERGE-SOURCE: CL 18751249 in //UE5/Release-5.0/... via CL 18751253 via CL 18751319
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18751326 by zak middleton in ue5-main branch]
2022-01-27 03:30:41 -05:00
brian karis
e838341c86 External edges now handle non-manifold meshes, ie multiple adjacency
Added Moore-Penrose pseudo inverse for solving singular quadrics. Disabled for now.

#rb rune.stubbe

#ROBOMERGE-AUTHOR: brian.karis
#ROBOMERGE-SOURCE: CL 18415437 in //UE5/Release-5.0/... via CL 18415438
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18415441 by brian karis in ue5-release-engine-test branch]
2021-12-08 20:32:07 -05:00
Juan Canada
a5682f2283 Fixed NonUnity Compile UnrealEditor Mac warning
#rb none
#jira UE-108211

[CL 15368379 by Juan Canada in ue5-main branch]
2021-02-09 14:06:56 -04:00
Graeme Thornton
558219500b Non-unity / non-pch build fixes
#rb trivial

[CL 15216779 by Graeme Thornton in ue5-main branch]
2021-01-27 08:40:08 -04:00
Brian Karis
f342a20557 Dynamic BVH with LBVH build.
TestBVH_ZeroToZero add [94.57ms]
TestBVH_ZeroToZero cost 10945156.00
TestBVH_ZeroToZero remove [6.62ms]
TestBVH_AddRemove [55.36ms]
TestBVH_AddRemove tested 12.13
TestBVH_BatchAddRemove [53.50ms]
TestBVH_UpdateTeleport [54.91ms]
TestBVH_UpdateJitter [44.68ms]
TestBVH_Ordered cost 283292.00
TestBVH_Ordered cost after 128869.00
TestBVH_Ordered cost after 85122.00
TestBVH_Optimize cost before 2697313.00
TestBVH_Optimize cost after 2405411.25
TestBVH_Optimize cost after 1598318.63
TestBVH_Build [5.79ms]

[CL 15127028 by Brian Karis in ue5-main branch]
2021-01-17 16:40:10 -04:00