Commit Graph

409 Commits

Author SHA1 Message Date
Brice Criswell
40a2ff491e GeometryCollection : Introspection.
-Use virtual IsA to identify derived classes.
-Fixed typo in api.
#rb cedric.caillaud
#fyi jimmy.andrews
#preflight 632b26bfc7791417aa2ecc48

[CL 22113543 by Brice Criswell in ue5-main branch]
2022-09-21 11:19:57 -04:00
cedric caillaud
94d3ff5257 Fracture editor : better handling of existing vertex color with the bone color display option
- When ShowBoneColors option is off display vertex color

#rb jimmy.andrews
#jira UE-163379
#preflight 6329423fb40000c8f04f0dcb

[CL 22104713 by cedric caillaud in ue5-main branch]
2022-09-20 18:48:26 -04:00
cedric caillaud
7c7730284f Chaos geometry collection : add asset side ability to use size specific data and apply propgate to instance when placing it in a level
#rb brice.criswell
#jira none
#preflight 6324b5f88131e92d65f2132d

[CL 22064938 by cedric caillaud in ue5-main branch]
2022-09-16 21:25:31 -04:00
Brice Criswell
a9c8158731 GeometryCollection : AppendSkeletalMesh
Made GeometryCollection::AppendSkeletalMesh more generic so it can take just a FManagedArrayCollection.
- Added a static version of FGeometryCollection::UpdateBoundingBox
- Added a static version of FGeometryCollection::ReindexMaterials
- Added Interface for standard attribute creation
#rb none
#preflight 632500d18c3def91aab79974
#preflight 632508ba743614651496822c

[CL 22063294 by Brice Criswell in ue5-main branch]
2022-09-16 19:43:53 -04:00
cedric caillaud
528214e946 Fracture tool : fix crashes when selecting using the hide unselected feature
- crash is caused by constantData section having no triangles and causing bogus section data in the render proxy

#rb brice.criswell, jimmy.andrews, devon.penney
#jira UE-156612
#preflight 6324b5278c3def91aa9f83ef

[CL 22058495 by cedric caillaud in ue5-main branch]
2022-09-16 15:58:24 -04:00
cedric caillaud
0991f3ab53 Chaos : fix damage threshold not being set from asset when adding it to a level ( got wrongly commented out with a previous CL )
#rb trivial
#jira none
#preflight none

[CL 22050251 by cedric caillaud in ue5-main branch]
2022-09-16 11:31:36 -04:00
cedric caillaud
b112fae3bd Chaos : Deprecate remove on fracture feature
- update headless chaos unit test

#jira none
#rb benn.gallagher, brice.criswell, chris.caulfield
#preflight 6322accc29254beccb14bbfe

[CL 22035762 by cedric caillaud in ue5-main branch]
2022-09-15 15:14:33 -04:00
cedric caillaud
a7f17d399a Chaos: replication imporvement
- Add a timer based hard snap for updating cluster position on the client
- Change remove on break to be replication aware to make sure server authoritative cluster cannot be broken by the client

#rb none
#preflight 63215a28b602881e8e03c4a6

[CL 22011198 by cedric caillaud in ue5-main branch]
2022-09-14 13:58:55 -04:00
jimmy andrews
bf1646ed4c make fracture editor more robust to invalid selections
#rb cedric.caillaud
#preflight 631b5b372b7fe03eb6faa73a

[CL 21924660 by jimmy andrews in ue5-main branch]
2022-09-09 14:15:27 -04:00
bryan sefcik
07894f4a07 Removed redundant private include paths from build.cs files.
Fixed include paths to be relative to the private or public folders.
Hid or removed includes that reached into other private module folders.
Updated PublicInclude paths when necessary.

#jira
#preflight 631a717cec45fbf3d74d4ba7

[CL 21916033 by bryan sefcik in ue5-main branch]
2022-09-09 00:53:22 -04:00
rune stubbe
ce876c5c79 Add arm64 suffix to DDC keys for StaticMesh, SkeletalMesh, NaniteDisplacedMesh and GeometryCollection to avoid potential consistency issues
#preflight 6319a60b304480f8f841cec1
#rb jeff.roberts, dan.thompson

[CL 21907528 by rune stubbe in ue5-main branch]
2022-09-08 19:34:30 -04:00
cedric caillaud
4d8371449d Chaos : geometry collection : fix removal logic for internal clusters
- better check for internal cluster parent and its state
- refactor logic for both remove on sleep and remove on break
- reverted previous fix that was not accounting for some of special cases ( CL 21715207 )

#rb none
#jira none
#preflight 6317ec50ab25bb91f5091cf9

[CL 21837890 by cedric caillaud in ue5-main branch]
2022-09-06 21:29:52 -04:00
jamie hayes
515eaedce4 Fix an issue with raytracing Nanite fallbacks caused by FNaniteGeometryCollectionSceneProxy and Nanite::FSceneProxy providing the same type hash.
#rb yuriy.odonnel
#preflight 631787f5980179553e419122

