D, Derelict2, and OpenGL
Vijay Nayar
vnayar at wgen.net
Wed Feb 22 16:09:26 PST 2012
I am doing almost exactly what you are doing, and to get more familiar
with both SDL/OpenGL and D, I used Derelict2.
To get familiar with basic graphics in SDL, I used this C++ tutorial,
http://www.sdltutorials.com/. The functions pretty much convert 1-to-1 in
Derelict2.
If it helps, I also have a small project that is hopefully simple enough
that it is educational. https://github.com/vnayar/dsdl
- Vijay
On Wed, 22 Feb 2012, Chris Pons wrote:
> I have been reading the book "The D Programming Language" and am really
> enjoying D. However, my current motivation to use D was specifically for
> programming through OpenGL, and I was excited when I found out Dereict2
> provided support for OpenGL.
>
> My current Gfx card can only support up to OpenGL 3.3, Can Derelict2 support
> up to OpenGL 3.3?
>
> Also, and most importantly, would it be possible for me to follow a book such
> as the "Red Book" to learn about using OpenGL with D?
>
> Does anyone have a recommendation for a book about OpenGL that is geared
> towards people new to OpenGL?
>
More information about the Digitalmars-d-learn
mailing list