CHAPTER 27

image

3-D Drawing

WPF includes an expansive 3-D model that allows you to build complex 3-D scenes out of straightforward markup. Helper classes provide hit-testing, mouse-based rotation, and other fundamental building blocks. And virtually any computer can display the 3-D content, thanks to WPF’s ability to fall back on software rendering when video card support is lacking.

The most remarkable part of WPF’s libraries for 3-D programming is that they are designed to be a clear, consistent extension of the WPF model you’ve already learned about. For example, you use the same set of brush classes to paint 3-D surfaces as you use to paint 2-D ...

Get Pro WPF 4.5 in VB: Windows Presentation Foundation in .NET 4.5 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.