lambdacube3d / lambdacube-gl

OpenGL 3.3 Core Profile backend for LambdaCube 3D
http://lambdacube3d.com/getting-started
Other
22 stars 8 forks source link

lambdacube-gl

Gitter chat

Haskell OpenGL backend for LambdaCube 3D.

Building instructions

  1. On Linux install the following libraries. i.e. on Ubuntu:

    sudo apt install libgl1-mesa-dev libxi-dev libxcursor-dev libxinerama-dev libxrandr-dev zlib1g-dev

    For other Linux distributions make sure the corresponing packages are installed.

    These libraries required for OpenGL development.

  2. Install Haskell Stack by following it's simple install manual.

  3. Checkout the this repository then run the following commands.

    stack setup
    stack build
  4. Run the examples.

    cd examples
    stack exec lambdacube-gl-hello
    stack exec lambdacube-gl-hello-obj

Tutorials and Examples