|
|
| Page 2 of 2 |
Werelds
Special Little Man
Posts: 15098
Location: 0100111001001100
|
Posted: Tue, 7th Aug 2012 00:31 Post subject: |
|
 |
| BearishSun wrote: | | And regarding consoles: They don't use DirectX or OpenGL. The reason those two exist is so they can provide an abstraction on top of all the different drivers. Consoles offer direct hardware access and have no need for such things. This is also why most ports end up crap, as the PC OS/driver CPU overhead becomes too great, and the rendering thread becomes the bottleneck. Which is hard to fix as it requires the developer to re-organize all of the art assets to use the pipeline more efficiently. |
This is not 100% true. The PS3 API is OpenGL ES 1.1 with some 2.0 features and then Sony's own shit on top. You have more direct access to the hardware than you do on Windows, but there still is an abstraction layer in between the API and the actual hardware. You don't actually set all the registers and shit by hand all the time when programming for the damn thing
The difference is that with Windows, you have 3 spaces things go through before it gets to the hardware, with the PS3 (and probably 360, but I've never been interested in that thing) it's only 1, 2 for some (some things still have to go through the OS, such as disk writes). It's a myth that you have direct hardware access - more direct, but still not direct.
As far as OpenGL vs Direct(2/3)D goes: neither is "ahead" of the other. Both have features that the other lacks; OpenGL does have a few things that would actually allow for much more efficient resource handling as they've got a few functions with regards to texture compression and handling that D3D lacks (but are coming in 11.1). Similarly IIRC, OpenGL has a few more ways to manipulate vertices and it can handle a few more logical operations (as in, can deal with more types of operands). On the other hand, D3D is a bit better at casting between formats for example.
Bearish, please correct me if I got the above wrong, because it's been a while since I fiddled with OGL and I haven't even had time to look at the 4.3/3.0 specs
Oh and yeah, I mentioned it already but OpenGL ES is about as widely used as D3D. OpenGL may not be used on our desktops much, but every single embedded system uses OpenGL ES. iOS, Android, BBOS, Symbian, Meego, webOS - all of them rely on it. Same goes for Linux. Hate it as much as you want, it still is the most widely used OS (or rather, the base for the OS's) on small embedded systems exactly. BSD is probably about on par with Linux (buy any random NAS, 99% of them run on some form of Linux or BSD), with other UNIX-based systems following. Haters gonna hate, but Apple is not what will "save" OpenGL. OpenGL ES is what will "save" OpenGL.
|
|
| Back to top |
|
 |
|
|
Posted: Tue, 7th Aug 2012 00:36 Post subject: I have left. |
|
 |
|
|
|
| Back to top |
|
 |
|
|
Posted: Tue, 7th Aug 2012 00:46 Post subject: Re: OpenGL outpaces DirectX, even under Windows |
|
 |
| Quote: |
Really, it all comes down to that crummy old thing we call the network effect – and, of course, monopolistic heft and marketing dollars. DirectX, because it has a cleaner API and better documentation, is easier to learn. More developers using DirectX means more DirectX games, which in turn means better driver support. This is a vicious loop that again leads to yet more DX devs, more DX games, and still better DX drivers/tools/documentation. Microsoft has relentlessly marketed DirectX, too – and who can forget the release of Windows Vista and Microsoft’s OpenGL smear campaign? Vista’s bundled version of OpenGL was completely crippled, forcing many devs to switch to DirectX.
|
It mixes monopoly and network effect in with DirectX actually having a better API then switched back to complaining about Microsoft.
Nice fucking argumentation, whatever suits him.
|
|
| Back to top |
|
 |
TSR69
Banned
Posts: 14961
Location: Republic of the Seven United Provinces
|
Posted: Tue, 7th Aug 2012 01:06 Post subject: |
|
 |
Hmm I guess that person is not a fan of MS, neither am I. If you are sitting on top of a huge pile of money, you can just buy the brains and technology to make the next step in your marketing strategy possible.
|
|
| Back to top |
|
 |
|
|
Posted: Tue, 7th Aug 2012 09:24 Post subject: |
|
 |
|
|
|
| Back to top |
|
 |
Werelds
Special Little Man
Posts: 15098
Location: 0100111001001100
|
Posted: Tue, 7th Aug 2012 10:08 Post subject: |
|
 |
As far as I understood it, that mostly happens with the Cell usage, not with RSX? Cell's the one that's hardest to squeeze everything out of, because it's such an odd beast.
|
|
| Back to top |
|
 |
|
|
Posted: Tue, 7th Aug 2012 11:20 Post subject: |
|
 |
On a GPU there isn't all that much to program, so I'm quite sure there's a lot more low level stuff going on the Cell yeah. On GPU it's more about efficiently managing the memory and organizing the commands, while the general purpose stuff is all in the shaders. Still, it's an advantage over letting a higher level api manage the memory and command buffers for you.
|
|
| Back to top |
|
 |
kumkss
Posts: 4861
Location: Chile
|
|
| Back to top |
|
 |
LeoNatan
☢ NFOHump Despot ☢
Posts: 75826
Location: Israel
|
Posted: Tue, 7th Aug 2012 18:19 Post subject: |
|
 |
| BearishSun wrote: | | @iconized That's about right. DirectX/OpenGL are generally nothing more than a standardized doorway to the driver. The real meat happens in the driver itself. Not to say that they don't have internal differences, but they don't have enough to justify a large performance difference if they're both used properly. |
And how man of these driver and hardware features are influenced by OpenGL vs DirectX? For instance, why did Intel drop development for hardware accelerated ray tracing?
Another issue is the whole extension system, which is horrible for developers. Remember them special shadows on ATI vs nVidia?
|
|
| Back to top |
|
 |
| Page 2 of 2 |
All times are GMT + 1 Hour |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group
|
|
 |
|