基于顶点颜色的动画Vertex Color Based Animation Basics | Andreas Glad

基于顶点颜色的动画Vertex Color Based Animation Basics | Andreas Glad

In this tutorial I’ll go over the basics of vertex color gradient based animation for Unreal Engine 4. Vertex color gradient animation is the practice of creating animation using vertex shader offsets with various math functions modulated by the vertex colors.

We’ll start by creating a basic butterfly wing flapping animation, then we’ll expand on it by using VEX and wrangles to preview our animation in Houdini making it fast and easy to develop a lot more complex animations. We’ll start with an empty scene, and finish with an almost clothlike flight animation along with a really solid base setup for expanding your Vertex color based animation workflows.

Timecodes:
Creating the most basic gradients: 00:00
Setting up a basic vertex animation shader: 03:58
Fixing the rotation issues: 05:51
Adding secondary gradients: 08:13
Implementing the second axis of movement: 11:09
Building the vertex animation preview in Houdini: 14:26
Making a radial gradient: 20:30
Finishing touches: 23:15

Download project scene files here: sidefx.com/tutorials/vertex-color-based-animation-basics
谷歌翻译:
在本教程中,我将介绍虚幻引擎4的基于顶点颜色渐变的动画的基础。顶点颜色渐变动画是一种使用顶点着色器偏移量创建动画的实践,该偏移量具有由顶点颜色调制的各种数学函数。

我们将首先创建一个基本的蝴蝶翅膀拍打动画,然后使用VEX和wrangles在Houdini中预览我们的动画,从而使其快速,轻松地开发更多复杂的动画,从而对其进行扩展。我们将从一个空的场景开始,最后以几乎像布的飞行动画,以及一个用于扩展基于Vertex颜色的动画工作流的坚实基础设置来结束。

时间码:
创建最基本的渐变:00:00
设置基本的顶点动画着色器:03:58
解决轮换问题:05:51
添加次要渐变:08:13
实施第二条运动轴:11:09
在Houdini中构建顶点动画预览:14:26
进行径向渐变:20:30
结束语:23:15

Download project scene files here: sidefx.com/tutorials/vertex-color-based-animation-basics