www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - D multimedia programming - a new website

reply Tom S <h3r3tic remove.mat.uni.torun.pl> writes:
Hey everyone,

I've created a new website, http://dmedia.dprogramming.com/ dedicated to 
multimedia development using the D language. It will include information 
about SDL, OpenGL, font rendering, sound, game programming and more :)

Its 'Tutorials' section currently contains one article - "Getting 
started with SDL and OpenGL in D  Part 1". It's available at: 
http://dmedia.dprogramming.com/Tutorials/SdlGlTutorial1

If you have some multimedia programming knowledge you'd like to share, 
you're welcome to join us and write a tutorial for the D community :)
In addition to the website, I've created a #dmedia channel on the 
irc.freenode.net network, you can find some of us there and get more 
information, e.g. about getting an account to edit the site.

// this is a crosspost to D.announce and D.learn


-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/M d-pu s+: a-->----- C+++$>++++ UL P+ L+ E--- W++ N++ o? K? w++ !O 
!M V? PS- PE- Y PGP t 5 X? R tv-- b DI- D+ G e>+++ h>++ !r !y
------END GEEK CODE BLOCK------

Tomasz Stachowiak  /+ a.k.a. h3r3tic +/
May 03 2006
next sibling parent =?windows-1252?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
h3r3tic wrote:

 I've created a new website, http://dmedia.dprogramming.com/ dedicated to 
 multimedia development using the D language. It will include information 
 about SDL, OpenGL, font rendering, sound, game programming and more :)

I have some information on how to use SDL and OpenGL "cross-platform" (i.e. including the Macintosh, as well as Windows and Linux platforms) But it doesn't use DMD compiler or Build utility or Derelict bindings. Is that a problem for "dmedia.dprogramming.com"? What's the doc license?
 If you have some multimedia programming knowledge you'd like to share,
 you're welcome to join us and write a tutorial for the D community  :) 

I have SDL ("testbitmap"), GL ("gears"), AL ("testal") and one SDL+GL. For SDL 1.2.9, OpenGL 1.2.1, OpenAL 1.2.1 - all with GDC and GNU Make. Currently at http://www.algonet.se/~afb/d/, but moving over to gdcmac. Just have to wrap it up and write the "Tutorial" style docs for it... --anders
May 03 2006
prev sibling next sibling parent reply Hasan Aljudy <hasan.aljudy gmail.com> writes:
Tom S wrote:
 Hey everyone,
 
 I've created a new website, http://dmedia.dprogramming.com/ dedicated to 
 multimedia development using the D language. It will include information 
 about SDL, OpenGL, font rendering, sound, game programming and more :)
 
 Its 'Tutorials' section currently contains one article - "Getting 
 started with SDL and OpenGL in D  Part 1". It's available at: 
 http://dmedia.dprogramming.com/Tutorials/SdlGlTutorial1
 
 If you have some multimedia programming knowledge you'd like to share, 
 you're welcome to join us and write a tutorial for the D community :)
 In addition to the website, I've created a #dmedia channel on the 
 irc.freenode.net network, you can find some of us there and get more 
 information, e.g. about getting an account to edit the site.
 
 // this is a crosspost to D.announce and D.learn
 
 

Nice! (and a nice layout) I've started medelling with these things a few days ago, so I may help and/or learn from that site. In the tutorial #1, you didn't mention needing a .lib file for each of the SDL extensions. For example, SDL_Image and SDL_TTF are extensions to SDL, and they require seperate lib/dll files. I myself may add that in later today.
May 03 2006
next sibling parent reply Hasan Aljudy <hasan.aljudy gmail.com> writes:
Hasan Aljudy wrote:
 Tom S wrote:
 
 Hey everyone,

 I've created a new website, http://dmedia.dprogramming.com/ dedicated 
 to multimedia development using the D language. It will include 
 information about SDL, OpenGL, font rendering, sound, game programming 
 and more :)

 Its 'Tutorials' section currently contains one article - "Getting 
 started with SDL and OpenGL in D  Part 1". It's available at: 
 http://dmedia.dprogramming.com/Tutorials/SdlGlTutorial1

 If you have some multimedia programming knowledge you'd like to share, 
 you're welcome to join us and write a tutorial for the D community :)
 In addition to the website, I've created a #dmedia channel on the 
 irc.freenode.net network, you can find some of us there and get more 
 information, e.g. about getting an account to edit the site.

 // this is a crosspost to D.announce and D.learn

