Commit Graph

117 Commits

Author SHA1 Message Date
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
kiaran ritchie
f4ec9e22c9 Moving skeletal mesh editing APIs into their own module inside the skeletal mesh editing plugin.
#rb benoit.gadreau
#JIRA none
#preflight https://horde.devtools.epicgames.com/job/6438a22c8901e5ef98d90808
#preflight 643972a3db681113a4fc9d86

[CL 25041820 by kiaran ritchie in ue5-main branch]
2023-04-14 11:54:04 -04:00
halfdan ingvarsson
470c8eabf5 Skelmesh Converter: Check if the mesh geometry has vertex color data, in which case set the flag on the skelmesh so that it gets displayed properly.
#jira UE-168307
#preflight 6436561d00398d6f882b88b3
#rnx

[CL 25003708 by halfdan ingvarsson in ue5-main branch]
2023-04-12 03:46:26 -04:00
benoit gadreau
57d752ac3d Skeleton Modifier BP/Python API
#jira UE-182535
#rb kiaran.ritchie
#preflight 642e85d8f6304b1f0231ab71

[CL 24963203 by benoit gadreau in ue5-main branch]
2023-04-07 06:01:47 -04:00
benoit gadreau
34e7de0680 - added USkeletalMesh::Get/CommitMeshDescription functions to ease skeletal mesh manipulations thru mesh description
- store RefBasesInvMatrix when transacting as the number of bones serialized with the ref skeleton can vary
- fixed transaction issue with Modify not being called on USkeletalMeshEditorData


#jira UE-181601
#rb halfdan.ingvarsson
#preflight 642be5c0f376ab43d25f537f

[CL 24912623 by benoit gadreau in ue5-main branch]
2023-04-04 12:27:04 -04:00