![]() |
| | #1 |
| Registered User Join Date: Oct 2008
Posts: 557
| OpenGL vs DirectX Myself, I only do OpenGL. This has mostly to do with the portability (the fact that I only code in Linux may have something to do with it ;-) and I really dislike Microsoft. While I've used DirectX many years ago, I think they're pretty much the same thing and technically, I have no idea what the upsides or downsides of both are. But like I said, for me, portability is most important. So I'll always stick to OpenGL ;-). So what do you guys think? |
| EVOEx is online now | |
| | #2 |
| Registered User Join Date: Feb 2009
Posts: 89
| I'm not at the level to actually program in either yet, but from an experience point of view of both platforms in terms of gaming OpenGL based games have always been better than directx as far as I'm concerned. It could be that there are more skilled OpenGL programmers rather than it being a better platform though. Until we get some input from OpenGL/directx gurus we won't know if that is true or not....
__________________ Any help I give may be classified as: Currently working through:The Blind leading the Blind... "C++ Primer Plus" |
| BuzzBuzz is offline | |
| | #3 |
| Registered User Join Date: Aug 2003
Posts: 782
| I think you need to search. Seriously, this has been debated, debated, flamed and then debated some more on these boards. These threads serves no purpose and IMO are completely useless since they all end up with pretty much the same conclusion. And to say OpenGL games are better is purely subjective, and holds no merit whatsoever. That together with the fact that the same game could be written using DirectX shows that neither is better than the other. This coming from a guy who programs OpenGL but I also realize that both have their uses and what you choose is more a matter of what you are familiar with and depends on each projects goal rather than a limitation within the API. |
| Shakti is offline | |
| | #4 |
| Super Moderator Join Date: Aug 2001
Posts: 7,812
| I say use what works for you. This is being moved to the GD forum.
__________________ If you aim at everything you will hit something but you won't know what it is. Last edited by Bubba; 04-11-2009 at 02:27 PM. |
| Bubba is offline | |
| | #5 | |
| critical genius Join Date: Jul 2008 Location: SE Queens
Posts: 5,166
| Quote:
| |
| MK27 is offline | |
| | #6 |
| Unregistered User Join Date: Jul 2007
Posts: 981
| Making another GL vs DX flamewar thread is worse than re-inventing the wheel. When it comes down to it - they both to the same things to the same hardware. One isn't "better" than the other. But I do like GL better because it's easier to impliment (I may be saying this simply cause I learned it before DX, though I'm not very expericenced with either), it's alot more compact (while DX needs a huge distro package, GL has a few small DLLs at most), and it's cross-platform. I honestly don't know why anyone still uses DX, I mean, you get the same stuff as with GL, only with alot more headache.
__________________ May the Source be with you. |
| Yarin is offline | |
| | #7 |
| Unregistered User Join Date: Jul 2007
Posts: 981
| Also, OpenGL and DirectX aren't comparable. DirectX does more than draw 3D, it has a lot of other game dev stuff. Direct3D is the target here.
__________________ May the Source be with you. |
| Yarin is offline | |
| | #8 |
| Hail to the king, baby. Join Date: Oct 2008 Location: Faroe Islands
Posts: 718
| Yarin, and I don't understand how anyone can program in OpenGL... I've been in such 'wars' so often, I'm getting tired of them, still I feel a need to join each one of them xP If you search on Wikipedia for DirectX vs. OpenGL, you'll see that it says clearly - DirectX is better for games while OpenGL is better for rendering like movies and such. Comparison of OpenGL and Direct3D - Wikipedia, the free encyclopedia Also, DirectX comes with a way wider range of documentation than OpenGL, I'm thinking mostly of the DirectX SDK now, but on google too... And DirectX gives you the .dds texture format, which is better than .tga... (Don't think .png is a texture format)... Ok, the texture format was maybe a bit too random xP But still. I believe this 'war' always comes down to personal preference...
__________________ Currently research OpenGL |
| Akkernight is offline | |
| | #9 | ||||
| critical genius Join Date: Jul 2008 Location: SE Queens
Posts: 5,166
| Quote:
Quote:
Quote:
Also, openGL has a great, very active programmer forum. LX Quote:
| ||||
| MK27 is offline | |
| | #10 |
| Hail to the king, baby. Join Date: Oct 2008 Location: Faroe Islands
Posts: 718
| I like Microsoft and their products ![]() Also, I remember it saying it kinda clearly, since I used it in another flame war recently... Maybe I can dig up the quote again... And MS only trying to get money and stuff is a made up lie! ESPECIALLY saying that DirectX 10 was only to get people's money since it did only work for Vista and now DirectX 11(?) for Win7, which is mostly the same... I believe it had something to do with DirectX 10 working with Vista's architecture, and not just to get peoples money... Still, this is just something I overheard from Elysia, not sure if I got it right... http://developer.download.nvidia.com...iggraph-06.pdf Nice resource showing some improvements for DirectX 10, got this of NVIDIA Developer Web Site - Tools, Presentations, Whitepapers
__________________ Currently research OpenGL |
| Akkernight is offline | |
| | #11 |
| critical genius Join Date: Jul 2008 Location: SE Queens
Posts: 5,166
| Better dig hard. I have not read the whole thing, but I've looked at it closely enough to say that it does not "clearly" espouse one over the other. It's a good article in that there is not much "editorializing". LX My point about MS is about vs. open source. I cannot believe that as a programmer, you would want to use an operating system for which you cannot access the source code, unless of course you are dedicated to making software for that OS, in which case I guess that makes sense. Microsoft is money grubbing. There is nothing wrong with making money with computers, but the proprietary model (which in essence means keeping code secret) is bad for users, is bad for programmers, is bad for security, and in fact the only reason to do so is because the "proprietors" believe this is the best way to secure their position as the money makers (maybe it is, but maybe it's not even good for that*, and the industry still clings to it well, just because!) LX That is money grubbing -- and they do not deny it, either. The video chipset manufacturers are even worse, and it certainly does not benefit their product (but because they all behave this way, "the best video card" is still bound to use proprietary drivers). Distributing executables without accessible source code will one day be considered ridiculous, and all the hardware + drivers that you think are so great today will be even better for it. LX *There are open source billionaires, I believe, eg at Google. Last edited by MK27; 04-15-2009 at 12:56 PM. |
| MK27 is offline | |
| | #12 | |
| Registered User Join Date: Jun 2008
Posts: 266
| I say OpenGL because I can't stand microsoft. I really can't see how anybody likes their products.
__________________ Quote:
| |
| lruc is offline | |
| | #13 |
| Registered User Join Date: Dec 2006 Location: Canada
Posts: 2,003
| Nothing wrong with Microsoft money-grubing. That's what businesses do, and Microsoft is a business. But denying that is stupid. |
| cyberfish is offline | |
| | #14 | |
| critical genius Join Date: Jul 2008 Location: SE Queens
Posts: 5,166
| Quote:
If I kidnapped your family because I could sell them, then got paid to cut your legs off, no one would deny that is a business, but few people would think there was "nothing wrong with it".I'm against regulating the industry, but the one law I would go for: No distributing executables unless the source code is public. In a slightly smarter universe, it would have been that way from the beginning. Last edited by MK27; 04-15-2009 at 01:27 PM. | |
| MK27 is offline | |
| | #15 |
| Registered User Join Date: Dec 2006 Location: Canada
Posts: 2,003
| Haha I see. What I meant is, there is nothing inherently wrong with "making money". |
| cyberfish is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Going from DirectX to OpenGL | Wraithan | Game Programming | 19 | 02-24-2006 11:07 AM |
| Allegro, OpenGL.. or even DirectX? | Zeusbwr | C++ Programming | 1 | 11-14-2004 08:16 AM |
| Which is better: OpenGL or DirectX | Stan100 | Game Programming | 2 | 05-09-2003 04:43 PM |
| OpenGL 2 or DirectX ? | alex6852 | A Brief History of Cprogramming.com | 9 | 01-02-2003 02:31 PM |
| So.. what's the difference between DirectX and OpenGL? | QuestionC | Game Programming | 6 | 01-19-2002 06:18 PM |