Commit Graph

83 Commits

Author SHA1 Message Date
cedric caillaud
ea89b40a98 Chaos destruction : add slow moving detection fro Remove on sleep feature
#rb none
#jira none
#preflight 62a8a8481a6b7dcd549af11f

[CL 20650060 by cedric caillaud in ue5-main branch]
2022-06-14 11:45:26 -04:00
Jimmy Andrews
3ea10e4a3d add option to not remove overlaps on geometry collection convex hulls
#rb rinat.abdrashitov
#rb david.hill
#preflight 62a74f44d80693a653de7c89

[CL 20627438 by Jimmy Andrews in ue5-main branch]
2022-06-13 11:05:31 -04:00
cedric caillaud
5ddbe667f4 Chaos destruction : allow import of collision shapes from static meshes when creating a geometry collection
#rb brice.criswell, ori.cohen
#jira none
#preflight 628dabdcaf7a2e956ba42d3d

[CL 20380362 by cedric caillaud in ue5-main branch]
2022-05-26 12:02:54 -04:00
cedric caillaud
d8a335e82f Chaos : add new connection graph generation method ( delaunay filtered by bounds )
#rb none
#jira none
#preflight 6287e7b22c34da686af5b808

[CL 20301053 by cedric caillaud in ue5-main branch]
2022-05-20 15:20:13 -04:00
cedric caillaud
a156b97f48 Chaos : harden manageArray Api for better detection of modification to the array
this is a step towards more automated recompoutation of some attributes dependent on others

#rb brice.criswell
#jira none
#preflight 627ae07e7e5f24d1ede8e730

[CL 20131611 by cedric caillaud in ue5-main branch]
2022-05-10 18:56:28 -04:00
cedric caillaud
f2c5b1b18b Chaos : detsruction : better damage threshold generation
- damage threshold are now by default generated per GC piece and no more at the cluster level propagating to children
- added a checkbox to keep the compatibility with older assets
- this allow for finer artist control and make the size specific parameters to be more effective

#rb brice.criswell, max.whitehead
#jira none
#preflight 626a26172735a2c0eaeb68be

[CL 19973874 by cedric caillaud in ue5-main branch]
2022-04-28 20:20:32 -04:00
cedric caillaud
dd00e4a56a Chaos : Make sure the simulation sizespecific array has the default MaxSize to be always higher than anything the user will set
#fyi brice.criswell
#jira none
#preflight none

[CL 19857510 by cedric caillaud in ue5-main branch]
2022-04-21 18:50:41 -04:00
cedric caillaud
16ff9fa5ed Chaos : fix issue where adding an element to the size specific array from the UI adds sometimes two
#rb brice.criswell
#jira none
#preflight 6242a1a6637925b5d3a28c7a

[CL 19539244 by cedric caillaud in ue5-main branch]
2022-03-29 02:16:42 -04:00
brice criswell
5ec1f87b61 Geometry Collection : Size Specific Defaults
- Don't update to convex if the older file does not have convex properties.
- Fix nullptr access in the shapes debug drawing.

#rb Jimmy.andrews
#jira ue-141312
#preflight 62057662a155a4cddac6b16a

#ROBOMERGE-AUTHOR: brice.criswell
#ROBOMERGE-SOURCE: CL 18943097 in //UE5/Release-5.0/... via CL 18943327 via CL 18943558
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18943920 by brice criswell in ue5-main branch]
2022-02-10 17:08:59 -05:00
brice criswell
0b040d11b6 GeometryCollection : Properties
- Adding damage threshold back to the GeometryCollectionObject.

#rb michael.lentine
#jira UE-126295
#preflight 620406f98e53010a186e6ea8

#ROBOMERGE-AUTHOR: brice.criswell
#ROBOMERGE-SOURCE: CL 18922992 in //UE5/Release-5.0/... via CL 18927108 via CL 18928820
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v916-18915374)

[CL 18929260 by brice criswell in ue5-main branch]
2022-02-09 19:28:14 -05:00
brice criswell
29a39de958 Chaos - Verbose Warnings
- Removed verbose warning for destructable default material.
- Add pvar bGeometryCollectionEnableForcedConvexGenerationInSerialize to disable forced convex generation on a project.

#rb michael.lentine
#jira ue-141312
#preflight 620317b39e10f6918e164354

#ROBOMERGE-AUTHOR: brice.criswell
#ROBOMERGE-SOURCE: CL 18913749 in //UE5/Release-5.0/... via CL 18920106 via CL 18920875
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v916-18915374)

