ombra: Render engine.

[ bsd3, graphics, library ] [ Propose Tags ]
This version is deprecated.

Ombra is a render engine written in Haskell. It provides a purely functional interface for advanced graphics programming, including a type safe embedded DSL for GPU programming. You are not required to know or use OpenGL directly to work with Ombra, you just need a basic knowledge of what vertex/fragment shaders, uniforms and attributes are (if you are going to make a more advanced use of it). Ombra supports both OpenGL and WebGL.

The modules you generally need to use are:

Graphics.Rendering.Ombra.D3: 3D graphics

Graphics.Rendering.Ombra.D2: 2D graphics

Graphics.Rendering.Ombra.Generic: although both D3 and D2 export it, you may want to read the documentation

Graphics.Rendering.Ombra.Shader: for creating shaders

Graphics.Rendering.Ombra.Draw: this lets you render the pure objects you create with D2D3Generic

Graphics.Rendering.Ombra.Texture: for creating textures


[Skip to Readme]

Flags

Automatic Flags
NameDescriptionDefault
opengl

Enable the OpenGL backend. Main module: Graphics.Rendering.Ombra.Backend.OpenGL

Enabled
webgl

Enable the GHCJS/WebGL backend, if compiled with GHCJS. Main module: Graphics.Rendering.Ombra.Backend.WebGL

Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.1.0, 0.2.0.0, 0.2.1.0, 0.2.2.0, 0.3.0.0, 0.3.1.0, 1.0.0.0, 1.1.0.0 (info)
Dependencies base (<5.0), ghcjs-base, gl (<0.8), hashable (<1.3), hashtables (<1.4), transformers (<0.6), unordered-containers (<0.3), vect (<0.5), vector (<0.12) [details]
License BSD-3-Clause
Copyright Copyright © 2014-2016 Luca Prezzavento
Author Luca "ziocroc" Prezzavento
Maintainer ziocroc@gmail.com
Revised Revision 1 made by ZioCrocifisso at 2016-08-20T12:04:36Z
Category Graphics
Home page https://github.com/ziocroc/Ombra
Bug tracker https://github.com/ziocroc/Ombra/issues
Source repo head: git clone https://github.com/ziocroc/Ombra
Uploaded by ZioCrocifisso at 2016-08-19T23:42:08Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 4884 total (27 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-08-19 [all 1 reports]

Readme for ombra-0.1.0.0

[back to package description]

Ombra

The Ombra render engine.

Features:

  • Typeful and mostly declarative interface
  • Functional type safe embedded DSL for shaders
  • Automatic allocation and deallocation of GPU resources
  • 2D and 3D simplified interfaces
  • OpenGL and WebGL backends
  • Written in Haskell

Running examples: 01 02 03 04 05 06