The C++ Graphics Programming Handbook
Providing the tools and techniques necessary for developing a customized set of graphics routines, this text covers everything from drawing circles to creating smooth curves and modelling solids. The focus is on VGA and super VGA cards and how to use them to produce quality images. Summary sections explain how to use the code with Microsoft's Visual C++ compiler. Accompanying the book is a CD-ROM for Windows which includes code for quick implementation by beginners and faster algorithms for advanced programmers.
- Mixed media product | 800 pages
- 187.96 x 233.68 x 40.64mm | 1,202.01g
- 01 Oct 1996
- Elsevier Science Publishing Co Inc
- Academic Press Inc
- San Diego, United States
- Illustrations (some col.)
Table of contents
How display adapter card hardware works; writing and compiling C++ code; VGA/EGA display adapter card registers; display modes; plotting a point on the graphics screen; EGA/VGA BIOS functions; the VESA standard for super VGA cards; system and display co-ordinates and how they interact; clipping techniques; classes and functions for primitive figures; lines and rectangles; drawing and filling circles; drawing and filling ellipses; drawing and filling circular arcs; drawing and fast filling polygons; drawing and filling rounded rectangles; smooth curves with Bezier and B-spline functions; displaying text in the graphics modes; rotating geometric figures; the mathematics of modelling solids; 3D solid modelling techniques; ray tracing; creating complex displays; warping and morphing; saving and restoring displays with the .PCX format; saving and restoring displays with the .BMP format; displaying TARGA format files.