HP Workstation zx2000 HP OpenGL Implementation Guide for HP-UX 11.X (IPF versi - Page 16

occlusion extension, glVertex3f62.5

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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42

1–12
OpenGL implementation guide
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.