O'Reilly logo

3D Programming for Windows® by Charles Petzold

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

Chapter 2. Transforms and Animation

In this chapter:

Animation Without Transforms 56

Manipulating Collections 63

The Transform3D Class 71

The Translation Transform 73

Shareable Models 80

The Scale Transform 90

Combining Translation and Scaling 93

How to Build a Chair 96

Three-dimensional figures on the computer screen are usually more satisfying when they move. In the grand scheme of things, both 3D and animation are considered somewhat "advanced" graphics techniques, so it's probably not surprising that they often seem to be used together. Animation helps 3D figures demonstrate their extra dimensionality and reveal parts previously hidden from view. Animation brings 3D figures to life.

The Windows Presentation Foundation has a versatile animation system ...

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