当前位置:网站首页>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));
边栏推荐
- MATLAB绘制平面填充图入门详解
- Doubled and sparse tables
- IDEA 单元测试报错:Class not found
- Win10 Settings screen out from lack of sleep?Win10 set the method that never sleep
- 推开机电的大门《电路》(一):电压,电流,参考方向
- Mysql之MVCC
- Golang 垃圾回收机制详解
- Open the door of electricity "Circuit" (1): voltage, current, reference direction
- 4.发布帖子,评论帖子
- 如何用硬币模拟1/3的概率,以及任意概率?
猜你喜欢

Based on the least squares linear regression equation coefficient estimation

网络安全抓包

Software Testing Basics (Back)

5. Transaction management

yolov5官方代码解读——前向传播

Use tencent cloud builds a personal blog

MATLAB绘图函数plot详解

What should I do if the Win10 system sets the application identity to automatically prompt for access denied?

Detailed explanation of MATLAB drawing function plot

第三十一章:二叉树的概念与性质
随机推荐
Win11 keeps popping up User Account Control how to fix it
二叉树创建之层次法入门详解
casbin模型
第三十三章:图的基本概念与性质
mysql的索引结构为什么选用B+树?
Detailed introduction to drawing complex surfaces using the plot_surface command
深入理解Mysql索引底层数据结构与算法
5.事务管理
Detailed explanation of MATLAB drawing function plot
Redis的线程模型
7. Redis
pygame draw arc
MATLAB绘图函数plot详解
pygame绘制弧线
Introduction to in-order traversal (non-recursive, recursive) after binary tree traversal
word方框怎么打勾?
队列与栈
2342. 数位和相等数对的最大和 哈希优化
Knapsack Problem - Dynamic Programming - Theory
pygame image rotate continuously