Index of /classes/opengl/examples/texture

      Name                    Last modified       Size  Description

[DIR] Parent Directory 19-Jun-1999 10:32 - [TXT] Makedepend 07-Jun-1999 10:20 2k [TXT] Makefile 05-Jun-1999 22:59 1k [TXT] Makefile.win 05-Jun-1999 22:59 1k [IMG] bricks.rgb 05-Jun-1999 22:59 50k [VID] fish.rgba 05-Jun-1999 22:59 92k [IMG] maxHeadroom.rgb 05-Jun-1999 22:59 97k [TXT] mipmap 07-Jun-1999 10:20 121k [TXT] mipmap.c 05-Jun-1999 22:59 8k [TXT] texenv 07-Jun-1999 10:20 121k [TXT] texenv.c 05-Jun-1999 22:59 8k [TXT] texgen1 07-Jun-1999 10:20 127k [TXT] texgen1.c 05-Jun-1999 22:59 6k [TXT] texgen2 07-Jun-1999 10:20 120k [TXT] texgen2.c 05-Jun-1999 22:59 5k [TXT] texture 07-Jun-1999 10:20 121k [TXT] texture.c 05-Jun-1999 22:59 6k [VID] tree.rgba 05-Jun-1999 22:59 41k


   ~opengl/examples/texture README

            Copyright 1991-1999, Silicon Graphics,  Inc.
            All Rights Reserved.


	    A collection of programs demonstrating basic texture
	    mapping using OpenGL.


   texture.c
        Reads in a texture from a .rgb file, sets up the texture and the 
	texture environment, then applies the texture to a rectangular 
	polygon using explicit texture coordinates.

	Escape key - exits the program
   

   mipmap.c
		Reads in a texture from a .rgb file, uses the opengl utility 
	library routine gluBulid2dMipmaps() to scale and load mipmaps 
	for a single texture image, then applies the texture to a 
	rectangular polygon using explicit texture coordinates.

	<a> key		- pause/restart movement
	<m> key		- cycle minification filter
	<M> key		- cycle Magnification filter
	<R> key		- reset image to starting position
	Escape Key	- exit program


   texenv.c
		This program demonstrates the texture environment modes.  
	It reads in a texture from a .rgb(a) file, and
	applies it as a texture to a rectangular polygon using explicit
	texture coordinates.

	The environment modes can be changed interactively.
	alphaFunc and blending can be used to make the parts of the
	rectangle outside the fish image transparent wherever the
	fish.rgba file has low alpha values.

	<a> Key         - toggle alpha test on/off
	<b> Key         - toggle blending on/off
	<c> Key 	- toggle polygon color between white/red 
	<e> key		- cycle through environment modes
	Escape key	- exit the program

   texgen1.c
		This program demonstrates texture coordinate generation.
	The coordinate generation mode can be changed interactively
	between object and eye linear.

	<a> Key 	- toggle animation on/off
	<g> Key 	- toggle between eye and object linear modes
	Escape key	- exit the program

   texgen2.c
		This program demonstrates GLU quadric texture coordinate 
    generation.

	<a> Key 	- toggle animation on/off
	Escape key	- exit the program