Jump to page: 1 2 3
Thread overview
D multimedia programming - a new website
May 03, 2006
Tom S
May 03, 2006
Tom S
May 03, 2006
Tom S
May 03, 2006
Hasan Aljudy
May 03, 2006
Hasan Aljudy
May 03, 2006
Tom S
May 03, 2006
clayasaurus
May 03, 2006
Tom S
May 03, 2006
clayasaurus
May 03, 2006
Hasan Aljudy
May 04, 2006
Lukas Pinkowski
May 04, 2006
Hasan Aljudy
May 04, 2006
Mike Parker
May 04, 2006
Hasan Aljudy
May 05, 2006
James Pelcis
May 05, 2006
Mike Parker
May 03, 2006
Lars Ivar Igesund
May 03, 2006
Tom S
May 03, 2006
Georg Wrede
May 03, 2006
Tom S
May 03, 2006
Walter Bright
May 03, 2006
Tom S
May 05, 2006
ElfQT
May 05, 2006
Tom S
May 03, 2006
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
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
Anders F Björklund wrote:
> 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?

Not a problem at all. I think it's important to show people that there are more ways of setting up multimedia stuff in a way that can work not only with dmd on windows and linux. In the long run though, I think Derelict will be a good solution, because it will be getting static linking capabilities soon, so it will also work on a Mac.
The doc's license ? I dont care too much about licenses, so I guess it's some sort of public domain, or BSD, so that the article can be included anywhere provided that it doesn't contain false information ;)


> 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.

I'm writing a second part of the tutorial that will use the following code: http://dmedia.dprogramming.com/Main/WikiSandbox so I think it should cover some OpenGL and SDL stuff, but still AL and SDL tutorials would be great to have :)

Thanks for your interest !


-- 
-----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
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
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
Hasan Aljudy wrote:
> Nice! (and a nice layout)

Thanks :)


> 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.

No, no, no :) I explicitly stated that the approach doesnt use .lib / .a static linking but rather, Derelict is built from sources right with the application. Follow the tutorial's instructions and you'll see that it works. Applications that use Derelict only need the .dll / .so libraries  of SDL, GL, SDL_ttf, etc. I've written a note about it.


-- 
-----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
Hasan Aljudy wrote:
> Wait .. is it a wiki where anyone can edit content?

Not anyone, the access is restricted by a username and password. I dont want everyone editing the site. That way it will have a chance to be professional. Even people with their accounts should consult other priviledged DMedia users about the changes they want to make, for instance on the #dmedia IRC channel.


-- 
-----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
Tom S wrote:

> Not a problem at all. I think it's important to show people that there are more ways of setting up multimedia stuff in a way that can work not only with dmd on windows and linux. In the long run though, I think Derelict will be a good solution, because it will be getting static linking capabilities soon, so it will also work on a Mac.

You don't really need "static linking" for it to work on the Mac, so I don't really understand what you mean here. Derelict doesn't work simply
because there are no build scripts, nor code, for Mac OS X ("darwin")...

The OpenGL shared library is in "/System/Library/OpenGL.framework",
normally linked with "-framework OpenGL". SDL can be linked in two
ways, either with SDL.framework (Mac) or with libSDL.dylib (Unix).

Or did you mean "without using function pointers", with your "static" ?

> The doc's license ? I dont care too much about licenses, so I guess it's some sort of public domain, or BSD, so that the article can be included anywhere provided that it doesn't contain false information ;)

If you want people to contribute to it, you need to settle on a license.

Wiki4D is under the GNU Free Documentation License, so that is more GPL
and "Free Software". If you want something like BSD and "Open Source",
then I think an Open Content license would work best? Or, you could give
up copyright and place it in Public Domain. But I'm not sure about that.

See for instance http://opencontent.org/ or http://creativecommons.org/

> I'm writing a second part of the tutorial that will use the following code: http://dmedia.dprogramming.com/Main/WikiSandbox so I think it should cover some OpenGL and SDL stuff, but still AL and SDL tutorials would be great to have :)

The code from last year is in the CVS, at http://www.algonet.se/~afb/d/

--anders
May 03, 2006
Anders F Björklund wrote:
> You don't really need "static linking" for it to work on the Mac, so I don't really understand what you mean here. Derelict doesn't work simply
> because there are no build scripts, nor code, for Mac OS X ("darwin")...
> 
> The OpenGL shared library is in "/System/Library/OpenGL.framework",
> normally linked with "-framework OpenGL". SDL can be linked in two
> ways, either with SDL.framework (Mac) or with libSDL.dylib (Unix).
> 
> Or did you mean "without using function pointers", with your "static" ?

Yup, without using function pointers and dynamic loading thru Derelict. It doesn't currently support Mac, but I guess it will be easy to use it there when it get static linking capabilities.


> If you want people to contribute to it, you need to settle on a license.
> 
> Wiki4D is under the GNU Free Documentation License, so that is more GPL
> and "Free Software". If you want something like BSD and "Open Source",
> then I think an Open Content license would work best? Or, you could give
> up copyright and place it in Public Domain. But I'm not sure about that.
> 
> See for instance http://opencontent.org/ or http://creativecommons.org/

Thanks for the suggestions.

I'm not sure what license the contributing autors would prefer. How about giving them an option to choose one of the CC licenses ?
this one: http://creativecommons.org/licenses/by-nc/2.5/
or this:  http://creativecommons.org/licenses/by/2.5/
Each tutorial/article would then hold a licensing information.

> The code from last year is in the CVS, at http://www.algonet.se/~afb/d/

That CVS doesn't seem to like me, but if you consider some code good for the site, an article would be more than welcome :)


-- 
-----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
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."



« First   ‹ Prev
1 2 3