Opengl vs Direct X

gwarbot

Senior member
Nov 18, 2004
508
0
0
I think that overall direct is better than opengl. Direct has sharp crisp graphics.
I played doom 3 on windows It looked ok a little bit of lag, Then I playted doom 3 on linux no lag but everything seemed blurry.
So overall direct looks better, opengl performes better.

Heres more detail.

I played doom 3 on windows, I get some lag my framrate is probably 24-30 fps I don't know exactly.
When I played the game looked great everything crisp and clear, but laggy, still playable though.

It is said that direct is the supeior to opengl , I think thats only because it's windows whored not that there is anything wrong with that. Now to opengl great framerate, picture isnt as sharp crisp or clear as direct, But my framerate went up a load 40-50 fps But it still blurry thats when I say that direct is the optimal API i beleive that is the right term. If you computer isnt up to par then I would suggest opengl.
 

neutralizer

Lifer
Oct 4, 2001
11,552
1
0
Dude wrong forum.

But openGL does perform better atleast for my nvidia video card, but wider support for dx.
 

hans030390

Diamond Member
Feb 3, 2005
7,326
2
76
Direct X is better. It's updated more and all that. basically, i dont think any next gen games are using opengl...

i even think the Doom 3 developers said direct x was better

plus DX has Shader model 3, which i heart!
 

So

Lifer
Jul 2, 2001
25,923
17
81
Opengl all the way. I still :heart: OpenGL from the days when it rocked and Directx was still in it's horrible 3 and 4x ages.

DX9 is decent, but I still think that it's slower than openGL while not providing better image quality.
 

gwarbot

Senior member
Nov 18, 2004
508
0
0
Originally posted by: So
Opengl all the way. I still :heart: OpenGL from the days when it rocked and Directx was still in it's horrible 3 and 4x ages.

DX9 is decent, but I still think that it's slower than openGL while not providing better image quality.

Direct has wicked rad image quality, waht video card are you using
 

gwarbot

Senior member
Nov 18, 2004
508
0
0

OffTopic1

Golden Member
Feb 12, 2004
1,764
0
0
Originally posted by: So
Opengl all the way. I still :heart: OpenGL from the days when it rocked and Directx was still in it's horrible 3 and 4x ages.

DX9 is decent, but I still think that it's slower than openGL while not providing better image quality.
DX has gotten much better with time, however it is still behind OpenGL.

OpenGL vs. DirectX: A Comparison -- by: cprogramming.com 2004-05-30
 

Confused

Elite Member
Nov 13, 2000
14,166
0
0
Originally posted by: gwarbot
Originally posted by: Nik
Originally posted by: Schadenfroh
It all depends on the programmer, how skilled he/they are, and how much time they spend coding it. They both can do wonders, but the advantage to openGL is that it is a standard that can run on any platform, Macintosh, Windows, Linux, etc.

but in before NiK
http://forums.anandtech.com/categories.aspx?catid=33&flcache=3665620&entercat=y

Damn you... DAMN YOU ALL!

?" did i do something wrong?

Yes.

Post it in the VIDEO section of the forum, NOT Off Topic.
 

PricklyPete

Lifer
Sep 17, 2002
14,582
162
106
Um...it seems like most of you are basing your opinion of the API's based on how they perform in different games and different video cards...these are not what you should be judging on.

From a very high level point of view, the same exact rendered image (frame) can be created with either one...so saying which one does better based on a game is really pointless.

Soem video cards implement certain APIs well...and some implement other well...it really has little to do with the API an more to how the graphics card has been designed or the drivers written. One API may have more overhead for a given operation than the other...but I would say these differences are miniscule in compiled code.

A programmer perspective on which one is easier to program to produce certain results is more valid. From what little I have used of the two APIs, both are fairly easy to program for to do basic stuff at this point. My experience with more advanced programming techniques (advanced shaders, etc.) is very limited, so my opinion that DirectX is easier is somewhat baseless. I do think DirectX is the pioneering API at the moment. Video card features are either designed around it or introduced through it. Any additional support is written for Open GL eventually using either standard extensions (ARB) or video card brand specific extensions. That just seems to be less ideal...so if I was programming a game, I would target using DirectX as my renderer (which really is only a small part of the overall game development).
 

NikPreviousAcct

No Lifer
Aug 15, 2000
52,763
1
0
Originally posted by: gwarbot
Originally posted by: Nik
Originally posted by: Schadenfroh
It all depends on the programmer, how skilled he/they are, and how much time they spend coding it. They both can do wonders, but the advantage to openGL is that it is a standard that can run on any platform, Macintosh, Windows, Linux, etc.

but in before NiK
http://forums.anandtech.com/categories.aspx?catid=33&flcache=3665620&entercat=y

Damn you... DAMN YOU ALL!

?" did i do something wrong?

I'm typically the one to respond first with a clarification of which forum the topic belongs in, if it's posted in the wrong forum.

Off Topic is for topics that are not On Topic, which would be defined as not fitting into any *other* forums here on Anandtech first. :)
 

watdahel

Golden Member
Jun 22, 2001
1,662
12
81
www.youtube.com
I'm studying opengl right now. I took a class on it several semesters ago. I was gonna go straight to directx but then I was persuaded to learn opengl first.

Opengl is more widely available and crossplatform unlike DirectX which is restricted to Windows. I'd say both APIs are on par with each other. DirectX does have API for sound and inputs. Opengl is only graphics so you need to use other APIs for the sound and input.
 

Ameesh

Lifer
Apr 3, 2001
23,686
1
0
sometimes i read thread like these and i want to kill all of you idiots, i hate you stupid asses comparing sets of api's depending on their speed in some select games.

DX made the game industry happen. before it game developers would spend months and months of times tweaking drivers for every known piece of hardware to all people to play. DX abstratcted all that and let developers focus on building games.

Aside from the point above, DX allows developers to be much much more effective at making next gen games then open gl will ever be. MS works directly with the HW manufatcurs to enable cool features like pixel shading and such and gives these features to developers without a how learning curve