Difference between revisions of "OpenGL"

From HaskellWiki
Jump to navigation Jump to search
m (Added link to redbook examples page which has screen grabs of the examples)
m (Added link to FAQ)
Line 16: Line 16:
 
In particular, note that the [http://darcs.haskell.org/packages/GLUT/examples/ examples/] directory in the GLUT repo contains lots of examples, including translations of the red book examples.
 
In particular, note that the [http://darcs.haskell.org/packages/GLUT/examples/ examples/] directory in the GLUT repo contains lots of examples, including translations of the red book examples.
   
Both the API documentation and the examples are best studied with the original specs and the original red book examples at hand. A thumbnail index of the examples from v1.1 of the red book can be found [http://www.opengl.org/resources/code/samples/redbook/ here]
+
Both the API documentation and the examples are best studied with the original specs and the original red book examples at hand. An index of the examples from v1.1 of the red book, with screen shots, can be found [http://www.opengl.org/resources/code/samples/redbook/ here]
   
 
Projects using the OpenGL bindings:
 
Projects using the OpenGL bindings:
   
 
* [[Frag]], a 3D first-person shooter game
 
* [[Frag]], a 3D first-person shooter game
  +
  +
OpenGL Resources:
  +
  +
* [http://www.opengl.org/resources/faq/technical/ OpenGL FAQ and Toubleshooting Guide] Assumes some knowledge of OpenGL. Good for those who have written something but want to avoid common pitfalls.
   
 
[[Category:Packages]]
 
[[Category:Packages]]

Revision as of 07:43, 25 July 2007

This is a stub page for Haskell's OpenGL and GLUT bindings. It is meant as a starting point to replace the outdated and misleading documentation at the old page (which should have disappeared by now, so that url will no longer lead anywhere, but you might still meet it on the web).

First, note that the implementation is far more up-to-date than that old page suggested (originally, it was quite useful, but the page hasn't kept up with the implementation for a long time now). To find more recent information, try:

the hopengl mailing list

the API docs for the OpenGL binding

the API docs for the GLUT binding

the darcs repo with the sources for the OpenGL binding

the darcs repo with the sources for the GLUT binding

In particular, note that the examples/ directory in the GLUT repo contains lots of examples, including translations of the red book examples.

Both the API documentation and the examples are best studied with the original specs and the original red book examples at hand. An index of the examples from v1.1 of the red book, with screen shots, can be found here

Projects using the OpenGL bindings:

  • Frag, a 3D first-person shooter game

OpenGL Resources: