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 the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.