# UniHumanoid
Unity humanoid utility with bvh importer.
# License
* [MIT](./LICENSE.md)
# 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](doc/humanpose_transfer_inspector.png)
![humanpose transfer](doc/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](doc/assets.png)
Instanciate prefab to scene.
![bvh gameobject](doc/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](doc/bvh_bonemapping.png)
These humanoids imported by [UniGLTF](https://github.com/ousttrue/UniGLTF) and created human avatar by BoneMapping.
![humanoid](doc/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/
没有合适的资源?快使用搜索试试~ 我知道了~
Unity导入.vrm格式所需插件
共1404个文件
meta:766个
cs:452个
asset:52个
1 下载量 50 浏览量
2024-08-28
14:18:02
上传
评论
收藏 30.68MB ZIP 举报
温馨提示
Unity导入.vrm格式所需插件
资源推荐
资源详情
资源评论
收起资源包目录
Unity导入.vrm格式所需插件 (1404个子文件)
AnimationBridgeSample.anim 20KB
VRM.Samples.Editor.Tests.asmdef 869B
VRM.Tests.asmdef 805B
UniGLTF.Tests.asmdef 711B
VRM.Editor.asmdef 691B
VRMShaders.GLTF.IO.Tests.asmdef 624B
UniHumanoid.Editor.Tests.asmdef 624B
VRM.asmdef 560B
UniGLTF.Editor.asmdef 496B
UniHumanoid.Editor.asmdef 451B
UniGLTF.asmdef 417B
VRMShaders.GLTF.UniUnlit.Editor.asmdef 415B
VRMShaders.GLTF.IO.Editor.asmdef 409B
VRMShaders.VRM.IO.Editor.asmdef 408B
MToon.Editor.asmdef 396B
VRMShaders.GLTF.IO.Runtime.asmdef 387B
VRMShaders.GLTF.UniUnlit.Runtime.asmdef 341B
VRMShaders.VRM.IO.Runtime.asmdef 334B
UniHumanoid.asmdef 319B
MToon.asmdef 290B
Face.baked.asset 3.46MB
Hair001.baked.asset 1.64MB
Body.baked.asset 1.45MB
VrmAvatar.asset 137KB
RenderingServicePostProcessingProfile.asset 22KB
AvatarDescription.asset 10KB
SampleSceneProfile.asset 3KB
F00_000_00_Face_00_SKIN.asset 2KB
F00_001_01_Bottoms_01_CLOTH.asset 2KB
F00_006_01_Shoes_01_CLOTH.asset 2KB
F00_008_01_Tops_01_CLOTH.asset 2KB
F00_000_00_Body_00_SKIN.asset 2KB
F00_000_Hair_00_HAIR_01.asset 2KB
F00_000_Hair_00_HAIR_02.asset 2KB
F00_000_Hair_00_HAIR_06.asset 2KB
F00_000_Hair_00_HAIR_05.asset 2KB
F00_000_Hair_00_HAIR_03.asset 2KB
F00_000_Hair_00_HAIR_04.asset 2KB
F00_000_00_FaceEyeline_00_FACE.asset 2KB
F00_000_00_EyeHighlight_00_EYE.asset 2KB
F00_000_00_FaceEyelash_00_FACE.asset 2KB
F00_000_00_FaceBrow_00_FACE.asset 2KB
F00_000_00_EyeExtra_01_EYE.asset 2KB
F00_000_00_EyeIris_00_EYE.asset 2KB
F00_000_00_FaceMouth_00_FACE.asset 2KB
F00_000_00_EyeWhite_00_EYE.asset 2KB
T-Pose.pose.asset 2KB
BlendShape.asset 2KB
ForwardRenderer.asset 2KB
UniversalRP-MediumQuality.asset 2KB
UniversalRP-HighQuality.asset 1KB
UniversalRP-LowQuality.asset 1KB
Meta.asset 750B
BlendShape.Extra.asset 616B
BlendShape.Surprised.asset 570B
BlendShape.Blink_R.asset 568B
BlendShape.Blink_L.asset 568B
BlendShape.Neutral.asset 566B
BlendShape.Sorrow.asset 565B
BlendShape.Blink.asset 563B
BlendShape.Angry.asset 562B
BlendShape.Fun.asset 559B
BlendShape.Joy.asset 558B
BlendShape.A.asset 555B
BlendShape.I.asset 555B
BlendShape.O.asset 555B
BlendShape.E.asset 555B
BlendShape.U.asset 555B
LookRight.asset 511B
LookLeft.asset 509B
LookDown.asset 509B
LookUp.asset 505B
MToonCore.cginc 10KB
MToonSM4.cginc 967B
MToonSM3.cginc 568B
BvhLoaderTests.cs 44KB
GltfDeserializer.g.cs 40KB
GltfSerializer.g.cs 36KB
VRMDeserializer.g.cs 27KB
Humanoid.cs 27KB
MeshImporter.cs 26KB
UniGLTFTests.cs 25KB
VRMSerializer.g.cs 24KB
MToonInspector.cs 22KB
BoneNormalizer.cs 19KB
glTFExtensions.cs 18KB
UniVRMSerializeTests.cs 18KB
MeshUtility.cs 17KB
BoneMappingEditor.cs 17KB
MeshProcessDialog.cs 16KB
HumanoidEditor.cs 15KB
gltfExporter.cs 15KB
JsonSchemaParser.cs 15KB
ViewerUI.cs 14KB
VRMExporterWizard.cs 14KB
UtilsSetter.cs 14KB
JsonString.cs 14KB
MeshExportInfo.cs 13KB
AnimationImporterUtil.cs 13KB
VRMMetaObjectEditor.cs 13KB
共 1404 条
- 1
- 2
- 3
- 4
- 5
- 6
- 15
资源评论
好逗.
- 粉丝: 115
- 资源: 12
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 计算机视觉课程设计-基于Chinese-CLIP的图文检索系统Python实现源码+文档说明
- 计算机视觉Python课程设计-基于Chinese-CLIP的图文检索系统源码+文档说明
- 基于网络分析与元胞自动机构建难民迁移模型及其政策建议
- 欧洲难民危机下基于动态网络规划模型与系统动力学的优化难民迁移策略
- 基于时间约束函数的埃及水资源稀缺度模型与干预提案
- 全球水资源短缺与海地水危机的多学科分析和干预计划研究
- 印度水资源预测与干预政策分析:基于多元线性回归模型的技术研究与应用
- 微信小程序点餐系统微信小程序开发实战项目源码+数据库+详细文档说明(高分项目)
- Flutter jar包
- 基于微信平台的点餐系统小程序完整源码+文档说明+数据库(高分毕业设计项目)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功