DirectX vs OpenGL

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.

Who's the best?

Poll ended at Sun May 01, 2005 1:41 pm

DirectX
14
45%
OpenGL
17
55%
 
Total votes: 31

Nemesis
Posts: 65
Joined: Sun Mar 20, 2005 12:45 pm

DirectX vs OpenGL

Post by Nemesis »

What's the best renderer for you? Now that's the DirectX Devpak(for Dev C++) is gone, I start to think why someone tell this is the best renderer DirectX,for speed, better quality, etc... But it's that real? Post your opinion about this :) !
S.T.A.R.S.! (Resident Evil 3)
bal
Posts: 829
Joined: Fri Jun 18, 2004 5:19 pm
Location: Geluwe, Belgium

Post by bal »

In theory they can do almost the same stuff (although I haven't seen an OpenGL demo like the HDR demo on http://www.daionet.gr.jp/~masa/rthdribl/). But I mostly use the OpenGL renderer for its cross-platformness :).
General Tools List
General FAQ
System: AMD Barton 2600+, 512MB, 9600XT 256MB, WinXP + FC3
etcaptor
Posts: 871
Joined: Fri Apr 09, 2004 10:32 pm
Location: Valhalla
Contact:

Post by etcaptor »

Microsoft brings only problems. Even DirectX is part of their insolence. I've occurs problems with almost all of their products.
But when I use Irrlicht with DirectX I got more high fps, via OpenGl, when dynamic lights and fog are used :cry:
So, I cannot vote my choice at this time. I can only wait for any OpenGL Irrlicht optimizations or will take a look on similar patches in NX.
ImageImage
Site development -Rock and metal online
--- etcaptor.com ------freenetlife.com
Fraza
Posts: 113
Joined: Sat Feb 26, 2005 11:28 am
Location: Leeds

Post by Fraza »

Microsoft is VERY good, it's problems are greatly exagerated. I asked my friends, 'and what did you do before it crashed?' and they usually tell me of some silly thing they did. DirectX is in my opinion much better than OpenGL for it's quality and speed. All the proffesional teams use it aswell which must tell you something! Surely, when you get errors from DirectX it is becuase you aren't using DirectX properly (just a thought really...)?

And remember, there's no such thing as a bug free program!
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

what I like of opengl is that it offers true cross-plattform compatibility so you can easily create stuff on any OS. I see DX more focused on Xbox game development.

In the end they offer similar possibilities; I think it has more to do with your target market or end user you got in mind to develop for.
mohaps
Posts: 248
Joined: Tue Jun 08, 2004 1:54 pm
Location: Shrewsbury MA
Contact:

Post by mohaps »

hey one note...

what about the matrix (row major and column major)

if you write a common rendering API then which ever order you chose to present the matrices in your API (DirectX style or OpenGL style) would not the other API suffer a performance hit.. cause you gotta transpose the matrices every time???
---
Saurav Mohapatra
author, artist and bona fide geek

web: http://www.mohaps.com
email: mohaps AT gmail DOT com
etcaptor
Posts: 871
Joined: Fri Apr 09, 2004 10:32 pm
Location: Valhalla
Contact:

Post by etcaptor »

Fraza wrote: Surely, when you get errors from DirectX it is becuase you aren't using DirectX properly (just a thought really...)?
:D Surely, when I only install next release of DX runtime for gaming and my ATI TV tunner stop working... Maybe drivers problem? - No It's directX problem, because I use the same driver with latest DX release. And there are not official way for deinstaling of this version of directX. True??? :wink: All software can be uninstalled, but Microsoft don't likes this. And you must reinstall windows.
This is only one example.
Most of Microsoft products claims that they are a part from OS!!!

Second I'm not sure that DirectX quality is better than OpenGL. On my PC this is contrariwise.

But every technology has own strong and weak sides. Yes, Microsoft are "good" but also insolent. And this is the base of most problems by me.

And BTW XP not suport OpenGL for my ATI card :D - only DirectX.
ImageImage
Site development -Rock and metal online
--- etcaptor.com ------freenetlife.com
eXodus
Posts: 320
Joined: Tue Jan 04, 2005 10:07 am
Location: Canada
Contact:

Post by eXodus »

etcaptor wrote:Most of Microsoft products claims that they are a part from OS!!!
...
Yes, Microsoft are "good" but also insolent. And this is the base of most problems by me.
...
And BTW XP not suport OpenGL for my ATI card :D - only DirectX.
I don't get it. Why do people keep crying about what Microsoft do with their own products? If you're not happy with their policies, switch to Linux and OpenGL. You have the choice so live with it.
Joe_Oliveri
Posts: 448
Joined: Tue Oct 05, 2004 3:24 am
Location: Boston, MA

Post by Joe_Oliveri »

Well now that I am faced with the choice I will have to say DirectX I will be making the switch from Dev-C++ to visual studio ASAP. DirectX is far more superior to OpenGL.
Irrlicht Moderator || Game Designer
Learn the basics at </dream.in.code>
etcaptor
Posts: 871
Joined: Fri Apr 09, 2004 10:32 pm
Location: Valhalla
Contact:

Post by etcaptor »

I don't get it. Why do people keep crying about what Microsoft do with their own products? If you're not happy with their policies, switch to Linux and OpenGL. You have the choice so live with it.
Yes, I gonna getting a divorce with MS :) And got a some practice with linux. Well, I have been spend money for MS products and so, cannot be indifferent to some advances in their policies.
Last edited by etcaptor on Sat Apr 02, 2005 1:33 am, edited 1 time in total.
ImageImage
Site development -Rock and metal online
--- etcaptor.com ------freenetlife.com
Guest

