24.05.2014 Views

AIX Version 4.3 Differences Guide

AIX Version 4.3 Differences Guide

AIX Version 4.3 Differences Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

• Separate Specular Color<br />

Lighting calculations are modified to produce a primary color consisting of<br />

emissive, ambient, and diffuse terms of the usual GL lighting equation, and a<br />

secondary color consisting of specular terms. Only the primary color is<br />

modified by the texture environment; the secondary color is added to the<br />

result of texturing to produce a single post-texturing color. This allows<br />

highlights whose color is based on the light source creating them, rather than<br />

the surface properties.<br />

• Texture Coordinate Edge Clamping<br />

GL normally clamps such that the texture coordinates are limited to exactly the<br />

range [0,1]. When a texture coordinate is clamped using this algorithm, the<br />

texture sampling filter straddles the edge of the texture image, taking half its<br />

sample values from within the texture image, and the other half from the<br />

texture border. It is sometimes desirable to clamp the texture without requiring<br />

a border, and without using the constant border color.<br />

A new texture clamping algorithm, CLAMP_TO_EDGE, clamps texture<br />

coordinates at all mipmap levels such that the texture filter never samples a<br />

border texel. The color returned when clamping is derived only from the edge<br />

of the texture image.<br />

• Texture Level of Detail Control<br />

Two constraints related to the texture level of detail parameter λ (lambda) are<br />

added. One constraint clamps λ (lambda) to a specified floating point range.<br />

The other limits the selection of mipmap image arrays to a subset of the arrays<br />

that would otherwise be considered.<br />

Together, these constraints allow a large texture to be loaded and used initially<br />

at low resolution and to have its resolution raised gradually as more resolution<br />

is desired or available. Image array specification is necessarily integral rather<br />

than continuous. By providing separate, continuous clamping of the λ<br />

(lambda) parameter, it is possible to avoid popping artifacts when higher<br />

resolution images are provided.<br />

• Vertex Array Draw Element Range<br />

A new form of DrawElements that provides explicit information on the range of<br />

vertices referred to by the index set is added. Implementations can take<br />

advantage of this additional information to process vertex data without having<br />

to scan the index data to determine which vertices are referenced.<br />

Because OpenGL 1.2 is a superset of OpenGL 1.1, all programs written for<br />

OpenGL 1.1 run on OpenGL 1.2 without modification, recompiling, or relinking.<br />

OpenGL 1.2 support is available in <strong>AIX</strong> <strong>4.3</strong>.2 only on the GXT3000P PCI<br />

Graphics Accelerator. Users of other graphics adapters are limited to functions<br />

contained in OpenGL 1.1 and OpenGL 1.1 extensions. The optional Imaging<br />

Extension subset is not supported by the IBM OpenGL 1.2 implementation (at this<br />

time).<br />

The ZAPdb interactive OpenGL debugger is enhanced to support all new features<br />

provided in OpenGL <strong>Version</strong> 1.2.<br />

Graphical Environment Enhancements 229

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!