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.
SurfaceVertexProgram
Last Revision: | Version 1.0, 2003-07-07 Vertex program that demonstrates the use of a UV mesh to draw an implicit surface. |
Build Requirements: | |
Runtime Requirements: | Cocoa Project Builder, Mac OS 10.2 or later |
This is a vertex program that demonstrates the use of a UV mesh to draw an implicit surface. The UV mesh is bound from -pi to pi and is evaluated on the GPU using the vertex program SurfaceVertexProgram.vsh (in resources) Use the mouse button and drag to move the object position The space bar selects the fill mode (lines/quads) In addition the demo can use quicktime to play a sound file from which the 8 equalizer inputs are used to modify the control parameters that define the surface. Requirements: Project Builder, Mac OS 10.2 or later Keywords: vertex program, UV, implicit surface, opengl
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-07-07