Personal tools

LambdaCubeEngine

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
(Cleaned up dependencies and updated licence info.)
Line 28: Line 28:
 
* optional components: e.g. loaders for various formats, physics engine
 
* optional components: e.g. loaders for various formats, physics engine
 
* generic core: resource handling, script loading, rendering
 
* generic core: resource handling, script loading, rendering
* render system: a thin abstraction layer
+
* render system: a thin abstraction layer to unify low-level APIs
   
 
=== News ===
 
=== News ===
Line 44: Line 44:
 
=== Download ===
 
=== Download ===
   
[http://code.google.com/p/lambdacube/ Lambdacube repository at Google Code]
+
[http://code.google.com/p/lambdacube/ Lambdacube repository at Google Code] (outdated at the moment)
   
 
=== Screenshots ===
 
=== Screenshots ===
Line 62: Line 62:
 
[[Image:Lambdacube1.jpeg]]
 
[[Image:Lambdacube1.jpeg]]
   
=== License ===
+
=== Licence ===
   
The code is released under GPLv3. I'm planning to switch to BSD3. Or maybe a dual license.
+
The code will be released under BSD3.
   
 
=== Features ===
 
=== Features ===
   
* Mesh file format
+
* [http://www.ogre3d.org/docs/manual/manual_9.html#SEC12 Mesh file format]
** geometry is supported
+
** Geometry is supported
 
 
* [http://www.ogre3d.org/docs/manual/manual_14.html#SEC23 Material Script]
 
* [http://www.ogre3d.org/docs/manual/manual_14.html#SEC23 Material Script]
   
=== Used packages and programs ===
+
=== Dependencies ===
  +
  +
* Core library:
  +
** [http://hackage.haskell.org/package/OpenGL OpenGL] - to be dropped completely in favour of [http://hackage.haskell.org/package/OpenGLRaw OpenGLRaw]
  +
** [http://hackage.haskell.org/package/uulib uuLib] - used for parsing scripts
  +
** [http://hackage.haskell.org/package/alex alex] - used for parsing scripts
  +
** [http://hackage.haskell.org/package/fgl fgl] - scene graph handling
  +
** [http://hackage.haskell.org/package/zip-archive zip-archive]
  +
** [http://hackage.haskell.org/package/hslogger hslogger]
  +
** [http://hackage.haskell.org/package/stb-image stb-image] - optional component: image loader
  +
** [http://hackage.haskell.org/package/xml xml] - optional component: Ogre interchange format loader
  +
* Examples:
  +
** [http://hackage.haskell.org/package/GLFW GLFW]
  +
** [http://hackage.haskell.org/package/elerea elerea]
  +
** Bullet Physics binding (to appear on Hackage soon)
   
* OpenGL
+
The engine and the examples not using physics build out of the box on a fresh Haskell Platform install under Windows.
* GLFW
 
* STB-image
 
* XML
 
* UULib
 
* Zip-Archive
 
* Alex
 
* fgl
 
* hslogger
 
   
 
[[Category:Applications]]
 
[[Category:Applications]]

Revision as of 12:07, 5 October 2009

Contents

1 Lambdacube Engine

1.1 Overview

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:

application
  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

1.2 News

  • 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

1.3 Todo

  • clean up code and upload it to Hackage

1.4 Download

Lambdacube repository at Google Code (outdated at the moment)

1.5 Screenshots

1.5.1 2009-09 - JSSP meeting

Tile Racer track loader:

Lambdacube Tile Racer track loader example

Bullet physics integration:

Lambdacube and Bullet physics example

1.5.2 2009-03 - Pre-summer mock-up

Lambdacube1.jpeg

1.6 Licence

The code will be released under BSD3.

1.7 Features

1.8 Dependencies

  • Core library:
  • Examples:
    • GLFW
    • elerea
    • Bullet Physics binding (to appear on Hackage soon)

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