So.. what's the difference between DirectX and OpenGL?
Really I'm just a bit curious about what the basic differences are between them. What they were designed for, what they're used for, etc. In spite of which one is better, I'm sure that there's reasons that people still use both libraries.
Specifically... I know that DirectX is put out by Microsoft as a way to interface graphics in Windows... so why was OpenGL put out then? Or, With OpenGL, why is DirectX still around? Who put out OpenGL?
Also, a friend of mine coded a very very neat looking program (rotating, textured, tansparent, zooming, cube) in OpenGL, and said the graphics of it was only about 20 lines of code. Can OpenGL really do stuff like that? Is OpenGL code generally more high-level than DirectX?