#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2006
    Posts
    7
    Rep Power
    0

    DirextX or OpenGL


    Hi,

    I am new to game programming.

    I want to develop games using Visual C++ Express, Visual C#
    Express or DevShed C++ programming languages.

    Which is the best choice for me? DirectX or OpenGL?

    Thanks.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2006
    Location
    Finland
    Posts
    260
    Rep Power
    21
    DirectX vs. OpenGL
    Direct3D vs. OpenGL

    Try read some of these, hope it gives some answers
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2006
    Posts
    7
    Rep Power
    0
    Thank you very much for your kind help!
  6. #4
  7. Daddy War Bucks
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2004
    Posts
    178
    Rep Power
    11
    Personaly I like OpenGL
  8. #5
  9. No Profile Picture
    what do I know about diamonds?
    Devshed Novice (500 - 999 posts)

    Join Date
    Jul 2003
    Location
    ON, Canada
    Posts
    950
    Rep Power
    174
    Originally Posted by Prime
    Personaly I like OpenGL
    i can agree with you on this one. OpenGL is much more platform indendant, open source, and its NOT a MS product, what more can you ask for?

  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jul 2006
    Posts
    2,270
    Rep Power
    1736
    Let's stop now, before we get into a DX vs OpenGL bash. DirectX people, don't defend yourselves.

    There's plenty of material on the web discussing the technical aspects of both, as well as countless forum posts bashing either side. Don't add to it.
  12. #7
  13. No Profile Picture
    Avid lithomancer
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2006
    Location
    Croatia
    Posts
    271
    Rep Power
    43
    On graphical part, they are almost same. Have you ever noticed any change in some game (that supports both OpenGL and DX) any changes after you change the mode from OpenGL to DX (and vice versa)?
    But DirectX has support for audio, controllers, gaming systems, etc.
    If you're using OpenGL, you must manually download other open source libs, such as OpenAL.

    Try 'em both. See which one suits you programming style.

    I am new to game programming.

    I want to develop games using Visual C++ Express, Visual C#
    Express or DevShed C++ programming languages.
    It seems to me that you're also new to programming. Those are IDEs (Integrated development environment), not languages.
  14. #8
  15. Advanced Programmer
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2004
    Location
    Malaysia
    Posts
    452
    Rep Power
    41
    Personally , I prefer OpenGL because of the simplicity in the function calls. I dislike the COM approach in DirectX. But thats my personal preferences. I have written applications which support both DirectGraphics and OpenGL and in my opinion, if properly coded, both systems produce the same quality rendering with the same performance.

    I normally use DirectX for DirectInput and DirectSound, and OpenGL for rendering.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."
    - Kristin Wilson, Nintendo, Inc., 1989.
  16. #9
  17. Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Jun 2004
    Location
    Switzerland
    Posts
    1,152
    Rep Power
    1902
    I would go with OpenGL. For one thing i'm an Anti-MS fanboy. But i also know quite a few people that use linux for everything possible and would love to see more games there (mainstream games like quake and ut). The chances of that happening are much higher with OpenGL than with DirectX.
    - Hugh of Borg

    The first thing young borg are taught: Keep away from Microsoft software!

IMN logo majestic logo threadwatch logo seochat tools logo