R3TEXCMP.EXE is a demo/test application that allows the user to draw and shape a triangle with the mouse and experiment with various graphics card options such as compositing.

When you start the program, it will come up with a smooth red triangle.

Hold the left mouse button down to re-shape the triangle.
-Click the right mouse button to change which vertice you want to re-shape.
-Double click the left mouse button, and a dialog box will appear that allows you to type in vertice information. The U,V information will automatically get converted to S,T on the fly. 
-There is a #define in the source code that you can set to FALSE that will make the program treat these values directly as S,T.

The program starts up in a mode where you have to tell it to draw a new frame. A GDI white triangle tells you what triangle will be drawn next. So re-shape the triangle, and then under the RENDERING menu option, select DrawFrame. This will draw a single new frame.

To place the program in a render loop for constant rendering, just select ON under the RENDERING menu option.


MENU OPTIONS:

FILE
	-EXIT will exit the program


RENDERING
	-ON will turn the rendering loop on
	-OFF will turn the rendering loop off
	
	-DRAWFRAME will draw a new frame when rendering is off.
	-SHOWSTATES will print out debug info if you are debugging from MS Visual C.
	-TRIANGLE BORDER ON will display a white GDI triangle (useful when rendering is off).
	-TRIANGLE BORDER OFF will turn the white GDI triangle off.
	-Ignore HIRES TRIANGLE for now. It does nothing.
	-Uncheck ONLY DRAW TRIANGLE to display both the primary and secondary textures
	-The primary texture is mipmapped from 128 x 128 down to 1 x 1 with different colors,	the secondary texture is a single 128 x 128.
	

TEXTURE MAPPING
	-ON will turn texture mapping on
	-OFF will turn texture mapping off
	-OPERATIONS
		NONE
		CHROMA KEY
		ALPHA
		ALPHA MASK

SHADING
	-NONE
	-FLAT
	-SOLID
	-SMOOTH
	-SOLID COLOR
		WHITE
		RED
		GREEN
		BLUE

LIGHTING
	-NONE
	-MODULATE
	-ALPHA DECAL



FILTERING
	-7 supported options.

	** WARNING ** known bug! Do not select a mip filtering mode while in the mode that displays the primary and secondary textures. That is, do not unselect "ONLY DRAW TRIANGLE" while 
in a mip filtering mode.

	The chip will hang as a result of trying to hardware mipmap a non-mipmapped texture.

ALPHA
	-SOURCE
	-DESTINATION

COMPOSITING
	-ON will turn compositing on
	-OFF will turn compositing off

	-This test program registers two textures. A primary and a secondary.
	-When compositing is turned on, the rendered triangle incorporates the secondary texture composited with the primary.

	COMBINE FUNCTION
		-BLEND
		-MODULATE
		-ADD SPECULAR - ** NOT implemented in this interface yet **
	COMPOSITE FACTOR
		0 - 15
		Alpha 
	BLEND FUNCTION
		4 filtering modes
	COMPOSITE FORMAT
		TILED- ** NOT implemented in this interface yet **
		VQ COMPRESSION - ** NOT implemented in this interface yet **


MIPMAPPING
	LOD BIAS
		0 - 15