Nice! (and a nice layout) I've started medelling with these things a few days ago, so I may help and/or learn from that site. In the tutorial #1, you didn't mention needing a .lib file for each of the SDL extensions. For example, SDL_Image and SDL_TTF are extensions to SDL, and they require seperate lib/dll files. I myself may add that in later today.

Wait .. is it a wiki where anyone can edit content?
May 03 2006
parent clayasaurus <clayasaurus gmail.com> writes:
Hasan Aljudy wrote:
 Hasan Aljudy wrote:
 Tom S wrote:

 Hey everyone,

 I've created a new website, http://dmedia.dprogramming.com/ dedicated 
 to multimedia development using the D language. It will include 
 information about SDL, OpenGL, font rendering, sound, game 
 programming and more :)

 Its 'Tutorials' section currently contains one article - "Getting 
 started with SDL and OpenGL in D  Part 1". It's available at: 
 http://dmedia.dprogramming.com/Tutorials/SdlGlTutorial1

 If you have some multimedia programming knowledge you'd like to 
 share, you're welcome to join us and write a tutorial for the D 
 community :)
 In addition to the website, I've created a #dmedia channel on the 
 irc.freenode.net network, you can find some of us there and get more 
 information, e.g. about getting an account to edit the site.

 // this is a crosspost to D.announce and D.learn

Nice! (and a nice layout) I've started medelling with these things a few days ago, so I may help and/or learn from that site. In the tutorial #1, you didn't mention needing a .lib file for each of the SDL extensions. For example, SDL_Image and SDL_TTF are extensions to SDL, and they require seperate lib/dll files. I myself may add that in later today.

Wait .. is it a wiki where anyone can edit content?

I think you have to ask Tom S. for an account
May 03 2006
prev sibling parent reply clayasaurus <clayasaurus gmail.com> writes:
Hasan Aljudy wrote:
 Tom S wrote:
 Hey everyone,

 I've created a new website, http://dmedia.dprogramming.com/ dedicated 
 to multimedia development using the D language. It will include 
 information about SDL, OpenGL, font rendering, sound, game programming 
 and more :)

 Its 'Tutorials' section currently contains one article - "Getting 
 started with SDL and OpenGL in D  Part 1". It's available at: 
 http://dmedia.dprogramming.com/Tutorials/SdlGlTutorial1

 If you have some multimedia programming knowledge you'd like to share, 
 you're welcome to join us and write a tutorial for the D community :)
 In addition to the website, I've created a #dmedia channel on the 
 irc.freenode.net network, you can find some of us there and get more 
 information, e.g. about getting an account to edit the site.

 // this is a crosspost to D.announce and D.learn

Nice! (and a nice layout) I've started medelling with these things a few days ago, so I may help and/or learn from that site. In the tutorial #1, you didn't mention needing a .lib file for each of the SDL extensions.

Quote from tutorial... "Derelict can be compiled into a set of .lib or .a files and linked with your programs. However due to the Build utility, and the compilation speed that DMD gives us, we can as well build it from sources each time we compile a program that uses it. This will also prevent any eventual linking problems related to having built Derelict with different options than our program that we link against."
May 03 2006
parent reply Hasan Aljudy <hasan.aljudy gmail.com> writes:
clayasaurus wrote:
 Hasan Aljudy wrote:
 
 Tom S wrote:

 Hey everyone,

 I've created a new website, http://dmedia.dprogramming.com/ dedicated 
 to multimedia development using the D language. It will include 
 information about SDL, OpenGL, font rendering, sound, game 
 programming and more :)

 Its 'Tutorials' section currently contains one article - "Getting 
 started with SDL and OpenGL in D  Part 1". It's available at: 
 http://dmedia.dprogramming.com/Tutorials/SdlGlTutorial1

 If you have some multimedia programming knowledge you'd like to 
 share, you're welcome to join us and write a tutorial for the D 
 community :)
 In addition to the website, I've created a #dmedia channel on the 
 irc.freenode.net network, you can find some of us there and get more 
 information, e.g. about getting an account to edit the site.

 // this is a crosspost to D.announce and D.learn

Nice! (and a nice layout) I've started medelling with these things a few days ago, so I may help and/or learn from that site. In the tutorial #1, you didn't mention needing a .lib file for each of the SDL extensions.

