Spikerocks101 wrote: |
---|
but OpenGL, imo, has more potential for phone dev then DirectX |
If you're only planning on programming mobile (with not considering Windows), then Direct3D is more or less irrelevant. But desktop OpenGL and OpenGL ES are
not the same things, and you're going to be considering much more things when developing for mobile (does my minimal target device have decent floating point speed, etc).
valgoku wrote: |
---|
Is Direct3D more used into the industry ? |
Yes.
Is it harder (Direct3D) than OpenGL (API) ? |
No, the learning curve is more or less the same. Direct3D definitely has a lot more dev tools, but OpenGL has a few good ones.
Is Direct3D specific to Nvidia card ? Or would it work on all graphics cards ? |
It works on all cards. It's specific to Windows and Xbox at the time of this writing. It's trivial to port your D3D code over to OpenGL.
If you have plans on supporting both Direct3D and OpenGL in your code, then definitely learn Direct3D first. It's API is much more strict than OpenGL, so porting it over more or less directly will be trivial.
OpenGL's API is quite easy to understand, that's why I'm wondering this. |
A general tip. If you see any OpenGL tutorials that have "glBegin" or "glEnd" and friends, run away and don't look back. Learn OpenGL 3.3+ and Direct3D 11.
I personally think you should start with Direct3D 11.