Post by Guest »

Taking from what I have seen of both DirectX and Opengl through Irrlicht. I don't really see much difference. The only problem I have found so far is when I play an AVI file in DirectX mode I get 400fps while in Opengl I get only 35fps but it does not seem to impact anything of importance.
Nemesis
Posts: 65
Joined: Sun Mar 20, 2005 12:45 pm

Post by Nemesis »

Thank for reply guys :) ! I'm glad to read all these opinions :) ! But one thing: the restrictions to use direct X with Microsoft programs, don't are maked for force the use of their products? Maybe I'm wrong, but this story is a knife into the heart to Open Source Community... :(
S.T.A.R.S.! (Resident Evil 3)
Electron
Posts: 874
Joined: Sun Mar 14, 2004 12:05 am
Location: Massachusetts USA

Post by Electron »

Fraza wrote:DirectX is in my opinion much better than OpenGL for it's quality and speed. All the proffesional teams use it aswell which must tell you something!
All the proffessional teams? What did the Quake3 renderer use? What did the Doom3 renderer use? If Id is fine with OGL I think we can rest assured that DirectX is no better for graphics. Which one is better much depends on your graphics card and drivers, also on how the engine internals are written. DX9 has many features not available in OGL 1.1 (latest windows headers and libraries AFAIK) Other OpenGL features are available via extensions. AFAIK, DX doesn't have an extension mechanism.
Which you prefer much depends on your mindset. IMHO, Microsoft is good, but they assume that everyone will want to do things their way. OGL is straigt C, so you're not constrained to using any of their classes. It's much more minimalist than DX, which can be good or bad, depending on what you prefer. Another thing I have against DX, strictly personal, is that all the examples I ever see use that horrible hungarian notation I hate so much. But again, it's all a matter of preference.

It's the actual support in the drivers and on the gfx chip that determines which one has better quality/speed, I believe.
You do a lot of programming? Really? I try to get some in, but the debugging keeps me pretty busy.

Crucible of Stars
Nemesis
Posts: 65
Joined: Sun Mar 20, 2005 12:45 pm

Post by Nemesis »

I don't know exactly, but OpenGL is too slow or simply slow at rendering times respect DirectX.For making my games I need that reply because I don't want loading and quality times are too bad.
Also,another problem is: the portability. In fact, I've heard that OpenGL is best for PC with differents operating systems, and DirectX for consoles(XBox :?: ).Is that true?
See ya next time!


P.S.:Ehh? What's "hungarian notation " of DirX? :shock:
S.T.A.R.S.! (Resident Evil 3)
eXodus
Posts: 320
Joined: Tue Jan 04, 2005 10:07 am
Location: Canada
Contact:

Post by eXodus »

Post Reply