USD: Skeleton and blend shape import #110912

Michael Kowalski merged 38 commits from makowalski/blender:usdskel_import into main 2023-08-17 20:11:58 +02:00

38 Commits

Author SHA1 Message Date
Michael Kowalski 85ad6b89a7 USD skel import: added comment.
buildbot/vexp-code-patch-coordinator Build done. Details
2023-08-17 13:01:32 -04:00
Michael Kowalski 8d67a3a9b4 USD skel import: misc cleanup.
buildbot/vexp-code-patch-coordinator Build done. Details
Fixes based on review comments by Sybren.
2023-08-17 12:29:16 -04:00
Michael Kowalski b6d57a5287 Merge branch 'main' into usdskel_import 2023-08-17 10:52:22 -04:00
Michael Kowalski 14e3f80f3d USD: add missing include.
buildbot/vexp-code-patch-coordinator Build done. Details
2023-08-16 14:30:46 -04:00
Michael Kowalski b74fb7fbcb Merge branch 'main' into usdskel_import 2023-08-16 14:02:57 -04:00
Michael Kowalski 02a715f0c0 USD import: refactor get_local_usd_xform().
Per review comments by Sybren, simplified
get_local_usd_xform() to return an optional tuple.
2023-08-16 13:58:13 -04:00
Michael Kowalski c68dd11766 USD: fixed docstring format, per review comment. 2023-08-16 09:42:07 -04:00
Michael Kowalski 9d52363023 USD test: new skel import test. 2023-08-16 09:37:39 -04:00
Michael Kowalski 30557a84f3 USD skel import: new blend shape import test. 2023-08-15 20:51:24 -04:00
Michael Kowalski 9091cc7dc9 Merge branch 'main' into usdskel_import
buildbot/vexp-code-patch-coordinator Build done. Details
2023-08-14 16:13:46 -04:00
Michael Kowalski c1f4b0dd3b USD skel import: fixed typo. 2023-08-13 21:23:34 -04:00
Michael Kowalski cfaf4d288b USD: format fix.
buildbot/vexp-code-patch-coordinator Build done. Details
2023-08-13 20:47:40 -04:00
Michael Kowalski 3f8d06e474 USD: edited comments. 2023-08-13 20:42:36 -04:00
Michael Kowalski 601d38639e Merge branch 'main' into usdskel_import 2023-08-13 20:19:24 -04:00
Michael Kowalski a26a473ed7 USD Skel import: addressed review comments.
Fixes as suggested by Nathan Vegdahl in his review,
including making const where possible and more
robust epsilon checks.  Additional minor cleanup.
2023-08-13 20:07:57 -04:00
Michael Kowalski a7f52e2e8e USD import: added comment for get_skeleton_path. 2023-08-12 18:25:07 -04:00
Michael Kowalski 02577e54da Merge branch 'main' into usdskel_import 2023-08-12 18:00:09 -04:00
Michael Kowalski e6a7c23bdd USD: removed obsolete include. 2023-08-11 09:44:08 -04:00
Michael Kowalski 078ec04504 Merge branch 'main' into usdskel_import 2023-08-10 21:07:39 -04:00
Michael Kowalski 4c91b30530 Merge branch 'main' into usdskel_import
buildbot/vexp-code-patch-coordinator Build done. Details
2023-08-08 16:09:28 -04:00
Michael Kowalski 7db97b831f USD: format fixes. 2023-08-08 15:35:30 -04:00
Michael Kowalski 7c9e6ee678 USD skel import: cleanup using const. 2023-08-08 15:15:24 -04:00
Michael Kowalski bdb808a9b8 USD skel import: review fixes.
Fixes based on review by Bastien.
2023-08-08 15:05:37 -04:00
Michael Kowalski 4dddd6a96d Format fixes.
buildbot/vexp-code-patch-coordinator Build done. Details
2023-08-07 23:15:16 -04:00
Michael Kowalski 85413cfdd9 Added comments. 2023-08-07 22:58:16 -04:00
Michael Kowalski 0bb38c39d0 USD: comments for process_armature_modifiers.
Also reporting warnings.
2023-08-07 22:23:21 -04:00
Michael Kowalski 6a56a8547f USD: Add comments for import_mesh_skel_bindings.
Also reporting warnings rather than printing to std out.
2023-08-07 21:37:28 -04:00
Michael Kowalski da0aaf6023 Fixed compile errors. 2023-08-07 19:12:29 -04:00
Michael Kowalski 2fa228bc30 Merge branch 'main' into usdskel_import 2023-08-07 18:34:59 -04:00
Michael Kowalski e89681955e USD: cleanup skel import.
Added comments, reporting warnings and
reorganized code to make it easier to
2023-08-07 00:37:40 -04:00
Michael Kowalski f445fef389 USD: fixed bug in bone animation import. 2023-08-07 00:26:20 -04:00
Michael Kowalski 3acd02441d USD: refactor bone curve creation.
Made import_skeleton_curves() local to the file
and simplified rest-relative transform computation.
Added comments.
2023-08-06 19:59:54 -04:00
Michael Kowalski 83ef176502 USD skel import: optional curve import, comments.
Added flag to control whether to import animation
cuves.  Also added comments and made naming more
2023-08-06 13:01:18 -04:00
Michael Kowalski b6cee3cdcd USD skel import: comments and cleanup.
Replaced cout statements with Blender warnings and
general cleanup.
2023-08-05 22:25:54 -04:00
Michael Kowalski 0bf5c465b2 USD: new import_skeleton() function.
Moved skeleton conversion code from the USDSkeletonReader
class to a new import_skeleton() utility function.
2023-08-05 15:49:54 -04:00
Michael Kowalski 076689ae9c USD import: allow skel binding to prototype prims.
Also removed commented out code.
2023-08-04 14:04:24 -04:00
Michael Kowalski a7d1c177d3 USD import: set binding xform for skinned meshes. 2023-08-03 20:04:09 -04:00
Michael Kowalski 3e158fa560 USD: port of UsdSkel import from the USD branch. 2023-08-03 17:37:02 -04:00