DirectX is a very good option for games. OpenGL on the other hand is a more generic 3D API (used, for example, by most CAD and other scientific applications). Additionally, of course, it is available on all platforms. I doubt that DirectX will outlive OpenGL in the long run.