Z Perspective Selectors
A drawing engine may support a z perspective control that determines whether thezor theinvWfield of a vertex (of typeTQAVGouraudorTQAVTexture) is to be used for hidden surface removal. You specify an engine's z perspective control by assigning a value to itskQATag_PerspectiveZstate variable. The default value of this variable for a drawing engine that supports z perspective iskQAPerspectiveZ_Off.
#define kQAPerspectiveZ_Off 0 #define kQAPerspectiveZ_On 1Constant descriptions
kQAPerspectiveZ_Off- The drawing engine performs hidden surface removal using
zvalues, as is standard.kQAPerspectiveZ_On- The drawing engine performs hidden surface removal using
invWvalues, which results in perspective-correct hidden surface removal.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help