Camera Transforms

Although I introduced the PerspectiveCamera and OrthographicCamera classes in Chapter 1 I neglected the MatrixCamera class. MatrixCamera is much harder to use, but just figuring out how to use it provides many insights into the mathematics behind 3D graphics. Having a good grasp of camera transforms is also important whenever you need to let the user manipulate 3D objects with the mouse.

When WPF 3D is composing a 3D scene, many transforms might be involved in determining where the coordinates of a figure are located. The application of transforms begins with the GeometryModel3D, then any Model3DGroup that the GeometryModel3D might be a part of, then the ModelVisual3D, and then any parent ModelVisual3D objects that might be present. ...

Get 3D Programming for Windows® now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.