techPowerUp! Forums

Go Back   techPowerUp! Forums > Software > Games

Reply
 
Thread Tools
Old Jan 8, 2010, 03:43 PM   #1
Wrigleyvillain
3500 Posts
 
Wrigleyvillain's Avatar
 
Join Date: Oct 2007
Location: Chicago
Posts: 4,507 (2.20/day)
Thanks: 1,527
Thanked 1,579 Times in 1,122 Posts

System Specs

Why You Should Use OpenGL Instead Of DirectX

Quote:
On the other hand, if you use OpenGL, you get faster and more powerful graphics features than DirectX 11, and you get them on all versions of Windows, Mac and Linux, as well as the PS3, Wii, PSP, DS, and iPhone. You also get these features in the rapidly-developing WebGL standard, which may become the foundation for the next generation of browser games.
Source

This blog editorial makes some valid and interesting points though as a PC gamer I'm not sure I fully agree. Discuss.
Wrigleyvillain is offline  
Reply With Quote
The Following User Says Thank You to Wrigleyvillain For This Useful Post:
Old Jan 8, 2010, 03:46 PM   #2
DirectorC
Banned
 
Join Date: Nov 2009
Location: Florizy
Posts: 1,597 (1.23/day)
Thanks: 90
Thanked 269 Times in 248 Posts

System Specs

I agree with the article. It blows chunks having MS control any aspect of the gaming community. And the fact that Linux gaming never took off because of this. But gamers actually love it WTF.
DirectorC is offline  
Reply With Quote
Old Jan 8, 2010, 03:48 PM   #3
BraveSoul
500 Posts
 
BraveSoul's Avatar
 
Join Date: Jul 2008
Location: New York
Posts: 954 (0.54/day)
Thanks: 307
Thanked 166 Times in 144 Posts
Send a message via AIM to BraveSoul Send a message via Skype™ to BraveSoul

System Specs

but does openGL has has the eye candy of directX ?
BraveSoul is offline  
Reply With Quote
Old Jan 8, 2010, 03:54 PM   #4
DirectorC
Banned
 
Join Date: Nov 2009
Location: Florizy
Posts: 1,597 (1.23/day)
Thanks: 90
Thanked 269 Times in 248 Posts

System Specs

It's common knowledge that OpenGL has faster draw calls than DirectX (see NVIDIA presentations like this one if you don't want to take my word for it), and it has first access to new GPU features via vendor extensions. OpenGL gives you direct access to all new graphics features on all platforms, while DirectX only provides occasional snapshots of them on their newest versions of Windows. The tesselation technology that Microsoft is heavily promoting for DirectX 11 has been an OpenGL extension for three years. It has even been possible for years before that, using fast instancing and vertex-texture-fetch. I don't know what new technologies will be exposed in the next couple years, I know they will be available first in OpenGL.

Microsoft has worked hard on DirectX 10 and 11, and they're now about as fast as OpenGL, and support almost as many features. However, there's one big problem: they don't work on Windows XP! Half of PC gamers still use XP, so using DirectX 10 or 11 is not really a viable option. If you really care about having the best possible graphics, and delivering them to as many gamers as possible, there's no choice but OpenGL.
DirectorC is offline  
Reply With Quote
Old Jan 8, 2010, 03:56 PM   #5
Wrigleyvillain
3500 Posts
 
Wrigleyvillain's Avatar
 
Join Date: Oct 2007
Location: Chicago
Posts: 4,507 (2.20/day)
Thanks: 1,527
Thanked 1,579 Times in 1,122 Posts

System Specs

Quote:
Originally Posted by DirectorC View Post
It blows chunks having MS control any aspect of the gaming community.
Well that's certainly true. Even if they didn't manage to half-ass and screw it up while paying lip service to the contrary a la GFWL.
Wrigleyvillain is offline  
Reply With Quote
Old Jan 8, 2010, 04:19 PM   #6
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,583 (6.28/day)
Thanks: 1,755
Thanked 2,599 Times in 1,962 Posts

System Specs

I don't buy this. Even games like Spore and The Sims 3 that were also released for Mac run on DirectX on Windows and OpenGL on Mac. If DirectX truly didn't offer advantages, they would create it strictly for OpenGL and not bother at all with DirectX.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Jan 8, 2010, 04:28 PM   #7
3870x2
3500 Posts
 