[CL 18921570 by brice criswell in ue5-main branch]
2022-02-09 13:27:35 -05:00
brice criswell
45b89d52f8 GeometryCollection : Property updates
- Convex threshold defaulted to 0
- MassAsDensity is now true in uasset.

#preflight 62019bb8e85c7a08bbc67f49
#rb Michael.Lentine
#jira UE-141658

#ROBOMERGE-AUTHOR: brice.criswell
#ROBOMERGE-SOURCE: CL 18903280 in //UE5/Release-5.0/... via CL 18903394 via CL 18903620
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v912-18901109)

[CL 18903632 by brice criswell in ue5-main branch]
2022-02-08 11:57:43 -05:00
brice criswell
75e6f5d45b Chaos : Serialization Parity with 4.27-Chaos
- Updated PhysicsObjectVersion to reflect changes in 4.27-Chaos and ensure backwards combability.
#rb benn.gallagher
#jira UE-134115
#preflight 61fdbf54e65336d14555ccb7
#lockdown marc.audy

#ROBOMERGE-AUTHOR: brice.criswell
#ROBOMERGE-SOURCE: CL 18879957 in //UE5/Release-5.0/... via CL 18879961 via CL 18879976
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18884838 by brice criswell in ue5-main branch]
2022-02-07 09:08:07 -05:00
brice criswell
3fe4b3b0fa GeometryCollection : Convex
- Auto populate convex geometry in older files.
#jira UE-134117
#rb Benn.Gallagher, Marc.Audy
[FYI] Jimmy.Andrews
#preflight 61fc496aa540d6e61bbbcd36
#lockdown michael.lentine

#ROBOMERGE-AUTHOR: brice.criswell
#ROBOMERGE-SOURCE: CL 18853134 in //UE5/Release-5.0/... via CL 18853148 via CL 18853812
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18853849 by brice criswell in ue5-main branch]
2022-02-03 17:40:00 -05:00
brian karis
de6db094d8 Added KeepTrianglePercent and TrimRelativeError properties to Nanite static mesh settings.
These both trim detail from the Nanite data that is stored to disk and can be used to optimize disk size after import. Should be a super useful tool late in production.

#rb rune.stubbe
#lockdown michal.valient
#preflight 61fb25e6033a864b77e11ed6

#ROBOMERGE-AUTHOR: brian.karis
#ROBOMERGE-SOURCE: CL 18838594 in //UE5/Release-5.0/... via CL 18838602 via CL 18838937
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18838962 by brian karis in ue5-main branch]
2022-02-02 21:14:51 -05:00
brian karis
a208fbc50b Changed name on Nanite Proxy mesh to Nanite Fallback mesh.
Changed fallback settings to be largely error based with new property FallbackRelativeError.

Nanite builder will now provide the LOD fallbacks for all autogenerated LOD levels which is far faster than generating them from scratch.

#rb graham.wihlidal
#preflight 61f9e1fe9e4d23cd93b8d556

#ROBOMERGE-AUTHOR: brian.karis
#ROBOMERGE-SOURCE: CL 18820056 in //UE5/Release-5.0/... via CL 18820070 via CL 18822916
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18825066 by brian karis in ue5-main branch]
2022-02-02 08:19:56 -05:00
brice criswell
3e50c2b89e Chaos : Geometry Collection
-Defaults Updated
[FYI] jimmy.andrews
#preflight 61f9a91c162e627eab4701b2

#ROBOMERGE-AUTHOR: brice.criswell
#ROBOMERGE-SOURCE: CL 18816099 in //UE5/Release-5.0/... via CL 18816112 via CL 18822810
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18824365 by brice criswell in ue5-main branch]
2022-02-02 07:39:24 -05:00
andrew davidson
8e95b10069 Fix FVector2D variant casts - Runtime
Submitted on behalf of fred.kimberley
#rb andy.davidson
#preflight 61f8729a5a026d2d19bb9ca6
#preflight 61f87a025a026d2d19be76ed

#ROBOMERGE-OWNER: andrew.davidson
#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18802361 in //UE5/Release-5.0/... via CL 18802891 via CL 18821557
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18821641 by andrew davidson in ue5-main branch]
2022-02-02 01:47:07 -05:00
jimmy andrews
7dcfc5245d update fracture tool convex to account for convexes autogenerating ("make convex hulls" is now "update convex hulls" and just transfers the tool settings to the geometry collection convex parameters)
+ add CanExceedFraction parameter to the convex parameters

#rb brice.criswell
#rnx
#preflight 61f8718741414fb013dd4bd1

