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

Call of Duty COD

KitGuru Games: Predicting the Next Half a Decade of Call of Duty Releases

Benjamin Franklin (1706-1790) famously once said: “The three absolutes in life are death, taxes and a new Call of Duty coming out every single year”. Sure enough, the US founding father has yet to be proven wrong, with Activision and a dozen studios having ensured that come the tail-end of any given year, there will be a new COD ready to release. And so, what can we expect from the franchise later this year? What about 2027, 2028 or even 2030? By looking back at the past two decades of Call of Duty games, their trends, progression and regression, I believe I can predict the next 5 years worth of annual COD entries.