3870x2's Avatar
 
Join Date: Feb 2008
Location: Joplin, Mo
Posts: 4,543 (2.37/day)
Thanks: 175
Thanked 691 Times in 557 Posts
Send a message via Skype™ to 3870x2

System Specs

Quote:
Originally Posted by FordGT90Concept View Post
I don't buy this. Even games like Spore and The Sims 3 that were also released for Mac run on DirectX on Windows and OpenGL on Mac. If DirectX truly didn't offer advantages, they would create it strictly for OpenGL and not bother at all with DirectX.
+1
My only guess on this is that OpenGL has a much reduced framerate on video cards, and is harder to program for. Mind you that is a guess, but an educated one, seeing as early versions of direct X were much faster than OpenGL years ago.

On games that would support both (and emulation for that matter) OpenGL was laggy, while Direct X ran absolutely smooth, at the same settings.

Also, OpenGL might have had support for tessellation-like possibilites, but it hasnt been used because without a good algorithm for computing tessellation, it would be so unplayable 2x5970s couldnt run it at over a frame per second. This is why it hasnt been used in OpenGL.
__________________
A+, N+, S+, MCSE.
Heatware
STEAM ID Name: furi0nst0rmrage (0s are zeros)
M O D E R N||W A R F A R E || 2 || CLUBHOUSE // TEAM
The amount exaltation of the processor cores can brings amazing floating” -sparkle
3870x2 is offline  
Reply With Quote
Old Jan 8, 2010, 05:37 PM   #8
DirectorC
Banned
 
Join Date: Nov 2009
Location: Florizy
Posts: 1,597 (1.23/day)
Thanks: 90
Thanked 269 Times in 248 Posts

System Specs

Quote:
Originally Posted by 3870x2 View Post
+1
My only guess on this is that OpenGL has a much reduced framerate on video cards, and is harder to program for. Mind you that is a guess, but an educated one, seeing as early versions of direct X were much faster than OpenGL years ago.

On games that would support both (and emulation for that matter) OpenGL was laggy, while Direct X ran absolutely smooth, at the same settings.

Also, OpenGL might have had support for tessellation-like possibilites, but it hasnt been used because without a good algorithm for computing tessellation, it would be so unplayable 2x5970s couldnt run it at over a frame per second. This is why it hasnt been used in OpenGL.
The stuff you just said is all covered and contradicted in the article. First they explain why DirectX became more popular, which disagrees with your statements. And they also state in the article that OpenGL has always been faster and DirectX has only recently caught up.

For some reason I believe the writer of the article over you...

Can OpenGL recover?

Back in 1997, the situation was similar to how it is now. Microsoft was running a massive marketing campaign for Direct3D, and soon everyone "just knew" that it was faster and better than OpenGL. This started to change when Chris Hecker published his open letter denouncing DirectX. Soon after that, John Carmack posted his famous OpenGL rant, and put his money where his mouth was by implementing all of Id Software's games in OpenGL, proving once and for all that DirectX was unnecessary for high-end 3D gaming.

This lesson appears to have been forgotten over the last few years. Most game developers have fallen under the spell of DirectX marketing, or into the whirlpool of vicious cycles and network advantages. It's time to throw off the veil of advertisements and buzzwords, and see what's really happening. If you use DirectX, you have to choose between using the weak, bloated DirectX 9 or sacrificing most of your user-base to use DirectX 10 or 11.

On the other hand, if you use OpenGL, you get faster and more powerful graphics features than DirectX 11, and you get them on all versions of Windows, Mac and Linux, as well as the PS3, Wii, PSP, DS, and iPhone. You also get these features in the rapidly-developing WebGL standard, which may become the foundation for the next generation of browser games.

If you're a game developer, all I ask is that you do the research and compare the figures, and decide if OpenGL is a better choice. Some programmers prefer the style of the DirectX 11 API to OpenGL, but you're going to be wrapping these low-level APIs in an abstraction layer anyway, so that shouldn't be a deciding factor. If there's anything about OpenGL that you don't like, then just ask the ARB to change it -- they exist to serve you!

