Commit Graph

158 Commits

Author SHA1 Message Date
daniel wright
bdf3b979a8 Components being moved by editor tracking render velocities correctly
* Added new PrimitiveComponent flag bIsBeingMovedByEditor which is enabled by the editor when it moves an actor through the gizmos.
* Velocity rendering now draws components being moved by the editor on top of the usual Movable components
#rb Matt.Kuhlenschmidt

#ROBOMERGE-SOURCE: CL 15373844 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15373874 by daniel wright in ue5-main branch]
2021-02-09 23:05:37 -04:00
brett miller
5f5ac7c11c Fracture Tool -- Merging Geometry Collections and baking in scale is now possible via the New button in the Fracture Tool.
#jira FROST-706
#rb brice.criswell

#ROBOMERGE-SOURCE: CL 15372847 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15372862 by brett miller in ue5-main branch]
2021-02-09 20:08:13 -04:00
mark lintott
d252d894c4 #rb trivial
Fix for uninitialized DamageThreshold warning.

[CL 15355365 by mark lintott in ue5-main branch]
2021-02-08 05:25:21 -04:00
Marc Audy
cac1fe0019 Merge UE5/Release-Engine-Staging @ CL# 15299266 to UE5/Main
This represents UE4/Main @ CL# 15277572

[CL 15299962 by Marc Audy in ue5-main branch]
2021-02-03 14:57:28 -04:00
graham wihlidal
83c3ff798a Removed redundant primitive uniform buffer creation/uploads for Nanite static meshes and geometry collections
#rb brian.karis
#fyi ola.olsson

[CL 15282325 by graham wihlidal in ue5-main branch]
2021-02-02 14:40:50 -04:00
graham wihlidal
74c3616cd6 Trivial cleanup
#rb trivial

[CL 15277251 by graham wihlidal in ue5-main branch]
2021-02-01 20:57:31 -04:00
Brice Criswell
2a40c01867 Chaos : Fix CIS
#rb none
#jira FROST-1044

[CL 15260146 by Brice Criswell in ue5-main branch]
2021-01-29 01:12:30 -04:00
Brice Criswell
71bff90bf4 Chaos : Destruction
- Added Size Specific damage thresholds.

#rb none
#jira FROST-1044

[CL 15260032 by Brice Criswell in ue5-main branch]
2021-01-29 00:35:21 -04:00
brett miller
b2ccd57324 Fracture Editor
* Clustering Utilities GetLeafNode may now specify if the clien tis specifically after rigid leaf nodes.
   * Embedded Geometry tools moved to their own palette.
   * Delete Embedded Geometry tool implemented.

#jira none
#rb brice.criswell

[CL 15259760 by brett miller in ue5-main branch]
2021-01-28 23:22:16 -04:00
Zousar Shaker
3b4c8fc1c5 Automated wrapped object pointer upgrade for Engine + ShooterGame + ShooterGame referenced plugins
#rb none

[CL 15224650 by Zousar Shaker in ue5-main branch]
2021-01-27 17:40:25 -04:00
Jason Stasik
cc662624cd Fix HGeometryCollectionBone having the wrong parent proxy
#jira UE-107052
#rb matt.kuhlenschmidt

[CL 15210083 by Jason Stasik in ue5-main branch]
2021-01-26 15:05:17 -04:00
Jimmy Andrews
a366a918b4 fix comment on CollisionSampleFraction
#rb brice.criswell
#rnx

[CL 15192694 by Jimmy Andrews in ue5-main branch]
2021-01-25 19:12:43 -04:00
brett miller
45a7c4fb36 GeometryCollection -- Asset now has properties for default clustering behaviour. The properties are written to the actor on placement.
#rb none
#jira FROST-977

[CL 15176238 by brett miller in ue5-main branch]
2021-01-25 00:53:27 -04:00
ionut matasaru
a90718a7fb Fixed usage of TRACE_CPUPROFILER_EVENT_SCOPE macro(s) in various places.
Common mistakes:

a) TRACE_CPUPROFILER_EVENT_SCOPE("Foo") or TRACE_CPUPROFILER_EVENT_SCOPE("FClass::Foo")
    --> results in a timer named "Foo" or "FClass::Foo" (the quotes will be included in the name)

b) TRACE_CPUPROFILER_EVENT_SCOPE(TEXT("Foo"))
    --> results in a timer named L"Foo" (L and quotes will be included in the name)

c) TRACE_CPUPROFILER_EVENT_SCOPE_TEXT(TEXT("Other Foo")) or TRACE_CPUPROFILER_EVENT_SCOPE_TEXT("Foo")
    --> Slow! It will use dynamic string matching that adds an unnecessary overhead.

