www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - OpenGL and D?

reply Alex <a_bothe gmx.net> writes:
Hey, I have a question: Will there be an interface (may a framework) to OpenGL
in the future?
Dec 10 2008
parent reply "Jarrett Billingsley" <jarrett.billingsley gmail.com> writes:
On Wed, Dec 10, 2008 at 2:55 PM, Alex <a_bothe gmx.net> wrote:
 Hey, I have a question: Will there be an interface (may a framework) to OpenGL
in the future?
There are, and have been, bindings to OpenGL for years. Derelict: http://www.dsource.org/projects/derelict (bindings to lots of media/games-oriented libraries including OpenGL) dglut: http://www.dsource.org/projects/scrapple/browser/trunk/dglut (something) dog: http://team0xf.com:8080/dog/
Dec 10 2008
parent reply "Nick Sabalausky" <a a.a> writes:
"Jarrett Billingsley" <jarrett.billingsley gmail.com> wrote in message 
news:mailman.140.1228939830.22690.digitalmars-d puremagic.com...
 On Wed, Dec 10, 2008 at 2:55 PM, Alex <a_bothe gmx.net> wrote:
 Hey, I have a question: Will there be an interface (may a framework) to 
 OpenGL in the future?
There are, and have been, bindings to OpenGL for years. Derelict: http://www.dsource.org/projects/derelict (bindings to lots of media/games-oriented libraries including OpenGL) dglut: http://www.dsource.org/projects/scrapple/browser/trunk/dglut (something) dog: http://team0xf.com:8080/dog/
Alex, you should google for "ABA Games" or "Kenta Cho". He wrote a number of very good freeware games (source included) using D and derelict (and I think OpenGL, IIRC). Although, it was a few years ago, so the source is probably based on really old versions of D and derelict.
Dec 10 2008
parent reply "Jarrett Billingsley" <jarrett.billingsley gmail.com> writes:
On Wed, Dec 10, 2008 at 5:33 PM, Nick Sabalausky <a a.a> wrote:
 Alex, you should google for "ABA Games" or "Kenta Cho". He wrote a number of
 very good freeware games (source included) using D and derelict (and I think
 OpenGL, IIRC). Although, it was a few years ago, so the source is probably
 based on really old versions of D and derelict.
I'm pretty sure he used DirectX, and he wrote all his own bindings. But you're right, the code is probably compatible with DMD ~0.100. Aaaancient.
Dec 10 2008
parent "Saaa" <empty needmail.com> writes:
http://www.asahi-net.or.jp/~cs8k-cyu/windows/tt_e.html
Acknowledgement:
D Header files at D - porting are for use with OpenGL, SDL and SDL_mixer.
; )

Awesome game btw.. the reason I started using D.

 I'm pretty sure he used DirectX, and he wrote all his own bindings.
 But you're right, the code is probably compatible with DMD ~0.100.
 Aaaancient. 
Dec 10 2008