On Thursday, 6 March 2014 at 21:30:01 UTC, Nordlöw wrote:
Does anybody have some sample code (example or project) lying
around that shows modern use of OpenGL (3 or 4) using some or
all of the following libraries:
- DerelictGL3 (Org)
- DerelictGLFW3 (Org)
- Glamour
- gl3n
I'm planning a graph visualization engine in D and I would like
to use as high level D language abstractions as possible to
implement this in OpenGL.
With modern I mean use of more high-level abstractions that
more type-safely handles efficient (vectorized) processing of
2/3/4-D geometry (gl3n) and allocation and use of Shaders, VBO,
etc similar to what
http://kifri.fri.uniza.sk/~chochlik/oglplus/html/
Libraries that include an OpenGL wrapper are incredibly common in
the D landscape. Everyone likes to make their own, why not.
http://code.dlang.org/packages/
Here is a list in alphabetical order:
anchovy
batch-engine
dash
DGame
GFM (my own, PLEASE, PLEASE CHOOSE ME)
GLamour + gl3n
graphite
three.d
...and probably many others.
From your library choices, it seems
https://github.com/vova616/BatchEngine and
https://github.com/Zoadian/three.d should be pretty close to what
you want.