Commit Graph

273 Commits

Author SHA1 Message Date
brett miller
e9041654bc GeometryCollectionComponent
-- Removal shrinks for bottom of geometry instead of CoM

#jira none
#rb brice.criswell
#fyi jack.oakman
#okforgitbug internal, public

[CL 17527239 by brett miller in ue5-main branch]
2021-09-15 17:17:24 -04:00
Dmitriy Dyomin
d9109f926e Fixed Geometry collection rendering issues on mobile
#jira UE-126462

[CL 17502442 by Dmitriy Dyomin in ue5-main branch]
2021-09-14 05:51:45 -04:00
aurel cordonnier
e3f7878676 Merge from Release-Engine-Test @ 17462327 to UE5/Main
This represents UE4/Main @17430120 and Dev-PerfTest @17437669

[CL 17463546 by aurel cordonnier in ue5-main branch]
2021-09-08 16:42:26 -04:00
brett miller
8cece80f18 FractureTool
-- Additional Undo converage
-- Embedded geometry works with explode
-- Selectable embedded geometry

#jira UE-121974
#fyi brice.criswell
#preflight 6135505079ce170001469648

[CL 17435055 by brett miller in ue5-main branch]
2021-09-05 20:37:41 -04:00
Jimmy Andrews
c74cf6b3c5 prevent rendering crash if mesh gets into a bad state where all geometry is hidden (by un-hiding everything if that case occurs)
#rnx
#preflight 613121d879ce170001d20414

[CL 17412594 by Jimmy Andrews in ue5-main branch]
2021-09-02 22:24:28 -04:00
graham wihlidal
aedc4b8488 Removed per instance Nanite imposter flag and changed code to fetch it from the primitive flags instead. Also removed partially implemented per instance cast shadow flag in favor of the correct one on primitive flags.
#rb rune.stubbe
[FYI] brian.karis
#preflight 6130430317a8610001a7d102


#ROBOMERGE-OWNER: graham.wihlidal
#ROBOMERGE-AUTHOR: graham.wihlidal
#ROBOMERGE-SOURCE: CL 17397605
#ROBOMERGE-BOT: (v865-17346139)
#ROBOMERGE-CONFLICT from-shelf

[CL 17397964 by graham wihlidal in ue5-main branch]
2021-09-02 00:53:46 -04:00
brett miller
b8de7e8d95 GeometryCollectionProximityUtility
-- New algorithm, faster, more robust

#jira UE-121975
#rb jimmy.andrews
#preflight 612efd95b6b29c0001239fa6

[CL 17382962 by brett miller in ue5-main branch]
2021-09-01 01:43:07 -04:00
brett miller
996dd2e103 GeometryCollectionComponent
-- Corrected motion blur problem when cache scrubbing in StaticPose mode

[FYI] jack.oakman,brice.criswell
#preflight 612ee3586256b10001efc6c1


#ROBOMERGE-SOURCE: CL 17381861
#ROBOMERGE-BOT: (v865-17346139)

[CL 17382101 by brett miller in ue5-main branch]
2021-08-31 23:26:01 -04:00
jimmy andrews
6d4c4383df fix Explode Amount slider
Specifically, change UGeometryCollectionComponent::OnCreatePhysicsState's EnsureDataIsCooked() call to just CreateSimulationData(), so we just update the sim data without also re-loading the serialized data (which had some editor/UI specific data discarded)

#rb brett.miller
#rnx
#preflight 612ed65675bca20001e64877


#ROBOMERGE-SOURCE: CL 17381541
#ROBOMERGE-BOT: (v865-17346139)

[CL 17381917 by jimmy andrews in ue5-main branch]
2021-08-31 23:00:45 -04:00
brett miller
ff64a92459 GeometryCollection
-- Removal mechanism invoked when geometry collection particles have slept for specified time. Particle is disabled, event is triggered, scene proxt geometry is progressivly scaled to a point.

#jira UE-122241
#rb brice.criswell
#preflight 612ea5f775bca20001e0b1b9

[CL 17380472 by brett miller in ue5-main branch]
2021-08-31 20:23:44 -04:00
brett miller
64fb35431a GeometryCollection
-- Selecting a cluster highlights all child bones

#jira UE-121972
#fyi brice.criswell
#preflight 612c45569db30900011bec76
#p4v-cherrypick 17348626

[CL 17359214 by brett miller in ue5-main branch]
2021-08-30 17:22:17 -04:00
brett miller
6fabad83c5 FractureTool
-- Fixed dangling cluster generation in several of the tools
-- Removed Cluster slection mode
-- Added Parent, Children, AllInLevel selectin modes
-- Added ClusterMerge tool

#jira UE-121969,UE-121970,UE-121971
#fyi brice.criswell
#preflight 612c072379d62b00013ec5ae
#p4v-cherrypick 17347984

[CL 17359159 by brett miller in ue5-main branch]
2021-08-30 17:18:03 -04:00
brett miller
3419b90aff FractureTool
-- implemented HideUnselected mode

#jira UE-121963
#rb brice.criswell
#preflight 6123317d9db7df0001e5e4ff
#p4v-cherrypick 17309979

