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

docs/localization: 利点の説明を追加、その他改善 #535

Merged
merged 9 commits into from
Oct 7, 2023
11 changes: 9 additions & 2 deletions .docs/content/docs/reference/freeze-blendshape/index.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,19 @@ weight: 25

# Freeze BlendShape

ブレンドシェイプをメッシュに固定し、除去することが出来ます。
BlendShapeをメッシュに固定し、除去することが出来ます。

このコンポーネントは[Modifying Edit Skinned Mesh Component](../../component-kind/edit-skinned-mesh-components#modifying-component)であるため、SkinnedMeshRendererコンポーネントのあるGameObjectに追加してください。

BlendShapeの固定・除去には以下の効果があります。
Sayamame-beans marked this conversation as resolved.
Show resolved Hide resolved

- BlendShapeの値が0以外のときは処理負荷が発生するため、値をアニメーション等で変更しないBlendShapeは固定すると負荷が軽くなります。
- 値が常に0である場合でも、固定することでアバターの容量を削減することができます。

固定すると、アニメーションでの値変更は出来なくなります。

## 設定 {#settings}

![component.png](component.png)

ブレンドシェイプの一覧が表示されるので、固定・除去対象のブレンドシェイプを選択してください
BlendShapeの一覧が表示されるので、固定・除去対象のBlendShapeを選択してください
7 changes: 7 additions & 0 deletions .docs/content/docs/reference/freeze-blendshape/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ Freeze & remove BlendShape from the mesh.

This component is [Modifying Edit Skinned Mesh Component](../../component-kind/edit-skinned-mesh-components#modifying-component), so this should be added to a GameObject which has a SkinnedMeshRenderer component.

Freezing & removing BlendShapes has the following benefits.

- For BlendShapes with non-zero weight, freezing BlendShapes will reduce processing cost.
- Even if the weight is zero, removing BlendShapes will reduce the size of avatars.

By freezing BlendShape, the weights cannot be changed on Animation.

## Settings

![component.png](component.png)
Expand Down
13 changes: 8 additions & 5 deletions .docs/content/docs/reference/merge-skinned-mesh/index.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,18 @@ weight: 21

このコンポーネントは[Source Edit Skinned Mesh Component](../../component-kind/edit-skinned-mesh-components#source-component)であるため、メッシュを指定していないSkinnedMeshRendererコンポーネントがある新規GameObjectに追加してください。

このコンポーネントはメッシュ・ボーン・マテリアル・BlendShape・Boundsを統合しますが、その他の設定については変更しないため、AnchorOverride等の設定を行うには、MergeSkinnedMeshのあるGameObject上のSkinnedMeshRendererを編集してください。
SkinnedMeshRendererを統合することでメッシュを変形させる処理の回数が減り、負荷が軽くなります。
アニメーションでメッシュのオン・オフを個別に切り替えたりすることはできなくなりますが、マテリアルに関するアニメーションは統合前のものがそのまま機能します。

このコンポーネントはメッシュ・同じマテリアルを使用しているマテリアルスロット・BlendShape・Boundsを統合しますが、その他の設定については変更しないため、AnchorOverride等の設定を行うには、MergeSkinnedMeshのあるGameObject上のSkinnedMeshRendererを編集してください。

このコンポーネントは、服のメッシュや体のメッシュを統合するのには適していますが、顔のメッシュを統合するのには適していません。
ブレンドシェイプは、頂点とブレンドシェイプの数に比例して負荷が大きくなる機能です
顔のメッシュは一般的に多くのブレンドシェイプを持っており、メッシュの統合はその頂点数を増加させるため、負荷を大きくしてしまいます。
BlendShapeは、頂点とBlendShapeの数に比例して負荷が大きくなる機能です
顔のメッシュは一般的に多くのBlendShapeを持っており、メッシュの統合はその頂点数を増加させるため、負荷を大きくしてしまいます。
そのため、顔のメッシュは統合するべきではありません。

同様に、体や服のメッシュのブレンドシェイプは固定・除去することを推奨します。
[Freeze BlendShape](../freeze-blendshape)コンポーネントを統合対象・統合先のSkinnedMeshRendererのいずれか(または両方)に追加して、ブレンドシェイプを固定・除去することが出来ます。
同様に、体や服のメッシュのBlendShapeは固定・除去することを推奨します。
[Freeze BlendShape](../freeze-blendshape)コンポーネントを統合対象・統合先のSkinnedMeshRendererのいずれか(または両方)に追加して、BlendShapeを固定・除去することが出来ます。

## 設定 {#settings}

Expand Down
5 changes: 4 additions & 1 deletion .docs/content/docs/reference/merge-skinned-mesh/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ Merges one or more SkinnedMeshRenderer and MeshRenderers into one SkinnedMeshRen

This component is [Source Edit Skinned Mesh Component](../../component-kind/edit-skinned-mesh-components#source-component), so this should be added to a new GameObject which has a SkinnedMeshRenderer component without Mesh specified.

This component will merge mesh, bones, Materials, BlendShapes, and Bounds but other settings will not be modified.
Merging SkinnedMeshRenderer will reduce number of deforming mesh (skinning) and rendering cost.
This makes it impossible to turn meshes on and off individually on animations, but material-related animations will work without modification.

This component will merge mesh, material slots using the same Material, 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.

This component is good for merging your cloth meshes and body meshes but not good for face meshes because BlendShape can cause performance impact.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@ weight: 25

# Remove Mesh By BlendShape

指定されたブレンドシェイプによって動かされる頂点とそのポリゴンを削除します
指定されたBlendShapeによって動かされる頂点とそのポリゴンを削除します。

このコンポーネントは[Modifying Edit Skinned Mesh Component](../../component-kind/edit-skinned-mesh-components#modifying-component)であるため、SkinnedMeshRendererコンポーネントのあるGameObjectに追加してください。

服で隠れていたりして見えないような部分のメッシュを削除すると、見た目に影響させずに描画負荷やBlendShapeの処理負荷などを減らして軽量化することができます。
このコンポーネントを使用すると、多くの素体に含まれている貫通防止用のBlendShapeを利用して簡単にメッシュを削除することができます。

## 設定 {#settings}

![component.png](component.png)

ブレンドシェイプの一覧が表示されるので、ブレンドシェイプを選択してください
もし選択されたブレンドシェイプが頂点を`許容差`より大きく動かしていたら、その頂点を削除します。
BlendShapeの一覧が表示されるので、BlendShapeを選択してください
もし選択されたBlendShapeが頂点を`許容差`より大きく動かしていたら、その頂点を削除します。
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ Remove vertices transformed by specified BlendShape and their polygons.

This component is [Modifying Edit Skinned Mesh Component](../../component-kind/edit-skinned-mesh-components#modifying-component), so this should be added to a GameObject which has a SkinnedMeshRenderer component.

By removing polygons which are hidden by clothes or something, you can reduce rendering cost, BlendShape processing cost, etc. without affecting the appearance so much.
You can use this component to easily remove polygons with BlendShapes for shrinking parts of the body, which many avatars have.

## Settings

![component.png](component.png)
Expand Down
2 changes: 2 additions & 0 deletions .docs/content/docs/reference/remove-mesh-in-box/index.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ weight: 25

このコンポーネントは[Modifying Edit Skinned Mesh Component](../../component-kind/edit-skinned-mesh-components#modifying-component)であるため、SkinnedMeshRendererコンポーネントのあるGameObjectに追加してください。

服で隠れていたりして見えないような部分のメッシュを削除すると、見た目に影響させずに描画負荷やBlendShapeの処理負荷などを減らして軽量化することができます。

## 設定 {#settings}

数値を調整して箱を追加します。
Expand Down
2 changes: 2 additions & 0 deletions .docs/content/docs/reference/remove-mesh-in-box/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Remove some polygons in any of specified boxes.

This component is [Modifying Edit Skinned Mesh Component](../../component-kind/edit-skinned-mesh-components#modifying-component), so this should be added to a GameObject which has a SkinnedMeshRenderer component.

By removing polygons which are hidden by clothes or something, you can reduce rendering cost, BlendShape processing cost, etc. without affecting the appearance so much.

## Settings

Adjust the value to add box.
Expand Down
2 changes: 1 addition & 1 deletion .docs/content/docs/tutorial/basic-usage/index.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Anchor Overrideには素体で用いられているものを、Root BoneにはHi

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

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

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