Quote from tutorial... "Derelict can be compiled into a set of .lib or .a files and linked with your programs. However due to the Build utility, and the compilation speed that DMD gives us, we can as well build it from sources each time we compile a program that uses it. This will also prevent any eventual linking problems related to having built Derelict with different options than our program that we link against."

ahh .. I thought derelict was just a binding, i.e. C Headers --> D headers translation. and you still need the libs/dlls
May 03 2006
next sibling parent =?windows-1252?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
Hasan Aljudy wrote:

 ahh .. I thought derelict was just a binding, i.e. C Headers --> D 
 headers translation. and you still need the libs/dlls

It's not always possible to translate C/C++ headers into D modules without adding code. For instance any tricky macros or bit fields require function wrappers in D, and those generate some object code. --anders
May 03 2006
prev sibling parent reply "Lukas Pinkowski" <lukas.pinkowski web.de> writes:
Am 03.05.2006, 23:29 Uhr, schrieb Hasan Aljudy <hasan.aljudy gmail.com>:

 ahh .. I thought derelict was just a binding, i.e. C Headers --> D  
 headers translation. and you still need the libs/dlls

Derelict uses function pointers which are assigned at runtime to the functions in the DLLs (with the DerelictXX_Load()-functions). Those function pointers have to be in some object file; additionally SDL provides some widely used functions that are in fact Macros, which have to be simulated by real functions.
May 04 2006
parent reply Hasan Aljudy <hasan.aljudy gmail.com> writes:
Lukas Pinkowski wrote:
 Am 03.05.2006, 23:29 Uhr, schrieb Hasan Aljudy <hasan.aljudy gmail.com>:
 
 ahh .. I thought derelict was just a binding, i.e. C Headers --> D  
 headers translation. and you still need the libs/dlls

Derelict uses function pointers which are assigned at runtime to the functions in the DLLs (with the DerelictXX_Load()-functions). Those function pointers have to be in some object file; additionally SDL provides some widely used functions that are in fact Macros, which have to be simulated by real functions.

My point was, users need to download lib files for the different extensions, like sdl_image.lib and sdl_ttf.lib, etc. isn't this correct?
May 04 2006
parent reply Mike Parker <aldacron71 yahoo.com> writes:
Hasan Aljudy wrote:
 Lukas Pinkowski wrote:

 My point was, users need to download lib files for the different 
 extensions, like sdl_image.lib and sdl_ttf.lib, etc.
 
 isn't this correct?

No. Derelict eliminates the need to link with import libraries. It loads the shared libraries manually via LoadLibrary on Windows and dlopen on Linux.
May 04 2006
parent reply Hasan Aljudy <hasan.aljudy gmail.com> writes:
Mike Parker wrote:
 Hasan Aljudy wrote:
 
 Lukas Pinkowski wrote:

 My point was, users need to download lib files for the different 
 extensions, like sdl_image.lib and sdl_ttf.lib, etc.

 isn't this correct?

No. Derelict eliminates the need to link with import libraries. It loads the shared libraries manually via LoadLibrary on Windows and dlopen on Linux.

But you still need the dlls, if you want to use image and ttf and other extensions. SDL_image.dll SDL_ttf.dll no?
May 04 2006
next sibling parent James Pelcis <jpelcis gmail.com> writes:
Yes.  You need the dlls, but you don't need the libs.  That, however, is 
a problem that needs to be taken care at runtime, not when compiling the 
program.

Hasan Aljudy wrote:
 But you still need the dlls, if you want to use image and ttf and other 
 extensions.
 
 SDL_image.dll
 SDL_ttf.dll
 
 no?

May 04 2006
prev sibling parent reply Mike Parker <aldacron71 yahoo.com> writes:
Hasan Aljudy wrote:
 No. Derelict eliminates the need to link with import libraries. It 
 loads the shared libraries manually via LoadLibrary on Windows and 
 dlopen on Linux.

But you still need the dlls, if you want to use image and ttf and other extensions. SDL_image.dll SDL_ttf.dll no?

Yes. That's what I mean by 'shared library' - .dll on Windows and .so on Linux. Those are the files that Derelict loads. But it's not just the SDL extensions, it's for all the libraries that Derelict wraps - SDL, OpenGL, OpenAL, all of them.
May 04 2006
parent =?ISO-8859-15?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
Mike Parker wrote:

 Yes. That's what I mean by 'shared library' - .dll on Windows and .so on 
 Linux. Those are the files that Derelict loads. 

