fpc/packages/extra/opengl
2006-03-09 15:26:49 +00:00
..
examples + i386-darwin support (use fpcmake from after 12 February 2006) 2006-03-09 15:26:49 +00:00
fpmake.inc + Initial implementation 2005-06-17 16:52:17 +00:00
fpmake.pp + Initial implementation 2005-06-17 16:52:17 +00:00
gl.pp * fixed opengl package compilation on Win32 2006-03-05 09:18:36 +00:00
glext.pp - removed dllfuncs unit, use dynlibs from the rtl instead 2005-12-06 14:38:20 +00:00
glu.pp * fixed opengl package compilation on Win32 2006-03-05 09:18:36 +00:00
glunits.txt * remove $Log 2005-06-07 09:47:55 +00:00
glut.pp * fixed opengl package compilation on Win32 2006-03-05 09:18:36 +00:00
glx.pp - removed dllfuncs unit, use dynlibs from the rtl instead 2005-12-06 14:38:20 +00:00
Makefile + i386-darwin support (use fpcmake from after 12 February 2006) 2006-03-09 15:26:49 +00:00
Makefile.fpc - removed dllfuncs unit, use dynlibs from the rtl instead 2005-12-06 14:38:20 +00:00
readme * Finally, the new units are available: Match the C headers more closely; 2002-10-13 13:57:30 +00:00
tinygl.inc * Few more changes for MorphOS OpenGL support 2005-11-26 22:47:39 +00:00
tinyglh.inc * Few more changes for MorphOS OpenGL support 2005-11-26 22:47:39 +00:00

New Free Pascal OpenGL (GL, GLU, GLUT, GLX) Units
GLX unit (c) 1999-2002 Sebastian Guenther, sg@freepascal.org
other units adapted to Free Pascal from the delphi3d.net units
by Tom Nuydens (tom@delphi3d.net), see http://www.delphi3d.net/

You might have a look at the original readme, glunits.txt, as well 


Some remarks:
* The new OpenGL units are not 100% compatible to the old ones; the new units
  use exactly the same function declarations as their C counterpart.
* Platform compatiblity: You can work on all targets exactly as on Win32;
  for example, you can use wglGetProcAddress for loading OpenGL extensions even
  on Unix based systems. A future release of the glext unit might have helper
  functions for loading specific extensions. (There is a small problem with
  Free Pascal: In FPC mode, you cannot assign a pointer, as returned by
  wglGetProcAddress, to a variable which holds a function pointer. Currently
  you have to compile your programs in Delphi mode, if they are using OpenGL
  extensions)
* GLUT on Win32: Get the glut32.dll from here:
  http://www.xmission.com/~nate/glut.html
* GTKGLArea: The GL Area widget for GTK is available in the GTK package