[CL 21830050 by jamie hayes in ue5-main branch]
2022-09-06 17:35:03 -04:00
cedric caillaud
b316aac562 Chaos destruction : fix internal clusters remove on break behavior
- Unbroken children of internal clusters do not get removed on break anymore

#rb none
#jira none
#preflight 630eac57a416f6df25eabee0

[CL 21715207 by cedric caillaud in ue5-main branch]
2022-08-30 21:32:37 -04:00
cedric caillaud
b9ebee6662 Chaos : fix body instance warning for geomtry collection when calling SetSsimulatePhysics
- make sure we do not set the OwnerComponent before calling the body instance matching function

#rb none
#jira UE-154615
#preflight 63092788e41c77ba7a231746

[CL 21597917 by cedric caillaud in ue5-main branch]
2022-08-26 16:19:48 -04:00
cedric caillaud
9a1c2929e1 Chaos : fix cook warning related to selection material in geometry collection
- Make sure to remove reference to the selection material in the material array when cooking and saving

#rb brice.criswell, jimmy.andrews
#jira UE-161748
#preflight 630574cca45b007ea2925d8d

[CL 21572919 by cedric caillaud in ue5-main branch]
2022-08-25 17:14:44 -04:00
cedric caillaud
7cb43e2d16 Chaos : break and shock damage propapgation
- add per component and geo collection asset damage propagation data
- store damage propapagtion info at the proxy level ( sim parameters )
- refactor clustering code to properly account for procxy suim parameters
- add shock propagation model complementary to the break propagation model

#rb none
#jira none
#fyi brice.criswell
#preflight 63053a185a5d4e46243141d9

[CL 21520742 by cedric caillaud in ue5-main branch]
2022-08-23 17:17:36 -04:00
Jimmy Andrews
4acfad1f33 add options on geometry collection creation
- make material duplication for internal materials optional
 - ask if user wants to split the mesh by connected component

+ implement the connected component split on the mesh description as part of the conversion, so we can do it before we've thrown out the mesh topology (geometry collection is a rendering rep that can't represent mesh topology; it splits at every UV seam and sharp edge)

#preflight 62fe8062f7404b55a3010ac6

[CL 21448521 by Jimmy Andrews in ue5-main branch]
2022-08-18 15:37:22 -04:00
Jimmy Andrews
e9cefb6e41 prevent crash if nanite data is null on geometry collection object
#preflight 62fa681f153b17e74635fb4d

[CL 21388535 by Jimmy Andrews in ue5-main branch]
2022-08-15 12:44:23 -04:00
kriss gossart
0422ca7705 Skeletal Mesh - Replace the newly created GetSkeletalMesh function by GetSkeletalMeshAsset so it matches the setter SetSkeletalMeshAsset function (which itself couldn't be named SetSkeletalMesh due to the function already existing and doing something else).
#rb Josie.Yang
#preflight 62fa2afeae3edb54c979492e
#jira none

[CL 21385959 by kriss gossart in ue5-main branch]
2022-08-15 09:26:50 -04:00
Jimmy Andrews
d42b54726c fix duplicate materials on new/reset of a geometry collection
#rb trivial
#preflight 62f559e4fb0cb69a5a171751

[CL 21344203 by Jimmy Andrews in ue5-main branch]
2022-08-11 16:23:50 -04:00
cedric caillaud
337d00d897 Chaos : geometry collection : now expose sockets from bone names (experimental )
#robomerge EngineMerge

#rb none
#jira none
#preflight 62da08424b6d775f5f21050c

[CL 21214002 by cedric caillaud in ue5-main branch]
2022-07-21 22:26:08 -04:00
Jimmy Andrews
c04af22c23 Guard against Levels attribute not being present on geometry collection in various fracture tools/utilities
#preflight 62d889723c3df3239096f6b2
#rb cedric.caillaud

[CL 21196031 by Jimmy Andrews in ue5-main branch]
2022-07-20 20:17:14 -04:00
cedric caillaud
7f7dc6842e Replication : add internal cluster information to rep clusters
#rb max.whitehead
#preflight 62d5d9f947779a730a48fa9b

#ROBOMERGE-OWNER: cedric.caillaud
#ROBOMERGE-AUTHOR: cedric.caillaud
#ROBOMERGE-SOURCE: CL 21164636 via CL 21165746 via CL 21168913
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21182699 by cedric caillaud in ue5-main branch]
2022-07-20 12:20:09 -04:00
cedric caillaud
572e15d50e Chaos : fix crash with level attribute not being present when copy to physics thread collection happens
#jira none
#preflight 62d6eaf4c0180d80719d74b9
#fyi max.whitehead, bill.henderson
#robomerge EngineMerge

[CL 21164998 by cedric caillaud in ue5-main branch]
2022-07-19 14:11:45 -04:00