If you're a gamer who uses Windows XP, Mac, or Linux, I hope you can see that DirectX only exists in order to keep new games from reaching your platform, and the only way you can fight back is to support games that use OpenGL.
DirectorC is offline  
Reply With Quote
Old Jan 8, 2010, 05:43 PM   #9
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,583 (6.28/day)
Thanks: 1,755
Thanked 2,599 Times in 1,962 Posts

System Specs

Quote:
Originally Posted by DirectorC View Post
And they also state in the article that OpenGL has always been faster and DirectX has only recently caught up.
I find that very hard to believe as well considering cards are engineered to run DirectX (hardware specifications) first and OpenGL (software specifications) second. The OGL marketed cards (Fire and Quadro) for a long time were just driver modifications to DX engineered cards (in many ways, still are today).

The article contradicts common sense and what we see in market usage (DX before OGL even though both are fully supported and OGL is required).


Also, DirectX does more than OpenGL (XInput, DirectSound, DirectCompute, etc.) which is a distinct advantage. OGL only competes with the Direct3D facet of the multifaceted DirectX API.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
The Following 3 Users Say Thank You to FordGT90Concept For This Useful Post:
Old Jan 8, 2010, 05:45 PM   #10
EastCoasthandle
Eligible for custom title
 
EastCoasthandle's Avatar
 
Join Date: Apr 2005
Posts: 6,244 (2.11/day)
Thanks: 382
Thanked 1,526 Times in 865 Posts

System Specs

One setback of OpenGL was video card support. Even today driver support from AMD is considered questionable at best. However, as of 2010 it's far better then it was (lets say) 2008.
EastCoasthandle is offline  
Reply With Quote
Old Jan 8, 2010, 05:46 PM   #11
sneekypeet
Unpaid Babysitter
 
sneekypeet's Avatar
 
Join Date: Apr 2006
Posts: 19,022 (7.32/day)
Thanks: 3,039
Thanked 5,488 Times in 3,951 Posts

System Specs

The source is a BLOG, one mans opinion. Who cares really.

All I know is my starwars titles were Open GL, and they looked like ass, just like the screens from all the other DX games at the time. If whats being said is true, shouldnt my StarWars have looked much better than the games of the day? They didnt!
__________________
Hers: ASUS Maximus V Gene / i7 3770K / Swiftech H220 / 4X8GB Corsair Dominators / ASUS GTX660 / Corsair AX-760 / Windows 7 64bit / Fractal Design ARC Midi R2

Test: Gigabyte Z68X-UD4-B3 / i7 2600K / A lot Of Coolers / Ripjaws Currently / HIS HD7950 IceQ Turbo / Silverstone SST-ST85F-G / Windows 7 64bit / InWin D-Frame Limited Edition
sneekypeet is online now  
Reply With Quote
Old Jan 8, 2010, 05:52 PM   #12
DirectorC
Banned
 
Join Date: Nov 2009
Location: Florizy
Posts: 1,597 (1.23/day)
Thanks: 90
Thanked 269 Times in 248 Posts

System Specs

Quote:
Originally Posted by sneekypeet View Post
The source is a BLOG, one mans opinion. Who cares really.

All I know is my starwars titles were Open GL, and they looked like ass, just like the screens from all the other DX games at the time. If whats being said is true, shouldnt my StarWars have looked much better than the games of the day? They didnt!
Well you have to take into account developer effort and hardware capabilities. Why would it look better just because its OpenGL if its the same developers and hardware?
DirectorC is offline  
Reply With Quote
Old Jan 8, 2010, 05:55 PM   #13
sneekypeet
Unpaid Babysitter
 
sneekypeet's Avatar
 
Join Date: Apr 2006
Posts: 19,022 (7.32/day)
Thanks: 3,039
Thanked 5,488 Times in 3,951 Posts

System Specs

my point exactly, if the writers and developers arent making strides to present a better game than who cares. Produce a game head to head, one of each, and let the public deside. As it sits there is no reason to fight for something end users have yet to see.

Sorry I dont pay money for "potential".
__________________
Hers: ASUS Maximus V Gene / i7 3770K / Swiftech H220 / 4X8GB Corsair Dominators / ASUS GTX660 / Corsair AX-760 / Windows 7 64bit / Fractal Design ARC Midi R2

