From 93c243b532b2455b2fb5f9a01e69f33f85804866 Mon Sep 17 00:00:00 2001 From: PoChangSu Date: Tue, 23 Jun 2020 14:19:16 +0900 Subject: [PATCH] update package info and add url link --- .../MeshUtility/Documentation/MeshUtility.md | 26 ++----------------- Assets/MeshUtility/Documentation/notes.meta | 8 ++++++ .../Documentation/notes/MeshSeparator.md | 25 ++++++++++++++++++ .../Documentation/notes/MeshSeparator.md.meta | 7 +++++ Assets/MeshUtility/Editor/MeshUtility.cs | 6 +++++ Assets/MeshUtility/LICENSE.md | 9 +++++++ Assets/MeshUtility/LICENSE.md.meta | 7 +++++ Assets/MeshUtility/README.md | 2 +- Assets/MeshUtility/README.url | 2 ++ Assets/MeshUtility/README.url.meta | 7 +++++ Assets/MeshUtility/package.json | 4 +-- 11 files changed, 76 insertions(+), 27 deletions(-) create mode 100644 Assets/MeshUtility/Documentation/notes.meta create mode 100644 Assets/MeshUtility/Documentation/notes/MeshSeparator.md create mode 100644 Assets/MeshUtility/Documentation/notes/MeshSeparator.md.meta create mode 100644 Assets/MeshUtility/LICENSE.md create mode 100644 Assets/MeshUtility/LICENSE.md.meta create mode 100644 Assets/MeshUtility/README.url create mode 100644 Assets/MeshUtility/README.url.meta diff --git a/Assets/MeshUtility/Documentation/MeshUtility.md b/Assets/MeshUtility/Documentation/MeshUtility.md index 9a6a0f2bf..0a111e708 100644 --- a/Assets/MeshUtility/Documentation/MeshUtility.md +++ b/Assets/MeshUtility/Documentation/MeshUtility.md @@ -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: - - - -Select `Mesh Utility` -> `Separate Skinned Meshes Contained BlendShape`: - - - -The separate meshes are saved in the Assets folder. GameObjects with separate meshes are also available in the Hierarchy Window: - - - -In this example, the model's mesh are split into two parts: face and body: - -Face: with BlendShape | Body: without BlendShape -:-------------------------:|:-------------------------: - | - -Note that if all the polygons in a mesh are used by BlendShape, MeshSeparator will not perform mesh separation. \ No newline at end of file +[MeshSeparator](https://github.com/vrm-c/UniVRM/tree/master/Assets/MeshUtility/Documentation/notes/MeshSeparator.md) \ No newline at end of file diff --git a/Assets/MeshUtility/Documentation/notes.meta b/Assets/MeshUtility/Documentation/notes.meta new file mode 100644 index 000000000..72f20c27c --- /dev/null +++ b/Assets/MeshUtility/Documentation/notes.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ea010ddf8bf34de4fb36d95afb078702 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/MeshUtility/Documentation/notes/MeshSeparator.md b/Assets/MeshUtility/Documentation/notes/MeshSeparator.md new file mode 100644 index 000000000..15f74daa0 --- /dev/null +++ b/Assets/MeshUtility/Documentation/notes/MeshSeparator.md @@ -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: + + + +Select `Mesh Utility` -> `Separate Skinned Meshes Contained BlendShape`: + + + +The separate meshes are saved in the Assets folder. GameObjects with separate meshes are also available in the Hierarchy Window: + + + +In this example, the model's mesh are split into two parts: face and body: + +Face: with BlendShape | Body: without BlendShape +:-------------------------:|:-------------------------: + | + +Note that if all the polygons of a mesh are used by BlendShape, MeshSeparator will not perform mesh separation. \ No newline at end of file diff --git a/Assets/MeshUtility/Documentation/notes/MeshSeparator.md.meta b/Assets/MeshUtility/Documentation/notes/MeshSeparator.md.meta new file mode 100644 index 000000000..13d9f1f98 --- /dev/null +++ b/Assets/MeshUtility/Documentation/notes/MeshSeparator.md.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: ad5ca4fe4bdde854bb90cb5a3aa267d4 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/MeshUtility/Editor/MeshUtility.cs b/Assets/MeshUtility/Editor/MeshUtility.cs index 6e14e6929..e76afb874 100644 --- a/Assets/MeshUtility/Editor/MeshUtility.cs +++ b/Assets/MeshUtility/Editor/MeshUtility.cs @@ -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); diff --git a/Assets/MeshUtility/LICENSE.md b/Assets/MeshUtility/LICENSE.md new file mode 100644 index 000000000..7a9585e4b --- /dev/null +++ b/Assets/MeshUtility/LICENSE.md @@ -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. \ No newline at end of file diff --git a/Assets/MeshUtility/LICENSE.md.meta b/Assets/MeshUtility/LICENSE.md.meta new file mode 100644 index 000000000..6462af9ec --- /dev/null +++ b/Assets/MeshUtility/LICENSE.md.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 5759a25d3024bd94a92b0af38bac243c +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/MeshUtility/README.md b/Assets/MeshUtility/README.md index dd3ae4bf9..769f3a173 100644 --- a/Assets/MeshUtility/README.md +++ b/Assets/MeshUtility/README.md @@ -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. diff --git a/Assets/MeshUtility/README.url b/Assets/MeshUtility/README.url new file mode 100644 index 000000000..79542bae7 --- /dev/null +++ b/Assets/MeshUtility/README.url @@ -0,0 +1,2 @@ +[InternetShortcut] +URL=https://github.com/vrm-c/UniVRM/tree/master/Assets/MeshUtility \ No newline at end of file diff --git a/Assets/MeshUtility/README.url.meta b/Assets/MeshUtility/README.url.meta new file mode 100644 index 000000000..6ee109b6c --- /dev/null +++ b/Assets/MeshUtility/README.url.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 42e2fc8311d7ef44fa3975996ba1645d +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/MeshUtility/package.json b/Assets/MeshUtility/package.json index ceba68177..f7ed33c4e 100644 --- a/Assets/MeshUtility/package.json +++ b/Assets/MeshUtility/package.json @@ -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: ", "keywords" : [ "mesh" ], "author" : { "name": "VRM Consortium" } } \ No newline at end of file