View Poll Results: Which is a good Graphics and Sound Library?

Voters
10. You may not vote on this poll
  • DirectX

    7 70.00%
  • OpenGL

    2 20.00%
  • Simple DirectMedia Layer

    1 10.00%
  • Other...

    0 0%
+ Reply to Thread
Results 1 to 6 of 6

Thread: DirectX, OpenGL or SDL?

  1. #1
    Zdroyd's Avatar
    Zdroyd is offline x10 Elder Zdroyd is an unknown quantity at this point
    Join Date
    Feb 2008
    Location
    Playing Halo
    Posts
    548

    Question DirectX, OpenGL or SDL?

    Which of the following should I use for my game development?

    DirectX: http://en.wikipedia.org/wiki/DirectX
    OpenGL: http://en.wikipedia.org/wiki/Opengl
    SDL: http://en.wikipedia.org/wiki/Simple_DirectMedia_Layer
    Other?: http://en.wikipedia.org/wiki/Other (LOL)

    Before now I have used GDKs for my development but I am currently considering going more "pure code" so I am not so dependent on the functions and scripts of a GDK... Does anyone know which would be best?

    Note that I still only plan to develop for Windows, and that I would prefer C++.

    Which language would give me the power but also the ease to develop? Thank you ahead of time...

    Edit: Does this fit in the programming board? If not, sorry.
    Last edited by Zdroyd; 02-18-2009 at 08:59 AM.

  2. #2
    xPlozion's Avatar
    xPlozion is offline x10 Elder xPlozion is an unknown quantity at this point
    Join Date
    Mar 2008
    Location
    Delaware, USA
    Posts
    872

    Re: DirectX, OpenGL or SDL?

    Since you said you were going to only program for Windows, Dx is the best, but if you were going to program for multiple os's, then I'd go OpenGL since it's supported on Linux ;)

  3. #3
    Zdroyd's Avatar
    Zdroyd is offline x10 Elder Zdroyd is an unknown quantity at this point
    Join Date
    Feb 2008
    Location
    Playing Halo
    Posts
    548

    Re: DirectX, OpenGL or SDL?

    Quote Originally Posted by xPlozion View Post
    Since you said you were going to only program for Windows, Dx is the best, but if you were going to program for multiple os's, then I'd go OpenGL since it's supported on Linux ;)
    The two problems I have with OpenGL are:
    > It is only a Graphics Library; no sound functions.
    > There does not seem to be much documentation on it...
    But yes I understand that OpenGL would be preferable if I wanted to go multiple OS, but the problem I have with multiple OS is that "there is no such thing as a Mac gamer" and Linux has not reached the Windows/Mac "height" yet...

    I am considering DX, knowing that I have had multiple other people tell me to go with it... and it has alot of documentation and support, but: Direct X seems to be the most complicated (and waistful) of the three; even if it is the most powerful of the three...

    Anyone know a Programming Library that I have not mentioned that might be good? Or should I just go with DX?

  4. #4
    noerrorsfound is offline x10 Elder noerrorsfound is an unknown quantity at this point
    Join Date
    Mar 2006
    Posts
    868

    Re: DirectX, OpenGL or SDL?

    Quote Originally Posted by Zdroyd View Post
    But yes I understand that OpenGL would be preferable if I wanted to go multiple OS, but the problem I have with multiple OS is that "there is no such thing as a Mac gamer" and Linux has not reached the Windows/Mac "height" yet...
    There are plenty of gamers using both platforms. Ubuntu, a very popular Linux distribution, is used by many gamers (gaming section of Ubuntu's forums).

    If you use cross-platform libraries from the start, it's no trouble for you to make the games for multiple platforms (the game can run anywhere those libraries can). You've got nothing to lose, and you gain more players, and also more money if you plan to sell what you make. Some types of games exist without a Linux/Mac "equivalent", so depending on what you're making, it could be just what people are looking for. Your game will certainly get more word-of-mouth if it's available for anyone not on Windows.

    Instead of using OpenGL directly, consider using a rendering engine such as Irrlicht or OGRE. You'll also need a sound library, possibly networking, etc. An advantage of choosing separate libraries is you can choose what you like the best, and the quality of them can be higher since they have only one purpose. If you choose to use a gaming engine that tries to do everything, it may lack in certain areas, or just be average in all of them due to not having a central focus on any aspect.

    Cube Engine 2 is a pretty nice engine but it's FPS focused since it's built for Sauerbraten. Since it's open source, you can do anything with it. A side scrolling game has been made with it, for instance. It's only limited by how much you do with its code. The networking is unique and lets even dial-up users play, which also increases the amount of players, since they don't have many other FPS games to play. The level format and the way levels are created is also unique, plus level editing is done in the game so it's much less complex than other games requiring an external editing program. The graphics are good, and the engine has modern features like bloom and bumpmapping, but that's not the focus of the engine/game. It has pre-built packages for Linux, Mac, and Windows, but it can be built for BSD as well.
    EOF

  5. #5
    fastidio is offline x10Hosting Member fastidio is an unknown quantity at this point
    Join Date
    Feb 2009
    Posts
    3

    Re: DirectX, OpenGL or SDL?

    Hi everybody

    For my little experience and knowledge, I suggest you the DX environment: it's powerful and easy-to-use (VisualStudio IDE is the best IDE I ever seen for games, web and progs) but you can develop only for Windows and Xbox 360.
    It seems a big limit but the biggest part of games are "running" on those platform; developing on PS3 is harder for example and expensive, as I heard.

    You should see the DX and the XNA framework.

  6. #6
    mephis's Avatar
    mephis is offline x10Hosting Member mephis is an unknown quantity at this point
    Join Date
    Aug 2008
    Location
    London, UK
    Posts
    39

    Re: DirectX, OpenGL or SDL?

    I would personally go for SDL.
    It's a graphics/sound/network API and it is cross-platform. Even if you're only planning on developing for windows (at the moment), if you ever decide to expand to other OS'es it would be easier to just recompile for the target systems than to change the code extensively.

+ Reply to Thread

Similar Threads

  1. Replies: 12
    Last Post: 09-26-2008, 02:44 PM
  2. Construct - Make Directx Games
    By pgames in forum Gamer's Lounge
    Replies: 0
    Last Post: 03-15-2008, 08:07 AM
  3. DirectX
    By gothcrow in forum Ayuda Web
    Replies: 3
    Last Post: 12-20-2007, 09:38 AM
  4. Help with OpenGL please
    By Sup3rkirby in forum Computers & Technology
    Replies: 8
    Last Post: 11-12-2007, 12:22 AM
  5. DirectX 10 war... ATI Vs nVidia
    By Finarfin in forum Crossfire
    Replies: 13
    Last Post: 08-24-2007, 10:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers