www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - new C bindings

reply Thorsten Kiefer <thorstenkiefer gmx.de> writes:
Hi,
I'd like to create D-modules for X11,OpenGl,Glut and ODE/Drawstuff.
I want to publish them on dsource.org.
Has this work already been done ?
Mar 04 2007
parent reply Orgoton <orgoton mindless.com> writes:
Thorsten Kiefer Wrote:

 Hi,
 I'd like to create D-modules for X11,OpenGl,Glut and ODE/Drawstuff.
 I want to publish them on dsource.org.
 Has this work already been done ?
 

Derelict alreadt has OpenGL/SDL bindings, along some other libraries.
Mar 04 2007
parent reply =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
Orgoton wrote:

I'd like to create D-modules for X11,OpenGl,Glut and ODE/Drawstuff.
I want to publish them on dsource.org.
Has this work already been done ?


Alternative bindings (import modules) for SDL / GL are available at http://shinh.skr.jp/d/porting.html and http://www.algonet.se/~afb/d/ --anders
Mar 04 2007
parent reply Bill Baxter <dnewsgroup billbaxter.com> writes:
Anders F Björklund wrote:
 Orgoton wrote:
 
 I'd like to create D-modules for X11,OpenGl,Glut and ODE/Drawstuff.
 I want to publish them on dsource.org.
 Has this work already been done ?


Alternative bindings (import modules) for SDL / GL are available at http://shinh.skr.jp/d/porting.html and http://www.algonet.se/~afb/d/ --anders

Schooner also has bindings/ports for OpenGL, GLFW, Freetype and FTGL. At one time there was a post about GLUT bindings too -- I think that was also from Bradley Smith. So if you really want GLUT there maybe something out there you can use as a starting point. --bb
Mar 04 2007
next sibling parent reply Bill Baxter <dnewsgroup billbaxter.com> writes:
Bill Baxter wrote:
 Anders F Björklund wrote:
 Orgoton wrote:

 I'd like to create D-modules for X11,OpenGl,Glut and ODE/Drawstuff.
 I want to publish them on dsource.org.
 Has this work already been done ?


Alternative bindings (import modules) for SDL / GL are available at http://shinh.skr.jp/d/porting.html and http://www.algonet.se/~afb/d/ --anders

Schooner also has bindings/ports for OpenGL, GLFW, Freetype and FTGL. At one time there was a post about GLUT bindings too -- I think that was also from Bradley Smith. So if you really want GLUT there maybe something out there you can use as a starting point.

Link: http://www.dsource.org/projects/schooner --bb
Mar 04 2007
parent reply Bradley Smith <digitalmars-com baysmith.com> writes:
Bill Baxter wrote:
 Bill Baxter wrote:
 Anders F Björklund wrote:
 Orgoton wrote:

 I'd like to create D-modules for X11,OpenGl,Glut and ODE/Drawstuff.
 I want to publish them on dsource.org.
 Has this work already been done ?


Alternative bindings (import modules) for SDL / GL are available at http://shinh.skr.jp/d/porting.html and http://www.algonet.se/~afb/d/ --anders

Schooner also has bindings/ports for OpenGL, GLFW, Freetype and FTGL. At one time there was a post about GLUT bindings too -- I think that was also from Bradley Smith. So if you really want GLUT there maybe something out there you can use as a starting point.

Link: http://www.dsource.org/projects/schooner --bb

Schooner has partial bindings for X11. Just enough to get the GLFW port to work on Linux.
Mar 04 2007
parent reply Tomas Lindquist Olsen <tomas famolsen.dk> writes:
Bradley Smith wrote:

 
 Schooner has partial bindings for X11. Just enough to get the GLFW port
 to work on Linux.

Speaking of the devil, it looks like something bad has happened to the schooner project after the dsource transfer. :/
Mar 04 2007
parent Brad Anderson <brad dsource.org> writes:
Tomas Lindquist Olsen wrote:
 Bradley Smith wrote:
 
 Schooner has partial bindings for X11. Just enough to get the GLFW port
 to work on Linux.

Speaking of the devil, it looks like something bad has happened to the schooner project after the dsource transfer. :/

The Schooner repos has been repaired. BA
Mar 04 2007
prev sibling parent =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
Bill Baxter wrote:

 Alternative bindings (import modules) for SDL / GL are available at
 http://shinh.skr.jp/d/porting.html and http://www.algonet.se/~afb/d/

Schooner also has bindings/ports for OpenGL, GLFW, Freetype and FTGL. At one time there was a post about GLUT bindings too -- I think that was also from Bradley Smith. So if you really want GLUT there maybe something out there you can use as a starting point.

Clarifications: When I said "SDL", I meant SDL 1.2 and SDL_image 1.2 (+ some others) When I said "GL", I meant GL/GLU 1.2, GLEXT 1.5 + GLUT 3.7, GLFW 2.5 (D bindings started by Pavel "EvilOne" Minayev, some five years ago*, I redid mine from the C/C++ headers and added Mac OS X compatibility) You probably want FreeGLUT now, though, since it has a better license... http://freeglut.sourceforge.net/ (but not sure about D import modules ?) Import modules for GLFW are being provided upstream with the C library downloads, only moved it to gl.glfw and changed it to use gl.gl/gl.glu. --anders * See "DedicateD" http://int19h.tamb.ru/
Mar 04 2007