summaryrefslogtreecommitdiff
path: root/Assets/MeshUtility/Documentation/notes/MeshSeparator.md
blob: da93e7d9c82600b152619010b383f631ee60550a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# MeshSeparator

MeshSeparator provides a functionality of separating meshes contained BlendShape. Simply select a GameObject with skinned Meshes and click processing. The mesh splitting results are generated in the Assets folder. The model with sparse BlendShape data distributed in a large-volume mesh can be benefited from size reduction and performance improvements after mesh separation.  

## How to use

Select a GameObject contained skinned mesh and BlendShape:

<img src="../images/interface_1.jpg" width="200">

Select `Mesh Utility` -> `MeshSeparator`:

<img src="../images/interface_2.jpg" width="200">

The separate meshes are saved in the Assets folder. GameObjects with separate meshes are also available in the Hierarchy Window:

<img src="../images/interface_3.jpg" width="200">

In this example, the model's mesh are split into two parts: face and body:

Face: with BlendShape      | Body: without BlendShape
:-------------------------:|:-------------------------:
<img title="result_1.jpg" src="../images/result_1.jpg" width="200">  | <img title="result_2.jpg" src="../images/result_2.jpg" width="200">

Note that if all the polygons of a mesh are used by BlendShape, MeshSeparator will not perform mesh separation.