Difference between revisions of "OpenGL"

From Lazarus wiki
Jump to navigationJump to search
Line 17: Line 17:
 
There is a big Delphi package, that has been ported to Lazarus. Along with tools and editors integrated in the IDE.
 
There is a big Delphi package, that has been ported to Lazarus. Along with tools and editors integrated in the IDE.
 
See [[GLScene]].
 
See [[GLScene]].
 +
 +
== Asmoday ==
 +
 +
[http://sourceforge.net/projects/asmoday General purpose OpenGL 3D graphics engine for Freepascal]
  
 
== Tutorials ==
 
== Tutorials ==
  
 
There are a lot of tutorials at [http://nehe.gamedev.net/ nehe].
 
There are a lot of tutorials at [http://nehe.gamedev.net/ nehe].

Revision as of 19:44, 14 January 2006

OpenGL is the platform independent standard library for 3D graphics. The same OpenGL commands works exactly the same under all platforms. The only platform dependent part is the creation of the OpenGL context. But this is already done by the following packages, so you just have to learn OpenGL.

OpenGL control

Lazarus comes with a simple and easy to use OpenGL control, that provides an OpenGL context under the following platforms:

  • Linux: GTK + GLX, ToDo: gtk2
  • FreeBSD: GTK + GLX, ToDo: gtk2
  • Windows: Win32 + WGL
  • MacOSX: Carbon + AGL

Just install the package components/opengl/lazopenglcontext.lpk and have a look at the example.

GLScene

There is a big Delphi package, that has been ported to Lazarus. Along with tools and editors integrated in the IDE. See GLScene.

Asmoday

General purpose OpenGL 3D graphics engine for Freepascal

Tutorials

There are a lot of tutorials at nehe.