Correct usage:
    TRACE_CPUPROFILER_EVENT_SCOPE(Foo)
    TRACE_CPUPROFILER_EVENT_SCOPE(FClass::Foo)
    TRACE_CPUPROFILER_EVENT_SCOPE_STR("Other Foo") // when timer name has spaces
    TRACE_CPUPROFILER_EVENT_SCOPE_TEXT(*Foo.ToString()) // only if a dynamic name is really needed

#rb Catalin.Dragoiu
#fyi Marc.Audy, Krzysztof.Narkowicz, Rune.Stubbe, Michal.Valient

[CL 15134822 by ionut matasaru in ue5-main branch]
2021-01-19 06:29:15 -04:00
graham wihlidal
de9653ec9f Nanite support for per-instance random and lightmap/shadowmap UV bias.
Removed WorldToLocal from GPUScene packed instance data (now derived) to save 8 bytes (after new fields).
Fixed calculation of Instance.LocalToInstance.

#jira UE-105083
#rb brian.karis
#fyi rune.stubbe

[CL 15076426 by graham wihlidal in ue5-main branch]
2021-01-13 19:51:21 -04:00
graham wihlidal
ee8f378f7b Geometry collection assets created from one or more static meshes will have Nanite automatically enabled now, as long as at least one of the input meshes had Nanite enabled originally.
#rb trivial
#fyi brian.karis, rune.stubbe
#jira UE-104791

[CL 15028299 by graham wihlidal in ue5-main branch]
2021-01-08 20:00:52 -04:00
Marc Audy
bf80889353 UE5/Release-Engine-Staging to UE5/Main
This represents UE4/Main up to CL# 14958402

[CL 15028197 by Marc Audy in ue5-main branch]
2021-01-08 19:56:07 -04:00
Zousar Shaker
fc2ad21a5e Prototype Wrapped Object Pointers (ObjectHandle/ObjectPtr)
Call-site changes for non-scalar wrapped object pointer upgrades in Engine + Shootergame

#rb devin.doucette

[CL 14996467 by Zousar Shaker in ue5-main branch]
2021-01-05 19:16:25 -04:00
Emil Persson
72db809300 Replace legacy LockVertexBuffer()/LockIndexBuffer()/LockStructuredBuffer() calls with the unified LockBuffer()
#rb kenzo.terelst

[CL 14898308 by Emil Persson in ue5-main branch]
2020-12-10 11:51:32 -04:00
brett miller
14431f0507 GeometryCollection -- implemented per bone initial dynamic state in Rest Collection.
FractureEditor -- SetInitialDynamicState tool

#rb none
#jira UESP-3565
#codereview brice.criswell

[CL 14893906 by brett miller in ue5-main branch]
2020-12-09 18:44:07 -04:00
Benn Gallagher
91075c55ce Fixes to geometry collection clusters having misplaced children during mass updates and subsequently having a CoM way outside of their geometry bounds.
#rb Brice.Criswell
#jria none

[CL 14858632 by Benn Gallagher in ue5-main branch]
2020-12-04 16:11:48 -04:00
graham wihlidal
70f838562c Greatly improved error messaging when an invalid material is applied to a Nanite static mesh or geometry collection, so artists can more easily debug what the problem is.
#rb andrew.lauritzen

[CL 14856964 by graham wihlidal in ue5-main branch]
2020-12-04 14:51:23 -04:00
Rune Stubbe
dc5e9cb018 Nanite support for geometry collection
The Nanite builder now accepts a set of meshes that will be built into a single resource with a hierarchy root for each input mesh.
Updated runtime code to use this feature for Geometry collection.
Each GC now takes up just a single root page.
Changed geometry collection serialization so Nanite data is now transient similar to how it is transient in RenderData for StaticMesh.
Added bogus serialization functions for parsing and throwing away the old Nanite data, so we don't crash when parsing old files.

#rb brian.karis, graham.wihlidal

[CL 14828108 by Rune Stubbe in ue5-main branch]
2020-12-01 11:18:19 -04:00
Alexis Matte
73d83c6a38 To protect the skeletalmesh when using async operations like build or re-import we deprecate all public member variables of USkeletalMesh class and create the necessary getter and setter. Those member will stay public but will be move to private in a future release.
Adding a public member to USkeletalMesh class is now prohibed since it can break asynchronous operations that will be added next to this submit.

#rb danny.couture
#jira UEENT-3936
#rnx

[CL 14812920 by Alexis Matte in ue5-main branch]
2020-11-25 11:17:08 -04:00
Jon Nabozny
cf1d1c03c2 Fix initialization order issue in GeometryCollectionObject.
#fyi Brett.Miller
#rb None
#jira None

[CL 14794705 by Jon Nabozny in ue5-main branch]
2020-11-20 01:16:51 -04:00