Live data from Hacker News

Direct3D to OpenGL abstraction layer

github.com

31–40 of 111 posts

Re: Direct3D to OpenGL abstraction layer

#31

This seems like a new version of this previous effort: http://en.wikipedia.org/wiki/Cedega_(software)

Not really. Cedega is a version of Wine.

This is a library, intended to be used in your application in lieu of calling the APIs directly. You cannot take a full application and ask this library to run it.

Re: Direct3D to OpenGL abstraction layer

#32

This is huge, really huge for anyone who write DirectX games and want to make them run on OSX/Linux. This is basically what a part of Wine do, am I wrong?

It is true that there is a part of Wine which receives Direct3D calls and translates to OpenGL. But, as the other posters were commenting on, Wine does much more than that.

Re: Direct3D to OpenGL abstraction layer

#33

This seems like a new version of this previous effort: http://en.wikipedia.org/wiki/Cedega_(software)

Cedega/Cider is the cheap way to "port" games on OSX. It result of bad performances, yet at lot of companies still pay a lot of money to do it. The sad thing is that you can do it yourself (with Wine), for free, and a lot of time under 30 minutes.

Even the latest version of Wine patched with the Command Stream WIP is 5 times faster.

Re: Direct3D to OpenGL abstraction layer

#34
post #13

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-onl…

PS3/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-plays...

Somehow 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.

Re: Direct3D to OpenGL abstraction layer

#35

This seems like a new version of this previous effort: http://en.wikipedia.org/wiki/Cedega_(software)

Not really. Cedega is a version of Wine. This is a library, intended to be used in your application in lieu of calling the APIs directly. You cannot take a full application and ask this library to run it.

WINE does however contain a DirectX -> OpenGL translation layer that can be used separately from the rest of it.

Re: Direct3D to OpenGL abstraction layer

#36
post #24

Earlier quoted context omitted.

Only for WebGL, though. (Edit: OpenGL ES 2)

WebGL is just an OpenGL ES 2 binding to JavaScript. OpenGL ES 2/3 is a subset of OpenGL 3/4. Angle translate GLSL shaders and OpenGL calls to DirectX

Sadly it is a bit more than "just", specially if one needs to write code across plain GL and GL ES.

Re: Direct3D to OpenGL abstraction layer

#38
post #34

Earlier quoted context omitted.

PS3/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-plays...

Somehow 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.

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.

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.

Re: Direct3D to OpenGL abstraction layer

#39
post #13

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-onl…

> 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 ther…

> 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-plays...

EDIT: HEre is a PS3 developer saying that PS3 is OpenGL ES:

http://www.khronos.org/assets/uploads/developers/library/sig...

Re: Direct3D to OpenGL abstraction layer

#40
post #13

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-onl…

[deleted]
Post reply on HN