DirectX vs. OpenGL

This is a discussion on DirectX vs. OpenGL within the Game Programming forums, part of the General Programming Boards category; I've been messing around with game programming and gotten some very good books (on DirectX). I would like to hear ...

  1. #1
    Registered User
    Join Date
    Jul 2004
    Posts
    7

    DirectX vs. OpenGL

    I've been messing around with game programming and gotten some very good books (on DirectX). I would like to hear some opinions on what some of you guys think is better for developing games, directx or OpenGL, and why?

    you can also check out a DirectX Modeler I made using mfc at www.codeproject.com with the same handle I use here

  2. #2
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    I think this type of thread should be in the FAQ. We have had a million discussions on the topic.........

    just do a search.

  3. #3
    Registered User
    Join Date
    Aug 2004
    Posts
    6
    I think DirectX is better. I have heard that OpenGL will soon be obsolete.

  4. #4
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,802
    DirectX made fun of my mom. So I like openGL better even though i have never talked to him
    Try this http://cboard.cprogramming.com/searc...searchid=53832
    Woop?

  5. #5
    Registered User glUser3f's Avatar
    Join Date
    Aug 2003
    Posts
    345
    Quote Originally Posted by coolspot
    I think DirectX is better. I have heard that OpenGL will soon be obsolete.
    OpenGL 2.0 is out, with vertex and pixel shader support, Doom 3 uses OpenGL. FarCry, UT2K4, and many others have OpenGL renderers. So I guess OpenGL is far from being obsolete.

  6. #6
    ---
    Join Date
    May 2004
    Posts
    1,379
    Quote Originally Posted by coolspot
    I think DirectX is better. I have heard that OpenGL will soon be obsolete.
    that is the most thoughtless thing ive ever heard.

  7. #7
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    If I had a penny for every DirectX vs. OpenGL thread...

  8. #8
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    ....you'd be a rich man.

    Maybe we should start charging.....


  9. #9
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    Quote Originally Posted by Bubba
    ....you'd be a rich man.

    Maybe we should start charging.....

    now there's an idea. or maybe we could just run a script on every potential game board thread. If it has "DX vs OpenGL" in the title a large hilbillie women pops out and slaps the user in the face.... and the thread gets rejected.

  10. #10
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596


    Dunno...run it by the webmaster and see what happens.

  11. #11
    BMJ
    BMJ is offline
    Banal internet user BMJ's Avatar
    Join Date
    Aug 2002
    Location
    Chicagoland
    Posts
    1,380
    I've recently found out through personal experience that DirectX is a bit quicker with 2D stuff (via ddraw7 interface) than 2D drawing in OpenGL.

    Also...

    I'm really starting to love managed DirectX! It's great for RAD programmers, and IMHO newbies as well (considering you can initialize the entire D3D9 interface in one line). For the longest time DirectX was ugly as sin and not the best choice for top-notch graphics programming. But things have changed immensly with the latest generation of DirectX! I'm actually willing to recommend DirectX to beginners in graphics programming.

    Alas though... for hardcore 3D graphics programming... I'd still stick with OpenGL for now, especially if you're a really hardcore graphics programmer (although I've got my eye on DirectX 10).



    And lastly... so what if cprog gets a lot of these topics... it's not that often, and it lets people share any recent insights they may have on the matter.
    Last edited by BMJ; 08-14-2004 at 11:49 PM.

  12. #12
    1479
    Join Date
    Aug 2003
    Posts
    253
    Im going to go with OpenGL becuase I heard it is portable and DirectX isn't. I plan to make a big move to linux after I get a cable modem thats compatatble with linux.
    Knowledge is power and I want it all

    -0RealityFusion0-

  13. #13
    BMJ
    BMJ is offline
    Banal internet user BMJ's Avatar
    Join Date
    Aug 2002
    Location
    Chicagoland
    Posts
    1,380
    ... and of course there's that too.

  14. #14
    Registered User Draco's Avatar
    Join Date
    Apr 2002
    Posts
    463
    Basically the two are similar enough, and neither is even close to its death. At this point I would suggest learning some of opengl, to the same level that you know directx. Then you can move on to whichever you want, or if you want to live dangerously, try to master both .
    Last edited by Draco; 08-16-2004 at 01:41 AM.

  15. #15
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    DirectX isn't portable but then x86 has the market share when it comes to games so I don't think that portability to other platforms/OS's etc., is a major issue here.

    That would not be on my list of criteria in selecting between OpenGL/DirectX.

    Both can do hardcore graphics...both...not one or the other. Both can.

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Going from DirectX to OpenGL
    By Wraithan in forum Game Programming
    Replies: 19
    Last Post: 02-24-2006, 10:07 AM
  2. Allegro, OpenGL.. or even DirectX?
    By Zeusbwr in forum C++ Programming
    Replies: 1
    Last Post: 11-14-2004, 07:16 AM
  3. Which is better: OpenGL or DirectX
    By Stan100 in forum Game Programming
    Replies: 2
    Last Post: 05-09-2003, 04:43 PM
  4. OpenGL 2 or DirectX ?
    By alex6852 in forum A Brief History of Cprogramming.com
    Replies: 9
    Last Post: 01-02-2003, 01:31 PM
  5. So.. what's the difference between DirectX and OpenGL?
    By QuestionC in forum Game Programming
    Replies: 6
    Last Post: 01-19-2002, 05:18 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21