leoqchen / openglrb4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenGL Red Book 4th Edition Example Code

This repo is based on the book from http://www.cs.rit.edu/usr/local/pub/wrc/graphics/redbook/

Building

This project add CMake support to fix the broken building of original Makefile.

Example list

This file lists the programs that are refereced in the OpenGL Programming Guide, Fourth Edition, by chapter. For each program, the version of OpenGL that is required is listed with the program.

Chapter 1: Introduction to OpenGL

hello.c		(1.0)
double.c	(1.0)

Chapter 2: State Management and Drawing Geometric Objects

lines.c		(1.0)
polys.c		(1.0)
varray.c	(1.1)
mvarray.c	(1.4)

Chapter 3: Vieweing

cube.c		(1.0)
model.c		(1.0)
clip.c		(1.0)
planet.c	(1.0)
robot.c		(1.0)
unproject.c	(1.1)

Chapter 4: Color

smooth.c	(1.0)

Chapter 5: Lighting

light.c		(1.0)
movelight.c	(1.0)
material.c	(1.0)
colormat.c	(1.1)
scene.c		(1.0)

Chapter 6: Blending, Antialiasing, Fog, and Polygon Offset

blendeqn.c	(1.3 or ARB_imaging_subset)
alpha.c		(1.0)
alpha3D.c	(1.1)
aargb.c		(1.1)
aaindex.c	(1.1)
multisamp.c	(1.3)
fog.c		(1.0)
fogindex.c	(1.0)
fogcoord.c	(1.4)
pointp.c	(1.4)
polyoff.c	(1.1)

Chapter 7: Display Lists

torus.c		(1.0)
list.c		(1.0)
stroke.c	(1.0)

Chapter 8: Drawing Pixels, Bitmaps, Fonts, and Images

drawf.c		(1.0)
font.c		(1.0)
image.c		(1.1)
colortable.c	(ARB_imaging_subset)
convolution.c	(ARB_imaging_subset)
colormatrix.c	(ARB_imaging_subset)
histogram.c	(ARB_imaging_subset)
minmax.c	(ARB_imaging_subset)

Chapter 9: Texture Mapping

checker.c	(1.0)
texsub.c	(1.1)
texture3d.c	(1.2)
mipmap.c	(1.0)
texbind.c	(1.1)
texgen.c	(1.1)
cubemap.c	(1.3)
multitex.c	(1.3 or ARB_multitexture)
combiner.c	(1.3)
shadowmap.c	(1.4)
wrap.c
texprox.c	(1.1)

Chapter 10: The Framebuffer

stencil.c	(1.0)
accpersp.c	(1.0)
accanti.c	(1.0)
dof.c		(1.0)

Chapter 11: Tessellators and Quadrics

tess.c		(1.1)
tesswind.c	(1.1)
quadric.c	(1.1)

Chapter 12: Evaluators and NURBS

bezcurve.c	(1.1)
bezsurf.c	(1.1)
bezmesh.c	(1.1)
texturesurf.c	(1.1)
surface.c	(1.1)
surfpoints.c	(1.2)
trim.c		(1.1)

Chapter 13: Selection and Feedback

select.c	(1.1)
picksquare.c	(1.0)
pickdepth.c	(1.0)
feedback.c	(1.0)

Chapter 14: Now That You Know

<No programs included>

Color Plates:

  teapots.c		(1.1)

About

License:Other


Languages

Language:C 98.6%Language:Makefile 0.8%Language:CMake 0.6%