nehe-tuts: Port of the NeHe OpenGL tutorials to Haskell.

[ bsd3, graphics, program ] [ Propose Tags ]

Port of the NeHe OpenGL tutorials to Haskell; so far only lessons 1-12 have been ported.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.1.1, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4
Dependencies array (>=0.2.0.0), base, GLUT (>=2.1.1.2), haskell98, OpenGL (>=2.2.1.1) [details]
License BSD-3-Clause
Author Jason Dagit
Maintainer dagit@eecs.oregonstate.edu
Category Graphics
Uploaded by JasonDagit at 2009-01-20T00:10:27Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables lesson12, lesson11, lesson10, lesson09, lesson08, lesson07, lesson06, lesson05, lesson04, lesson03, lesson02, lesson01
Downloads 5736 total (22 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2017-01-02 [all 7 reports]

Readme for nehe-tuts-0.1.1

[back to package description]
These examples were created by Jeff Molofee '99 NeHe of http://nehe.gamedev.net

Converted to Haskell by Jason Dagit, 2005.  As far as I know, all
examples require GHC and the HOpenGL and GLUT libraries. I've tried 
not to add anything else as a requirement (although look into the 
nehe-tuts.cabal file to make sure).  
This code is tested on OSX and MS Windows only.  If you try it on 
another platform and it works for you, then please let me know.

Usage of Makefile:

make lessonXY            # this will build just lessonXY
make lessonXY.hs         # same as above rule, convienent for tab completion.
make                     # build everything
make clean               # gets rid of the .hs and .o files
make distclean           # make clean and get rid of the binaries

Usage of Cabal package:

runhaskell Setup.hs configure
runhaskell Setup.hs build
# And here you are, all the executables ready to run.

If you are having problems with installing OpenGL bindings, or some weird linker
problems during compilation on MS Windows, please see this page:

http://netsuperbrain.com/blog/posts/freeglut-windows-hopengl-hglut/

Make sure to follow all the steps precisely; if something still fails, start from 
scratch: you've forgotten a step.


Acknowldegements:
I want to thank #haskell on irc.freenode.net for support and general
help.  Especially to Lemmih for supplying example code.

Authors:
Jeff Molofee aka NeHe
Jason Dagit <dagit@codersbase.com> (All the code)
Eugene Kirpichov <ekirpichov@gmail.com> (Cabal package)