Thread: Why Directx ?

  1. #1
    Registered User
    Join Date
    Jul 2002

    Why Directx ?

    Why do people program in directx when opengl is so much easier to use ? What do you think ?

  2. #2
    Has a Masters in B.S.
    Join Date
    Aug 2001
    there could be many reasons... other than the original reason the old companies use Direct-X, which i really don't wanna get into. new companies might have these reasons. Direct-X api's, Boss, Contracts, the Pixel Shader, built in AVI playback ect, or its what the people who start the company know. and one other possibility, no vendor specific extensions(which many find a hassle)...

    these are all legitimate reasons, and all but three(boss, contract, what the people know) will start to be eliminated in the next 6 months. OpenGL 2.0 and with OpenML comming in the next year, we will have a full OS/HW independant toolset.

    so thats two more reasons im sticking with GL all the way. there are many other reasons to use GL, i won't go into them though.
    Last edited by no-one; 07-04-2002 at 09:03 PM.
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  3. #3
    Registered User Coder's Avatar
    Join Date
    Aug 2001
    Cairo, Egypt
    Why do people program in directx when opengl is so much easier to use ? What do you think ?
    IMO, GL isn't easier than D3D. The API itself is easy in both cases, what makes things difficult is the 3D game programming ( making 3D stuff with the API, cause this involves 3D game/graphics programming knowledge )

    One good point is D3DX, which is a helper library that comes with DX. And it handles all the math ( vector, matrix, plane, quaternion, ...etc ) which makes newbies' lives much easier. It also handles some model generation, collision detection and model loading.

    Direct3D is object oriented, which is - to me - a million times better than the glSomething() convention used by GL ( which is good by the way, but I just like objects more ).

    I assume you meant Direct3D when you said DirectX, because DirectInput/Audio/Play/Whatever is not related to GL.
    Muhammad Haggag

  4. #4
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    I use both, because OpenGL is easy to learn for me, but DirectX is what a lot of the companies are using. Like WoW (World of Warcraft) is made with DirectX, StarCraft was made with DirectX, but Doom III is being made with OpenGL. To me, they both have pro's and con's. This also depends on the person. Some like Micro$oft, some don't.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Isometric Tile Engine using DirectX
    By Wraithan in forum Game Programming
    Replies: 3
    Last Post: 07-17-2006, 12:16 PM
  2. DirectSound header issues
    By dxfoo in forum C++ Programming
    Replies: 0
    Last Post: 03-19-2006, 07:16 PM
  3. DirectX - Starting Guide?
    By Zeusbwr in forum Game Programming
    Replies: 13
    Last Post: 11-25-2004, 12:49 AM
  4. DirectX 8 with Borland
    By Tommaso in forum Game Programming
    Replies: 11
    Last Post: 08-12-2003, 09:30 AM
  5. Directx SDK Documentation
    By Zoalord in forum Game Programming
    Replies: 4
    Last Post: 05-08-2003, 06:07 AM