Personal tools

LambdaCubeEngine

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
(History)
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Lambdacube Engine ==
+
== Overview ==
  
=== Overview ===
+
[http://lambdacube3d.wordpress.com/ LambdaCube] is a Domain Specific Language for 3D graphics.
  
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 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 [http://www.ogre3d.org Ogre3D]'s [http://www.ogre3d.org/docs/manual/manual_9.html#SEC12 mesh] and [http://www.ogre3d.org/docs/manual/manual_14.html#SEC23 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.
+
== Download ==
  
An application building on Lambdacube is composed of the following layers:
+
[https://github.com/csabahruska/lc-dsl LambdaCube DSL repository at GitHub]
 
+
{| cellspacing="0" cellpadding="2"
+
| colspan="5" align="center" style="background: #ccccff" | application
+
|-
+
| colspan="2" style="background: #ffffcc" |  
+
| colspan="3" align="center" style="background: #ccffcc" | optional components
+
|-
+
| colspan="5" align="center" style="background: #ffffcc" | generic core
+
|-
+
| colspan="5" align="center" style="background: #ffcccc" | render system
+
|-
+
| align="center" style="background: #cccccc" | native OpenGL
+
| align="center" | or
+
| align="center" style="background: #cccccc" | DirectX
+
| align="center" | or
+
| align="center" style="background: #cccccc" | ...
+
|}
+
 
+
* optional components: e.g. loaders for various formats, physics engine
+
* generic core: resource handling, script loading, rendering
+
* render system: a thin abstraction layer
+
 
+
=== News ===
+
  
 +
== History ==
 +
* 2012-08-15 - Started development [http://lambdacube3d.wordpress.com/ blog]
 +
* 2011-06-23 - The second big release which already includes a more advanced Bullet binding and the Stunts example; details in the [http://just-bottom.blogspot.com/2011/06/renewed-lambdacube-bullet-bindings-and.html announcement]
 +
* 2009-11-18 - The first release on Hackage: [http://hackage.haskell.org/package/lambdacube-engine engine] and [http://hackage.haskell.org/package/lambdacube-examples examples], plus a [http://hackage.haskell.org/package/lambdacube-bullet bullet example] that will eventually grow into a library
 
* 2009-09-22 - The summer report was presented at the [http://ocaml.janestcapital.com/?q=node/68 JSSP meeting]
 
* 2009-09-22 - The summer report was presented at the [http://ocaml.janestcapital.com/?q=node/68 JSSP meeting]
 
* 2009-08-10 - Major public commit that went with the mid-summer report
 
* 2009-08-10 - Major public commit that went with the mid-summer report
Line 38: Line 19:
 
* 2009-01-?? - Development started
 
* 2009-01-?? - Development started
  
=== Todo ===
+
== Screenshots ==
  
* clean up code and upload it to Hackage
+
=== 2012-06 - LC DSL Q3 example ===
  
=== Download ===
+
[[Image:Lc-q3.png|800px|Quake3 example]]
  
[http://code.google.com/p/lambdacube/ Lambdacube repository at Google Code]
+
=== 2012-06 - LC DSL Stunts example ===
  
=== Screenshots ===
+
[[Image:Lc-stunts-1.png|800px|Stunts example]]
  
==== 2009-09 - JSSP meeting ====
+
[[Image:Lc-stunts-2.png|800px|Stunts example]]
 +
 
 +
=== 2009-11 - Hackage release ===
 +
 
 +
[[Image:Lambdacube-basic.png|LambdaCube basic example]]
 +
 
 +
=== 2009-09 - JSSP meeting ===
  
 
Tile Racer track loader:
 
Tile Racer track loader:
  
[[Image:Lambdacube-tileracer.png|800px|Lambdacube Tile Racer track loader example]]
+
[[Image:Lambdacube-tileracer.png|800px|LambdaCube Tile Racer track loader example]]
  
 
Bullet physics integration:
 
Bullet physics integration:
  
[[Image:Lambdacube-physics.png|800px|Lambdacube and Bullet physics example]]
+
[[Image:Lambdacube-physics.png|800px|LambdaCube and Bullet physics example]]
  
==== 2009-03 - Pre-summer mock-up ====
+
=== 2009-03 - Pre-summer mock-up ===
  
 
[[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.
+
 
+
=== Features ===
+
 
+
* Mesh file format
+
** geometry is supported
+
 
+
* [http://www.ogre3d.org/docs/manual/manual_14.html#SEC23 Material Script]
+
  
=== Used packages and programs ===
+
The code is released under BSD3.
  
* OpenGL
+
The engine and the examples not using physics build out of the box on a fresh Haskell Platform install under Windows. If Bullet is installed, the Stunts example should also be possible to get running with cabal-install.
* GLFW
+
* STB-image
+
* XML
+
* UULib
+
* Zip-Archive
+
* Alex
+
* fgl
+
* hslogger
+
  
 
[[Category:Applications]]
 
[[Category:Applications]]
 
[[Category:3D]]
 
[[Category:3D]]

Revision as of 09:00, 8 September 2012

Contents

1 Overview

LambdaCube is a Domain Specific Language for 3D graphics.

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.

2 Download

LambdaCube DSL repository at GitHub

3 History

  • 2012-08-15 - Started development blog
  • 2011-06-23 - The second big release which already includes a more advanced Bullet binding and the Stunts example; details in the announcement
  • 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

4 Screenshots

4.1 2012-06 - LC DSL Q3 example

Quake3 example

4.2 2012-06 - LC DSL Stunts example

Stunts example

Stunts example

4.3 2009-11 - Hackage release

LambdaCube basic example

4.4 2009-09 - JSSP meeting

Tile Racer track loader:

LambdaCube Tile Racer track loader example

Bullet physics integration:

LambdaCube and Bullet physics example

4.5 2009-03 - Pre-summer mock-up

Lambdacube1.jpeg

5 Licence

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. If Bullet is installed, the Stunts example should also be possible to get running with cabal-install.