new SOE package and the annoucement of GLFW
Hi all, After much struggle to bring the SOE source to be compatible with the latest GHC, I'm pleased to announce that it's available at http://www.haskell.org/soe It's has been tested on Windows (both XP and Vista), Linux and Mac OS X under GHC 6.6.1. The code now requires a Haskell package GLFW, an interface to the GLFW OpenGL Framework (http://glfw.sourceforge.net), which is an alternative to GLUT for OpenGL based programs. Most SOE code examples are not affected by this change except that they now make use of the included SOE.hs instead of the previous SOEGraphics module. The SOE.hs now handles all window and drawing activities through GLFW and OpenGL. The music part of SOE code has also been brought up to date. Please help to report bugs or suggestions if you have any. Help is also needed to make the GLFW Haskell package fully compatible with cross-platform Cabal installation steps. Regards, Paul Liu
Great! Put it on the Hackage site? http://hackage.haskell.org/packages/hackage.html Simon | -----Original Message----- | From: haskell-bounces@haskell.org [mailto:haskell-bounces@haskell.org] On Behalf Of Paul L | Sent: 29 August 2007 20:50 | To: haskell | Subject: [Haskell] new SOE package and the annoucement of GLFW | | Hi all, | | After much struggle to bring the SOE source to be compatible with the | latest GHC, I'm pleased to announce that it's available at | | http://www.haskell.org/soe | | It's has been tested on Windows (both XP and Vista), Linux and Mac OS | X under GHC 6.6.1. The code now requires a Haskell package GLFW, an | interface to the GLFW OpenGL Framework (http://glfw.sourceforge.net), | which is an alternative to GLUT for OpenGL based programs. | | Most SOE code examples are not affected by this change except that | they now make use of the included SOE.hs instead of the previous | SOEGraphics module. The SOE.hs now handles all window and drawing | activities through GLFW and OpenGL. The music part of SOE code has | also been brought up to date. | | Please help to report bugs or suggestions if you have any. Help is | also needed to make the GLFW Haskell package fully compatible with | cross-platform Cabal installation steps. | | Regards, | Paul Liu | _______________________________________________ | Haskell mailing list | Haskell@haskell.org | http://www.haskell.org/mailman/listinfo/haskell
l'd love to put GLFW on the hackage site, but the Cabal packaging is puzzling me. The GLFW C library is small and meant to be statically linked, which means the Cabal installation has to put all *.o files from under glfw/<platform>/ into the libHSGLFW-0.1.a (or whatever it's called). I don't know how to do this in Cabal in a truely cross-platform manner, so I'm using a custom script to finish the installation step. Any help is greatly appreciated! BTW: Not having to deal with all the GLUT wierdness is such a relief for writing OpenGL programs. Regards Paul Liu On 8/30/07, Simon Peyton-Jones <simonpj@microsoft.com> wrote:
Great! Put it on the Hackage site? http://hackage.haskell.org/packages/hackage.html
Simon
| -----Original Message----- | From: haskell-bounces@haskell.org [mailto:haskell-bounces@haskell.org] On Behalf Of Paul L | Sent: 29 August 2007 20:50 | To: haskell | Subject: [Haskell] new SOE package and the annoucement of GLFW | | Hi all, | | After much struggle to bring the SOE source to be compatible with the | latest GHC, I'm pleased to announce that it's available at | | http://www.haskell.org/soe | | It's has been tested on Windows (both XP and Vista), Linux and Mac OS | X under GHC 6.6.1. The code now requires a Haskell package GLFW, an | interface to the GLFW OpenGL Framework (http://glfw.sourceforge.net), | which is an alternative to GLUT for OpenGL based programs. | | Most SOE code examples are not affected by this change except that | they now make use of the included SOE.hs instead of the previous | SOEGraphics module. The SOE.hs now handles all window and drawing | activities through GLFW and OpenGL. The music part of SOE code has | also been brought up to date. | | Please help to report bugs or suggestions if you have any. Help is | also needed to make the GLFW Haskell package fully compatible with | cross-platform Cabal installation steps. | | Regards, | Paul Liu | _______________________________________________ | Haskell mailing list | Haskell@haskell.org | http://www.haskell.org/mailman/listinfo/haskell
On Wed, 2007-08-29 at 15:50 -0400, Paul L wrote:
Hi all,
After much struggle to bring the SOE source to be compatible with the latest GHC, I'm pleased to announce that it's available at
I have updated the Gtk implementation of SOE (module Graphics.SOE.Gtk) to be compatible with the new SOE interface. I've also fixed a few bugs, in particular a bug in rendering polygon regions. It is available from hackage: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/soegtk or via darcs: http://haskell.org/~duncan/soegtk/ (It's also included in the Gtk2Hs darcs repo) I've tested it on Linux with the SOE demos, but it should also work fine on Windows or Mac OS X. It does require Gtk2Hs of course. User-visible differences in this Gtk version: * Smoother anti-aliased graphics * Lower CPU usage for animations (ie not 100% all the time), which gives smoother animation. If anyone finds any problems, especially any API incompatibilities or rendering bugs then please do report them. Duncan
participants (3)
-
Duncan Coutts -
Paul L -
Simon Peyton-Jones