PDA

View Full Version : opengl or direct3d?



ocioso
11-19-2001, 02:41 PM
Anybody knows where can i find some good articles about that?. i want to read a good comparison.
thanks

Death_Claw
11-19-2001, 03:11 PM
what for ? generaly nobody even cares about such comparisions, if you asked me i would use opengl (more portable) and diertx for other stuff (like keyboard, joystick,sound etc)

Shag
11-19-2001, 03:55 PM
check out the forums on www.gamedev.net (http://www.gamedev.net) - this question is raised all the time! But you may be disappointed with the answer. It depends on what you prefer - neither of them are better than the other!

iNsaNEiVaN
11-19-2001, 04:45 PM
the limits of Direct3d and Opengl are your programming experience and effort. Its possible to do anything with them.

Questions Burner
11-20-2001, 03:35 AM
I think OpenGL is the way to go. I've read articles on it, and many programmers hate Direct3D. Besides, resources on OpenGL is more than in Direct3D.

vladxky
11-20-2001, 05:17 AM
Take into account that recent DirectX cannot be run on Windows 95 and Windows NT 4.0!!! But OpenGL is available on all Windows.

see http://msdn.microsoft.com/downloads/defa....xml&frame=true (http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/MSDN-FILES/027/001/771/msdncompositedoc.xml&frame=true)
===========================================
Microsoft DirectX 8.1 Software Development Kit

....
Important notes:

Requires Microsoft® Windows® 98, Windows Me, Windows 2000 or Windows XP

Does not support either Windows® 95 or Windows NT 4.0
============================

djbuzzkill
11-20-2001, 11:48 PM
I started using DirectX and have stuck with it. But recently Ive been playing around with OpenGL and it makes it easier to get started with. Unless you already know Windows, you are going to have to learn a little about that as well. Its seems that the differences are trivial once you start coding for large projects. If I started with OpenGL, I would have stuck with that as well.



Originally posted by ocioso:
Anybody knows where can i find some good articles about that?. i want to read a good comparison.
thanks

11-21-2001, 03:28 AM
I was going to do a critical analysis of OpenGL and Direct3D as tools for learning 3D graphics for my final year project.

The only problem was that DirectX SDK 7 and 8 wouldn't install on Win98 Win2000 or WinNT4. You've got to hand it to the guys at Microsoft.

SGI can come up with an API that can run on just about anything, while Microsoft struggle to get their API to run on what it was designed for.

From what I've tried of it and heard about it, DirectX is a twisted and bitter API and is mostly only used by twisted and bitter individuals.

Good l*ck to all those X-Box programmers. You'll need it.

Kaycee
11-21-2001, 10:23 AM
Here is a link you might be interested in. http://www.azillionmonkeys.com/windoze/OpenGLvsDirect3D.html
And check out Chris Hecker's web page at http://www.d6.com/users/checker/#opengl

Keep in mind these are very old articles.

But really, if you do a comparison between D3D and OGL I think you will find that they are very similar in terms of functionality and performance. They both do the same stuff in the core language. OGL has an edge with extensions so you can get access to the new hardware functionality right away. But many think this is the problem with OGL and that OGL needs a full time owner to update it quicker.

Personally, I like OGL because I think the code is more readable and because it is portable. I like the extensions too. But I wouldn't go so far as to say that DX people are bitter people. DX is used by many companies in the game industry including the big companies like Blizzard, Verant, Interplay and Bioware. Halo is programmed using DX also, and so is No One Lives Forever and just about any Lithtec game.

BTW I think Xbox will have OGL support on it very soon if it already doesn't. It should be easy to implement.

Nutty
11-21-2001, 02:21 PM
[CHILDISH FLAMEWAR MODE]
Just to be devils advocate...

I read alot of criticism about the Lithtech engine, so it doesn't mean DX is good. Often relating to performance issues..

Look at the number of games spawned from the Q2, and Q3 engines, all in gl.. http://www.opengl.org/discussion_boards/ubb/smile.gif

2 more words.. "Doom 3" ! http://www.opengl.org/discussion_boards/ubb/smile.gif

[/CHILDISH FLAMEWAR MODE]

Nutty

Inocencio
11-22-2001, 08:37 AM
Yeah!! OpenGL is easest than DirectX, and is more portable too. Cause direcxt is a micro$oft tecnology and don't have support to others plataforms. I recomend that you try to read some introduced tutorials under internet to choise a better one!

Rob The Bloke
11-22-2001, 10:28 AM
DirectX8 and openGL are pretty much the same. DirectX is very different when you use it, some things people may say are long winded and a waste of time, but its just different. OpenGL is fairly easy to understand, and quite an elegant language, but saying its better than directX is a little bit ott.

The openGL engines produced by carmack are very good, but that is due to the skill and experiance of those who programmed it, not due to its openGL usage. The fact that you can name some examples of bad directX engines hasn't really got much to do with DirectX. Nutty - 4 words, Dead or Alive 3. All DX, very nice.

I often hear that openGL is better cos its portable. In my experiance, there's as much hassle porting an openGL app to another platform as there is converting an openGL app to use D3D. When porting stuff you still have to change over the platform specific stuff and usually alter chunks of your openGL code to utilise extensions for different cards etc.

LeQoq
11-23-2001, 03:56 AM
ok, OGL is really portable (e.g. Linux,indeed there are not really good games, so i know) and it's easy to understand.
but it's a dying tech. for example (that is what i konw) wickedgl is used to "translate" OGL to DX commands. and nearly all available G-cards use DX, and OGL, but only for compatibility.

Kaycee
11-23-2001, 11:24 AM
Originally posted by LeQoq:
ok, OGL is really portable (e.g. Linux,indeed there are not really good games, so i know) and it's easy to understand.
but it's a dying tech. for example (that is what i konw) wickedgl is used to "translate" OGL to DX commands. and nearly all available G-cards use DX, and OGL, but only for compatibility.

Now hold on there a minute. OpenGL dying? I highly doubt that. If it does die it would take something more than D3D to kill it. Not everyone uses Wintel machines, and there are plenty of people out there who use OpenGL. If nothing else, OpenGL will always have its niche, but right now I would say its very popular and that it looks to stay that way.

BTW WickedGL is only for 3dfx Voodoo cards. And if I remember correctly it is an OpenGL mini-client driver that converts OpenGL to Glide. Not to D3D.

Also whenever hardware vendors create a new feature, like Nvidia with their T&L stuff, OpenGL supports it first. With DX you have to wait for the next update. So OpenGL still has an edge over DX.