Glamour – An opengl wrapper for D

OlaOst olaa81 at gmail.com
Thu Jul 26 12:14:27 PDT 2012


On Thursday, 26 July 2012 at 13:47:42 UTC, David wrote:
> https://github.com/Dav1dde/glamour
>
> Glamour wraps opengl is not an opengl binding. Currently it 
> supports:
>
> * Sampler objects
> * Textures (1D, 2D, 2D_ARRAY, 3D)
> * Shaders
> * Buffers (Elementbuffers and "normal" VBOs)
>
> For the shaders a custom format is used:
>
> -----
> vertex:
>     // here goes the vertex shader
>
> geometry:
>    // here goes the geometry shader (this section can be 
> omitted)
>
> fragment:
>    // here goes the fragment shader
> -----
>
> Readme/Installation: 
> https://github.com/Dav1dde/glamour/blob/master/README.md
> Documentation: http://dav1dde.github.com/glamour/
>
>
> TODO:
>  * support more opengl "backends", like statically linked 
> opengl (in glamour.gl)
>  * polish up the index.d and write a proper installation guide
>
> Pull requests are appreciated.

Nice work! I converted my shader sandbox program to use glamour 
in just a couple of hours :)

I hit a snag with DLL issues using Devil, but added code for 
loading textures with SDLImage. It's in a pull request now.


More information about the Digitalmars-d-announce mailing list