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:

Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: Carbon

View Source Code:

Download Sample (“Geometry_Samples.zip”, 6.3K)
Download Sample (“Geometry_Samples.dmg”, 65.1K)


QuickDraw 3D Geometry Samples This is a simple library illustrating trigrid and box geometries. The trigrids represented are Square, Torus, Wavey Torus, Splash, Sphere, Cone, Pipe, Steps, and Spring. NewLibraryTriGrid returns a trigrid geometry when kGeometryLibraryRange_Simple is added to the trigrid number (0 to 8) or a trigrid with shading uv attributes when kGeometryLibraryRange_UVGeoAttributes or kGeometryLibraryRange_UVFaceAttributes is added to the trigrid number. Note: The calculation of uv's may be flipping the texture.

Document Revision History

Date Notes
2003-01-14First Version

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.