Test: Gigabyte Z68X-UD4-B3 / i7 2600K / A lot Of Coolers / Ripjaws Currently / HIS HD7950 IceQ Turbo / Silverstone SST-ST85F-G / Windows 7 64bit / InWin D-Frame Limited Edition
sneekypeet is online now  
Reply With Quote
Old Jan 8, 2010, 05:56 PM   #14
erocker
Senior Moderator
 
erocker's Avatar
 
Join Date: Jul 2006
Location: Milwaukee, WI.
Posts: 31,958 (12.78/day)
Thanks: 2,793
Thanked 12,320 Times in 7,832 Posts

System Specs

The consumer has no control over what developers use as far as OpenGL or DirectX so really it doesn't matter. The game Prey is a great example of how good OpenGL can be.
erocker is offline  
Reply With Quote
Old Jan 8, 2010, 06:03 PM   #15
heky
500 Posts
 
heky's Avatar
 
Join Date: Sep 2009
Location: Slovenia, Europe
Posts: 873 (0.64/day)
Thanks: 888
Thanked 144 Times in 122 Posts
Send a message via MSN to heky

System Specs

All Quake titles were also OpenGL if a am not mistaking. correct me if i am wrong.
heky is offline  
Reply With Quote
Old Jan 8, 2010, 06:43 PM   #16
Scheich
200 Posts
 
Join Date: Dec 2005
Posts: 215 (0.08/day)
Thanks: 47
Thanked 19 Times in 18 Posts

System Specs

directx is just a marketing tool. i bet there are strong incentives for game developers to skip opengl alltogether.
platform independent means profit loss. now thats EVIL.

last time i checked (some years) opengl was alot faster than dx, unfortunately these days
its only one of them, so comparisons are not possible anymore.

does it really matter how fast the graphiccard is ? look at ati .. their 5770 offers only 20 fps
in stalker. thats an old game.

marketing .. makes you want to ms, ati, all of them
Scheich is offline  
Reply With Quote
Old Jan 8, 2010, 06:55 PM   #17
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,583 (6.28/day)
Thanks: 1,755
Thanked 2,599 Times in 1,962 Posts

System Specs

Quote:
Originally Posted by heky View Post
All Quake titles were also OpenGL if a am not mistaking. correct me if i am wrong.
Quake is DirectX but there was a "GL Quake" engine spawned off of it with an OpenGL core.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
The Following User Says Thank You to FordGT90Concept For This Useful Post:
Old Jan 8, 2010, 07:00 PM   #18
PP Mguire
Banned
 
Join Date: Aug 2008
Location: Venus, Texas
Posts: 2,272 (1.30/day)
Thanks: 276
Thanked 461 Times in 394 Posts
Send a message via AIM to PP Mguire Send a message via MSN to PP Mguire Send a message via Yahoo to PP Mguire

System Specs

For people defending DX think back to when we had not just 2 but 3 standards. Glide, OpenGL, and DX. Glide was the fastest thing available at the time and when 3dfx went away OpenGL was the better choice. Before DX became widely popular because M$ spouting it in every Windows thing they could put in OpenGL was the better source to render your games in. Any game i had a choice i would use the OpenGL render instead.

I believe the article from a past point of view knowing OpenGL was the better render but now since everybody and their gay cousin knows DX is very widely used and adopted and so support is much better. Not only that but since devs dont have to optimize their engine for two APIs framerates will definitely be better in DX.
PP Mguire is offline  
Reply With Quote
Old Jan 8, 2010, 07:00 PM   #19
Phxprovost
Xtreme Refugee
 
Phxprovost's Avatar
 
Join Date: Apr 2009
Location: Pennsylvania
Posts: 1,148 (0.76/day)
Thanks: 240
Thanked 264 Times in 190 Posts
Send a message via Skype™ to Phxprovost

System Specs

Last time i checked there was no royalties to pay for either one so it cost the devs nothing to use directx.. and if they are indeed getting special incentives for using it more power to them. The way i see it is if Direct X is going to keep the struggling pc gaming sector alive alittle longer im all for it. Though dont get me wrong all for open standards...but i would much rather have more games to play
__________________
“They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety.”
Phxprovost is offline  
Reply With Quote
Old Jan 8, 2010, 07:04 PM   #20
JC316
Knows what makes you tick
 
JC316's Avatar
 
Join Date: Jan 2006
Location: DFW/ Texas
Posts: 6,047 (2.26/day)
Thanks: 714
Thanked 912 Times in 696 Posts
Send a message via Yahoo to JC316

