couple of stupid questions…
just starting to get into game programing… and i’ve come across several ways (via tutorials) that people say to do…
Which is more widely used… OpenGL, or DirectX?
whats the difference between the two…
couple of stupid questions…
just starting to get into game programing… and i’ve come across several ways (via tutorials) that people say to do…
Which is more widely used… OpenGL, or DirectX?
whats the difference between the two…
34 views and no one wants to answer…:sad:
lets throw another 2 questions onto that… which is easier to program? and which would be better for using the 3d models i create in 3d studio max?
DirectX is more widely used than OpenGL in PC Windows games, but the ID Software cutting edge titles uses OpenGL.
The great difference is that, DirectX has got an integrated support for advanced features (such as hardware programmable shading, multitexturing, cubemaps, 3d textures, vertex and index buffers). In OpenGL for use the same advanced feature you have to use extension.
for more basic stuff, OGL is probably a lot easier. but once you start getting into things like shaders, DX is much easier. for example, depending on whether the card is an ATI or an nVidia, it uses different forms of vertex and pixel (fragment) shaders. in OGL, you have to account for that and use different extensions. in DX, you pretty much compile the shader, load it, turn it on, and draw.
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.