By Dave Shreiner, The Khronos OpenGL ARB Working Group

OpenGL is a robust software program interface used to supply fine quality, computer-generated pictures and interactive purposes utilizing 2nd and 3D gadgets, bitmaps, and colour images.

The OpenGL®Programming consultant, 7th Edition, provides definitive and entire details on OpenGL and the OpenGL application Library. the former version lined OpenGL via model 2.1. This 7th version of the best-selling “red book” describes the newest positive factors of OpenGL models 3.0 and 3.1. you'll find transparent factors of OpenGL performance and lots of easy special effects thoughts, similar to construction and rendering 3D versions; interactively viewing items from varied point of view issues; and utilizing shading, lighting fixtures, and texturing results for higher realism. moreover, this e-book offers in-depth insurance of complex strategies, together with texture mapping, antialiasing, fog and atmospheric results, NURBS, photograph processing, and extra. The textual content additionally explores different key themes akin to improving functionality, OpenGL extensions, and cross-platform techniques.

This 7th variation has been up to date to incorporate the most recent positive factors of OpenGL models 3.0 and 3.1, including

* utilizing framebuffer gadgets for off-screen rendering and texture updates
* Examples of a few of the new buffer item kinds, together with uniform-buffer items, rework suggestions buffers, and vertex array objects
* utilizing texture arrays to extend functionality while utilizing various textures
* effective rendering utilizing primitive restart and conditional rendering
* dialogue of OpenGL’s deprecation mechanism and the way to make sure your courses for destiny types of OpenGL

This version keeps the dialogue of the OpenGL Shading Language (GLSL) and explains the mechanics of utilizing this language to create advanced pictures results and develop the computational energy of OpenGL. The OpenGL Technical Library presents educational and reference books for OpenGL. The Library permits programmers to achieve a realistic knowing of OpenGL and indicates them find out how to liberate its complete capability. initially built by means of SGI, the Library keeps to conform below the auspices of the Khronos OpenGL ARB operating team, an consortium chargeable for guiding the evolution of OpenGL and comparable technologies.

Show description

Read Online or Download OpenGL Programming Guide: The Official Guide to Learning OpenGL, Versions 3.0 and 3.1 (7th Edition) PDF

Similar programming books

Learn to Program

It's now more straightforward to profit to jot down your individual software program than it has ever been earlier than. Now every person can learn how to write courses for themselves--no earlier event is important. Chris Pine takes a thorough, yet light-hearted strategy that teaches you ways to application with at the least fuss or hassle.

Design and Prototyping for Drupal

Itching to construct attention-grabbing initiatives with Drupal, yet careworn incidentally it handles layout demanding situations? This concise advisor is helping small groups and solo site designers know the way Drupal works via demonstrating the methods it outputs content material. You’ll deal with Drupal’s output, layout round it, after which flip your layout right into a theme.

within the moment of 3 volumes on Drupal layout, award-winning fashion designer Dani Nordin takes you past easy web site making plans and teaches you key options for operating with subject matters, layouts, and wireframes. realize tips on how to use Drupal to make your imaginative and prescient a fact, rather than getting distracted by means of the system’s undertaking and code administration details.
* research concepts for sketching, wireframing, and designing powerful layouts
* holiday down a Drupal format to appreciate its easy parts
* comprehend Drupal’s subject matter layer, and what to seem for in a base subject
* paintings with the 960 grid approach to facilitate effective wireframing and theming
* deal with Drupal markup, together with the code generated via the strong perspectives module
* Use LessCSS to arrange CSS and assist you topic your website extra successfully

Parallele Programmierung

Durch kostengünstige Multiprozessor-Desktoprechner, Cluster von computers und Innovationen wie die Hyperthreading-Technologie oder Multicore-Prozessoren sind parallele Rechenressourcen allgegenwärtig. Die effiziente Ausnutzung dieser parallelen Rechenleistung ist jedoch nur durch den Einsatz paralleler Programmiertechniken möglich, die sich damit in alle Bereiche der Softwareerstellung ausbreiten.

Extra info for OpenGL Programming Guide: The Official Guide to Learning OpenGL, Versions 3.0 and 3.1 (7th Edition)

Sample text

For example, glColor*() stands for all variations of the command you use to set the current color. If we want to make a specific point about one version of a particular command, we include the suffix necessary to define that version. For example, glVertex*v() refers to all the vector versions of the command you use to specify vertices. OpenGL as a State Machine OpenGL is a state machine, particularly if you’re using the fixed-function pipeline. You put it into various states (or modes) that then remain in effect until you change them.

I’d also like to thank ACM/SIGGRAPH, Afrigraph, Seagraph, and SGI for the ample opportunities to talk about OpenGL to wonderful audiences worldwide. Brad Grantham, who’s been willing to help out with all my OpenGL escapades, deserves special thanks. A couple of friends who deserve special mention are Eric England and Garth Honhart. The biggest thanks goes to those I love most: Vicki, my folks, and Squiggles, Phantom, and Toby. They continue to make me more successful than I ever imagined. —DRS And for the fifth edition: First and foremost, a tremendous thanks goes to Vicki, my wife, who patiently waited the countless hours needed to finish this project, and to the rest of my family: Phantom, Toby, Bonnie, and Bob.

OpenGL-Related Libraries” describes sets of OpenGL-related routines, including a detailed introduction to GLUT (Graphics Library Utility Toolkit), a portable toolkit. • “Animation” explains in general terms how to create pictures on the screen that move. • “OpenGL and Its Deprecation Mechanism” describes which changes deprecation brought into the latest version(s) of OpenGL, how those changes will affect your applications, and how OpenGL will evolve in the future in light of those changes. What Is OpenGL?

Download PDF sample

Rated 4.74 of 5 – based on 16 votes