Demo: Green Dragon

Articles with the tag: Interpolation

Lighting and shading the character model

Cool, but not what I want (using the geometry shader)

Aaand success: the shader-based skinning is complete: vertices and normals are transformed.

[09/06/14 12:25]

Let's try a simple (e.g. Lambert + Phong) shader.

Fantastic. Now let's add UV texturing, then the CameraNode can be set up.

[09/06/14 15:59]

Seeing if armature animation code still works with dragon mesh - it may need updating.

Creating a small looping idle animation for the dragon character rig in Blender:

Playing the test animation in game engine:

It works!

Now it just needs to be made blendable with simulated motion for more realistic idle dragon motion (such as swaying) while the player interacts with the character.

Some interpolation (such as smoothstep) should be used to make the looping animation smooth as it bounces between keyframes.

Read More »

Page 1 / 1