OpenGL
--- Source code ---

advanced97_src.zip (1725739 bytes)
advanced97_data.zip (xxx bytes)
advanced97_x86.zip (xxx bytes)


accconvolveAn example of using the accumulation buffer to run convolutions over an image.

accconvolve.c

accumaaAn example of using the accumulation buffer to anti-alias the contents of the framebuffer.

accumaa.c

alphablend An example of using alpha blending for transparency (with sorting).

alphablend.c

alphablendnosort Shows the artifacts that can be seen when using alpha blending for transparency and no sorting is performed.

alphablendnosort.c

billboard An example of billboarding. A billboard is an object that always faces toward the eye.

billboard.c

bubble An example of creating a bubble effect by perturbing a sphere with a sine function.

bubble.c

bumpAn example of performing bump mapping.

bump.c

chromakey An example of using the accumulation and destination alpha buffers to produce a chromakeyed image.

chromakey.c

chromakey_fancy A fancy example of using the accumulation and destination alpha buffers to produce a chromakeyed image.

chromakey_fancy.c

cloud An example of using the texture matrix to create a moving cloud effect.

cloud.c

cloudl An example of using the texture matrix to create a low cloud or low fog effect.

cloudl.c

csg Demonstration of performing arbitrary CSG operations.

csg.c

decal Demonstrates how to use the stencil buffer to produce decals on co-planar surfaces.

decal.c

dissolve An example of dissolving using the stencil buffer.

dissolve.c

explode An example of how to use texture mapping to simulate an explosion.

explode.c

fire An example of how to use multiple texture maps to simulate a fire.

fire.c

genspheremap An example of generating a spheremap (environment map).

genspheremap.c

highlight An example of using multi-pass rendering techniques to produce phong-shaded objects.

highlight.c

interp An example of using the accumulation buffer to interpolate contrast, saturation and brightness of an image.

interp.c

lightmap An example of using lightmaps to enhance the appearance of a scene.

lightmap.c

lightp An example of creating points of light using several methods including normal points, points attenuated by the distance from the eye, and texture mapped points of light.

lightp.c

line An example of using OpenGL's anti-aliased line functionality.

line.c

multiaccumaa An example of how to use the accumulation buffer to anti-alias a scene.

multiaccumaa.c

multialphablend An example of using alpha-blending to render multiple transparent objects (with sorting).

multialphablend.c

multialphablendnosort An example of using alpha-blending to render multiple transparent objects (WITHOUT sorting).

multialphablendnosort.c

multimirror An example of creating multiple reflections (as in a room with mirrors on opposite walls.

multimirror.c

multiscreendoor An example of using screen-door transparency with multiple objects.

multiscreendoor.c

multispheremap An example of using sphere-mapped texture to environment map multiple objects.

multispheremap.c

noiseShows how to create an octave by filtering randomly generated noise.

noise.c

nthsurfdemo Demonstrates what is meant by the 'nth-surface'. Useful for understanding how CSG operations work in OpenGL.

nthsurfdemo.c

paint An example of using texture mapping to create patterned brushes for painting.

paint.c

projtexDemonstrates simple projective texture mapping.

projtex.c

sbias An example of using the scale and bias functionality of the pixel transfer options.

sbias.c

screendoor An example of using screen-door transparency.

screendoor.c

smoke An example of using a texture map to simulate smoke.

smoke.c

softshadow2Soft shadows using a shadow texture per polygon. Based on an algorithm described by Paul Heckbert and Michael Herf of CMU; see their web site http://www.cs.cmu.edu/ph/shadow.html for details.

softshadow2.c

spectralHow to make a noise texture from multiple frequencies of noise.

spectral.c

tess Examples of different sphere tesselations.

tess.c

texgen An example of different texgen modes.

texgen.c

texmovie An example of using multiple texture maps to create a 'movie'.

texmovie.c

texpage An example of using a very large texture by 'paging' in pieces.

texpage.c

textile An example of displaying a large texture image as a set of separate tiles.

textile.c

underwater An example of how to create an underwater scene, including caustics.

underwater.c

usespheremap Application of a spheremap.

usespheremap.c

vapor An example of how to draw a vapor trail (such as that left by an airplane).

vapor.c

volumeVolume rendering with OpenGL.

volume.c

warp An example of warping a mesh to produce a morphing effect.

warp.c

water An example of using texture mapping and sine functions to simulate water.

water.c

zcomposite An example of compositing RGB data read from the framebuffer back into a scene with correct Z buffering.

zcomposite.c

---
OpenGL