EasyManuals Logo

HP j6700 Supplementary Guide

HP j6700
62 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #60 background imageLoading...
Page #60 background image
programming hints
OpenGL performance hints
Chapter 558
Grouping your state changes together (that is, several modal state
changes at one time), and then rendering primitives, will provide
better performance than doing the modal state changes one by one
and intermixing them with primitives.
Grouping primitives that require the same modal state together to
minimize modal state changes. For example, if only part of a scene’s
primitives are lighted, draw all the lighted primitives, then turn off
lighting and draw all the unlighted primitives, rather than
enabling/disabling lighting many times.
Some states negatively impact performance, such as two-sided lighting,
polygon mode GL_LINE, and wide lines.
optimization of lighting
HP’s implementation of OpenGL optimizes the lighting case such that
the performance degradation from one light to two or more lights is
linear. Lighting performance does not degrade noticeably when you
enable a second light. In addition, the GL_SHININESS material parameter
is not particularly expensive to change.
occlusion culling
The proper use of HP’s occlusion culling extension can dramatically
improve rendering performance. This extension defines a mechanism for
determining the non-visibility of complex geometry based on the
non-visibility of a bounding geometry. This feature can greatly reduce the
amount of geometry processing and rendering required by an
application, thereby, increasing the applications performance. For more
information on occlusion culling, see the section “Occlusion Extension”
found in Chapter 1.
high frame rate applications
To achieve maximum performance for buffer swap and clear operations
across the entire family of Visualize and OEM graphics devices, avoid the
following:
Scissor rectangle smaller than the window size
Non-trivial plane masks, i.e., any value other than all zeros or all
ones
OGLImp.book Page 58 Tuesday, February 14, 2006 9:15 AM

Table of Contents

Other manuals for HP j6700

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP j6700 and is the answer not in the manual?

HP j6700 Specifications

General IconGeneral
BrandHP
Modelj6700
CategoryDesktop
LanguageEnglish

Related product manuals