From dd495203e0009a592312c8442a43f0c64b2a35cd Mon Sep 17 00:00:00 2001 From: anatawa12 Date: Sat, 22 Feb 2025 01:50:47 +0900 Subject: [PATCH 1/3] docs: fix incorrect text in basic usage NDMF Preview added edit-mode preview so we don't need to enable Automatically set BlendShape weight for preview when toggled --- .docs/content/docs/tutorial/basic-usage/index.ja.md | 7 +++---- .docs/content/docs/tutorial/basic-usage/index.md | 5 ++--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.docs/content/docs/tutorial/basic-usage/index.ja.md b/.docs/content/docs/tutorial/basic-usage/index.ja.md index a19145f3..c1613135 100644 --- a/.docs/content/docs/tutorial/basic-usage/index.ja.md +++ b/.docs/content/docs/tutorial/basic-usage/index.ja.md @@ -74,12 +74,11 @@ VRChat向けアバターをVRM形式で出力したい場合などにご活用 素体のメッシュに`AAO Remove Mesh By BlendShape`コンポーネントを追加しましょう! -想定外の部位が削除されてしまわないかを確認するために`プレビューのために切り替えたBlendShapeの値を自動的に変更する`にチェックし、 -削除したい部位の貫通防止用BlendShapeを下の一覧から選択しましょう! +そして削除したい部位の貫通防止用BlendShapeを下の一覧から選択しましょう! -消えて欲しい箇所が消えない場合や、消えて欲しくない箇所が消えてしまう場合には、`許容差`の値を調整する必要があります! +消えて欲しい箇所が消えない場合や、消えて欲しくない箇所が消えてしまう場合には、`許容差`の値を調整する必要があることがあります! `許容差`は、頂点がBlendShapeによってどのぐらい動けば削除するかを決定するものです。 -前者の場合は値を少し大きく、後者の場合は値を少し小さくしましょう! +消えてほしい箇所が消えない場合は値を少し大きく、思っていない箇所が消えてしまう場合は値を少し小さくしましょう! ![remove mesh by BlendShape](./remove-mesh-by-blendshape.png) diff --git a/.docs/content/docs/tutorial/basic-usage/index.md b/.docs/content/docs/tutorial/basic-usage/index.md index e01d5924..468fa2de 100644 --- a/.docs/content/docs/tutorial/basic-usage/index.md +++ b/.docs/content/docs/tutorial/basic-usage/index.md @@ -77,12 +77,11 @@ To make this easier, AvatarOptimizer allows you to remove polygons with BlendSha Let's add `AAO Remove Mesh By BlendShape` component to Body Mesh! -Enable `Automatically set BlendShape weight for preview when toggled` to make sure that unintended parts of the body are not removed, and -select BlendShapes from the BlendShapes list below that shrink the parts of the body you want to remove! +Select BlendShapes from the BlendShapes list below that shrink the parts of the body you want to remove! In case polygons you want to remove are not removed, or you do not want to remove are removed, you need to adjust the `Tolerance` value! `Tolerance` decides how much the vertex is moved by BlendShape to be removed. -In the first case, increase the value a little, in the second case, decrease it a little! +If some parts intended to be removed is not removed, increase the value a little and in the other case, decrease it a little! ![remove mesh by BlendShape](./remove-mesh-by-blendshape.png) From 0116ef4427d7585dd50d7fda86590fc6fc122bcc Mon Sep 17 00:00:00 2001 From: anatawa12 Date: Sat, 22 Feb 2025 02:05:16 +0900 Subject: [PATCH 2/3] docs: link to how to install on side menu --- .docs/config.toml | 4 ++++ .../partials/docs/inject/menu-before.html | 17 ++++++++++++----- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/.docs/config.toml b/.docs/config.toml index 6e5ea504..e7b0cbf4 100644 --- a/.docs/config.toml +++ b/.docs/config.toml @@ -8,10 +8,14 @@ defaultContentLanguageInSubdir = true [languages.en] weight = 1 languageName = 'English' +[languages.en.params] +howToInstall = 'How to Install' [languages.ja] weight = 1 languageName = '日本語' +[languages.ja.params] +howToInstall = 'インストール方法' [markup.goldmark.renderer] unsafe = true diff --git a/.docs/layouts/partials/docs/inject/menu-before.html b/.docs/layouts/partials/docs/inject/menu-before.html index 711cd26a..52daf9b7 100644 --- a/.docs/layouts/partials/docs/inject/menu-before.html +++ b/.docs/layouts/partials/docs/inject/menu-before.html @@ -3,8 +3,15 @@ {{ $AOGlobalRoot := strings.TrimSuffix "/beta" $AOBaseNoSlash }} {{ $AOIsBeta := ne $AOGlobalRoot $AOBaseNoSlash }} -{{ if $AOIsBeta }} -Goto Stable Docs -{{ else }} -Goto Beta Docs -{{ end }} + From 1ae0b6d7780981302d099722581d388b23c6bfb0 Mon Sep 17 00:00:00 2001 From: anatawa12 Date: Mon, 24 Feb 2025 23:53:57 +0900 Subject: [PATCH 3/3] docs: Apply suggestions from code review Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> --- .docs/content/docs/tutorial/basic-usage/index.ja.md | 7 +++---- .docs/content/docs/tutorial/basic-usage/index.md | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.docs/content/docs/tutorial/basic-usage/index.ja.md b/.docs/content/docs/tutorial/basic-usage/index.ja.md index c1613135..c20faaaa 100644 --- a/.docs/content/docs/tutorial/basic-usage/index.ja.md +++ b/.docs/content/docs/tutorial/basic-usage/index.ja.md @@ -72,13 +72,12 @@ VRChat向けアバターをVRM形式で出力したい場合などにご活用 服で隠れていたりして見えないような部分のメッシュを削除すると、見た目に影響させずに描画負荷やBlendShapeの処理負荷などを減らして軽量化することができます。 これを簡単に実現するために、AvatarOptimizerでは多くの素体に含まれている貫通防止用のBlendShapeを利用してメッシュを削除することができます! -素体のメッシュに`AAO Remove Mesh By BlendShape`コンポーネントを追加しましょう! +素体のメッシュに`AAO Remove Mesh By BlendShape`コンポーネントを追加して、削除したい部位の貫通防止用BlendShapeをコンポーネント下側の一覧から選択しましょう! -そして削除したい部位の貫通防止用BlendShapeを下の一覧から選択しましょう! -消えて欲しい箇所が消えない場合や、消えて欲しくない箇所が消えてしまう場合には、`許容差`の値を調整する必要があることがあります! +消えてほしい箇所が消えない場合や、消えてほしくない箇所が消えてしまう場合には、`許容差`の値を調整する必要があります! `許容差`は、頂点がBlendShapeによってどのぐらい動けば削除するかを決定するものです。 -消えてほしい箇所が消えない場合は値を少し大きく、思っていない箇所が消えてしまう場合は値を少し小さくしましょう! +消えてほしい箇所が消えない場合は値を少し大きく、消えてほしくない箇所が消えてしまう場合は値を少し小さくしましょう! ![remove mesh by BlendShape](./remove-mesh-by-blendshape.png) diff --git a/.docs/content/docs/tutorial/basic-usage/index.md b/.docs/content/docs/tutorial/basic-usage/index.md index 468fa2de..7bce6b33 100644 --- a/.docs/content/docs/tutorial/basic-usage/index.md +++ b/.docs/content/docs/tutorial/basic-usage/index.md @@ -81,7 +81,7 @@ Select BlendShapes from the BlendShapes list below that shrink the parts of the In case polygons you want to remove are not removed, or you do not want to remove are removed, you need to adjust the `Tolerance` value! `Tolerance` decides how much the vertex is moved by BlendShape to be removed. -If some parts intended to be removed is not removed, increase the value a little and in the other case, decrease it a little! +If some parts intended to be removed are not removed, increase the value a little; otherwise, decrease it a little! ![remove mesh by BlendShape](./remove-mesh-by-blendshape.png)