hp PEX Graphics Performance Optimized vs. Normal 3D Performance

Rendering Conditions

Performance Optimized For:

Factors Affecting Performance:

Light sources:

A total of more than 8 directional and

 

o Best: up to 8 directional light

 

positional light sources cause a noticeable

 

sources, plus ambient

 

performance degradation

 

o Good: a mixture of up to 8

Picking

 

 

directional and positional light

Any of the following ways of heavily

 

sources, plus ambient

 

interleaving changes:

• Directional eyepoint (this is the default in

 

o Frequent attribute changes (e.g.,

 

hp PEX unless compliance mode is

 

frequent changes of line color)

 

enabled)

 

relative to the number of primitives

Back-face culling off, or back-face culling

 

being drawn

 

on with supplied geometric normals

 

o Frequent changes of the type of

 

(culling usually results in a performance

 

primitive (e.g., switching between

 

improvement)

 

Fill Areas and Polylines at a high

View clipping on

 

frequency)

• Isotropic modeling matrix (angle-

 

o Frequent changes of vertex

 

preserving)

 

attributes (i.e., the data being

• Color approximation type PEXColorSpace

 

supplied with each vertex)

OCC primitives

 

o Frequent changes of modal state,

• Packed or stride data format

 

such as:

 

ƒ

Double-buffering

 

 

 

 

 

 

 

(especially MBX or DBE)

 

 

 

ƒ HLHSR mode or ID

 

 

 

ƒ

Light sources enabled

 

 

 

ƒ

Depth cueing state

 

 

 

ƒ

Texture mapping state

 

 

 

o Frequent switching between two or

 

 

 

more active Renderers

 

 

 

o Frequent mixing of Xlib and hp

 

 

 

PEXlib calls

 

 

• Redundant or unnecessary setup (e.g.

 

 

 

setting attributes that are not relevant to the

 

 

primitives being drawn)

 

 

Deformation on

 

 

Model clipping on

 

 

• HLHSR in software via PowerShade (on

 

 

 

unaccelerated graphics devices)

Page 106

Graphics Administration Guide for HP-UX 10.20