HP c8000 Workstation Guia do Utilizador Página 1

Consulte online ou descarregue Guia do Utilizador para Manuais de software HP c8000 Workstation. HP c8000 Workstation User's Guide Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir

Resumo do Conteúdo

Página 1 - OpenGL Implementation Guide

OpenGL Implementation Guidefor HP-UX 11.xManufacturing Part Number : B2355-IE002Edition E0206© Copyright 2005-2006 by Hewlett-PackardOGLImp.book Page

Página 2 - Restricted Rights Legend

overview of OpenGLthe OpenGL productChapter 18 The arrows in the graphic represent symbolic links.In the library directory, you will see various versi

Página 3 - Contents

overview of OpenGLthe OpenGL productChapter 1 9supported visualsIn this section, each visual table will have a graphics device associated with it. For

Página 4

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

Página 5

overview of OpenGLthe OpenGL productChapter 1 11visual support for other graphics devicesThe OpenGL product can be used with devices that have no hard

Página 6

overview of OpenGLthe OpenGL productChapter 112buffer sharing between multiple processes and threadsIn the OpenGL implementation, all drawable buffers

Página 7 - 1 overview of OpenGL

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

Página 8

overview of OpenGLthe OpenGL productChapter 11464-bit OpenGL allows “large data space” because the pointers are now 64-bit. But, the OpenGL data types

Página 9

overview of OpenGLthe OpenGL productChapter 1 15at some loss of performance. For full single display performance, define the HPOGL_SLS_LOCK_WINDOW env

Página 10 - /opt/graphics/OpenGL/lib

overview of OpenGLthe OpenGL productChapter 116• Off-screen rendering • Double-buffering • Using X fonts For a detailed description of these routines,

Página 11

overview of OpenGLmixing of OpenGL and XlibChapter 1 17mixing of OpenGL and XlibThe OpenGL implementation conforms to the specification definition for

Página 12

2Legal NoticesThe information contained in this document is subject to change without notice.Hewlett-Packard assumes no responsibility for the use or

Página 13

overview of OpenGLGamma correctionChapter 118Gamma correction Gamma correction is used to alter hardware colormaps to compensate for the non-lineariti

Página 14

overview of OpenGLOpenGL extensionsChapter 1 19OpenGL extensionsThe extensions listed in this section are extensions that Hewlett-Packard has created;

Página 15

