O'Reilly logo

Character Animation with Direct3D® by Carl Granberg

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The ID3DXAnimationController Interface

Okay, you already know how to create a set of different animations. Why is an animation controller interface needed? Well, the ID3DXAnimationController interface controls all aspects of keyframed animation. It deals with anything from setting the active animation to blending multiple animations, animation callbacks, and so on (more on this in Chapter 5). In this chapter you’ll learn how to obtain this interface as well as the functions needed to control the basic aspects of character animation.

Loading the Animation Data

You have already come in contact with the function used to load the ID3DXAnimation-Controller object in the previous chapter. If you remember, the D3DXLoadMeshHierarchyFromX() function ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required