当前位置: 首页 > news >正文

Unity Animator BlendShape

(1)

Unity中的mecnim和blendshape的冲突问题

http://www.mamicode.com/info-detail-1724372.html

mecanim会覆盖blendshape动画

如果blendshape用的代码,解决办法是放在LateUpdate里.

http://answers.unity3d.com/questions/1011752/how-to-disable-animators-influence-on-blendshapes.html

如果blendshape动画

在animator增加一层

http://answers.unity3d.com/questions/836722/mecanim-locking-my-facial-blendshapes.html

======================================================

(2)

Mecanim 'Locking' my facial blendshapes

https://answers.unity.com/questions/836722/mecanim-locking-my-facial-blendshapes.html

I finally got back to researching it, and I'm going to answer my own question after a few months. haha

In the animator window, using multiple animation layers with the blending mode set to 'additive' will combine animations.

(3)

Import blendshapes keyframes from maya into unity

https://forum.unity.com/threads/import-blendshapes-keyframes-from-maya-into-unity.259488/

(4)

Animation Blend Shapes

https://docs.unity3d.com/560/Documentation/Manual/BlendShapes.html

(5)

官网文档是在 Animation 中 Key BlendShape

Working with blend shapes

https://docs.unity3d.com/Manual/BlendShapes.html

Create animations In Unity

To create a blend animation:

  1. Open the Animation window (from the main Unity menu: Window > Animation
    > Animation).
  2. On the left side of the window, click Add Curve and add a blend shape. The Inspector window displays the new blend shape in the BlendShapes section under the SkinnedMeshRenderer component.

Create the animation you want by adjusting the keyframes
and blend weights.

To preview your animation, click Play in the Editor window or the Animation window.

(6)

这个文章是在 Maya 或者 Max 中直接 Key BlendShape ,不在 Unity 的 Animation 中 Key

在Unity中实现BlendShape表情和骨骼动画混合的实践

https://zhuanlan.zhihu.com/p/71544395

表情动画制作

美术方面:美术额外导出一个FBX,带有蒙皮信息、骨骼动画只保留一个造型、单独面部的动画信息(Morphing)

经过测试,只有美术网格、骨骼、蒙皮、Morphing动画一起导出来的Fbx才能保留表情动画信息

AvatarMask(动画遮罩):可以控制哪部分骨骼或蒙皮受影响

FaceLayer中的Mask只需要开启面部蒙皮,这样只有面部受第二层状态机影响

在Project试图 右键 然后 Create/Avatar Mask 可以创建AvatarMask,然后指定对应Fbx中的avatar,就可以导入模型骨骼蒙皮信息

另一个偶现的BUG,是表情很奇怪,发现问题是播放表情动画的时候SkinnedMeshRenderer上的BlendShape某一个权重超过了100,但是美术制作的时候确定最大不会超过100

最后发现是动画导入器的ResampleCurve导致的,重采样动画曲线,使某一小段曲线采样超过了100,导致表情错误,参考另一篇文章

(7)

这个书籍也是使用在 Unity 中 Key 关键帧动画,然后用 BlendShape

Driving a blendshape animation with the animator controller
https://subscription.packtpub.com/book/game_development/9781849696364/6/ch06lvl1sec33/driving-a-blendshape-animation-with-the-animator-controller

Unity Character Animation with Mecanim

Driving a blendshape animation with the animator controller

The zombie's face animation is a nice touch, to make it clear to the player that something is happening in the game. The effect is quite subtle; due to the limited number of face bones that we can retarget in the Humanoid rig type, we are not able to get a full range of expression across in the zombie's face.

One way to get around this is to use a different kind of animation. Blendshape or Morph Target animation types do not use bones or joints to deform the model, but use a second, altered version of the mesh. Blendshape animation sequences can be driven in the animator the same way that skeletal animation can.

Blendshape animation sequences are usually unique to a model. They are created by making a copy of the whole or part of a mesh and then moving, scaling, and rotating vertices to change the shape—creating a facial expression or some other kind of deformation.

After the blendshape has been linked to the model, it can be exported...

 

相关文章:

  • unity3d中的BlendShape混合动画
  • Unity-Animator深入系列---状态机面板深入
  • 为Unity3D创建素材(2):模型、绑定、动画
  • 在Unity中实现BlendShape表情和骨骼动画混合的实践
  • Unity通过导入器优化动画关键帧数据
  • Unity技术分享(58)|粒子系统优化 | 同屏HUD过多| ResampleCurves的作用...
  • Nebula3 RTTI Tips Tricks
  • UE4 Material_01:堡垒之夜砍伐树木效果
  • Unity Avatar Mask 动画混合
  • Unity3d 导入fbx文件 Mecanim装备错位的解决方法
  • unity 对Animator动画系统的研究
  • Fbx 对应序列化
  • Max 中制作 BlendShape 的关键帧动画
  • Unity 中使用 Animator 控制 BlendShape 的 AnimationClip 播放
  • Unity BlendShape 表情编辑器设计
  • 9月CHINA-PUB-OPENDAY技术沙龙——IPHONE
  • 收藏网友的 源程序下载网
  • [分享]iOS开发-关于在xcode中引用文件夹右边出现问号的解决办法
  • bootstrap创建登录注册页面
  • Java IO学习笔记一
  • js继承的实现方法
  • linux安装openssl、swoole等扩展的具体步骤
  • Python 反序列化安全问题(二)
  • weex踩坑之旅第一弹 ~ 搭建具有入口文件的weex脚手架
  • 更好理解的面向对象的Javascript 1 —— 动态类型和多态
  • 看图轻松理解数据结构与算法系列(基于数组的栈)
  • 试着探索高并发下的系统架构面貌
  • 微信小程序实战练习(仿五洲到家微信版)
  • 温故知新之javascript面向对象
  • 继 XDL 之后,阿里妈妈开源大规模分布式图表征学习框架 Euler ...
  • ​如何在iOS手机上查看应用日志
  • #我与Java虚拟机的故事#连载01:人在JVM,身不由己
  • (cos^2 X)的定积分,求积分 ∫sin^2(x) dx
  • (C语言)共用体union的用法举例
  • (附源码)python旅游推荐系统 毕业设计 250623
  • (七)理解angular中的module和injector,即依赖注入
  • (三) diretfbrc详解
  • (数据结构)顺序表的定义
  • (未解决)jmeter报错之“请在微信客户端打开链接”
  • (转)Scala的“=”符号简介
  • ***微信公众号支付+微信H5支付+微信扫码支付+小程序支付+APP微信支付解决方案总结...
  • .\OBJ\test1.axf: Error: L6230W: Ignoring --entry command. Cannot find argumen 'Reset_Handler'
  • .NET 中各种混淆(Obfuscation)的含义、原理、实际效果和不同级别的差异(使用 SmartAssembly)
  • .NET使用HttpClient以multipart/form-data形式post上传文件及其相关参数
  • /etc/shadow字段详解
  • [AMQP Connection 127.0.0.1:5672] An unexpected connection driver error occured
  • [Angular 基础] - 数据绑定(databinding)
  • [AutoSar]BSW_OS 02 Autosar OS_STACK
  • [BUAA软工]第一次博客作业---阅读《构建之法》
  • [CSS]浮动
  • [CTO札记]如何测试用户接受度?
  • [Golang]K-V存储引擎的学习 从零实现 (RoseDB mini版本)
  • [HITCON 2017]SSRFme perl语言的 GET open file 造成rce
  • [HNOI2006]鬼谷子的钱袋
  • [Java、Android面试]_10_Java中==与equal()方法的区别?重写equal()方法?