当前位置:网站首页>MMD->Unity一站式解决方案
MMD->Unity一站式解决方案
2022-08-02 14:11:00 【莉萝爱萝莉】
1. 准备工作
1. 准备模型
你需要准备来自MMD的模型,或任意其他可在Unity中使用的模型
- 获取来自MMD的模型方法有很多,比如 bowlroll 、aplaybox(模之屋)。
- 针对其他模型的获取,你也可以前往 booth 获取对应模型。
2. 准备动作与相机
动作模型分为三类,舞蹈动作、手部/面部动作、以及镜头动作
通常来说,这些动作的文件后缀为vmd。
你可以前往 bowlroll 、aplaybox(模之屋) 获取动作。
3. 各种插件的获取
mmd的pmx模型转fbx:stereoarts

mmd口型加载:MMD4UnityTools
mmd镜头加载:MMD2UnityTool
物理:mmd自带,插件可选(Dynamic Bone)动态骨骼或(Magica Cloth)魔法布料
注:导入口型时,由于插件问题导致不能正常运行,因此需要微调MMDExtensionsEditor源码
var curve = new AnimationCurve(package.ToArray());
varchara = GameObject.Find("U_Char_2");
var gameObjectName = chara.name;
var parentName = chara.transform.parent.name;
var mesh = chara.GetComponent<SkinnedMeshRenderer>().sharedMesh;
/* 被隐去的部分 var gameObjectName = Selection.gameObjects.First().name; var parentName = Selection.gameObjects.First().transform.parent.name; var mesh = Selection.gameObjects.First().GetComponent<SkinnedMeshRenderer>().sharedMesh;*/
var bsCounts = mesh.blendShapeCount;
var blendShapeNames = Enumerable.Range(0, bsCounts).ToList().ConvertAll(index => mesh.GetBlendShapeName(index));
边栏推荐
- [STM32 Learning 1] Basic knowledge and concepts are clear
- cmake configure libtorch error Failed to compute shorthash for libnvrtc.so
- 6.统一记录日志
- How to solve Win11 without local users and groups
- What are IPV4 and IPV6?
- Introduction to in-order traversal (non-recursive, recursive) after binary tree traversal
- 2021-06-06
- Open the door of electricity "Circuit" (1): voltage, current, reference direction
- MATLAB图形加标注的基本方法入门简介
- Use libcurl to upload the image of Opencv Mat to the file server, based on two methods of post request and ftp protocol
猜你喜欢
随机推荐
一篇文章彻底理解Redis的持久化:RDB、AOF
Codeforces Round #605 (Div. 3)
第二十九章:树的基本概念和性质
unity-shader(中级)
Detailed explanation of MATLAB drawing function plot
推开机电的大门《电路》(一):电压,电流,参考方向
总结计算机网络超全面试题
Mysql之MVCC
如何用硬币模拟1/3的概率,以及任意概率?
[STM32 Learning 1] Basic knowledge and concepts are clear
永久更改pip源
Exotic curiosity-a solution looking - bit operations
Redis common interview questions
深入理解Golang之Map
Article pygame drag the implementation of the method
TCP三次握手、四次挥手
Happy, 9/28 scene collection
yolov5官方代码解读——前向传播
Detailed explanation of MATLAB drawing function fplot
Introduction to in-order traversal (non-recursive, recursive) after binary tree traversal









