O'Reilly logo

3D Programming for Windows® by Charles Petzold

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Shareable Models

The classes in the System.Windows.Media.Media3D namespace distinguish between visuals and models. The only instantiable visual class is ModelVisual3D, which has a Content property of type Model3D. The Model3D class is the parent of GeometryModel3D and Light, which is parent to all the classes that provide lighting in your 3D scenes. For purposes of this discussion, the Camera classes, the Material classes, and the Transform3D classes can also be considered models.

A visual is something that has a visual appearance and can actually be rendered on the screen. The model provides information to the visual that the visual uses to render itself.

One crucial difference between visuals and models is that models can be shared among multiple ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required