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

OpenGL extensions, draw array set extension, 3D texture extension

Page 12 highlights

overview of OpenGL OpenGL extensions The extensions listed in this section are extensions that HP has created; that is, in addition to those standard functions described in the OpenGL Programming Guide, OpenGL Reference Manual, and OpenGL Programming for the X Window System. draw array set extension For additional information, see Chapter 5, "programming hints." 3D texture extension The 3D-texture extension is useful for volumetric rendering of solid surfaces such as a marble vase, or for rendering images where geometric alignment is important (such as an MRI medical image). For this extension, the texture maps have width and height as they did for 2D, but also an additional dimension depth not included in 2D. The third coordinate forms a right-handed coordinate system, as the following illustration shows. r (depth) t (height) s (width) Right-Handed Coordinate System for 3D Texturing Each MIPmap level consists of a block of data (see Each MIPmap is a Block in 3-D Texturing below). Each MIPmap level of the texture map is treated as being arranged in a sequence of adjacent rectangles. Each rectangle is a 2-dimensional image, so each MIPmap level is a (2m + 2b) (2n + 2b) (2l + 2b) block where b is a border width of either 0 or 1, and m, n and l are non-negative integers. Each MIPmap is a Block in 3-D Texturing 1-8 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–8
OpenGL implementation guide
overview of OpenGL
OpenGL extensions
The extensions listed in this section are extensions that HP has created; that is, in addition to
those standard functions described in the
OpenGL Programming Guide, OpenGL Reference
Manual,
and
OpenGL Programming for the X Window System.
draw array set extension
For additional information, see
Chapter 5, “programming hints.”
3D texture extension
The 3D-texture extension is useful for volumetric rendering of solid surfaces such as a marble
vase, or for rendering images where geometric alignment is important (such as an MRI medical
image). For this extension, the texture maps have width and height as they did for 2D, but also an
additional dimension depth not included in 2D. The third coordinate forms a right-handed
coordinate system, as the following illustration shows.
Right-Handed Coordinate System for 3D Texturing
Each MIPmap level consists of a block of data (see
Each MIPmap is a Block in 3-D Texturing
below). Each MIPmap level of the texture map is treated as being arranged in a sequence of
adjacent rectangles. Each rectangle is a 2-dimensional image, so each MIPmap level is a (2m +
2b) (2n + 2b) (2l + 2b) block where b is a border width of either 0 or 1, and m, n and l are
non-negative integers.
Each MIPmap is a Block in 3-D Texturing
r (depth)
t (height)
s (width)