DirectX vrs. OpenGL - Witch one is better?

This is a discussion on DirectX vrs. OpenGL - Witch one is better? within the Windows Programming forums, part of the Platform Specific Boards category; DirectX vrs. OpenGL - Witch one is better? I know that unlike DirectX, OpenGL doesn't seem to cause the CPU ...

  1. #1
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342

    Thumbs up DirectX vrs. OpenGL - Witch one is better?

    DirectX vrs. OpenGL - Witch one is better?

    I know that unlike DirectX, OpenGL doesn't seem to cause the CPU to max out when running, I am program a little in OpenGL but am interested in DirectX. Which one is more powerfull, shoother, easier and just over all better? I have no idea!

  2. #2
    Slave MadCow257's Avatar
    Join Date
    Jan 2005
    Posts
    735
    more powerfull
    DirectX comes with alot more features

    easier
    OpenGL doesn't have many functions, so it is easy to learn and use. I found DirectX to be alot easier to learn then people make it out to be, and OpenGL to be harder then I would expect. Just a personal opinion though

    just over all better
    Many games use DirectX, while many non-games use OpenGL. So each one is better then the other at something.

    OpenGL doesn't seem to cause the CPU to max out when running
    That's not neccesarily a good thing

    So ya, I'm biased towards DirectX

  3. #3
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,246
    Neither is better. This is a stupid question that has been debated many times in the Game programming section. Anyone that says Direct3D is better than OpenGL or vice versa doesn't know what they are talking about. It it purely a matter of preference (unless you are targeting a platform other than Windows in which case OpenGL is your only choice).

    OpenGL doesn't seem to cause the CPU to max out when running
    Most games use the same format:
    Code:
    while(1) {
       RenderScene();
    }
    This is why the CPU gets maxed out, it has nothing to do with the graphics API.

  4. #4
    Disrupting the universe Mad_guy's Avatar
    Join Date
    Jun 2005
    Posts
    258
    This question is akin to something you'd hear at the start of a console wars topic.
    operating systems: mac os 10.6, debian 5.0, windows 7
    editor: back to emacs because it's more awesomer!!
    version control: git

    website: http://0xff.ath.cx/~as/

  5. #5
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,541
    This question is repeated far too often, and always with the same stalemate answer ....

  6. #6
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    Ookay...
    I guess that's that.

    >> This question is repeated far too often,

    You'r right I should have searched before posting.

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. The witch who stole english!
    By RoD in forum A Brief History of Cprogramming.com
    Replies: 21
    Last Post: 01-08-2003, 04:53 AM
  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