HP c8000 Workstation Uživatelská příručka Strana 1

Procházejte online nebo si stáhněte Uživatelská příručka pro Softwarové příručky HP c8000 Workstation. HP c8000 Workstation User's Guide Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk

Shrnutí obsahu

Strany 1 - OpenGL Implementation Guide

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

Strany 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

Strany 3 - Contents

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

Strany 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

Strany 5

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

Strany 6

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

Strany 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

Strany 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

Strany 9

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

Strany 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,

Strany 11

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

Strany 12

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

Strany 13

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

Strany 14

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

Strany 15

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

Strany 16

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

Strany 17

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

Strany 18

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

Strany 19

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

Strany 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

Strany 21 - OpenGL extensions

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

Strany 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

Strany 23 - GL_HP_supersample extension

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

Strany 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

Strany 25

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

Strany 26

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

Strany 27

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

Strany 28

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

Strany 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

Strany 30 - Chapter 228

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

Strany 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/

Strany 32 - 1. install OpenGL

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

Strany 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

Strany 34 - 2. check log file

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

Strany 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

Strany 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

Strany 37

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

Strany 38 - Chapter 236

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

Strany 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

Strany 40

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

Strany 41

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

Strany 42

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

Strany 43

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

Strany 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

Strany 45 - Chapter 4 43

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

Strany 46

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

Strany 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

Strany 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

Strany 49

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

Strany 50 - OpenGL procedure calls

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

Strany 51 - 5 programming hints

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

Strany 52

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

Strany 53 - OpenGL correctness hints

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

Strany 54 - OpenGL performance hints

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

Strany 55

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

Strany 56

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

Strany 57

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

Strany 58

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

Strany 59

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

Strany 60

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

Strany 61

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

Strany 62

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

Komentáře k této Příručce

Žádné komentáře