107 Commits

Author SHA1 Message Date
jack cai
9e34e51dcf [Skeletal Mesh Editor] Third attempt to make sure UI reacts to new weight map layers being added as new Vertex Attributes
+verified that the thread safety issue due to the use of a multicast delegate from a workerthread during cook is fixed as well.

#jira UE-210085
#rb benoit.gadreau
#lockdown timothy.daoust

[CL 32540242 by jack cai in 5.4 branch]
2024-03-27 08:02:58 -04:00
justin peterson
7f9213ea9a [Backout] - CL32415082 - Build Cook Error
[FYI] jack.cai
Original CL Desc
-----------------------------------------------------------------
[Skeletal Mesh Editor] second try to make sure UI reacts to new weight map layers being added as new Vertex Attributes
+verified that the thread safety issue due to the use of a multicast delegate from a workerthread during cook is fixed as well.

#jira UE-210085
#rb benoit.gadreau

[CL 32510102 by justin peterson in 5.4 branch]
2024-03-26 11:23:50 -04:00
jack cai
cf5a679db6 [Skeletal Mesh Editor] second try to make sure UI reacts to new weight map layers being added as new Vertex Attributes
+verified that the thread safety issue due to the use of a multicast delegate from a workerthread during cook is fixed as well.

#jira UE-210085
#rb benoit.gadreau

[CL 32509756 by jack cai in 5.4 branch]
2024-03-26 11:16:23 -04:00
keaton stewart
54db3bc38a [Backout] - CL32368829
[FYI] jack.cai
Original CL Desc
-----------------------------------------------------------------
[Skeletal Mesh Editor] Making sure UI reacts to new weight map layers being added as new Vertex Attributes

#jira UE-210085
#rb benoit.gadreau

[CL 32500093 by keaton stewart in 5.4 branch]
2024-03-26 02:51:09 -04:00
jack cai
20fbefe350 [Skeletal Mesh Editor] Making sure UI reacts to new weight map layers being added as new Vertex Attributes
#jira UE-210085
#rb benoit.gadreau

[CL 32500000 by jack cai in 5.4 branch]
2024-03-26 02:48:18 -04:00
halfdan ingvarsson
8f680cf051 Skeletal Mesh: Change storage of morph target normals to be on vertex instances rather than vertices, to match how the base normals are stored. Add a backward compatibility path for skeletal meshes imported from Alembic files that have manually constructed UMorphTargets to support non-standard normals on the morph targets.
#jira UE-204464
#rb benoit.gadreau
#rnx

[CL 31566461 by halfdan ingvarsson in 5.4 branch]
2024-02-16 11:01:49 -05:00
alexis matte
be11abb02f Fix delete material to repatch the lod material map correctly.
#jira UE-205941
#rb JeanLuc.Corenthin
#rnx

[CL 31563020 by alexis matte in 5.4 branch]
2024-02-16 09:19:52 -05:00
alexis matte
9ccad7be42 Interchange: Fix skeletal mesh reimport: custom LODs, Alternate skin profiles and Cloth binding are now re-importing properly.
- Also fix the legacy alternate skinning if there is custom LODs in the asset. The alternate skin profiles are not lost anymore

#jira UE-205049 , UE-204958 , FORT-705238
#rb JeanLuc.Corenthin
#rnx

[CL 31337398 by alexis matte in 5.4 branch]
2024-02-09 09:19:36 -05:00
jack cai
b7dc602e69 [Skeletal Mesh Utilities] fixed a bug causing the same vert attribute map getting copied into multiple attributes on the LOD model
#rb halfdan.ingvarsson

[CL 31088875 by jack cai in 5.4 branch]
2024-02-01 11:06:35 -05:00
halfdan ingvarsson
551d79bfff Skeletal Mesh: Allow importing alt influence meshes with mismatched bones.
#rb kiaran.ritchie
#jira UE-204814
#rnx

[CL 30869791 by halfdan ingvarsson in 5.4 branch]
2024-01-24 19:46:11 -05:00
steve robb
6d5b974842 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30735396 by steve robb in ue5-main branch]
2024-01-19 19:41:56 -05:00
halfdan ingvarsson
1973de9e78 Skeletal Mesh: No need to warn on missing mesh description when processing vertex attributes since we might be processing a dependent LOD.
#rnx

