
14 Nov
2006
14 Nov
'06
1:37 p.m.
FYI: The OpenGL package has now partial support for GLSL. The API is not yet completely stable and support for generic vertex attribute arrays and querying vertex attributes and uniform variables is still missing (setting is of course already implemented). This is enough to run the "Hello, world!" of shader programming, the brick example from the Orange Book, see the attached pictures and the code at: http://darcs.haskell.org/packages/GLUT/examples/OrangeBook/ogl2brick/ If you want to test the new features, grab the latest packages via darcs: darcs get http://darcs.haskell.org/packages/OpenGL darcs get http://darcs.haskell.org/packages/GLUT Comments and suggestions are, as always, highly welcome. Cheers, S.