ADC Home > Reference Library > Technical Q&As > Legacy Documents > Graphics & Imaging >

Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

NOTE: This Technical Q&A has been retired. Please see the Technical Q&As page for current documentation.

Making Objects Invisible

Q: Is it possible to include an object in the QuickDraw 3D rendering loop, but have it invisible?

A: If your object is in a group, you can turn the groups drawable flag off (kQ3DisplayGroupStateMaskIsDrawn, see page 10-6 of "3D Graphics programming with QD3D") so the objects in the group won't be drawn.

Another technique is to set the origin of the object to a distant location, so that it is not in the field of view.

Alternately, you can make the object transparent by setting the transparency color to whatever the background color is.

[Jul 11 1997]

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.