Standard Opengl Product - HP Workstation zx2000 Implementation Manual

Hp opengl implementation guide for hp-ux 11.x (ipf version) (5969-3152)
Hide thumbs Also See for Workstation zx2000:
Table of Contents

Advertisement

overview of OpenGL
64-bit programming
For information on porting your application to take advantage of 64-bit capabilities, see the
http://docs.hp.com
64-bit OpenGL allows "large data space" because the pointers are now 64-bit. But, the OpenGL
data types themselves are the same as the 32-bit library. For example, GLint is a 32-bit integer,
not a 64-bit long.
All 64-bit OpenGL libraries are located in /opt/graphics/OpenGL/lib/hpux64. The
following sample compile and link lines may help you to build your application once it has been
ported to take advantage of 64-bit capabilities:
Sample 32-bit compile and link:
cc -Ae -I/opt/graphics/OpenGL/include \
-I/usr/include/X11R6 -o cube.32 cube.c \
-L/opt/graphics/OpenGL/lib/hpux32 \
-L/usr/lib/hpux32/X11R6 -lGLU -lGL -lXhp11 -lXext -lX11 -lm
Sample 64-bit compile and link:
cc -Aa +DD64
-I/opt/graphics/OpenGL/include -I/usr/include/X11R6 -o cube.64 \
cube.c -L/opt/graphics/OpenGL/lib/hpux64 \
-L/usr/lib/hpux64/X11R6 -L/usr/lib/hpux64
-lGLU -lGL -lXhp11 -lXext -lX11 -lm

standard OpenGL product

This section covers the following topics:
the OpenGL utilities library (GLU)
input and output routines
the OpenGL extensions for the X Window system (GLX)
OpenGL Utilities Library (GLU)
The OpenGL Utilities Library (GLU) provides a useful set of drawing routines that perform such
tasks as:
generating texture coordinates
transforming coordinates
tessellating polygons
rendering surfaces
providing descriptions of curves and surfaces (NURBS)
handling errors
For a detailed description of these routines, refer to the Reference section or the OpenGL
Reference Manual.
input and output routines
OpenGL was designed to be independent of operating systems and window systems, therefore, it
does not have commands that perform such tasks as opening a window. To obtain these
capabilities, you will need to use X Windows routines (those whose names start with "glX").
1–6
Web site. Search for "64-bit Computing" to find the topic on "Porting."
-L/usr/lib \
OpenGL implementation guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Workstation zx6000

Table of Contents