From 490828e06690f1959bf45e3032b8343633e45a3e Mon Sep 17 00:00:00 2001 From: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> Date: Sun, 28 Jul 2024 13:20:12 +0900 Subject: [PATCH 1/6] chore(ja): add more description for MergeSMR --- .../docs/reference/merge-skinned-mesh/index.ja.md | 11 ++++++++++- Localization/ja-jp.po | 8 ++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/.docs/content/docs/reference/merge-skinned-mesh/index.ja.md b/.docs/content/docs/reference/merge-skinned-mesh/index.ja.md index b317decd0..d4099e154 100644 --- a/.docs/content/docs/reference/merge-skinned-mesh/index.ja.md +++ b/.docs/content/docs/reference/merge-skinned-mesh/index.ja.md @@ -19,7 +19,13 @@ SkinnedMeshRendererを統合することでメッシュを変形させる処理 アニメーションでメッシュのオン・オフを個別に切り替えたりすることはできなくなりますが、マテリアルに関するアニメーションは統合前のものがそのまま機能します。 このコンポーネントはメッシュ・マテリアル・BlendShape・Boundsを設定しますが、その他の設定については変更しません。 -AnchorOverride等の設定を行うには、MergeSkinnedMeshのあるGameObject上のSkinnedMeshRendererコンポーネントを編集してください。 +Anchor Override等の設定を行うには、MergeSkinnedMeshのあるGameObject上のSkinnedMeshRendererコンポーネントを編集してください。 + +{{< hint info >}} + +[Modular Avatar]を使用している場合は、アバターのルートに[`MA Mesh Settings`]コンポーネントを追加して設定することにより、アバター全体のAnchor Override等をまとめて設定することができます。 + +{{< /hint >}} また、このコンポーネントは、服のメッシュや体のメッシュを統合するのには適していますが、顔のメッシュを統合するのには適していません。\ BlendShapeは、頂点とBlendShapeの数に比例して負荷が大きくなる機能です。 @@ -66,3 +72,6 @@ BlendShapeは、頂点とBlendShapeの数に比例して負荷が大きくなる 複数の(Skinned)MeshRendererで使用されているマテリアルがある場合、ここに一覧で表示されます。 `統合する`にチェックを入れることで、それらのマテリアルスロットを1つに統合します。これはDrawCallを削減します。 + +[Modular Avatar]: https://modular-avatar.nadena.dev/ +[`MA Mesh Settings`]: https://modular-avatar.nadena.dev/docs/reference/mesh-settings diff --git a/Localization/ja-jp.po b/Localization/ja-jp.po index 5e1f88412..8f4d61e0d 100644 --- a/Localization/ja-jp.po +++ b/Localization/ja-jp.po @@ -249,9 +249,17 @@ msgstr "このメッシュを統合対象から除外するか、このメッシ msgid "MergeSkinnedMesh:warning:no-root-bone" msgstr "統合先のメッシュにRoot Boneが設定されていないため、予期しない動作が引き起こされる場合があります。" +msgid "MergeSkinnedMesh:warning:no-root-bone:description" +msgstr "MergeSkinnedMeshは統合先のメッシュのRoot Boneを自動では設定しないため、手動で設定する必要があります。\n" +"Modular Avatarを使用している場合は、アバターのルートにMA Mesh Settingsコンポーネントを追加して設定することにより、アバター全体のRoot Boneをまとめて設定することもできます。" + msgid "MergeSkinnedMesh:warning:no-probe-anchor" msgstr "統合先のメッシュにAnchor Overrideが設定されていないため、予期しない動作が引き起こされる場合があります。" +msgid "MergeSkinnedMesh:warning:no-probe-anchor:description" +msgstr "MergeSkinnedMeshは統合先のメッシュのAnchor Overrideを自動では設定しないため、手動で設定する必要があります。\n" +"Modular Avatarを使用している場合は、アバターのルートにMA Mesh Settingsコンポーネントを追加して設定することにより、アバター全体のAnchor Overrideをまとめて設定することもできます。" + # endregion # region MergeToonLitMaterial From fad203790be291a53ddbba9b71405ada452b1bb1 Mon Sep 17 00:00:00 2001 From: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> Date: Thu, 1 Aug 2024 18:53:44 +0900 Subject: [PATCH 2/6] docs(ja): fix link to MA is not for Japanese --- .docs/content/docs/reference/merge-skinned-mesh/index.ja.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.docs/content/docs/reference/merge-skinned-mesh/index.ja.md b/.docs/content/docs/reference/merge-skinned-mesh/index.ja.md index d4099e154..91126b6bf 100644 --- a/.docs/content/docs/reference/merge-skinned-mesh/index.ja.md +++ b/.docs/content/docs/reference/merge-skinned-mesh/index.ja.md @@ -73,5 +73,5 @@ BlendShapeは、頂点とBlendShapeの数に比例して負荷が大きくなる `統合する`にチェックを入れることで、それらのマテリアルスロットを1つに統合します。これはDrawCallを削減します。 -[Modular Avatar]: https://modular-avatar.nadena.dev/ -[`MA Mesh Settings`]: https://modular-avatar.nadena.dev/docs/reference/mesh-settings +[Modular Avatar]: https://modular-avatar.nadena.dev/ja +[`MA Mesh Settings`]: https://modular-avatar.nadena.dev/ja/docs/reference/mesh-settings From 175ed732becfdd6a15a387108f1e5c70f50fc4f0 Mon Sep 17 00:00:00 2001 From: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> Date: Thu, 1 Aug 2024 19:01:33 +0900 Subject: [PATCH 3/6] chore(en): add more description for MergeSMR --- .../docs/reference/merge-skinned-mesh/index.md | 11 ++++++++++- Localization/en-us.po | 8 ++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/.docs/content/docs/reference/merge-skinned-mesh/index.md b/.docs/content/docs/reference/merge-skinned-mesh/index.md index 4d8a4d777..1b4379106 100644 --- a/.docs/content/docs/reference/merge-skinned-mesh/index.md +++ b/.docs/content/docs/reference/merge-skinned-mesh/index.md @@ -19,7 +19,13 @@ Also, it can reduce material slots using the same material, so we can reduce ren This component makes it impossible to turn meshes on and off individually on animations, but material-related animations will work without modification. This component will configure Meshes, Materials, BlendShapes, and Bounds but other settings will not be modified. -Please edit SkinnedMeshRenderer component attached to same GameObject as MergeSkinnedMesh to set AnchorOverride or else. +Please edit SkinnedMeshRenderer component attached to same GameObject as MergeSkinnedMesh to set Anchor Override or else. + +{{< hint info >}} + +If you are using [Modular Avatar], you can add [`MA Mesh Settings`] component to the root of the avatar to set the Anchor Override or else for the whole avatar. + +{{< /hint >}} This component is good for merging your cloth meshes and body meshes but not good for face meshes because BlendShape can cause performance impact. BlendShape is a feature became heavier in proportion to the count of vertices and BlendShapes. @@ -69,3 +75,6 @@ If this checkbox is checked, renderers whose enablement is different than target If this component found some Materials used in multiple renderers, the Materials will be listed here. Check `Merge` to merge those MaterialSlots (SubMeshes) into one MaterialSlot. This reduces DrawCalls. + +[Modular Avatar]: https://modular-avatar.nadena.dev +[`MA Mesh Settings`]: https://modular-avatar.nadena.dev/docs/reference/mesh-settings diff --git a/Localization/en-us.po b/Localization/en-us.po index 2e8a06add..52c87f21a 100644 --- a/Localization/en-us.po +++ b/Localization/en-us.po @@ -339,9 +339,17 @@ msgstr "Please exclude this from the source SkinnedMeshRenderers or remove Cloth msgid "MergeSkinnedMesh:warning:no-root-bone" msgstr "Root Bone of the merged mesh is not set. This may cause unexpected behavior." +msgid "MergeSkinnedMesh:warning:no-root-bone:description" +msgstr "MergeSkinnedMesh does not automatically set the Root Bone of the merged mesh, so you need to set manually.\n" +"If you are using [Modular Avatar], you can also add [`MA Mesh Settings`] component to the root of the avatar to set the Root Bone for the whole avatar." + msgid "MergeSkinnedMesh:warning:no-probe-anchor" msgstr "Anchor Override of the merged mesh is not set. This may cause unexpected behavior." +msgid "MergeSkinnedMesh:warning:no-probe-anchor:description" +msgstr "MergeSkinnedMesh does not automatically set the Anchor Override of the merged mesh, so you need to set manually.\n" +""If you are using [Modular Avatar], you can also add [`MA Mesh Settings`] component to the root of the avatar to set the Anchor Override for the whole avatar." + # endregion # region MergeToonLitMaterial From fdc5a72dcbd528dfc1fe91efd66a4248101e1908 Mon Sep 17 00:00:00 2001 From: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> Date: Thu, 1 Aug 2024 19:51:30 +0900 Subject: [PATCH 4/6] chore(en): fix incorrect string --- Localization/en-us.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Localization/en-us.po b/Localization/en-us.po index 52c87f21a..91743f719 100644 --- a/Localization/en-us.po +++ b/Localization/en-us.po @@ -341,14 +341,14 @@ msgstr "Root Bone of the merged mesh is not set. This may cause unexpected behav msgid "MergeSkinnedMesh:warning:no-root-bone:description" msgstr "MergeSkinnedMesh does not automatically set the Root Bone of the merged mesh, so you need to set manually.\n" -"If you are using [Modular Avatar], you can also add [`MA Mesh Settings`] component to the root of the avatar to set the Root Bone for the whole avatar." +"If you are using Modular Avatar, you can also add MA Mesh Settings component to the root of the avatar to set the Root Bone for the whole avatar." msgid "MergeSkinnedMesh:warning:no-probe-anchor" msgstr "Anchor Override of the merged mesh is not set. This may cause unexpected behavior." msgid "MergeSkinnedMesh:warning:no-probe-anchor:description" msgstr "MergeSkinnedMesh does not automatically set the Anchor Override of the merged mesh, so you need to set manually.\n" -""If you are using [Modular Avatar], you can also add [`MA Mesh Settings`] component to the root of the avatar to set the Anchor Override for the whole avatar." +"If you are using Modular Avatar, you can also add MA Mesh Settings component to the root of the avatar to set the Anchor Override for the whole avatar." # endregion From 9da166f28e4d4bbc34de1483919e64b9c3ad7567 Mon Sep 17 00:00:00 2001 From: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> Date: Thu, 1 Aug 2024 19:53:15 +0900 Subject: [PATCH 5/6] chore(ja/en): "more description for MergeSMR" is now hint --- Localization/en-us.po | 4 ++-- Localization/ja-jp.po | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Localization/en-us.po b/Localization/en-us.po index 91743f719..86fd337e9 100644 --- a/Localization/en-us.po +++ b/Localization/en-us.po @@ -339,14 +339,14 @@ msgstr "Please exclude this from the source SkinnedMeshRenderers or remove Cloth msgid "MergeSkinnedMesh:warning:no-root-bone" msgstr "Root Bone of the merged mesh is not set. This may cause unexpected behavior." -msgid "MergeSkinnedMesh:warning:no-root-bone:description" +msgid "MergeSkinnedMesh:warning:no-root-bone:hint" msgstr "MergeSkinnedMesh does not automatically set the Root Bone of the merged mesh, so you need to set manually.\n" "If you are using Modular Avatar, you can also add MA Mesh Settings component to the root of the avatar to set the Root Bone for the whole avatar." msgid "MergeSkinnedMesh:warning:no-probe-anchor" msgstr "Anchor Override of the merged mesh is not set. This may cause unexpected behavior." -msgid "MergeSkinnedMesh:warning:no-probe-anchor:description" +msgid "MergeSkinnedMesh:warning:no-probe-anchor:hint" msgstr "MergeSkinnedMesh does not automatically set the Anchor Override of the merged mesh, so you need to set manually.\n" "If you are using Modular Avatar, you can also add MA Mesh Settings component to the root of the avatar to set the Anchor Override for the whole avatar." diff --git a/Localization/ja-jp.po b/Localization/ja-jp.po index 8f4d61e0d..aa698dd1c 100644 --- a/Localization/ja-jp.po +++ b/Localization/ja-jp.po @@ -249,14 +249,14 @@ msgstr "このメッシュを統合対象から除外するか、このメッシ msgid "MergeSkinnedMesh:warning:no-root-bone" msgstr "統合先のメッシュにRoot Boneが設定されていないため、予期しない動作が引き起こされる場合があります。" -msgid "MergeSkinnedMesh:warning:no-root-bone:description" +msgid "MergeSkinnedMesh:warning:no-root-bone:hint" msgstr "MergeSkinnedMeshは統合先のメッシュのRoot Boneを自動では設定しないため、手動で設定する必要があります。\n" "Modular Avatarを使用している場合は、アバターのルートにMA Mesh Settingsコンポーネントを追加して設定することにより、アバター全体のRoot Boneをまとめて設定することもできます。" msgid "MergeSkinnedMesh:warning:no-probe-anchor" msgstr "統合先のメッシュにAnchor Overrideが設定されていないため、予期しない動作が引き起こされる場合があります。" -msgid "MergeSkinnedMesh:warning:no-probe-anchor:description" +msgid "MergeSkinnedMesh:warning:no-probe-anchor:hint" msgstr "MergeSkinnedMeshは統合先のメッシュのAnchor Overrideを自動では設定しないため、手動で設定する必要があります。\n" "Modular Avatarを使用している場合は、アバターのルートにMA Mesh Settingsコンポーネントを追加して設定することにより、アバター全体のAnchor Overrideをまとめて設定することもできます。" From c2da798a751978d8b924f8916135fe1d8998a443 Mon Sep 17 00:00:00 2001 From: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> Date: Fri, 2 Aug 2024 03:53:51 +0900 Subject: [PATCH 6/6] chore(ja/en): separate string --- Localization/en-us.po | 12 ++++++++---- Localization/ja-jp.po | 10 ++++++++-- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/Localization/en-us.po b/Localization/en-us.po index 86fd337e9..da3868f87 100644 --- a/Localization/en-us.po +++ b/Localization/en-us.po @@ -339,16 +339,20 @@ msgstr "Please exclude this from the source SkinnedMeshRenderers or remove Cloth msgid "MergeSkinnedMesh:warning:no-root-bone" msgstr "Root Bone of the merged mesh is not set. This may cause unexpected behavior." +msgid "MergeSkinnedMesh:warning:no-root-bone:description" +msgstr "MergeSkinnedMesh does not automatically set the Root Bone of the merged mesh." + msgid "MergeSkinnedMesh:warning:no-root-bone:hint" -msgstr "MergeSkinnedMesh does not automatically set the Root Bone of the merged mesh, so you need to set manually.\n" -"If you are using Modular Avatar, you can also add MA Mesh Settings component to the root of the avatar to set the Root Bone for the whole avatar." +msgstr "You need to set it manually. If you are using Modular Avatar, you can also add MA Mesh Settings component to the root of the avatar to set the Root Bone for the whole avatar." msgid "MergeSkinnedMesh:warning:no-probe-anchor" msgstr "Anchor Override of the merged mesh is not set. This may cause unexpected behavior." +msgid "MergeSkinnedMesh:warning:no-probe-anchor:description" +msgstr "MergeSkinnedMesh does not automatically set the Anchor Override of the merged mesh." + msgid "MergeSkinnedMesh:warning:no-probe-anchor:hint" -msgstr "MergeSkinnedMesh does not automatically set the Anchor Override of the merged mesh, so you need to set manually.\n" -"If you are using Modular Avatar, you can also add MA Mesh Settings component to the root of the avatar to set the Anchor Override for the whole avatar." +msgstr "You need to set it manually. If you are using Modular Avatar, you can also add MA Mesh Settings component to the root of the avatar to set the Anchor Override for the whole avatar." # endregion diff --git a/Localization/ja-jp.po b/Localization/ja-jp.po index aa698dd1c..0205664a7 100644 --- a/Localization/ja-jp.po +++ b/Localization/ja-jp.po @@ -249,15 +249,21 @@ msgstr "このメッシュを統合対象から除外するか、このメッシ msgid "MergeSkinnedMesh:warning:no-root-bone" msgstr "統合先のメッシュにRoot Boneが設定されていないため、予期しない動作が引き起こされる場合があります。" +msgid "MergeSkinnedMesh:warning:no-root-bone:description" +msgstr "MergeSkinnedMeshは統合先のメッシュのRoot Boneを自動では設定しません。" + msgid "MergeSkinnedMesh:warning:no-root-bone:hint" -msgstr "MergeSkinnedMeshは統合先のメッシュのRoot Boneを自動では設定しないため、手動で設定する必要があります。\n" +msgstr "統合先のメッシュのRoot Boneを手動で設定する必要があります。\n" "Modular Avatarを使用している場合は、アバターのルートにMA Mesh Settingsコンポーネントを追加して設定することにより、アバター全体のRoot Boneをまとめて設定することもできます。" msgid "MergeSkinnedMesh:warning:no-probe-anchor" msgstr "統合先のメッシュにAnchor Overrideが設定されていないため、予期しない動作が引き起こされる場合があります。" +msgid "MergeSkinnedMesh:warning:no-probe-anchor:description" +msgstr "MergeSkinnedMeshは統合先のメッシュのAnchor Overrideを自動では設定しません。" + msgid "MergeSkinnedMesh:warning:no-probe-anchor:hint" -msgstr "MergeSkinnedMeshは統合先のメッシュのAnchor Overrideを自動では設定しないため、手動で設定する必要があります。\n" +msgstr "統合先のメッシュのAnchor Overrideを手動で設定する必要があります。\n" "Modular Avatarを使用している場合は、アバターのルートにMA Mesh Settingsコンポーネントを追加して設定することにより、アバター全体のAnchor Overrideをまとめて設定することもできます。" # endregion