Automated Presentation of directory src/tutorials/custEducation/opengl2/examples/adv_texture/

HUB | Up | Download | Pheedbak | Tree | Topic | A-Z | Search | Hot | New


to compile programs in the above-indicated sub- directories/trees,
one must load libglut. inst-able images of GLUT v3.1 are located at
toolbox/src/exampleCode/opengl/GLUT/inst/


README file from "adv_texture" directory


	   ~opengl2/examples/adv_texture README

            Copyright 1991-1996, Silicon Graphics,  Inc.
            Technical Education Development
            All Rights Reserved.

	    A collection of programs demonstrating some 
	    advanced texture mapping features in OpenGL.
   

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

	<g> key		- toggle between object/eye linear coordinate generation
	Escape key	- exit the program


   reflection.c
	Reads in a texture from a .rgb file, sets up the texture and a
	sphere map texture environment, then applies the texture to a
	torus using shere map automatically generated texture coordinates.

	Escape key	- exit the program

   tex_dlists.c:  demonstrates how to put textures in display lists.

	This program draws four contiguous polygons.  Each polygon has
	a checkerboard pattern mapped onto it.  The first pair have
	appropriate borders while the second pair have no border and
	therefore blend at their edges with the assigned
	GL_TEXTURE_BORDER_COLOR.

	If the minification and magnification filters are set to blend
	texels, a seam will show up at the boundary between one texture
	and the next unless a border is provided on each texture which
	imitates the nearest texels of the adjacent texture map.

	<a> key		- toggle animation on/off
	<f> key		- toggle between linear/nearest filters
	Escape key	- exit the program


   copy_texture.c - demonstrates the GL_EXT_texture_objects, GL_EXT_subtexture
	and GL_EXT_copy_texture extensions.  It renders a grid with
	a textured rectangle in front of it.  When the left mouse button is
	pressed, a 32x32 pixel area around the cursor is read as a texture
	and used to replace part of the currently bound texture on the 
	rectangle.

	Left Mouse Button	- copy pixels under cursor
	<o> key			- cycle through texture objects
	Escape key		- exit the program

   texture3D.c - simple demonstration of a 3D texture. The program displays 
	the 3D texture by drawing a series of quads that slice through the 
	texture coordinate space.

	Escape key		- exit the program

Files of interest from "src/tutorials/custEducation/opengl2/examples/adv_texture" directory

Source

Documentation

Images

Reference


Select any combo of files you'd like to send yourself a compressed tar image of. Executables/scripts are indicated with a trailing `*' character. (Depending upon the browser, it may be necessary to hold down the Ctrl key to select/deselect disjoint items.) a compressed tar image of the above-selected items.
OR, ...
a compressed tar image of the entire adv_texture directory.

Copyright © 1996, Silicon Graphics, Inc.