[CL 17359069 by brett miller in ue5-main branch]
2021-08-30 17:10:33 -04:00
jimmy andrews
362f4f10e1 fix undo/redo for bone selection on fracture
#rb brett.miller
#rnx
#preflight 611dc5822c1f1c0001195f7a


#ROBOMERGE-SOURCE: CL 17235086
#ROBOMERGE-BOT: (v855-17104924)

[CL 17235089 by jimmy andrews in ue5-main branch]
2021-08-19 11:57:36 -04:00
brett miller
89e954d1e9 GeometryCollectionComponent
-- Fixed bNotifyBreaks and bNotifyCollisions

#jira UE-110033
#fyi brice.criswell
#preflight 611c418c3a81b00001186ab8

[CL 17227595 by brett miller in ue5-main branch]
2021-08-18 23:03:52 -04:00
jimmy andrews
107770eb72 Minor geometry collection-related code cleanup
#rnx
#preflight 6115e85bb2dc4b0001996f0d


#ROBOMERGE-SOURCE: CL 17227504
#ROBOMERGE-BOT: (v855-17104924)

[CL 17227505 by jimmy andrews in ue5-main branch]
2021-08-18 22:53:01 -04:00
Brice Criswell
bcfe20747c Chaos : GeometryCollection
Fix BoxCalcBounds with small box array
- preflight against Base 17099190
#jira FROST-4095
#rb Jeff.Rous
#fyi Brett.Miller

[CL 17139381 by Brice Criswell in ue5-main branch]
2021-08-11 14:22:06 -04:00
brett miller
8d69aa8dd3 GeometryCollectionComponent
-- Add DisableThresholdand SleepingThreshold options to the GeometryCollectionComponents ApplyPhysicsField(...) method

#jira UE-117477
#rb brice.criswell

[CL 17128492 by brett miller in ue5-main branch]
2021-08-10 20:17:46 -04:00
Dmitriy Dyomin
762b48e011 Mobile specific implementation for auto-instancing. (disabled by default atm)
Run a compute job that packs most commonly used instance data (LocalToWorld matrix and some other bits - 80 bytes) into per-instance vertex buffer. Vertex shader does not have access to GPUScene and instead loads instance data from a per-instance vertex buffer. If it needs more primitive/instance data than available then it will load it from Primitive UB, binding unique uniform buffer and breaking auto-instancing. Pixel shader has a full access to a GPUScene
There are 3 ways how FSceneDataIntermediates gets populated
 1. PrimitiveId + GPUScene (Desktop)
 2. Per-Instance data + Primitive UB (Mobile)
 3. Primitive UB (auto-instancing disabled)
Details for GPUScene specific vertex inputs and access to FSceneDataIntermediates are hidden behind a macro:
VF_GPUSCENE_DECLARE_INPUT_BLOCK
VF_GPUSCENE_GET_INTERMEDIATES
FSceneDataIntermediates is now stored in FVertexFactoryIntermediates, FMaterialVertexParameters. Added a few GetPrimitiveData() overloads that allows you to access PrimitiveData depending on current context. Removed most of the cases where GetPrimitiveData() gets used with PrimitiveId.
#rb Ola.Ollson

[CL 17093848 by Dmitriy Dyomin in ue5-main branch]
2021-08-07 07:16:17 -04:00
Michael Forot
48a7a0b630 Check Field RootNode in code when bad BP setup to avoid UE to crash
#rb kriss.gossart
#jira UE-119777

[CL 17014967 by Michael Forot in ue5-main branch]
2021-08-02 07:49:10 -04:00
brett miller
fdc792781e GeometryCollectionComponent
-- Removed restrictions on RestPose setting to allow ChaosCaching to set rest pose during play.

#rb no.one
#preflight 60fe5cba2882e40001e023f0
#preflight 60febbead830300001746f9a


#ROBOMERGE-SOURCE: CL 16962573
#ROBOMERGE-BOT: (v838-16927207)

[CL 16970240 by brett miller in ue5-main branch]
2021-07-27 13:32:39 -04:00
Zousar Shaker
9abf3ef937 Wrapped ObjectPtr upgrade refresh for Engine + ShooterGame
#rb none
#preflight 60f6411c35476b00018dd12c

[CL 16892864 by Zousar Shaker in ue5-main branch]
2021-07-20 00:21:34 -04:00
Brice Criswell
9d431c4598 Chaos - Geometry Collection
- Added CollisionMarginFraction to the size specific data.
#jira FROST-3281
#rb Brett.Miller
#preflight 60e0d9961a88600001ed0e83

[CL 16808746 by Brice Criswell in ue5-main branch]
2021-07-03 18:22:11 -04:00
brett miller
885accf838 GeometryCollectionSceneProxy
-- check for existence of PerBoneHitProxy before accessing it

#jira UE-112900
#rb none

[CL 16778237 by brett miller in ue5-main branch]
2021-06-24 16:38:31 -04:00
brett miller
d58733419f Chaos Caching
-- Removed GeometryCollectionComponent dereferencing from PhysicsThread code
-- Uses PhysicsProxy simulation parameters to determine if events are recorded/played

#rb benn.gallagher
[FYI] brice.criswell


#ROBOMERGE-SOURCE: CL 16709692
#ROBOMERGE-BOT: (v835-16672529)

[CL 16709703 by brett miller in ue5-main branch]
2021-06-17 15:46:02 -04:00