OrthographicCamera Versus PerspectiveCamera

WPF has two types of Cameras that most apps choose between. The PerspectiveCamera creates a realistic image in which objects farther from the Camera appear smaller than those closer to the Camera. This models the way humans see things in the real world. The other type of Camera, OrthographicCamera, is more useful for editing tools and some visualizations because objects appear the same size, regardless of their distance from the Camera, allowing for precise measurement and analysis. Technical and manufacturing drawings frequently use OrthographicCameras. Figure 8.18 shows the same model rendered with an OrthographicCamera and a PerspectiveCamera.

FIGURE 8.18 OrthographicCamera and PerspectiveCamera ...

Get XAML Unleashed 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.