HP Workstation zx2000 HP OpenGL Implementation Guide for HP-UX 11.X (IPF versi - Page 16
occlusion extension, glVertex3f62.5
View all HP Workstation zx2000 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 16 highlights
overview of OpenGL glVertex3f(0.5, 62.5, 0.); glNormal3f(0., 0., 1.); glTexCoord3f(1.0, 1.0, 1.0); glVertex3f(62.5, 62.5, 0.); glNormal3f(0., 0., 1.); glTexCoord3f(1.0, 0.0, 1.0); glVertex3f(62.5, 0.5, 0.); glEnd(); } The results of code fragments are shown in Results from the 3D Texture Program Fragments below. This figure shows four layers in the base MIPmap level, and a diagonal slice through the base MIPmap level. Results from the 3D Texture Program Fragments For more information on 3D texture, see the functions: glTexImage3DEXT, glTexSubImage3DEXT, glCopyTexSubImage3DEXT, glEnable, glDisable. occlusion extension This occlusion culling extension defines a mechanism whereby an application can determine the non-visibility of some set of geometry based on whether an encompassing set of geometry is not visible. In general, this feature does not guarantee that the target geometry is visible when the test fails, but is accurate with regard to non-visibility. Typical usage of this feature would include testing the bounding boxes of complex objects for visibility. If the bounding box is not visible, then it is known that the object is not visible and need not be rendered. 1-12 OpenGL implementation guide