From 58dd290e144cdddb587cdc2cc505fdf4b3ba0453 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Wed, 6 Mar 2024 18:19:51 +0900 Subject: [PATCH] WIP v0.121 --- docs/api/humanoid/humanoid_animation.md | 55 +++++++++++++++++++++++++ docs/api/humanoid/index.mdx | 6 +++ docs/release/112/v0.120.0.md | 30 +++++++++++--- docs/release/112/v0.121.0.md | 22 ++++++++++ docs/release/index.mdx | 4 +- sidebars.ts | 11 ++++- 6 files changed, 120 insertions(+), 8 deletions(-) create mode 100644 docs/api/humanoid/humanoid_animation.md create mode 100644 docs/api/humanoid/index.mdx create mode 100644 docs/release/112/v0.121.0.md diff --git a/docs/api/humanoid/humanoid_animation.md b/docs/api/humanoid/humanoid_animation.md new file mode 100644 index 000000000..7cd366f75 --- /dev/null +++ b/docs/api/humanoid/humanoid_animation.md @@ -0,0 +1,55 @@ +# Humanoid Animation + +VRM にモーションを適用する方法 + +## Unity の humanoid として使う + +UnityEngine.Animator に AnimationType が Humanoid の Avatar をセットします。 + +:::tip +`vrm-0.x` `vrm-1.0` 共に `UnityEngine.Animator` に AnimationType が Humanoid の Avatar を セットアップ済みです。 +::: + +詳細は Unity を参照してください。 + +https://docs.unity3d.com/ja/2021.3/Manual/ConfiguringtheAvatar.html + +## Transform を操作する + +### humanoid bone の回転をコピーする + +```cs +foreach(var bone in bones) +{ +} +``` + +:::info +骨格とモーションの初期姿勢が一致するときに可能です。 +::: + +:::tip vrm-0.x と T-Pose 向けモーション + +vrm-0.x はスケルトンが正規化されているので、 +初期姿勢が TPose のモーションを適用できます。 + +::: + +:::danger vrm-1.0 は正しく動作しない場合があります + +モデルによって異なることに注意してください。 +::: + +:::warning bvh は vrm-0.x と互換性があるものもあります +BVH の初期姿勢は特に決まっていません。 +::: + +### vrm-1.0 ControlRig で変換コピーする + +![img](../ControlRig.png) + +[ControlRig](/api/vrm1_controlrig) + +:::tip 正規化さていないスケルトン/モーションを変換できます。 + +::: diff --git a/docs/api/humanoid/index.mdx b/docs/api/humanoid/index.mdx new file mode 100644 index 000000000..59f1dd317 --- /dev/null +++ b/docs/api/humanoid/index.mdx @@ -0,0 +1,6 @@ +import DocCardList from '@theme/DocCardList'; + +# Humanoid + + + diff --git a/docs/release/112/v0.120.0.md b/docs/release/112/v0.120.0.md index 9ed13c75c..c9b0beea1 100644 --- a/docs/release/112/v0.120.0.md +++ b/docs/release/112/v0.120.0.md @@ -1,19 +1,37 @@ -# v0.120 CapsuleColliderの修正 +# v0.120.0 CapsuleCollider の修正 -## 1.0 SpringBone +https://github.com/vrm-c/UniVRM/milestone/83?closed=1 +:::info vrm-1.0 SpringBone の CapsuleCollider が正しく動作するようになりました - [[\#2254](https://github.com/vrm-c/UniVRM/pull/2254)] ロジックバグ。normalize 必用ぽい +::: + +:::info vrm-1.0 SpringBone Inspector の表示を改善しました + - [[\#2253](https://github.com/vrm-c/UniVRM/pull/2253)] [vrm10] SpringBone の inspector 修正など +- ColliderGroup 名の list 表示 + +![img](https://private-user-images.githubusercontent.com/68057/308129082-76eea0d3-a3d5-44cf-9b34-206f80e8678c.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDk3MDc0NTgsIm5iZiI6MTcwOTcwNzE1OCwicGF0aCI6Ii82ODA1Ny8zMDgxMjkwODItNzZlZWEwZDMtYTNkNS00NGNmLTliMzQtMjA2ZjgwZTg2NzhjLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAzMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMzA2VDA2MzkxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM3Mjc0MGRkOGY4YmQ2Y2JlM2ExMTY1NmZkMzZlZTg4ODkxNWMzNTI3YjQ4MzlhMTk3ODQ1YWEzZGYyYzdiNzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.qOKBg78yLsiQOw82bCpYKGiY0YvTP64tIt_r5crDyj0) -## VRM-Animation +::: + +:::info VRM-Animation specVersion - [[\#2251](https://github.com/vrm-c/UniVRM/pull/2251)] VRMC_vrm_animation.specVersion = "1.0" +::: + +:::info VRM-1.0 FirstPerson の修正 + +- [[\#2252](https://github.com/vrm-c/UniVRM/pull/2252)] [VRM10] FirstPerson の修正 +- auto で headless を作成する必要が無かった場合の挙動を修正 +- headless の Destroy + +::: + ## その他 -- [[\#2256](https://github.com/vrm-c/UniVRM/pull/2256)] Editorスクリプトの配置間違い +- [[\#2256](https://github.com/vrm-c/UniVRM/pull/2256)] Editor スクリプトの配置間違い - [[\#2255](https://github.com/vrm-c/UniVRM/pull/2255)] version UniVRM-0.120.0 -- [[\#2252](https://github.com/vrm-c/UniVRM/pull/2252)] [VRM10] FirstPerson の修正 - [[\#2245](https://github.com/vrm-c/UniVRM/pull/2245)] Add Humanoid as RequireComponent - [[\#2247](https://github.com/vrm-c/UniVRM/pull/2247)] close gh pages - diff --git a/docs/release/112/v0.121.0.md b/docs/release/112/v0.121.0.md new file mode 100644 index 000000000..8b0666c08 --- /dev/null +++ b/docs/release/112/v0.121.0.md @@ -0,0 +1,22 @@ +# v0.121.0 🚧WIP🚧 Fix MeshUtility + +https://github.com/vrm-c/UniVRM/milestone/84 + +:::info MeshUtility の修正 +https://github.com/vrm-c/UniVRM/issues/2248 +::: + +:::note TODO Ability to freeze pose with GLTF export + +- https://github.com/vrm-c/UniVRM/issues/2041 + ::: + +:::note TODO ボーン変形を持たない SkinnedMeshRenderer を VRM1.0 でエクスポートするとローカル座標が反映されない + +- https://github.com/vrm-c/UniVRM/issues/2119 + ::: + +:::note TODO + +- https://github.com/vrm-c/UniVRM/issues/2169 + ::: diff --git a/docs/release/index.mdx b/docs/release/index.mdx index 7f925c5bf..8ba702458 100644 --- a/docs/release/index.mdx +++ b/docs/release/index.mdx @@ -1,6 +1,8 @@ # UniVRM Version -import DocCardList from '@theme/DocCardList'; +import DocCardList from "@theme/DocCardList"; + +[latest](/release/112/v0.120.0/) diff --git a/sidebars.ts b/sidebars.ts index 18f343c38..a48b5d996 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -301,7 +301,6 @@ const sidebars: SidebarsConfig = { link: { type: "doc", id: "api/vrm1_load" }, items: [ { type: "doc", id: "api/vrm1_migration" }, - { type: "doc", id: "api/vrm1_controlrig" }, ], }, "vrma/univrm-vrma/vrma-import", @@ -355,6 +354,16 @@ const sidebars: SidebarsConfig = { { type: "doc", id: "api/0_106_spring_manual_update" }, ], }, + { + type: "category", + label: "Humanoid", + link: { type: "doc", id: "api/humanoid/index" }, + items: [ + "api/humanoid/humanoid_animation", + "vrma/univrm-vrma/retarget", + { type: "doc", id: "api/vrm1_controlrig" }, + ], + }, { type: "category", label: "Other",