OpenGL Implementation Guidefor HP-UX 11.xManufacturing Part Number : B2355-IE002Edition E0206© Copyright 2005-2006 by Hewlett-PackardOGLImp.book Page
overview of OpenGLthe OpenGL productChapter 18 The arrows in the graphic represent symbolic links.In the library directory, you will see various versi
overview of OpenGLthe OpenGL productChapter 1 9supported visualsIn this section, each visual table will have a graphics device associated with it. For
overview of OpenGLthe OpenGL productChapter 110stereo visual support for Visualize fx-5, fx-10, and Fire GL-UXWhen a monitor is configured in a stereo
overview of OpenGLthe OpenGL productChapter 1 11visual support for other graphics devicesThe OpenGL product can be used with devices that have no hard
overview of OpenGLthe OpenGL productChapter 112buffer sharing between multiple processes and threadsIn the OpenGL implementation, all drawable buffers
overview of OpenGLthe OpenGL productChapter 1 13calls must be restricted to a single thread, which remains the same thread for the duration of the pro
overview of OpenGLthe OpenGL productChapter 11464-bit OpenGL allows “large data space” because the pointers are now 64-bit. But, the OpenGL data types
overview of OpenGLthe OpenGL productChapter 1 15at some loss of performance. For full single display performance, define the HPOGL_SLS_LOCK_WINDOW env
overview of OpenGLthe OpenGL productChapter 116• Off-screen rendering • Double-buffering • Using X fonts For a detailed description of these routines,
overview of OpenGLmixing of OpenGL and XlibChapter 1 17mixing of OpenGL and XlibThe OpenGL implementation conforms to the specification definition for
2Legal NoticesThe information contained in this document is subject to change without notice.Hewlett-Packard assumes no responsibility for the use or
overview of OpenGLGamma correctionChapter 118Gamma correction Gamma correction is used to alter hardware colormaps to compensate for the non-lineariti
overview of OpenGLOpenGL extensionsChapter 1 19OpenGL extensionsThe extensions listed in this section are extensions that Hewlett-Packard has created;
overview of OpenGLOpenGL extensionsChapter 120if (result) {glColorMask(GL_TRUE, GL_TRUE, GL_TRUE);glDepthMask(GL_TRUE);renderPart(i);glDepthMask(GL_FA
overview of OpenGLOpenGL extensionsChapter 1 21GL_HP_supersample extension This supersample extension defines a mechanism for enabling and disabling a
overview of OpenGLrendering detailsChapter 122rendering detailsThis section provides the details for several of HP’s rendering capabilities. These ren
overview of OpenGLrendering detailsChapter 1 23decomposition of concave quadrilateralsHP determines whether the concave quadrilateral will become fron
overview of OpenGLenvironment variablesChapter 124environment variablesHere is a list of environment variables used by HP’s implementation of OpenGL.
overview of OpenGLenvironment variablesChapter 1 25. This variable allows the user to specify the coordinate space to be used for lighting. By default
overview of OpenGLenvironment variablesChapter 126Additionally, an application can programmatically switch between the slower and faster double buffer
Chapter 2 272 installation and setupFor HP-UX 11.X, the box containing the “HP-UX 11.0 Install and Core OS” CD-ROM will also hold a second CD-ROM enti
Contents11. overview of OpenGLintroduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
installation and setupChapter 228products are both available on the HP-UX 11.0 Core Operating Systems Options CD-ROM in the “Graphics and Technical Co
installation and setupverification instructionsChapter 2 29verification instructionsThis section provides you with the necessary information for deter
installation and setupinstalling OpenGLChapter 230installing OpenGLInstalling the software involves the following steps:1. Install OpenGL.2. Check log
installation and setupinstalling OpenGLChapter 2 31Table 2-1 OpenGL Development Environment Filesets for 11.0 and 11.11OpenGLDevKit Fileset ContainsOP
installation and setupinstalling OpenGLChapter 2322. check log fileOnce you have completed the installation process, look at the contents of the file
installation and setupinstalling OpenGLChapter 2 333. verify the productHere are three methods for determining if you have correctly installed OpenGL
installation and setupthe OpenGL file structureChapter 234the OpenGL file structureThe OpenGL file structure is compliant with the file structure of t
installation and setupthe OpenGL file structureChapter 2 35For 11.0 there are two sets of libraries, one for 64-bit and one for 32-bit. /opt/graphics/
installation and setupthe OpenGL file structureChapter 236OGLImp.book Page 36 Tuesday, February 14, 2006 9:15 AM
Chapter 3 373 running OpenGL programsThis chapter gives a description of the Virtual GLX mode, Virtual Memory Driver (VMD), and support of threaded ap
Contents2new environment variables as of release 1.05. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242. installation and setupverific
running OpenGL programsvirtual GLX (VGL) modeChapter 338virtual GLX (VGL) modeVirtual GLX (VGL) defines a special transparent mode within hp's im
running OpenGL programsvirtual GLX (VGL) modeChapter 3 39• OpenGL and Xlib rendering when mixed and sent to the same drawable in VGL mode may behave d
running OpenGL programsrunning hp's implementation of the OpenGL stereo applicationChapter 340running hp's implementation of the OpenGL ster
running OpenGL programsrunning hp's implementation of the OpenGL stereo applicationChapter 3 41After successfully re-configuring your monitor, th
running OpenGL programsrunning hp's implementation of the OpenGL stereo applicationChapter 342OGLImp.book Page 42 Tuesday, February 14, 2006 9
Chapter 4 434 compiling and linking programsThis chapter provides information for including header files in your program, linking shared libraries, co
compiling and linking programsoverviewChapter 444overviewTable 4-1 contains a list of the subdirectories in the directory/opt/graphics/OpenGLThese sub
compiling and linking programsincluding header filesChapter 4 45including header filesMost OpenGL programs and applications that only use the standard
compiling and linking programslinking shared librariesChapter 446linking shared librariesOpenGL is supported on workstations using shared libraries th
compiling and linking programscompiling 32-bit and 64-bit applications for OpenGLChapter 4 47compiling 32-bit and 64-bit applications for OpenGLThe fo
Contents35. programming hintsOpenGL correctness hints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
compiling and linking programsOpenGL procedure callsChapter 448OpenGL procedure callsIn order to facilitate maximum performance, the OpenGL library us
Chapter 5 495 programming hintsThe topics covered in this chapter are intended to give you some helpful programming hints as you begin to develop your
programming hintsChapter 550specific, see Appendix G in the OpenGL Programming Guide and section 6.6 “Maximizing OpenGL Performance” in the OpenGL Pro
programming hintsOpenGL correctness hintsChapter 5 51OpenGL correctness hintsHints provided in this section are intended to help you correctly use HP’
programming hintsOpenGL performance hintsChapter 552OpenGL performance hintsHints provided in this section are intended to help improve your applicati
programming hintsOpenGL performance hintsChapter 5 53draw array set extensionsglDrawArraySethp is a Hewlett-Packard OpenGL 1.1 extension to vertex arr
programming hintsOpenGL performance hintsChapter 554mode Specifies the primitive or primitives that will be created from the vertices. Ten symbolic c
programming hintsOpenGL performance hintsChapter 5 55... many more vertices...glEnd();than this:glBegin(GL_TRIANGLES);glColor3f(1,2,3);glVertex3f(...)
programming hintsOpenGL performance hintsChapter 556glNormal3fv(&v2); glVertex3fv(&p5);glNormal3fv(&v2); glVertex3fv(&p6);...glEnd();T
programming hintsOpenGL performance hintsChapter 5 57state changeOpenGL state setting commands can be classified into two different categories. The fi
Contents4OGLImp.book Page 4 Tuesday, February 14, 2006 9:15 AM
programming hintsOpenGL performance hintsChapter 558• Grouping your state changes together (that is, several modal state changes at one time), and the
programming hintsOpenGL performance hintsChapter 5 59• Single buffered applications•Alpha planes•Depth 8 visuals•Stereo• Gradient backgroundsrescaling
programming hintsOpenGL performance hintsChapter 560Therefore, if the modelview matrix is M, the transformed plane equation is:the rescaled normal isa
Chapter 1 51 overview of OpenGLOpenGL is a hardware-independent Application Programming Interface (API) that provides an interface to graphics operati
overview of OpenGLintroductionChapter 16introduction The OpenGL interface consists of a set of commands that allow applications to define and manipula
overview of OpenGLthe OpenGL productChapter 1 7the OpenGL productThis section provides information about HP’s implementation of the OpenGL product, as
Kommentare zu diesen Handbüchern