What API do you use?

What API do you use and why? DirectX or openGL? Or any other API.
I don't have a whole lot of knowledge of either, so I want to find
out whats best before I build up a library.
Another API I've read about is GDK. It directed for video game programming only, but seeing as how that's what I want anyway, does anyone know about it also?
This question has no sense.
It depends on the goal of the application.
DirectX or openGL?
I prefer OpenGL when the task is simple like drawing a textured square and DirectX when it gets a little more complicated like mesh animations and shaders. I think that DirectX would be a better solution if you have no experience with either. It is more simple and more straightforward, most of the stuff you need is already there so you don't have to find a bunch of libraries to do it.
I thing OpenGL is easier than DirectX, with DirectX you need a lot of more code where with OpenGL you simply call a function
http://en.wikipedia.org/wiki/Comparison_of_OpenGL_and_Direct3D
Topic archived. No new replies allowed.