8 ms·
Not sure here but don't all major engines already support OpenGL ootb ? Basically any engine thats runs on PS3/PS4 does like UnrealEngine, Cryengine, idTech, Un
by kayoone 13y ago
Not sure here but don't all major engines already support OpenGL ootb ? Basically any engine thats runs on PS3/PS4 does like UnrealEngine, Cryengine, idTech, Unity and most indie/open source engines are OpenGL anyway. All engines that target Android/iOS are OpenGL too. Even for things like XNA which was Xbox/DirectX only there is MonoGame to port it to *nix platforms easily.
So if you have rolled your own DirectX-only engine this is awesome of course, but do people really do that?
- throwaway2048 13y agoPS3/PS4 commercial games do not use OpenGL and never have. This myth needs to die. http://scalibq.wordpress.com/2010/05/15/sony%E2%80%99s-playstation-3%E2%80%99s-main-graphics-api-is-not-opengl/ http://scalibq.wordpress.com/2010/05/15/sony%E2%80%99s-plays...
- jheriko 13y agoyeah, the one time i tried to use psgl as a time saver it was a lesson in how broken, unmaintained and poorly documented it was... i'm pretty sure it would have worked at some point because the docs indicated that it had. however - writing a gl like layer over the top of the rsx stuff is not a particular challenge - the functionality maps extremely well.
- pjmlp 13y agoSomehow the FOSS crowd seems to propagate this myth that only Microsoft has vendor specific graphics APIs and the rest of the world runs on OpenGL. Never understood how it got born.
- sspiff 13y agoIt was probably born out of the fact that this is the truth for PC gaming, where Microsoft uses DirectX and "all" the other platforms use OpenGL. For a long time, console game development was obscure and unaccessible (and to a large extent, this is still the case), so aspiring game developers had somewhat of a tunnel vision when it came to game platforms.
- pjmlp 13y ago> It was probably born out of the fact that this is the truth for PC gaming, where Microsoft uses DirectX and "all" the other platforms use OpenGL. Except Acorn, Atari, Amiga, Mac OS (<= 9) never had real OpenGL support as well.
- sspiff 13y agoRight, but we're talking about 3D hardware APIs, which didn't really exist in a large scale until the late 90's/early 2000's.
- pjmlp 13y agoYou mean like Warp3D (Amiga) and QuickDraw3D (Apple) ?
- wolfgke 13y agoBut then add Glide (DOS), please. :-)
- pjmlp 13y agoI left it out on purpose, because DOS was a Microsoft platform as well.
- wolfgke 13y ago> I left it out on purpose, because DOS was a Microsoft platform as well. MS-DOS was a Microsoft platform, but not DOS itself: > http://en.wikipedia.org/wiki/DR-DOS http://en.wikipedia.org/wiki/DR-DOS Also Glide was not a Microsoft API.
- pjmlp 13y agoI just wrote DOS as I always abbreviated MS-DOS as DOS. DR-DOS actually came with the first PC I bought and it was for all effects a MS-DOS clone, hence a DOS clone, like PC-DOS from IBM and a few others on those days.
- Justsignedup 13y ago"the advantage of a console: hardware is fixed". YEP! Why use an abstraction layer when you can just code to the metal.
- arthulia 13y agoTime? Do you write all your applications in assembly?
- IE5point5 13y agoBecause if your game later has a HD remake by developers not as smart as you it'll run worse on much more powerful hardware, like with Zone of Enders 2 Not being serious but it was interesting that happened
- taybin 13y agoMany games run on multiple consoles.
- chucknelson 13y agoStill a pretty small number (2-8 max?) compared to all of the PC configurations you have to worry about in DX and OpenGL land.
- pmelendez 13y agoUnreal actually implement both, so it doesn't matter which one is available they can still run.
- the_mitsuhiko 13y ago> Basically any engine thats runs on PS3/PS4 does like UnrealEngine, Cryengine, idTech, Unity and most indie/open source engines are OpenGL anyway That's completely wrong. PS3 never used OpenGL and PS4 doesn't do either. Unreal while having somewhat working Mac port is usually ported via Cedega and not the Mac version which is largely unmaintained. The Linux port of Unreal was never merged back either. Presently there is no reasonable OpenGL renderer. CryEngine also does not use OpenGL.
- bhouston 13y ago> PS3 never used OpenGL It sort of does. PS3 uses OpenGL ES 1.0 with extensions and then there is a separate graphics library, LibGCM, that is lower level. Details here (although this use says it doesn't use OpenGL and then says that its API is based on OpenGL + extensions, so it is a bit confusing): http://scalibq.wordpress.com/2010/05/15/sony%E2%80%99s-playstation-3%E2%80%99s-main-graphics-api-is-not-opengl/ http://scalibq.wordpress.com/2010/05/15/sony%E2%80%99s-plays... EDIT: HEre is a PS3 developer saying that PS3 is OpenGL ES: http://www.khronos.org/assets/uploads/developers/library/siggraph2006/OpenGL_ES_BOF/OpenGL-ES-Demos.ppt http://www.khronos.org/assets/uploads/developers/library/sig...
- lucian1900 13y agoAlmost nothing uses GLES, though. All engines have libgcm renderers.
- bhouston 13y ago> Almost nothing uses GLES, though. All engines have libgcm renderers. Very true. The performance impact of both Direct3D and OpenGL is actually huge, so it is best to avoid it when you can using lower level interfaces that speak directly to the GPU.
- frozenport 13y agoWow, what are they, a cursory Google search turns up this result: http://stackoverflow.com/questions/6345538/is-there-a-lower-level-api-beyond-directx-opengl http://stackoverflow.com/questions/6345538/is-there-a-lower-...
- deleted 13y ago[deleted]
- mrhyperpenguin 13y agoNot DirectX only per se but DirectX first and OpenGL later. I think a lot of games featured in Humble Bundles used to be that way. A lot of games used to be (and some still are) initially only released on Windows with Mac/Linux ports released later.
- benched 13y agoI have rolled several of my own DirectX-only engines, so I'm guessing that no, most people probably do not. I always wrote them so that all DirectX and Windows specific code was abstracted behind platform-agnostic generic interfaces. So, in theory, OpenGL support would be as simple as coding an OpenGL implementation of my generic graphics API. Probably a day or two's work, but I haven't had a compelling reason to do the OpenGL implementation yet.