HP sv6 User Manual

Page 81

Advertising
background image

installation and user information

optimization

Chapter 2

81

The default is for fast zoom to be enabled. To put it back to its
original setting:

unset HPOGL_DSM_DISABLE_FAST_ZOOM

The environment variable

HPOGL_OPT_CACHE_MATRICES

can be

used with any application, but has the most impact on
applications that benefit from matrix caching. Matrix caching is
an optional client side optimization that detects successive
glPushMatrix(), glMultMatrix(), render, render,
glPopMatrix()sequences where the exact same matrix is
redundantly sent.

To enable this feature, set the environment variable before
running the application:

export HPOGL_OPT_CACHE_MATRICES=1

Optimizing image quality

By adjusting the number of pipes used for accumulation (using
setpipes) and turning on hardware scene anti-aliasing (described
below), you can maximize the image quality.

Accumulate Mode - See the

/opt/graphics/OpenGL/sv/doc/README.*setpipes

files for

instructions on specifying an accumulate mode screen layout. This
can be done with either a GUI or via command line options.

There are two methods of turning scene anti-aliasing on and off for

fx

10

graphics cards in your hp visualization center sv6 workstations:

Method #1:

The environment variables, HPOGL_FORCE_SCENE_AA and
HPOGL_FORCE_SCENE_AA_DBL can be used by any application
without any code changes. The first one forces all 24-bit OpenGL
rendering to be scene anti-aliased and the second one restricts scene
anti-aliasing to only double buffered visuals.

This will turn on scene anti-aliasing for all OpenGL applications. To
enable one of these, add it to the Environment section of the

/etc/X11/X0screens

file then restart the X server.

Method #2:

An application can turn on/off scene anti-aliasing on the fly by using

the OpenGL calls:

Advertising