Fields of View

If you have experience with two-dimensional graphics, you're probably familiar with drawing in units of pixels, millimeters, or—in the Windows Presentation Foundation—"device-independent units" of 1/96 inch. In the WPF 3D you're dealing entirely with relative units, so you may initially be confused by how big something will be on the screen and what you can actually see.

Programmers will often use small numbers for points within a Viewport3D, but it's not a requirement. If you change one of the programs shown so far by increasing all the Point3D coordinates by a factor of 100 in the Positions collection of the MeshGeometry3D and the Position property of the PerspectiveCamera, everything will look the same.

You've already noted that ...

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.