The C++ Graphics Programming HandbookProviding 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. |
Contents
Introduction | 3 |
How Display Adapter Card Hardware Works | 13 |
Writing and Compiling C++ Graphics Code | 27 |
Copyright | |
36 other sections not shown
Common terms and phrases
®s 16 Color Mode 3B4H Color Adapters angle B-Spline bcurve Bezier curve Bit 2 Bit Bit 5 Bit blue Bresenham's algorithm byte circle color registers conio.h coordinates CRT Controller Register Data Register Address define dir_index display memory address display mode draw function drawLine EGA/VGA Video Service ellipse facet 3D feature connector fgetc getch gotoxy graphic.setMode graphics modes Graphics Register horizontal Index Register Address int color least significant bits line.draw listed in lines loop mask mem address memory address memory plane mode 12H modehi Monochrome Adapters Number of character octant outp palette registers parameter Pixel x 16 plot printf read_file rectangle reg.x.ax regs.h.ah scan line screen selected setBank setMode significant bits specified struct Subservice Super VGA card surface normal Sync union REGS regs unsigned char unsigned int unsigned long int Vector vertical VESA void width window xres xstart yres