John Carmack thinks DirectX is better than OpenGL


— 10:15 AM on March 14, 2011

For what seems like forever, id Software programming guru John Carmack has built his legendary game engines around the cross-platform OpenGL API. That trend may well continue, but not because Carmack thinks OpenGL is superior to Microsoft's competing DirectX API. In an interview with Bit-Tech, the programmer reveals that he thinks DirectX is a better API today: "Microsoft had the courage to continue making significant incompatible changes to improve the API, while OpenGL has been held back by compatibility concerns. Direct3D handles multi-threading better, and newer versions manage state better."

Carmack also says that OpenGL "still works fine," so a switch isn't necessarily in the cards. Despite the Microsoft API's apparent benefits, OpenGL is rooted deeply in id's game and tool code. Transitioning to DirectX would involve a lot of work, and it might complicate supporting platforms like the PlayStation 3 and Mac. Going the DirectX route would probably ease development for Windows and the Xbox 360, though.

The Carmack quotes are meant to tease an upcoming article on the state of OpenGL gaming on the PC, and Bit-Tech follows them up with a nice snippet from AMD developer relations manager Richard Huddy talking up Microsoft's invention of the geometry shader in DirectX 10. We're on to DirectX 11 now, an API with much improved tessellation support plus multi-threaded rendering and compute shaders. Microsoft does seem to be doing a better job than OpenGL's governing body when it comes to pushing new features for PC graphics. Thanks to Slashdot for the tip.

Like what we're doing? Pay what you want to support TR and get nifty extra features.
Top contributors
1. GKey13 - $650 2. JohnC - $600 3. davidbowser - $501
4. cmpxchg - $500 5. DeadOfKnight - $400 6. danny e. - $375
7. the - $360 8. Ryszard - $351 9. rbattle - $350
10. Ryu Connor - $350
   
Register
Tip: You can use the A/Z keys to walk threads.
View options

This discussion is now closed.