#ROBOMERGE-AUTHOR: jimmy.andrews
#ROBOMERGE-SOURCE: CL 18801604 in //UE5/Release-5.0/... via CL 18802105 via CL 18821515
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18821596 by jimmy andrews in ue5-main branch]
2022-02-02 01:43:57 -05:00
brice criswell
7044f3e8c0 Geometry Collection - Editing Updates
- Updated collection to support enabled flag
- Updated modify to only invalidate the UObject
- Added UObject->Modify to ComponentEdit constructor.
#rb Jimmy.Andrews
#preflight 61f827dd5a026d2d19a88a7e

#ROBOMERGE-AUTHOR: brice.criswell
#ROBOMERGE-SOURCE: CL 18793559 in //UE5/Release-5.0/... via CL 18793715 via CL 18794559
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18795047 by brice criswell in ue5-main branch]
2022-01-31 14:58:13 -05:00
brice criswell
fc6c04a825 GeometryCollection : Convex Generation
- Defaulting the geometry collection assets collision geometry to convex
- Updating the convex bodies during the destruction of the geometry collections edit object.
#rb none
[FYI] Jimmy.Andrews
#preflight 61f480557a7f0d39ddfe1e88

#ROBOMERGE-AUTHOR: brice.criswell
#ROBOMERGE-SOURCE: CL 18792035 in //UE5/Release-5.0/... via CL 18792214 via CL 18792488
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18792572 by brice criswell in ue5-main branch]
2022-01-31 12:57:29 -05:00
rune stubbe
82ad7d504c Moved StaticMesh to DDC2 to enable Nanite streaming from it directly in editor mode.
The data is now split into two sections. One section contains just the Nanite streaming data and the other section contains everything else.
The Nanite streaming data is no longer loaded on mesh initialization, instead the streamer issues requests against it on demand for just the chunks that are needed.
#rb zousar.shaker
[FYI] graham.wihlidal, brian.karis, devin.doucette
#preflight 61e97899f1602135349d2380

#ROBOMERGE-AUTHOR: rune.stubbe
#ROBOMERGE-SOURCE: CL 18674835 in //UE5/Release-5.0/... via CL 18674853 via CL 18674870
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v902-18672795)

[CL 18679731 by rune stubbe in ue5-main branch]
2022-01-20 15:23:39 -05:00
brice criswell
7bf8899fa1 Chaos : Clustering Connection Graph
- Add ability to display using debug command (p.Chaos.Solver.DebugDraw.Cluster.Constraints 1)
- Changed default to MinimalSpanningSubsetDelaunayTriangulation
#rb trivial
#preflight 61e852f33778a195deebb979

#ROBOMERGE-AUTHOR: brice.criswell
#ROBOMERGE-SOURCE: CL 18661507 in //UE5/Release-5.0/... via CL 18661559 via CL 18661597
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18661617 by brice criswell in ue5-main branch]
2022-01-19 13:48:58 -05:00
cedric caillaud
c5318fc01b CHaos - BackPort size specific data for geometry collection
CL 15260032 (Size specific damage )
CL 16429701 (step 1 - size specific parameters restructuring )
CL 16439958 ( review fixes from 16429701 )
CL 16456707 (transfer defaults to size specific data)
CL 16476610 ( Force Size Specific data to always have a single element )
CL 16555840 ( Allow empty collision arrays )

#rb brice.criswell, marc.audy
#jira none
#preflight 61d656171a3fd09dcbd808e6
[FYI] marc.audy

#ROBOMERGE-OWNER: cedric.caillaud
#ROBOMERGE-AUTHOR: cedric.caillaud
#ROBOMERGE-SOURCE: CL 18527050 in //UE4/Release-4.27-Chaos/... via CL 18527083 via CL 18527917 via CL 18527924
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18527928 by cedric caillaud in ue5-release-engine-test branch]
2022-01-05 21:51:22 -05:00
jon nabozny
b27dcfb385 Support for multiple root pages per Nanite resource
Added UI for changing minimum residency
Decoupled imposter data allocation from root page allocation
Removed convoluted logic around a page's dependencies including itself for legacy reasons
Made streaming of imposter data optional (r.Nanite.Streaming.Imposters)
#rb andrew.lauritzen, ola.olsson
#preflight 6163f8f8eaa06c0001e409ee
#lockdown michal.valient

#ROBOMERGE-OWNER: jon.nabozny
#ROBOMERGE-AUTHOR: rune.stubbe
#ROBOMERGE-SOURCE: CL 17770690 via CL 17986013 via CL 18368123 via CL 18368152
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18368223 by jon nabozny in ue5-release-engine-test branch]
2021-12-03 10:01:28 -05:00