+ 5
OpenGL or DirectX?
What do you think is better: OpenGL or DirectX? (for creating 3d games)
5 odpowiedzi
+ 11
DirectX docs are hell to read but I would choose DirectX because it's object oriented (Component Object Model) so more adequate for game programming.
+ 6
DirectX is for Windows, OpenGL is for everything else. For that reason, I'd stick with OpenGL; you can accomplish the same things in both.
+ 3
DirectX
WebGL - for 3D browser games
+ 3
To fill up @Squidy's answer:
DirectX is getting much hate because it's really complicated. (Like argument in function which takes pointer that is pointing to pointer so it looks like this: int func(int ***arg); )
However DirectX is on really low level, its communication with GPU is just faster.
Yet I'd recommend using OpenGL for crossplatform + it's still pretty low-level library.
+ 2
OpenGL. It’s harder but faster and better than DirectX as a graphics library, although with OpenGL, you will have to have another library for things like input. OpenGL is only a graphics library, DirectX also does input and sound.