mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-10 21:09:08 -05:00
update package info and add url link
This commit is contained in:
@@ -2,28 +2,6 @@
|
||||
|
||||
A mesh processing package for mesh separation, etc.
|
||||
|
||||
## MeshSeparator Overview
|
||||
## Documentation Link
|
||||
|
||||
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` -> `Separate Skinned Meshes Contained BlendShape`:
|
||||
|
||||
<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 in a mesh are used by BlendShape, MeshSeparator will not perform mesh separation.
|
||||
[MeshSeparator](https://github.com/vrm-c/UniVRM/tree/master/Assets/MeshUtility/Documentation/notes/MeshSeparator.md)
|
||||
8
Assets/MeshUtility/Documentation/notes.meta
Normal file
8
Assets/MeshUtility/Documentation/notes.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ea010ddf8bf34de4fb36d95afb078702
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
25
Assets/MeshUtility/Documentation/notes/MeshSeparator.md
Normal file
25
Assets/MeshUtility/Documentation/notes/MeshSeparator.md
Normal file
@@ -0,0 +1,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` -> `Separate Skinned Meshes Contained BlendShape`:
|
||||
|
||||
<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.
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ad5ca4fe4bdde854bb90cb5a3aa267d4
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -33,6 +33,12 @@ namespace MeshUtility
|
||||
}
|
||||
}
|
||||
|
||||
[MenuItem("Mesh Utility/MeshSeparator Docs")]
|
||||
public static void LinkToMeshSeparatorDocs()
|
||||
{
|
||||
Application.OpenURL("https://github.com/vrm-c/UniVRM/tree/master/Assets/MeshUtility");
|
||||
}
|
||||
|
||||
private static void SeparationProcessing(GameObject go)
|
||||
{
|
||||
var outputObject = Instantiate(go);
|
||||
|
||||
9
Assets/MeshUtility/LICENSE.md
Normal file
9
Assets/MeshUtility/LICENSE.md
Normal file
@@ -0,0 +1,9 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2020 VRM Consortium
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
7
Assets/MeshUtility/LICENSE.md.meta
Normal file
7
Assets/MeshUtility/LICENSE.md.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5759a25d3024bd94a92b0af38bac243c
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -6,7 +6,7 @@ Mesh processing tool in Unity platform.
|
||||
|
||||
Separate the target mesh into different categories based on given conditions.
|
||||
|
||||
Currently support separation of mesh contained BlendShape. See [documentation](Documentation/MeshUtility.md) for more details.
|
||||
Currently support BlendShape mesh separation. See [documentation](Documentation/notes/MeshSeparator.md) for more details.
|
||||
|
||||
<img src="Documentation/images/blendshape_separator.jpg" width="300">
|
||||
|
||||
|
||||
2
Assets/MeshUtility/README.url
Normal file
2
Assets/MeshUtility/README.url
Normal file
@@ -0,0 +1,2 @@
|
||||
[InternetShortcut]
|
||||
URL=https://github.com/vrm-c/UniVRM/tree/master/Assets/MeshUtility
|
||||
7
Assets/MeshUtility/README.url.meta
Normal file
7
Assets/MeshUtility/README.url.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 42e2fc8311d7ef44fa3975996ba1645d
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"name" : "com.vrmc.meshutility",
|
||||
"displayName" : "MeshUtility",
|
||||
"version" : "1.0.0",
|
||||
"version" : "0.0.1",
|
||||
"unity" : "2018.4",
|
||||
"description" : "MeshUtility is a package for mesh separation, etc.",
|
||||
"description" : "MeshUtility is a package for mesh separation, etc. \n\nCheck out the latest information here: <https://github.com/vrm-c/UniVRM/tree/master/Assets/MeshUtility>",
|
||||
"keywords" : [ "mesh" ],
|
||||
"author" : { "name": "VRM Consortium" }
|
||||
}
|
||||
Reference in New Issue
Block a user