HP c8000 manual New environment variables as of release

Page 27

overview of OpenGL

environment variables

. This variable allows the user to specify the coordinate space to be used for lighting. By default, HP’s implementation of the OpenGL will select the lighting space. Possible values are:

HPOGL_LIGHTING_SPACE=OC

HPOGL_LIGHTING_SPACE=EC

where OC = Object Coordinates and EC = Eye Coordinates. For details on the lighting space, see the sections “Lighting Space” and “Optimization of Lighting” found in Chapter 5. This option is available only for the HP Visualize fx family of graphics devices.

HPOGL_TXTR_SHMEM_THRESHOLD (HP Visualize fx family only)

This variable sets a fence for the use of process memory vs. shared memory. Any 2D or 3D texture that has a size greater than or equal to the threshold set is stored in shared memory. The initial value is set to 10241024 bytes. This variable should be set to the byte size desired for shared memory usage. This option is available only for the HP Visualize fx family of graphics devices.

new environment variables as of release 1.05

The performance of HP OpenGL double buffering has been improved for Release 1.05 of HP’s implementation of OpenGL 1.1. With this performance enhancement, there is a low probability that minor image tearing may be visible during buffer-swap operations. The majority of OpenGL applications will see no difference in the visual quality of double buffering. However, this tearing may be noticed by some OpenGL applications that render simultaneously to multiple windows. Two environment variables can be set in an application environment to control whether or not the new faster buffer swapping method is in effect:

HPOGL_DSM_ENABLE_FAST_BUFFER_SWAP

When set to any non-NULL value, the new or faster double buffering method will be used. (This is the default behavior and does not need to be set except to override glHint as discussed below)

HPOGL_DSM_DISABLE_FAST_BUFFER_SWAP

When set to any non-NULL value, the old or slower double buffering method will be used.

Chapter 1

25

Image 27
Contents OpenGL Implementation Guide Legal Notices Contents Installation and setup Programming hints Contents Overview of OpenGL OpenGL Reference Manual IntroductionOpenGL product Hp’s implementation of OpenGLHp’s implementation of the OpenGL libraries Supported operating systems Supported graphics devicesVisual Table for HP Visualize fxe Supported visualsVisual Table for ATI Fire GL T2/X1/X3 Visual support for other graphics devices Stereo Visual Support for HP Fire GL-UXSigchld and the GRM daemon Buffer sharing between multiple processes and threadsBit programming SLS support Sample 64-bit compile and link for 11.x onlyOpenGL extensions for the X Window system GLX Standard OpenGL productOpenGL Utilities Library GLU Input and output routinesOpenGL product Mixing of OpenGL and Xlib Gamma correction Occlusion culling code fragments OpenGL extensionsVisibility test extensions Occlusion extensionEnumerated Types for Occlusion GLHPsupersample extension Bow-tie quadrilaterals Default visualsRendering details EXP and EXP2 foggingIndex mode dithering Decomposition of concave quadrilateralsVertices outside of a begin/end pair Environment variables New environment variables as of release Switches to the faster double buffering method Installation and setup Installation and setup Verification instructions Is your system software preloaded with instant ignition?Verify that OpenGL is on your workstation Install OpenGL Installing OpenGLOpenGL Development Environment Filesets for 11.0 Check log file Verify the product OpenGL file structure 64-bit libraries are in a subdirectory OpenGL file structure Chapter Running OpenGL programs Virtual GLX VGL mode Visual support for the VGL modeSpecial considerations Bool hpglXDisplayIsVGLDisplay *dpy, int screen Running hps implementation of the OpenGL stereo application Running hps implementation of the OpenGL stereo application Running OpenGL programs Compiling and linking programs Subdirectory This Directory Contains OverviewIncluding header files Linking shared libraries Compiling 32-bit and 64-bit applications for OpenGL OpenGL procedure calls Programming hints Programming hints OpenGL correctness hints 4D valuesTexture coordinates Geometric primitives Glcompileandexecute modeOpenGL performance hints Display list performanceDraw array set extensions State changes and their effects on display lists TexturesRegular primitive data Selection performance Texture downloading performanceState change Optimization of lighting Occlusion cullingHigh frame rate applications Rescaling normals OpenGL performance hints
Related manuals
Manual 27 pages 63.95 Kb Manual 8 pages 32.71 Kb Manual 89 pages 28.35 Kb