Computer graphics with Open GL. by Donald D. Hearn, M. Pauline Baker, Warren Carithers PDF

By Donald D. Hearn, M. Pauline Baker, Warren Carithers

ISBN-10: 1292024259

ISBN-13: 9781292024257

Computer snap shots with OpenGL, 4/e is acceptable for junior-to graduate-level classes in computing device graphics.

Assuming no heritage in special effects, this junior-to graduate-level path provides easy ideas for the layout, use, and figuring out of special effects platforms and functions. The authors, professionals of their box, supply an built-in method of two-dimensional and third-dimensional snap shots issues. A complete clarification of the preferred OpenGL programming package deal, besides C++ programming examples illustrates purposes of a few of the capabilities within the OpenGL easy library and the similar GLU and GLUT packages.

Show description

Read or Download Computer graphics with Open GL. PDF

Best graphics & multimedia books

Read e-book online Inkscape 0.48 Essentials for Web Designers PDF

This booklet is written in a transparent conversational variety, which emphasizes a realistic learn-by-doing method. jam-packed with illustrations and examples, this ebook will make the duty of utilizing Inkscape uncomplicated and simple. This publication is written for internet designers who are looking to upload beautiful visible components to their site.

Proceedings, - download pdf or read online

Because the first ICM used to be held in Zürich in 1897, it has develop into the head of mathematical gatherings. It goals at giving an outline of the present kingdom of other branches of arithmetic and its purposes in addition to an perception into the therapy of precise difficulties of remarkable value. The lawsuits of the ICMs have supplied a wealthy chronology of mathematical improvement in all its branches and a special documentation of latest learn.

Computer Vision: Einführung in die Verarbeitung und Analyse by Lutz Priese PDF

Der Autor erläutert in dieser Einführung auf Bachelorniveau die in der computing device imaginative and prescient verwendeten technischen Ausdrücke: Grundlagen des menschlichen Sehens, Farbe, exakte Begriffsbestimmungen zum Thema "Bild", Transformationen, lineare und nicht-lineare filter out, Fouriertransformation, Morphologie, Merkmale im Bild wie Kanten, Ecken, geometrische Formen mittels Hough-Transformation, assorted Hüllen und Skelettierung.

New PDF release: SVG Essentials

Research the necessities of Scalable Vector snap shots, the mark-up language utilized by such a lot vector drawing courses and interactive net pictures instruments. SVG necessities takes you thru SVG’s services, starting with uncomplicated line drawings and relocating via advanced gains akin to filters, ameliorations, gradients, and styles.

Additional info for Computer graphics with Open GL.

Example text

And the main function contains the GLUT functions for setting up the display window and getting our line segment onto the screen. Figure 3 shows the display window and line segment generated by this program. FIGURE 3 The display window and line segment produced by the example program. 0); // Set display-window color to white. glMatrixMode (GL_PROJECTION); // Set projection parameters. 2); glBegin (GL_LINES); glVertex2i (180, 15); glVertex2i (10, 145); glEnd ( ); glFlush ( ); // Clear display window.

This header file must be listed before the OpenGL and GLU header files because it contains macros needed by the Microsoft Windows version of the OpenGL libraries. h because GLUT ensures that these will be included correctly. ) On some systems, the header files for OpenGL and GLUT routines are found in different places in the filesystem. h> 35 Computer Graphics Software In addition, we will often need to include header files that are required by the C++ code. h> With the ISO/ANSI standard for C++, these header files are called cstdio, cstdlib, and cmath.

It is not a dynamically-allocated string, so it must not be deallocated by our program. It also must not be modified by our program (hence the const modifier on the declaration of string). We can easily encapsulate these function calls into a general error-reporting function in our program. = GL_NO_ERROR) { string = gluErrorString (code); fprintf( stderr, "OpenGL error: %s\n", string ); } return code; } We encourage you to use a function like this in the OpenGL programs you develop. It is usually a good idea to check for errors at least once in your display callback routine, and more frequently if you are using OpenGL features you have never used before, or if you are seeing unusual or unexpected results in the image your program produces.

Download PDF sample

Computer graphics with Open GL. by Donald D. Hearn, M. Pauline Baker, Warren Carithers


by Ronald
4.3

Rated 4.11 of 5 – based on 46 votes