Commit Graph

121 Commits

Author SHA1 Message Date
halfdan ingvarsson
168fcbee1a 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 31566631 by halfdan ingvarsson in ue5-main branch]
2024-02-16 11:06:04 -05:00
alexis matte
ee6399bdae Fix delete material to repatch the lod material map correctly.
#jira UE-205941
#rb JeanLuc.Corenthin
#rnx

[CL 31563082 by alexis matte in ue5-main branch]
2024-02-16 09:21:13 -05:00
alexis matte
7ff253d7ab 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 31335966 by alexis matte in ue5-main branch]
2024-02-09 07:59:04 -05:00
jack cai
ad1f902744 [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 31088801 by jack cai in ue5-main branch]
2024-02-01 11:03:47 -05:00
halfdan ingvarsson
b469488f3d Skeletal Mesh: Allow importing alt influence meshes with mismatched bones.
#rb kiaran.ritchie
#jira UE-204814
#rnx

[CL 30869573 by halfdan ingvarsson in ue5-main branch]
2024-01-24 19:44:15 -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
eric spevacek
4e85672ce2 Initialize new USkeletalMesh assets with reduction settings that preserve the source mesh
- Resolves a bug where skeletal meshes were compressed to 50% of the source mesh
- These default settings were mirrored from InterchangeSkeletalMeshFactory

[FYI] halfdan.ingvarsson

[CL 28523134 by eric spevacek in ue5-main branch]
2023-10-05 18:56:21 -04:00
halfdan ingvarsson
d149750bcf Skelmesh Conversion: Ensure build data is set to latest version, otherwise no build options show up.
#jira UE-188300
#rnx

[CL 26866156 by halfdan ingvarsson in ue5-main branch]
2023-08-04 20:50:20 -04:00
halfdan ingvarsson
319d1b93e7 Skelmesh Conversion: Don't override the base LOD value from the static mesh's reduction settings.
#jira UE-188273
#rnx

[CL 26860303 by halfdan ingvarsson in ue5-main branch]
2023-08-04 16:33:13 -04: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
benoit gadreau
c0cba53399 Skeleton Editing Tool: editable skeleton tree
#jira UE-183073
#rb kiaran.ritchie

[CL 26117738 by benoit gadreau in ue5-main branch]
2023-06-20 07:17:57 -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
67a3b6d37c Skelmesh Converter: Fix setting multiple LODs
#jira UE-182276
#rnx
#preflight 644ae6e5401d328ad9d28205

[CL 25238008 by halfdan ingvarsson in ue5-main branch]
2023-04-28 15:34:02 -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
benoit gadreau
c58b1167bf Skeleton Mesh Editing tool: multi selection + transform gizmo
- multiselection: bones can be multi-selected (using shift/ctrl) so that they can be bulk edited
    - bones can be transformed individually (unlike in the level editor where the last selected element's transform is used as pivot)
    - added USkeletalMeshGizmoContextObject to manage gizmo wrappers for skeletal mesh tools
    - gizmo: re-used the transform gizmo work done with several fixes/improvements so that they can be used in other contexts
        - UTransformGizmo can be used without TransformGizmoSource, most of the infos can be retrieved from the IToolsContextQueriesAPI
        - UTransformGizmo can be passed an external StateTarget to handle transaction externally
        - UTransformGizmo fixed rotations going in the wrong direction when dragging

#jira UE-183454
#jira UE-183453
#rb kiaran.ritchie
#preflight 643d63df8e01968448cf53db

[CL 25085825 by benoit gadreau in ue5-main branch]
2023-04-18 10:17:27 -04:00