Messing with OpenGL in D

JN 666total at wp.pl
Thu Dec 6 05:09:22 UTC 2018


On Wednesday, 5 December 2018 at 19:12:34 UTC, Nadir Chowdhury 
wrote:
> I'm fairly new to Dlang, but have learnt the basics. I wondered 
> how I would be able to make an OpenGL-based Engine in D, what 
> libraries would I need? Your help will be much appreciated!
>
> - NCPlayz

I use Derelict's GLFW bindings - 
https://github.com/DerelictOrg/DerelictGLFW3 to create the OpenGL 
context and stuff.

If you need a math library, dlib math from 
https://code.dlang.org/packages/dlib is probably the best place 
to start. gl3n is also nice, but it uses row-major matrices, so 
you have to remember to always transpose them when uploading to 
OpenGL.


More information about the Digitalmars-d-learn mailing list