System Specs

Quote:
Originally Posted by PP Mguire View Post
For people defending DX think back to when we had not just 2 but 3 standards. Glide, OpenGL, and DX. Glide was the fastest thing available at the time and when 3dfx went away OpenGL was the better choice. Before DX became widely popular because M$ spouting it in every Windows thing they could put in OpenGL was the better source to render your games in. Any game i had a choice i would use the OpenGL render instead.

I believe the article from a past point of view knowing OpenGL was the better render but now since everybody and their gay cousin knows DX is very widely used and adopted and so support is much better. Not only that but since devs dont have to optimize their engine for two APIs framerates will definitely be better in DX.
+1.

Glide was the shit. Then for games like Half Life, Open GL whooped the living shit out of DX.
__________________
Core 2 Duo Overclocking guide
Athlon 64 overclocking guide
“If I were to do this, it'd be my luck that the door would rip off the hinges, burst into flames, and rape my face with fiery hot death.” -El Fiendo
JC316 is offline  
Reply With Quote
Old Jan 8, 2010, 07:10 PM   #21
DrPepper
The Doctor is in the house
 
DrPepper's Avatar
 
Join Date: Jan 2008
Location: Scotland (It rains alot)
Posts: 6,423 (3.28/day)
Thanks: 977
Thanked 828 Times in 667 Posts
Send a message via MSN to DrPepper Send a message via Skype™ to DrPepper

System Specs

I don't think we should be looking at the past to which was faster. Look at what's happening now and in the future for both API's. The past is irrelevant in this case.
DrPepper is offline  
Reply With Quote
The Following 3 Users Say Thank You to DrPepper For This Useful Post:
Old Jan 8, 2010, 10:45 PM   #22
JUDOHAWK
75 Posts
 
Join Date: Mar 2009
Posts: 171 (0.11/day)
Thanks: 6
Thanked 13 Times in 11 Posts

System Specs

I wish OpenGL was still a relevant API these days. If I could play my games in Linux I probably would, that would also mean most likely that Linux drivers would get even more support, especially if most games could be played in linux.

A big what if though.
JUDOHAWK is offline  
Reply With Quote
Old Jan 8, 2010, 10:54 PM   #23
Wrigleyvillain
3500 Posts
 
Wrigleyvillain's Avatar
 
Join Date: Oct 2007
Location: Chicago
Posts: 4,507 (2.20/day)
Thanks: 1,527
Thanked 1,579 Times in 1,122 Posts

System Specs

Reddit comments re. this blog post (where I found link):

http://www.reddit.com/r/gaming/comme...pengl_and_not/
Wrigleyvillain is offline  
Reply With Quote
Old Jan 8, 2010, 11:04 PM   #24
DRDNA
3500 Posts
 
DRDNA's Avatar
 
Join Date: Feb 2006
Location: New York
Posts: 4,122 (1.55/day)
Thanks: 612
Thanked 494 Times in 424 Posts

System Specs

I still bench openGL
__________________
Asus P6T Deluxe Intel X58/ i7-920CO@4.2GHZ 24/7 <> CORSAIR DOMINATOR 6GB (3 x 2GB) DDR3 1600.<> ThermalTake ToughPower 1200 WATT PSU
2X ATI Radeon HD 4870 X2 2GB DDR5 <> Asetek Liquid CPU Cooling System
320GBx4 Perpendicular RAID-0/BLU-RAY/HD-DVD Reader / DVD±R/±RW Writer
LG 50" 50PK550 1080p 600Hz Plasma/WestingHouse 37 inch @1920X1080/Windows 7 Pro/64
DRDNA is offline  
Reply With Quote
Old Jan 8, 2010, 11:09 PM   #25
TheCrow
200 Posts
 
TheCrow's Avatar
 
Join Date: Mar 2007
Location: Lincoln, UK
Posts: 331 (0.15/day)
Thanks: 8
Thanked 56 Times in 43 Posts
Send a message via MSN to TheCrow

System Specs

I used to love how smooth games were when using opengl on the old voodoo cards.
__________________
TheCrow is offline  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why DirectX 11 will save the video card industry and why you don't care shevanel Graphics Cards 14 Dec 3, 2009 11:38 PM


All times are GMT. The time now is 03:06 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
no new posts