Re: D for game Development

2012-02-16 Thread Mike Parker
On 2/16/2012 3:32 AM, Chris Pons wrote: On Wednesday, 15 February 2012 at 15:41:02 UTC, Kiith-Sa wrote: On Wednesday, 15 February 2012 at 06:51:11 UTC, RedShift wrote: Can I use OpenGL or DirectX with D? If so, where can I find a guide to get everything setup? Derelict provides bindings for

Re: D for game Development

2012-02-16 Thread Mike Parker
On 2/16/2012 4:07 AM, Chris Pons wrote: I am sorry about the double post. I am in the middle of trying to install derelict following this tutorial: http://h3.gd/dmedia/?n=Tutorials.SdlGlTutorial1 However, when I get to the third step I get this error: Error 1 Error: module gl is in file

Re: D for game Development

2012-02-15 Thread Jacob Carlborg
On 2012-02-15 07:51, RedShift wrote: Can I use OpenGL or DirectX with D? If so, where can I find a guide to get everything setup? Derelict contains bindings to OpenGL and various other game and media related libraries: http://www.dsource.org/projects/derelict -- /Jacob Carlborg

Re: D for game Development

2012-02-15 Thread MattCodr
On Wednesday, 15 February 2012 at 06:51:11 UTC, RedShift wrote: Can I use OpenGL or DirectX with D? If so, where can I find a guide to get everything setup? I'm writing a tutorial explaining how to set everything with game example included! I don't like to predict dates, but I'll release it

Re: D for game Development

2012-02-15 Thread Kiith-Sa
On Wednesday, 15 February 2012 at 06:51:11 UTC, RedShift wrote: Can I use OpenGL or DirectX with D? If so, where can I find a guide to get everything setup? Derelict provides bindings for OpenGL and SDL (and many other game-related libraries) - these are used exactly the same way they are

Re: D for game Development

2012-02-15 Thread Mike Parker
On 2/16/2012 12:41 AM, Kiith-Sa wrote: On Wednesday, 15 February 2012 at 06:51:11 UTC, RedShift wrote: Can I use OpenGL or DirectX with D? If so, where can I find a guide to get everything setup? Derelict provides bindings for OpenGL and SDL (and many other game-related libraries) - these are

Re: D for game Development

2012-02-15 Thread Kiith-Sa
To clarify, Derelict 2 fully supports up to OpenGL 3.3. 4.x support is partial (but will be fully implemented very soon). Derelict 3 supports all versions of OpenGL, minus features deprecated in 3.x (i.e. core OpenGL profiles only). Does that mean it is not possible to use old OpenGL 2.x

Re: D for game Development

2012-02-15 Thread Chris Pons
On Wednesday, 15 February 2012 at 15:41:02 UTC, Kiith-Sa wrote: On Wednesday, 15 February 2012 at 06:51:11 UTC, RedShift wrote: Can I use OpenGL or DirectX with D? If so, where can I find a guide to get everything setup? Derelict provides bindings for OpenGL and SDL (and many other

Re: D for game Development

2012-02-15 Thread Chris Pons
I am sorry about the double post. I am in the middle of trying to install derelict following this tutorial: http://h3.gd/dmedia/?n=Tutorials.SdlGlTutorial1 However, when I get to the third step I get this error: Error 1 Error: module gl is in file 'derelict\opengl\gl.d' which cannot be read

Re: D for game Development

2012-02-15 Thread Trass3r
Can I use OpenGL or DirectX with D? Of course. E.g. there's a D1 game engine: http://yage3d.net I think http://3d.benjamin-thaut.de/?p=16 is D2, but it's rendering code only.