overview of OpenGLOpenGL extensionsChapter 120if (result) {glColorMask(GL_TRUE, GL_TRUE, GL_TRUE);glDepthMask(GL_TRUE);renderPart(i);glDepthMask(GL_FA

Página 16

overview of OpenGLOpenGL extensionsChapter 1 21GL_HP_supersample extension This supersample extension defines a mechanism for enabling and disabling a

Página 17

overview of OpenGLrendering detailsChapter 122rendering detailsThis section provides the details for several of HP’s rendering capabilities. These ren

Página 18

overview of OpenGLrendering detailsChapter 1 23decomposition of concave quadrilateralsHP determines whether the concave quadrilateral will become fron

Página 19

overview of OpenGLenvironment variablesChapter 124environment variablesHere is a list of environment variables used by HP’s implementation of OpenGL.

Página 20 - Gamma correction

overview of OpenGLenvironment variablesChapter 1 25. This variable allows the user to specify the coordinate space to be used for lighting. By default

Página 21 - OpenGL extensions

overview of OpenGLenvironment variablesChapter 126Additionally, an application can programmatically switch between the slower and faster double buffer

Página 22

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

Página 23 - GL_HP_supersample extension

Contents11. overview of OpenGLintroduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Página 24 - EXP and EXP2 fogging

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

Página 25

installation and setupverification instructionsChapter 2 29verification instructionsThis section provides you with the necessary information for deter

Página 26

installation and setupinstalling OpenGLChapter 230installing OpenGLInstalling the software involves the following steps:1. Install OpenGL.2. Check log

Página 27

installation and setupinstalling OpenGLChapter 2 31Table 2-1 OpenGL Development Environment Filesets for 11.0 and 11.11OpenGLDevKit Fileset ContainsOP

Página 28

installation and setupinstalling OpenGLChapter 2322. check log fileOnce you have completed the installation process, look at the contents of the file

Página 29 - 2 installation and setup

installation and setupinstalling OpenGLChapter 2 333. verify the productHere are three methods for determining if you have correctly installed OpenGL

Página 30 - Chapter 228

installation and setupthe OpenGL file structureChapter 234the OpenGL file structureThe OpenGL file structure is compliant with the file structure of t

Página 31 - Important

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/

Página 32 - 1. install OpenGL

installation and setupthe OpenGL file structureChapter 236OGLImp.book Page 36 Tuesday, February 14, 2006 9:15 AM

Página 33 - Chapter 2 31

Chapter 3 373 running OpenGL programsThis chapter gives a description of the Virtual GLX mode, Virtual Memory Driver (VMD), and support of threaded ap

Página 34 - 2. check log file

Contents2new environment variables as of release 1.05. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242. installation and setupverific

Página 35 - 3. verify the product

running OpenGL programsvirtual GLX (VGL) modeChapter 338virtual GLX (VGL) modeVirtual GLX (VGL) defines a special transparent mode within hp's im

Página 36

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

Página 37

running OpenGL programsrunning hp's implementation of the OpenGL stereo applicationChapter 340running hp's implementation of the OpenGL ster

Página 38 - Chapter 236

running OpenGL programsrunning hp's implementation of the OpenGL stereo applicationChapter 3 41After successfully re-configuring your monitor, th

Página 39 - 3 running OpenGL programs

running OpenGL programsrunning hp's implementation of the OpenGL stereo applicationChapter 342OGLImp.book Page 42 Tuesday, February 14, 2006 9

Página 40

Chapter 4 434 compiling and linking programsThis chapter provides information for including header files in your program, linking shared libraries, co

Página 41

compiling and linking programsoverviewChapter 444overviewTable 4-1 contains a list of the subdirectories in the directory/opt/graphics/OpenGLThese sub

Página 42

compiling and linking programsincluding header filesChapter 4 45including header filesMost OpenGL programs and applications that only use the standard

Página 43

compiling and linking programslinking shared librariesChapter 446linking shared librariesOpenGL is supported on workstations using shared libraries th

Página 44 - Chapter 342

compiling and linking programscompiling 32-bit and 64-bit applications for OpenGLChapter 4 47compiling 32-bit and 64-bit applications for OpenGLThe fo

Página 45 - Chapter 4 43

Contents35. programming hintsOpenGL correctness hints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Página 46

compiling and linking programsOpenGL procedure callsChapter 448OpenGL procedure callsIn order to facilitate maximum performance, the OpenGL library us

Página 47

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

Página 48 - Library Description

programming hintsChapter 550specific, see Appendix G in the OpenGL Programming Guide and section 6.6 “Maximizing OpenGL Performance” in the OpenGL Pro

Página 49

programming hintsOpenGL correctness hintsChapter 5 51OpenGL correctness hintsHints provided in this section are intended to help you correctly use HP’

Página 50 - OpenGL procedure calls

programming hintsOpenGL performance hintsChapter 552OpenGL performance hintsHints provided in this section are intended to help improve your applicati

Página 51 - 5 programming hints

programming hintsOpenGL performance hintsChapter 5 53draw array set extensionsglDrawArraySethp is a Hewlett-Packard OpenGL 1.1 extension to vertex arr

Página 52

programming hintsOpenGL performance hintsChapter 554mode Specifies the primitive or primitives that will be created from the vertices. Ten symbolic c

Página 53 - OpenGL correctness hints

programming hintsOpenGL performance hintsChapter 5 55... many more vertices...glEnd();than this:glBegin(GL_TRIANGLES);glColor3f(1,2,3);glVertex3f(...)

Página 54 - OpenGL performance hints

programming hintsOpenGL performance hintsChapter 556glNormal3fv(&v2); glVertex3fv(&p5);glNormal3fv(&v2); glVertex3fv(&p6);...glEnd();T

Página 55

programming hintsOpenGL performance hintsChapter 5 57state changeOpenGL state setting commands can be classified into two different categories. The fi

Página 56

Contents4OGLImp.book Page 4 Tuesday, February 14, 2006 9:15 AM

Página 57

programming hintsOpenGL performance hintsChapter 558• Grouping your state changes together (that is, several modal state changes at one time), and the

Página 58

programming hintsOpenGL performance hintsChapter 5 59• Single buffered applications•Alpha planes•Depth 8 visuals•Stereo• Gradient backgroundsrescaling

Página 59

programming hintsOpenGL performance hintsChapter 560Therefore, if the modelview matrix is M, the transformed plane equation is:the rescaled normal isa

Página 60

Chapter 1 51 overview of OpenGLOpenGL is a hardware-independent Application Programming Interface (API) that provides an interface to graphics operati

Página 61

overview of OpenGLintroductionChapter 16introduction The OpenGL interface consists of a set of commands that allow applications to define and manipula

Página 62

overview of OpenGLthe OpenGL productChapter 1 7the OpenGL productThis section provides information about HP’s implementation of the OpenGL product, as

Comentários a estes Manuais

Sem comentários