[CL 30717687 by halfdan ingvarsson in ue5-main branch]
2024-01-19 11:49:11 -05:00
halfdan ingvarsson
b692d6e175 Skeletal Mesh: Change the import storage to use FMeshDescription instead of FSkeletalMeshImportData. This includes deprecating the USkeletalMesh::LoadLODImportedData and friends, in lieu of an API more similar to the one on UStaticMesh (GetMeshDescription/CommitMeshDescription/etc).
#jira UE-166343
#rb Alexis.Matte, benoit.gadreau, john.vanderburg

[CL 30711382 by halfdan ingvarsson in ue5-main branch]
2024-01-19 00:37:06 -05:00
alexis matte
152e32ac2b Interchange: bKeepSectionsSeparate LODs Fix
#jira UE-201807
#rb jeanluc.corenthin
#rnx

[CL 30591255 by alexis matte in ue5-main branch]
2024-01-12 08:44:22 -05:00
halfdan ingvarsson
a1f38f2da4 AltSkin Import: When determining which points to process, ignore points that don't contribute to the mesh at all. FBX does not guarantee that all vertices are actually used by the mesh itself.
#rnx

[CL 30257247 by halfdan ingvarsson in ue5-main branch]
2023-12-11 23:48:04 -05:00
alexis matte
1cee6b845a Interchange: Material workflow implementation
#jira UE-199573 , UE-174607 , UE-198433
#rb JeanLuc.Corenthin
#rnx


#virtualized

[CL 30119523 by alexis matte in ue5-main branch]
2023-12-05 10:42:31 -05:00
halfdan ingvarsson
6505c9de1c AltSkin Import: Perform a naive skin weight influence infill for vertexes we could not map to the base mesh, rather than just blindly mapping them to root.
#rb benoit.gadreau

[CL 29995998 by halfdan ingvarsson in ue5-main branch]
2023-11-29 14:42:29 -05:00
alexis matte
f48a8627f3 Fix the skeletal mesh custom LOD import to properly reset the new vertices reduction flags.
#jira UE-200384
#rb JeanLuc.Corenthin
#rnx

[CL 29818746 by alexis matte in ue5-main branch]
2023-11-17 15:30:30 -05:00
alexis matte
5ef80ec310 Fix a possible deadlock when building skeletalmesh
#jira UE-189048
#rb jeanluc.corenthin
#rnx

[CL 26717213 by alexis matte in ue5-main branch]
2023-07-31 15:16:30 -04:00
balazs toereki
64d909ddc6 LODUtilities MatchImportedMaterials fix for skeletal with no material re-imports
#jira UE-188497
#rb Alexis.Matte

[CL 26368765 by balazs toereki in ue5-main branch]
2023-07-05 09:04:15 -04:00
robert millar
94c717a93c Add extra info in message when skin weight profiles don't match
#rb none

[CL 26294482 by robert millar in ue5-main branch]
2023-06-28 14:58:28 -04:00
halfdan ingvarsson
9c3950900b Skelmesh: Optimize import of alternative skin weights.
#jira UE-186957
#preflight 646e950df85111e06cc68d00
#rb alexis.matte

[CL 25635967 by halfdan ingvarsson in ue5-main branch]
2023-05-25 20:47:10 -04:00
Alexis Matte
a922921aee Fix material rematch when re-importing skeletalmesh
#jira none
#rb jeanluc.corenthin
#rnx
#preflight 646e2bbd6c2a2532b1e12c57

[CL 25604611 by Alexis Matte in ue5-main branch]
2023-05-24 11:43:05 -04:00
halfdan ingvarsson
d9d24a10d6 Skeletal Mesh: Allow creation, use and cooking of arbitrary per-vertex attributes on skeletal meshes.
#jira UE-141809
#rb alexis.matte, josie.yang
#preflight 643f3b0b8d0bcde49c23411f

[CL 25099619 by halfdan ingvarsson in ue5-main branch]
2023-04-18 21:22:54 -04:00
Alexis Matte
f4e1b59c90 Rematch material on re-import for both the static mesh and the skeletal mesh.
Add a new factory step call ImportAssetObjectFinalize_GameThread so we can call some UI on the game thread when importing an asset.

#jira UE-174377
#rb jeanluc.corenthin
#rnx
#preflight 64235271a86ae7cbcccfa4af

[CL 24835626 by Alexis Matte in ue5-main branch]
2023-03-29 10:19:22 -04:00