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

The Transform3D Class

Transforms are a generalized and systematic approach to modifying coordinate points (and perhaps vectors as well) of a particular graphical object. A transform is basically a mathematical formula that is generally applied to each point in a collection, such as the Positions collection of a MeshGeometry3D object. The actual points in the Positions collection do not change, but the transform modifies the points used to render the object.

When you use the native Windows Win32 API to program two-dimensional graphics, the graphics transform is a characteristic of the device context, which essentially represents a display surface such as the screen. All objects drawn on that device context are subject to the current transform in ...

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