Name Last Update
..
CVS Loading commit data...
Texture Loading commit data...
GNUmakefile Loading commit data...
Makefile Loading commit data...
PCmake Loading commit data...
README Loading commit data...
cfb.c Loading commit data...
dram_stack.c Loading commit data...
dump.c Loading commit data...
dump.h Loading commit data...
letters.c Loading commit data...
letters.h Loading commit data...
spec Loading commit data...
static.c Loading commit data...
u64_tri.h Loading commit data...
u64_vtx.h Loading commit data...
zbuffer.c Loading commit data...
This demo shows how to get "chrome" effects using texture mapping and
automatic texture coordinate generation.

Two methods are shown, a 1D texture and a 2D texture.

The 1D texture is a smooth color ramp of random colors in the scene.
This technique is very impressive when the shiny object has high
curvature or intricate detail (it isn't the actual reflection that's
important, just the suggestion of high reflectivity). The texture map
is simple and compact.

The 2D texture is a fisheye-lens projection of the entire world
(actually, in this example the projection is of a completely different,
yet similarly colored world). Using this projection and 2D coordinate
generation, simple "environment" mapping is demonstrated.

The next level of sophistication would be to create an environment map
using the actual scene; this could be done with a rendering pass
of the database to a small image.

usage:

	For 1D demo:

		gload -a -1

	For 2D demo:

		gload -a -2