README testgtkglamm
-----------------

AUTHOR

Marsel Osipov
marsel@lex.infi.net
http://www.geocities.com/SiliconValley/Lakes/7705/

penguin.obj and alien.obj are taken from gtkglarea distribution.

INTRODUCTION

This shows the same demo as viewlw using Gtk_GLArea c++ wrapper.

EXAMPLE USAGE
	// declare the glare widget 
	int attrList[] = {GLX_RGBA, GLX_DOUBLEBUFFER, GLX_DEPTH_SIZE, 1, None};
	Gtk_GLArea *glarea = new Gtk_GLArea(attrList);

	// pack the widget, etc.....

	// all gl functions are called between begingl() and endgl();
	if (glarea->begingl()) {
	  glFoo();
	  glarea->endgl();
        }
	
	// swap buffers
	glarea->swap_buffers();

Look at demo.cc.


HISTORY
	Apr 21, 1998 initial revision.
	Apr 29, 1998 Revised for gtk-- 0.9.0
	May 10, 1998 Updated the demo to be compatible with viewlw
