Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
BoxTex
Last Revision: | Version 1.0, 2003-01-14 First Version |
Build Requirements: | |
Runtime Requirements: | Carbon |
QuickDraw 3D BoxTex This sample snippet shows how to do basic texture mapping of an obect, such as a box. Note that QuickDraw 3D's box object comes parameterized, so if you are texture mapping a mesh or trigrid, you need to supply parameterizations (in this instance you'd need to supply UV parameterizations, to tell the texture shader where to place the texture map).
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14