diff --git a/en/.doctrees/environment.pickle b/en/.doctrees/environment.pickle index 6a87e5957..fe467081e 100644 Binary files a/en/.doctrees/environment.pickle and b/en/.doctrees/environment.pickle differ diff --git a/en/.doctrees/index.doctree b/en/.doctrees/index.doctree index f6bcf8953..b1eb4295e 100644 Binary files a/en/.doctrees/index.doctree and b/en/.doctrees/index.doctree differ diff --git a/en/.doctrees/unihumanoid/index.doctree b/en/.doctrees/unihumanoid/index.doctree new file mode 100644 index 000000000..b0215bc48 Binary files /dev/null and b/en/.doctrees/unihumanoid/index.doctree differ diff --git a/en/_images/assets.png b/en/_images/assets.png new file mode 100644 index 000000000..14b65fba5 Binary files /dev/null and b/en/_images/assets.png differ diff --git a/en/_images/bvh_bonemapping.png b/en/_images/bvh_bonemapping.png new file mode 100644 index 000000000..e1fdc3f6b Binary files /dev/null and b/en/_images/bvh_bonemapping.png differ diff --git a/en/_images/humanoid.gif b/en/_images/humanoid.gif new file mode 100644 index 000000000..0ca6dd201 Binary files /dev/null and b/en/_images/humanoid.gif differ diff --git a/en/_images/humanpose_transfer.png b/en/_images/humanpose_transfer.png new file mode 100644 index 000000000..860ddbb10 Binary files /dev/null and b/en/_images/humanpose_transfer.png differ diff --git a/en/_images/humanpose_transfer_inspector.png b/en/_images/humanpose_transfer_inspector.png new file mode 100644 index 000000000..4eae8b336 Binary files /dev/null and b/en/_images/humanpose_transfer_inspector.png differ diff --git a/en/_images/mesh.png b/en/_images/mesh.png new file mode 100644 index 000000000..acb1cd158 Binary files /dev/null and b/en/_images/mesh.png differ diff --git a/en/_sources/index.md.txt b/en/_sources/index.md.txt index d3f52a83c..3c2358c84 100644 --- a/en/_sources/index.md.txt +++ b/en/_sources/index.md.txt @@ -9,6 +9,7 @@ UnityでVRMをエクスポートする方法などについては [manual](https build implementation/index gltf/index +unihumanoid/index vrm0/index vrm1/index release/index diff --git a/en/_sources/unihumanoid/index.md.txt b/en/_sources/unihumanoid/index.md.txt new file mode 100644 index 000000000..a7137e73d --- /dev/null +++ b/en/_sources/unihumanoid/index.md.txt @@ -0,0 +1,72 @@ +# UniHumanoid + +Unity humanoid utility with bvh importer. + +## BVH runtime loader + +```cs +var context = new BvhImporterContext(); +context.Parse(path); +context.Load(); // create Skeleton hierarchy and mesh for visualize +GameObject root = context.Root; +``` + +### RuntimeLoader +* Scenes/RuntimeBvhLoader.unity + +### RuntimeLoader and PoseTransfer +Load BVH and transfer pose to any model with humanoid avatar. + +* Scenes/PoseTransfer.unity + +![humanpose transfer target](humanpose_transfer_inspector.png) + +![humanpose transfer](humanpose_transfer.png) + +## Load bvh and create prefab with AnimationClip + +Drop bvh file to Assets folder. +Then, AssetPostprocessor import bvh file. + +* create a hierarchy prefab +* create a humanoid Avatar +* create a legacy mode AnimationClip +* create a skinned mesh for preview + +![bvh prefab](assets.png) + +Instanciate prefab to scene. + +![bvh gameobject](mesh.png) + +That object can play. + +## BoneMapping + +This script help create human avatar from exist GameObject hierarchy. +First, attach this script to root GameObject that has Animator. + +Next, setup below. + +* model position is origin +* model look at +z orientation +* model root node rotation is Quatenion.identity +* Set hips bone. + +press Guess bone mapping. +If fail to guess bone mapping, you can set bones manually. + +Optional, press Ensure T-Pose. +Create avatar. + +![bvh bone mapping](bvh_bonemapping.png) + +These humanoids imported by [UniGLTF](https://github.com/ousttrue/UniGLTF) and created human avatar by BoneMapping. + +![humanoid](humanoid.gif) + +## Download BVH files + +* https://sites.google.com/a/cgspeed.com/cgspeed/motion-capture +* http://mocapdata.com/ +* http://www.thetrailerspark.com/download/Mocap/Packed/EYES-JAPAN/BVH/ diff --git a/en/build.html b/en/build.html index 8c6ff9327..3f1c16e22 100644 --- a/en/build.html +++ b/en/build.html @@ -52,6 +52,7 @@
  • Implementation note
  • glTF
  • +
  • UniHumanoid
  • VRM
  • VRM-1.0(β)
  • Release
  • diff --git a/en/genindex.html b/en/genindex.html index d7578baff..0d35d4f40 100644 --- a/en/genindex.html +++ b/en/genindex.html @@ -41,6 +41,7 @@
  • Build Application
  • Implementation note
  • glTF
  • +
  • UniHumanoid
  • VRM
  • VRM-1.0(β)
  • Release
  • diff --git a/en/gltf/0_36_update.html b/en/gltf/0_36_update.html index de4f00a25..fd3d3eadc 100644 --- a/en/gltf/0_36_update.html +++ b/en/gltf/0_36_update.html @@ -55,6 +55,7 @@
  • The implementation of glTF extensions(0.63.2)
  • +
  • UniHumanoid
  • VRM
  • VRM-1.0(β)
  • Release
  • diff --git a/en/gltf/0_82_glb_import.html b/en/gltf/0_82_glb_import.html index 14166cf16..c7c26db09 100644 --- a/en/gltf/0_82_glb_import.html +++ b/en/gltf/0_82_glb_import.html @@ -68,6 +68,7 @@
  • The implementation of glTF extensions(0.63.2)
  • +
  • UniHumanoid
  • VRM
  • VRM-1.0(β)
  • Release
  • diff --git a/en/gltf/format.html b/en/gltf/format.html index 57d2361f5..f3102a80a 100644 --- a/en/gltf/format.html +++ b/en/gltf/format.html @@ -57,6 +57,7 @@
  • The implementation of glTF extensions(0.63.2)
  • +
  • UniHumanoid
  • VRM
  • VRM-1.0(β)
  • Release
  • diff --git a/en/gltf/how_to_customize_material_import.html b/en/gltf/how_to_customize_material_import.html index 6d248165a..13f3a8ac4 100644 --- a/en/gltf/how_to_customize_material_import.html +++ b/en/gltf/how_to_customize_material_import.html @@ -54,6 +54,7 @@
  • The implementation of glTF extensions(0.63.2)
  • +
  • UniHumanoid
  • VRM
  • VRM-1.0(β)
  • Release
  • diff --git a/en/gltf/how_to_impl_extension.html b/en/gltf/how_to_impl_extension.html index b11d01db8..aebb60ee4 100644 --- a/en/gltf/how_to_impl_extension.html +++ b/en/gltf/how_to_impl_extension.html @@ -18,7 +18,7 @@ - + @@ -75,6 +75,7 @@ +
  • UniHumanoid
  • VRM
  • VRM-1.0(β)
  • Release
  • @@ -568,7 +569,7 @@ enumの場合はデフォルト値が無いので必須です。