http://i.imgur.com/afV70Ow.jpg
Valve has pulled code straight from the belly of the beast (by which I mean DOTA2) to bring ToGL to the world. ToGL is a translation layer to convert Direct3D code to OpenGL.

The code is being released as-is, and isn't necessarily ready for prime-time, but it can hopefully be used by other game developers to bring their D3D-only code into the OpenGL world, enabling future porting to Linux.

This is great news for the gaming community looking to get a Steam Machine, and obviously a good decision for Valve. It's nice to see a developer contributing back to the community with good code. I hope to see more games building on this to expand the Steam Linux library, as I'm sure Valve does as well.

The GitHub repository is here: https://github.com/ValveSoftware/ToGL

jdodson   Admin wrote on 03/12/2014 at 04:34am

While this might not be as epic as us releasing the Zemus gem, Valve is doing the right thing here. When I heard about how they handled porting the original source games by using ToGL I was interested if they might release it.

It's an interesting mechanism to port a game and I am curious how much simpler this would be than simply rewriting the D3D as OpenGL? Maybe this is just a drop in replacement?

Either way, this is pretty great. Oh and if people want to view the source:

https://github.com/ValveSoftware/ToGL

Travis   Admin   Post Author wrote on 03/12/2014 at 01:19pm

Yeah I meant to add that to my post. Thanks for the reminder :)

jdodson   Admin wrote on 03/12/2014 at 07:04pm

No problem.

If you want to join this conversation you need to sign in.
Sign Up / Log In