Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /


Chapter 13 - View Objects

This chapter describes view objects (or views) and the functions you can use to manipulate them. You use a view to specify the camera, the group of lights, the draw context, and the renderer that you want QuickDraw 3D to use when rendering an image of a model. You also use views when picking and performing some other operations on a model.

To use this chapter, you should already be familiar with cameras, light groups, draw contexts, and renderers. See the chapters "Camera Objects," "Group Objects," "Draw Context Objects," and "Renderer Objects" in this book for information on creating and manipulating these four kinds of objects. You must create and configure instances of these objects before you can attach them to
a view.

This chapter begins by describing view objects and their features. Then it shows how to create and attach objects to views. The section "View Objects Routines," beginning on page 13-7 provides a complete description of the routines you can use to create and manipulate view objects.


Chapter Contents
About View Objects
Using View Objects
Creating and Configuring a View
Rendering an Image
View Objects Reference
View Objects Routines
Creating and Configuring Views
Rendering in a View
Picking in a View
Writing in a View
Bounding in a View
Setting Idle Methods
Writing Custom Data
Pushing and Popping the Graphics State
Getting a View's Transforms
Managing a View's Style States
Managing a View's Attribute Set
Application-Defined Routines
Summary of View Objects
C Summary
Constants
View Rendering Status Values
Compute Bounds Values
Properties of the Default Material
View Objects Routines
Creating and Configuring Views
Rendering in a View
Picking in a View
Writing in a View
Bounding in a View
Setting Idle Methods
Writing Custom Data
Pushing and Popping the Graphics State
Getting a View's Transforms
Managing a View's Style States
Managing a View's Attribute Set
Application-Defined Routines
Errors and Warnings

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help