Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document update #1406

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .docs/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 3 additions & 4 deletions .docs/content/docs/tutorial/basic-usage/index.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,11 @@ VRChat向けアバターをVRM形式で出力したい場合などにご活用

素体のメッシュに`AAO Remove Mesh By BlendShape`コンポーネントを追加しましょう!

想定外の部位が削除されてしまわないかを確認するために`プレビューのために切り替えたBlendShapeの値を自動的に変更する`にチェックし、
削除したい部位の貫通防止用BlendShapeを下の一覧から選択しましょう!
そして削除したい部位の貫通防止用BlendShapeを下の一覧から選択しましょう!

消えて欲しい箇所が消えない場合や、消えて欲しくない箇所が消えてしまう場合には、`許容差`の値を調整する必要があります
消えて欲しい箇所が消えない場合や、消えて欲しくない箇所が消えてしまう場合には、`許容差`の値を調整する必要があることがあります
`許容差`は、頂点がBlendShapeによってどのぐらい動けば削除するかを決定するものです。
前者の場合は値を少し大きく、後者の場合は値を少し小さくしましょう
消えてほしい箇所が消えない場合は値を少し大きく、思っていない箇所が消えてしまう場合は値を少し小さくしましょう

![remove mesh by BlendShape](./remove-mesh-by-blendshape.png)

Expand Down
5 changes: 2 additions & 3 deletions .docs/content/docs/tutorial/basic-usage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
17 changes: 12 additions & 5 deletions .docs/layouts/partials/docs/inject/menu-before.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,15 @@
{{ $AOGlobalRoot := strings.TrimSuffix "/beta" $AOBaseNoSlash }}
{{ $AOIsBeta := ne $AOGlobalRoot $AOBaseNoSlash }}

{{ if $AOIsBeta }}
<a class="ao-stable-beta" href="{{ $AOGlobalRoot }}{{ $AORelativePath }}">Goto Stable Docs</a>
{{ else }}
<a class="ao-stable-beta" href="{{ $AOGlobalRoot }}/beta{{ $AORelativePath }}">Goto Beta Docs</a>
{{ end }}
<ul>
<li>
{{ if $AOIsBeta }}
<a class="ao-stable-beta" href="{{ $AOGlobalRoot }}{{ $AORelativePath }}">Goto Stable Docs</a>
{{ else }}
<a class="ao-stable-beta" href="{{ $AOGlobalRoot }}/beta{{ $AORelativePath }}">Goto Beta Docs</a>
{{ end }}
</li>
<li>
<a class="ao-stable-beta" href='{{ absLangURL "" }}#installation'>{{ .Site.Params.howToInstall }}</a>
</li>
</ul>