On Mac OS X, they are either .framework/"bundles" or .dylib/"libraries" (A .framework is a combination of: headers, shared libs, and resources) --anders
May 05 2006
prev sibling next sibling parent reply "Jarrett Billingsley" <kb3ctd2 yahoo.com> writes:
"Tom S" <h3r3tic remove.mat.uni.torun.pl> wrote in message 
news:e3a270$1t28$1 digitaldaemon.com...
 Hey everyone,

 I've created a new website, http://dmedia.dprogramming.com/ dedicated to 
 multimedia development using the D language. It will include information 
 about SDL, OpenGL, font rendering, sound, game programming and more :)

 Its 'Tutorials' section currently contains one article - "Getting started 
 with SDL and OpenGL in D  Part 1". It's available at: 
 http://dmedia.dprogramming.com/Tutorials/SdlGlTutorial1

 If you have some multimedia programming knowledge you'd like to share, 
 you're welcome to join us and write a tutorial for the D community :)
 In addition to the website, I've created a #dmedia channel on the 
 irc.freenode.net network, you can find some of us there and get more 
 information, e.g. about getting an account to edit the site.

Oh, that is a sweet site. I'd love to join - would be nice to write up something about getting DirectX to work in D.
May 03 2006
next sibling parent reply "Jarrett Billingsley" <kb3ctd2 yahoo.com> writes:
"Jarrett Billingsley" <kb3ctd2 yahoo.com> wrote in message 
news:e3anpa$7mg$1 digitaldaemon.com...
 Oh, that is a sweet site.  I'd love to join - would be nice to write up 
 something about getting DirectX to work in D.

Hey, just wanted to say that I can't get on irc.freenode.net with any IRC client that I have. It fails to look up my hostname. Does it use some nonstandard port settings or something?
May 03 2006
parent Lars Ivar Igesund <larsivar igesund.net> writes:
Jarrett Billingsley wrote:

 "Jarrett Billingsley" <kb3ctd2 yahoo.com> wrote in message
 news:e3anpa$7mg$1 digitaldaemon.com...
 Oh, that is a sweet site.  I'd love to join - would be nice to write up
 something about getting DirectX to work in D.

Hey, just wanted to say that I can't get on irc.freenode.net with any IRC client that I have. It fails to look up my hostname. Does it use some nonstandard port settings or something?

irc.freenode.org at port 6667 should be enough ... -- Lars Ivar Igesund blog at http://larsivi.net DSource & #D: larsivi
May 03 2006
prev sibling parent Georg Wrede <georg.wrede nospam.org> writes:
Jarrett Billingsley wrote:
 "Tom S" <h3r3tic> wrote:
If you have some multimedia programming knowledge you'd like to share, 
you're welcome to join us and write a tutorial for the D community :)
In addition to the website, I've created a #dmedia channel on the 
irc.freenode.net network, you can find some of us there and get more 
information, e.g. about getting an account to edit the site.

Oh, that is a sweet site. I'd love to join - would be nice to write up something about getting DirectX to work in D.

Wow, the first page I stumbled upon, http://dmedia.dprogramming.com/Tutorials/SdlGlTutorial1 simply kicked me breathless! Now, is there anyone who's the one to cast the First Stone?? -- As in, trying to say it's not the looks but the content?? In other words: make the looks good enough, (like dmedia) and you're twice as far ahead as the bare looking site with Pure Gold content. Besides, the dmedia content looks good too. So, /summa summarum/, this puts all other D related sites to shame. Congratulations! Really.
May 03 2006
prev sibling next sibling parent Walter Bright <newshound digitalmars.com> writes:
Tom S wrote:
 I've created a new website, http://dmedia.dprogramming.com/ dedicated to 
 multimedia development using the D language. It will include information 
 about SDL, OpenGL, font rendering, sound, game programming and more :)

Great! It looks good. Can I ask you to included the phrase "D programming language" to your page templates so it will appear somewhere on every page? This will make it more findable with google searches.
May 03 2006
prev sibling parent "ElfQT" <dethjunk yahoo.com> writes:
I've ported the first six DirectX tutorials back in 2005 august to D,
and since I've done (at least, tried to do) it without d3dx,
stopped at mesh loading (from .x format).

ElfQT
May 05 2006