bf3 at telenet.be
Wed Nov 21 10:00:20 EST 2007
Yes indeed, and various implementations of GLUT on Windows have
The biggest lack of GLUT is its inability to load images...
IMHO if you want to do OpenGL with Haskell, it's best to start with
Gtk2HS anyway, which has all the support needed.
Last time I checked the SDL binding did not work properly on Windows
when using GHCi.
Another nice library that works well is GLFW, which SOE uses. See
http://www.haskell.org/soe. It had some quirks on Windows, but I
reported these and send over some patches, and it seems they are
incorporated in the latest version (in a much cleaner way than my
original patches ;-) It also runs more smoothly since it now uses
GLFW's high resolution timer. It only lacks support for fonts, but it
can load images, so creating a bitmap font should not be too difficult.
Jon Harrop wrote:
> On Wednesday 21 November 2007 07:06, Jules Bean wrote:
>> As far as I'm aware, all GL implementations come with a GLUT
> No: GL is typically installed with your video card drivers and glut must be
> installed as a separate package. On Linux, package managers handle this
> transparently and most people have freeglut installed (there is also openglut
> and the original glut). I'm not sure about Mac OS X but I suspect it also
> bundles some kind of glut. The last time I looked at Windows it provided only
> minimal support for GL and no glut. You can install glut on a Windows box but
> you have to do it manually.
>> It doesn't give you a very sophisticated UI - hardly anything beyond the
>> ability to open new windows - but it does work, it's simple, and it's
>> cross platform.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe