The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Have you noticed OpenGL performance is much better than D3D?

    Discussion in 'Gaming (Software and Graphics Cards)' started by Dragonpet, Jan 22, 2008.

  1. Dragonpet

    Dragonpet Notebook Evangelist

    Reputations:
    14
    Messages:
    454
    Likes Received:
    0
    Trophy Points:
    30
    Does anyone else noticed that OpenGL performance is much better than DirectX performances! For example, in CS 1.6 which is an awfully outdated game runs great in OpenGL mode (150+), but drops to 20-30 FPS during gunfight in D3D. Quake 4 an OpenGL graphic games, allow me to push everything to max with Ultra set as quality, no AA @1280 x 1024; I was able to pump out 30-60 FPS depends on which area it was. The game looks amazing, full of details and looks like it just got release last year (it was released in 2005). Also the game itself has no visible jaggies so AA was not required at all, and at Ultra setting the game automatically enables 8x AF.

    Why doesn't more developer use OpenGL standard? I would imagine games in OpenGL runs much better on my system than DirectX can. Too bad not many games are in OpenGL, any other games besides the two I mention uses OpenGL?
     
  2. metaldeath

    metaldeath Notebook Consultant

    Reputations:
    14
    Messages:
    224
    Likes Received:
    0
    Trophy Points:
    30
    Prey it's good game based on OpenGL
     
  3. notyou

    notyou Notebook Deity

    Reputations:
    652
    Messages:
    1,562
    Likes Received:
    0
    Trophy Points:
    55
    I have noticed that OGL usually runs faster but the reason people don't code it is DX is the standard for programming (majority), so it would take something major that OGL could do that DX can't to help persuade people to code games using OGL.
     
  4. procxi

    procxi Notebook Geek

    Reputations:
    4
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    15
    DirectX has many advance features compared to OpenGL, so, DirectX tend to be little bulkier than OpenGL. a game which is optimized to run on both systems may run faster in OpenGL.
     
  5. MegaBUD

    MegaBUD Notebook Evangelist

    Reputations:
    45
    Messages:
    670
    Likes Received:
    3
    Trophy Points:
    31
    DX game look nicer... and if a game look nice it sells better even if it have a crappy gameplay
     
  6. StormEffect

    StormEffect Lazer. *pew pew*

    Reputations:
    613
    Messages:
    2,278
    Likes Received:
    0
    Trophy Points:
    55
    OpenGL will take awhile to become popular, primarily because very few established developers have support for it in their games. Games off the top of my head that work with OpenGL (I think) are Blizzard games (Starcraft, Warcraft III, World of Warcraft), ID games (DOOM3, Wolfenstein), and EPIC games (Unreal III). Some older Valve games, like the original HL series also supported OpenGL.

    The specs for the next version of OpenGL rival those of DX10 in my opinion, and it would be spectacular for support to increase now that the capabilities of OpenGL are being fleshed out.

    For right now, Microsoft has a strangehold on game graphics with the DirectX API. It is more centralized and has easier to get at documentation, in my experience, than OpenGL.

    But hey, things are changing! If major support for OpenGL comes about, we could all start using Linux instead of Windows (or even Mac)! Freedom of choice rules!
     
  7. eleron911

    eleron911 HighSpeedFreak

    Reputations:
    3,886
    Messages:
    11,104
    Likes Received:
    7
    Trophy Points:
    456
    Haven`t noticed it.
    Quake 4 , Doom 3 and Prey are all built on the same Doom 3 engine, although prey is a tad more demanding. So performance would be similar in these games...
     
  8. HTWingNut

    HTWingNut Potato

    Reputations:
    21,580
    Messages:
    35,370
    Likes Received:
    9,878
    Trophy Points:
    931
    Advantage is that OpenGL will work in Linux based OS's as well.
     
  9. lunateck

    lunateck Bananaed

    Reputations:
    527
    Messages:
    2,654
    Likes Received:
    0
    Trophy Points:
    55
    Actually, a model can be rendered much better in OpenGL than in DirectX. Like some of the above mention, DirectX continued because it was a easier language than OpenGL, and not to mention Microsoft monopoly as well.
    Linux games are all in OpenGL (since cant be distributed there unless thru emulation software)
    For industries, they have already chosen their side, OpenGL.
     
  10. notyou

    notyou Notebook Deity

    Reputations:
    652
    Messages:
    1,562
    Likes Received:
    0
    Trophy Points:
    55
    QFT! Why do you think the design industry uses OGL? It simply looks and performs better.
     
  11. Jalf

    Jalf Comrade Santa

    Reputations:
    2,883
    Messages:
    3,468
    Likes Received:
    0
    Trophy Points:
    105
    You can't really compare the speed of the two, and no, OpenGL does not look or perform better.

    There are a few things they do differently, some of which make it hard to get optimal performance out of Direct3D, and others making it hard to get optimal performance from OpenGL. You have to jump through a fair number of hoops with either one to avoid the big bottlenecks.
    And visually? No big difference. If anything, D3D has an edge there because OpenGL relies on a bunch of independent extensions that don't always work well together. (The MSAA extension doesn't take all other extensions into account, so antialiasing is unavailable in a lot of places where there's no technical reason for it. It's just that when the MSAA extensions was written, it could only target other extensions that existed at the time)

    But generally, you can achieve the same visuals with both.
    You can usually achieve roughly the same performance with both too.
    Your "comparisons" are flawed by their nature because they compare different code which does different things. Mostly because you're comparing different games, but also because OpenGL and D3D work differently and require different techniques to get good performance, so even if the game was the same, you'd still be comparing apples and oranges.

    If you took a game that was written for D3D and just did the minimal amount of work necessary to switch to OpenGL, it'd run like crap, and vice versa.
    On the other hand, if you do a complete conversion, changing the entire rendering engine, any comparison because invalid because the code suddenly does something completely different.

    If OpenGL games look better, it's because id software is just about the only company still making OpenGL games these days, and those guys are pretty skilled at making advanced graphics.
    If they switched to D3D, they'd produce D3D games that looked just as good. Not because D3D magically became better, just like OGL isn't better now, but because the developers in question are very good at what they do.

    Because 1: They need something that works outside Windows, 2: They rely on software that predate DirectX and so uses OpenGL for legacy reasons, and to a much lesser extent, 3: because OpenGL contains quite a few bits that are completely useless in games, but are useful for high-end non-realtime applications.

    There you have it. Not because it "looks and performs better".

    Here's a little question for you. If OpenGL was truly better, don't you think games would use it?
    Why is it that 95% of all PC games use D3D exclusively? Could it, perhaps, be because it looks and performs the same? (at least within a few percent, and given the fact that it's impossible to make accurate comparisons)

    Both DirectX and OpenGL has their shortcomings.
    But right now, when it comes to games, DirectX is the de facto standard for a reason. OpenGL is really creaking at the seams at the moment. Hopefully the new version that is long overdue now will bring it up to speed again, but for now? Direct3D is just a better choice for Windows games, no matter how you look at it.
    (The exceptions are if you already have a large codebase that uses OpenGL, it's obviously cheaper and more efficient to update that, than to throw it away and start over with DX. Or if you need cross-platform support, you might be better off with OpenGL as well)
     
  12. lunateck

    lunateck Bananaed

    Reputations:
    527
    Messages:
    2,654
    Likes Received:
    0
    Trophy Points:
    55
    If you compare OGL when the first DX came out. OGL was the superior graphic render. It was then decided by CAD industry that it would be better to have OGL than DX. So it just destroyed your not because it looks and performs better line because it did looks and performs better than DX at that time. Except for that sentence, i agree with the others.
     
  13. morphy

    morphy Notebook Deity

    Reputations:
    587
    Messages:
    911
    Likes Received:
    0
    Trophy Points:
    30
    'At that time' is eons ago. Since then DirectX has been updated numerous times and improved upon. I think it was when DirectX was at 8.1, it started to surpass OGL. Compared to the rate DirectX is advancing, OGL seems to move at snails pace.
     
  14. lunateck

    lunateck Bananaed

    Reputations:
    527
    Messages:
    2,654
    Likes Received:
    0
    Trophy Points:
    55
    We are comparing why the industry took OGL instead of DX. That's why i used past tense. I hold my word of it did look and perform better than DX at that time.

    So we come to the present tense, i admit that DX is superior.
     
  15. Dragonpet

    Dragonpet Notebook Evangelist

    Reputations:
    14
    Messages:
    454
    Likes Received:
    0
    Trophy Points:
    30
    Some interesting replies, and as always Jalf is the one to provide some "more insightful" information on the subject. I really learn alot just by reading jalf's replies around the forum. xD

    and, I may go out and get prey then, according to ign it's got a good review.
     
  16. Bog

    Bog Losing it...

    Reputations:
    4,018
    Messages:
    6,046
    Likes Received:
    7
    Trophy Points:
    206
    Technical reasons aside, DX also happens to be backed by a supercorporation.
     
  17. jcovelli

    jcovelli Notebook Deity

    Reputations:
    75
    Messages:
    707
    Likes Received:
    0
    Trophy Points:
    30
    openGL is superior in every way. it DOES perform better and it DOES render much better images. The code is more basic and breaks components down to computer code much more efficiently. There is a reason why very high end rendering and CAD programs .. a lot of which i have.. Maya, Flamingo, 3dsmax, Rhino, Solidworks, Maxsurf, and such.. use openGL. (pretty much all these programs are ONLY available for windows)

    THE ONLY REASON DX IS STILL AROUND IS BECAUSE 99% of computer games are played on WINDOWS... AKA MICROSOFT.. THEY CREATED DX

    you can really just go the to openGL site and look at it's specs for yourself.. much better than any dx