Which is better? How do they compare? Also, I can't find very good tutorials on either of them so a link would be nice :)
Printable View
Which is better? How do they compare? Also, I can't find very good tutorials on either of them so a link would be nice :)
Here is a link;
http://www.cprogramming.com/cboard/search.php?s=
LoL, it's preference. Research it for yourself, and you'll get better information than from all of our biased minds.
We had this discussion long ago with Sunlight.
OpenGl was my preference, but his reasoning convinced me.
If you're going to develop on intel platforms, DirectX would be the right choice, as it tracks changes quickly, new features appear as graphical hardware is getting better.
OpenGL slowly tracks mainframes.
http://nexe.gamedev.net/General/D3D%20vs%20OGL.asp sums it up pretty well
Well dirduck, if it'd be that simple! ;°/
The link mentioned by you compares DirectX with OpenGL through 2(!!!!!) lines of code:
It's like choosing between Delphi and Visual C++ based on following lines of code:Quote:
Choosing between Direct3D and OGL is a very simple task. Just choose the one you prefer out of these two:
glDrawElements( GL_TRIANGLES, ..., ..., ...);
or
pDevice->SetVertexShader(...);
pDevice->DrawPrimitiveUP(D3DPT_TRIANGLELIST, ..., ..., ...);
//------------------------
var
i : integer;
begin
i := i + 1;
end;
or
{
int i;
i += 1;
}
Muahahaha ;°))))