From HaskellWiki
Revision as of 16:45, 26 November 2009 by GergelyPatai (talk | contribs) (Fixed titles.)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


LambdaCube is a 3D rendering engine entirely written in Haskell.

The main goal of this project is to provide a modern and feature rich graphical backend for various Haskell projects, and in the long run it is intended to be a practical solution even for serious purposes. The engine uses Ogre3D's mesh and material file format, therefore it should be easy to find or create new content for it. The code sits between the low-level C API (raw OpenGL, DirectX or anything equivalent; the engine core is graphics backend agnostic) and the application, and gives the user a high-level API to work with.

An application building on LambdaCube is composed of the following layers:

  optional components
generic core
render system
native OpenGL or DirectX or ...
  • optional components: e.g. loaders for various formats, physics engine
  • generic core: resource handling, script loading, rendering
  • render system: a thin abstraction layer to unify low-level APIs


  • 2009-11-18 - The first release on Hackage: engine and examples, plus a bullet example that will eventually grow into a library
  • 2009-09-22 - The summer report was presented at the JSSP meeting
  • 2009-08-10 - Major public commit that went with the mid-summer report
  • 2009-05-12 - Project announced to be among the JSSP winners
  • 2009-03-31 - Application for Jane Street Summer Project sent in
  • 2009-01-?? - Development started


LambdaCube repository at Google Code


  • Must have:
    • texture effects
    • light setup
    • frustum culling
    • full shader support
  • Medium priority:
    • overlay support + font rendering
    • binary loader for the native Ogre format
    • framework for supporting various shaders (glsl, Cg)
    • rewrite to OpenGLRaw
    • LOD support
  • Low priority:
    • particle system
    • shadow mapping
    • skeletal animation
    • volumetric clouds
    • imposters
    • Collada support
    • terrain support (heightmap with LOD, cf. SOAR)
    • mesh modelling interface
  • Long term:
    • Quake3 map loader (BSP support)


2009-11 - Hackage release

LambdaCube basic example

2009-09 - JSSP meeting

Tile Racer track loader:

LambdaCube Tile Racer track loader example

Bullet physics integration:

LambdaCube and Bullet physics example

2009-03 - Pre-summer mock-up



The code is released under BSD3.



The engine and the examples not using physics build out of the box on a fresh Haskell Platform install under Windows.