View mode: basic / threaded / horizontal-split · Log in · Help
December 10, 2008
OpenGL and D?
Hey, I have a question: Will there be an interface (may a framework) to OpenGL in the future?
December 10, 2008
Re: OpenGL and D?
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/
December 10, 2008
Re: OpenGL and D?
"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.
December 10, 2008
Re: OpenGL and D?
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.
December 11, 2008
Re: OpenGL and D?
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.
Top | Discussion index | About this forum | D home