Home / Software & Gaming / Valve releases open-source Direct3D to OpenGL translation layer

Valve releases open-source Direct3D to OpenGL translation layer

Valve Software this week published its open-source Direct3D to OpenGL translation layer called ToGL. The product should help developers without a lot of resources to migrate their DirectX game engines (or games) to OpenGL in order to run them under Apple Mac OS X, Linux or Valve Steam OS operating system. Unfortunately, the translator will hardly be a breakthrough.

In addition to translating the function calls from Direct3D to OpenGL, ToGL can also support shader programs from Direct3D's HLSL bytecode to OpenGL's GLSL. Valve ToGL does not support the full Direct3D 9c (feature level 9_3) application programming interface, but only an unidentified “limited subset” of the API. Therefore, it will be impossible to port even relatively old games to OpenGL since virtually all modern titles rely on Direct3D feature level 9_3, just as previous-generation video game consoles (Microsoft Xbox 360 and Sony PlayStation 3). ArsTechnica web-site assumes that the ToGL in its current form supports specific needs Valve’s own Source engine has.

valve_art

The reason why Valve decided to design its own Direct3D => OpenGL layer is unknown. The Winw project, which is developed to enable programs originally written for Windows to run on Linux, includes a Direct3D-to-OpenGL translator that handles some proportion of Direct3D 8, 9, and 10.

KitGuru Says: It looks like ToGL in its current form is a declaration of intention rather than something real. The bigger question why Valve does post something that is not ready? Perhaps, the company wants some input from the community, or just needs to help certain developers who do not need functionality like vertex texture fetch and who still has not started to use DirectX 10 and DirectX 11 APIs…

Become a Patron!

Check Also

Dune: Awakening PC system requirements announced

Funcom has officially announced the release date for Dune: Awakening, the anticipated multiplayer survival game …

We've noticed that you are using an ad blocker.

Thank you for visiting KitGuru. Our news and reviews teams work hard to bring you the latest stories and finest, in-depth analysis.

We want to be as informative as possible – and to help our readers make the best buying decisions. The mechanism we use to run our business and pay some of the best journalists in the world, is advertising.

If you want to support KitGuru, then please add www.kitguru.net to your ad blocking whitelist or disable your adblocking software. It really makes a difference and allows us to continue creating the kind of content you really want to read.

It is important you know that we don’t run pop ups, pop unders, audio ads, code tracking ads or anything else that would interfere with the KitGuru experience. Adblockers can actually block some of our free content, such as galleries!