Index of /classes/opengl/examples

      Name                    Last modified       Size  Description

[DIR] Parent Directory 21-Jun-1999 08:23 - [TXT] Makefile 05-Jun-1999 22:59 1k [TXT] Makefile.win 05-Jun-1999 22:59 2k [DIR] alpha_blending/ 13-Jun-1999 21:50 - [DIR] animation/ 13-Jun-1999 21:50 - [DIR] depth_buffer/ 13-Jun-1999 21:50 - [DIR] index_lighting/ 13-Jun-1999 21:50 - [DIR] irisgl_vs_opengl/ 13-Jun-1999 21:50 - [DIR] lighting/ 13-Jun-1999 21:50 - [DIR] modeling/ 13-Jun-1999 21:50 - [DIR] performance/ 13-Jun-1999 21:50 - [DIR] porting/ 13-Jun-1999 21:50 - [DIR] rendering/ 13-Jun-1999 21:50 - [DIR] text/ 13-Jun-1999 21:50 - [DIR] texture/ 13-Jun-1999 21:50 - [DIR] transformations/ 13-Jun-1999 21:50 - [DIR] viewing/ 13-Jun-1999 21:50 - [DIR] viewports/ 13-Jun-1999 21:50 - [DIR] windows/ 13-Jun-1999 21:50 -


      ~opengl/examples README

            Copyright 1993, 1996-1999, Silicon Graphics,  Inc.
            All Rights Reserved.


OpenGL Programming Course -- Example Programs

This software will only compile/run on a >= 5.3 Irix system with gl_dev
and x_dev products loaded.

This subtree contains the software included in the OpenGL Programming
class course materials available through SGI's customer education
program.  It includes a version of the aux library (some additions over
the version available with the OpenGL Programming Guide), a checkVisual
utility program, and src and binaries demonstrating the following:

windows
	Programs that demonstrate how to create windows and set the
	background color.

rendering
	Programs that demonstrate the basic drawing primitives, and
	flat and gouraud shading them.

transformations
	Programs that demonstrate how to rotate, scale and translate
	objects, and set the projection matrix.

modeling
	Programs that demonstrate how to use use the basic
	transformations to model a scene.  Also, demonstrates how the
	ordering of effects the net result, and how transformations can
	be kept independent using glPushMatrix/glPopMatrix.

viewports
	Programs that demonstrate how to set the viewport and the
	effect of the aspect ratio.

depth_buffer
	Programs that demonstrate how to use the depth buffer.

viewing
	Programs that demonstrate how to use gluLookAt() or use the
	basic transformations to create a polarview viewing
	perspective.

lighting
	Programs that demonstrate how to enable basic lighting and set
	the normals. Also, programs that demonstrate how to set
	lighting intensities and materials properties, and show how to 
	position the lights so that they are fixed in the scene, move with 
	the scene, or move independently of the objects in the scene.

animation
	Programs that demonstrate how to animate a scene without
	flicker.

text
	Programs that demonstrate how to render a text string and make
	sure that it doesn't get clipped prematurely when the raster
	position goes outside the window.

performance
	Programs that demonstrate how to use vertex arrays and display 
	lists to increase performance.

alpha blending
	Programs that demonstrate how to render transparent objects.
	Also, programs that demonstrate how to render objects without the
	"jaggies".

texture
	Programs that demonstrate basic texture mapping, including
	setting explicit texture coordinates, wrapping textures,
	setting the texture environment, and transparent textures.

index_lighting
	Program that demonstrates how to use color index mode.

Two additional example directories are provided to help transition from IRIS GL to OpenGL. They contain examples from the code discussed in The OpenGL Porting Guide. Makefiles are provided for IRIX only.

irisgl_vs_opengl
	Programs that demonstrate some of the differences between
	IRIS GL and OpenGL.

porting
	Some examples of porting IRIS GL programs to OpenGL.  

The programs in the all directories above can be invoked individually, or
through the buttonfly command.  In each directory, there are two 
menu files named 'menu_directoryname' and 'm_directoryname'.  They
are installed in the directory as '.menu' and '.m_directoryname', respectively.
.menu specifies a button for the directory and .m_directoryname contains
the information about how to run each program.

To use the buttonfly program, run the RUN_DEMOS script
in the opengl home directory.

% ~opengl/RUN_DEMOS