O'Reilly logo

Microsoft XNA 4.0 Game Development Cookbook by Luke Drumm

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

Applying animation with SkinnedEffect

The XNA framework comes pre-bundled with an effect that allows the GPU to take a fair portion of the burden of animating meshes away from the CPU. There are freely available examples, both from Microsoft and others, on how to import animation data from various modeling packages into a format suitable for XNA and said effect.

One aspect that I haven't seen covered in quite as much detail is how one actually interacts with such an effect in the simplest possible manner and how the effect manages to do what it does.

The chapter will hopefully fill both gaps.

Getting ready

This example utilizes the GeometricBuffer classes detailed in the procedural modeling recipes of Chapter 3, Procedural Modeling, but any library ...

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