Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: directx vs opengl ?????

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2002
    Posts
    6

    directx vs opengl ?????

    well...
    this question is directed to anyone that has work with either one or be better if both of the above

    i have just started a project
    which requires me to make a 3D game
    (im totally new to graphic or such programming)
    im recommended to use opengl
    but directx is viable too
    (so far, the resources provided to me are all opengl tutorials and source code)
    but i will like to know
    if there are any major differences between them ?

    i have played quite a number of 3D games
    and im often prompt to install/update directx
    i have never come across opengl that often
    in my gaming

    does this means that directx is more suited for game programming ?? (i have no idea)
    are there any comparison charts available on this ???

    need enlightenment
    (pls pardon me if anything above mention is out of point or not associated. im very new to this)
    Knowledge, particularly the raw knowledge of ideas, is supreme. An idea has no weight but it can move mountains. The greatest gift of humankind, an idea outweighs anything made by mortal hands. Knowledge is power and must be used with care but hiding it away from others is never a good thing.

    Oghma, The Lord of Knowledge, Binder of What Is Known

  2. #2
    Member Contributor
    Join Date
    Feb 2002
    Location
    Italia
    Posts
    63

    Re: directx vs opengl ?????

    1st-
    OpenGL is API based, this means it contains only fuctions to call.

    DX is COM based, you also need basilar skill on COM objects.

    2nd-
    GL is cross-platform(linux, mac, win...)

    DX is Microsoft only

    3rd-
    John Carmak mostly (or only?) uses OpenGL.

    4th-
    In Opengl I took 5-6 months to know well
    its foundamentals.
    In DX I took 2 years to draw a pixel

    Anyway I don't know if DX is better or worser than GL

  3. #3
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    Kristianstad,Skåne,Sweden
    Posts
    1,595

    Re: directx vs opengl ?????

    Hi !

    Please do a search in this forum, the topic has been discussed a huge number of times in the past.

    Mikael

  4. #4
    Senior Member Regular Contributor
    Join Date
    Aug 2001
    Location
    England
    Posts
    173

    Re: directx vs opengl ?????

    People seem to forget that DirectX contains more than just drawing components, but anyway...

    Searches are a wonderful thing.

    -Mezz

  5. #5
    Member Newbie
    Join Date
    Jul 2002
    Posts
    42

    Re: directx vs opengl ?????

    OpenGL is just a graphics API.

    DirectX is a whole toolbox of game related COM based programming "modules".

    Direct3d - graphics
    DirectSound - sound
    DirectInput - joysticks, keyboard, mouse, etc
    DirectPlay - network

    Just because you use OpengGL doesn't exlude you from using DirectSound, DirectInput, DirectPlay.

    If you have to support any OS besides Microsoft you basically have to use OpenGL.

    If you don't know how to use COM OGL might be a better choice for a faster start.

    If you want to use all the lastest and greatest effects on a microsoft OS then I think Direct3d would be easier.

    I think there may be more game related source code for Direct3d based games. Granted I'm not sure how DX changes between the versions.

    Hell, to be honest I've only used OGL and seen code fragments of Direct3d so I'm prob not the best source for you.

    Try www.gamedev.net there are probably several flame wars about it going on.

    I really don't think one is better than the other it just depends on your project needs.

  6. #6
    Junior Member Newbie
    Join Date
    Jul 2002
    Posts
    6

    Re: directx vs opengl ?????

    thank you for all the suggestions and advice
    i will look into this forum for some past threads
    Knowledge, particularly the raw knowledge of ideas, is supreme. An idea has no weight but it can move mountains. The greatest gift of humankind, an idea outweighs anything made by mortal hands. Knowledge is power and must be used with care but hiding it away from others is never a good thing.

    Oghma, The Lord of Knowledge, Binder of What Is Known

  7. #7
    Senior Member Regular Contributor
    Join Date
    Nov 2000
    Location
    Sydney, NSW, Australia
    Posts
    426

    Re: directx vs opengl ?????

    Pah, this is a monthly tradition, a dx vs ogl post, lol
    Anyway, in my TOTALLY biased opinion OGL r0x... But really, at the moment OpenGL is definitely better for a total beginner because it is so much easier to learn the basics. When getting to the pixel shader level Direct3D is AT THE MOMENT better, but let us pray that OpenGL 2.0 will change that, go 3DLabs, you good thing, GO!
    :: Sleep is a poor substitute for caffeine ::

  8. #8
    Senior Member OpenGL Pro
    Join Date
    Oct 2000
    Location
    Fargo, ND
    Posts
    1,753

    Re: directx vs opengl ?????

    One thing to think about if you decided to try learning D3D. DirectX9 will probably be out soon. If you learn DirectX8, you will just have to relearn everything for DirectX9. (Ok... maybe that's just a cheap stab at the way MS totally re-designs their API every version.)

    Seriously, though. If you learn one, the other will be fairly easy to learn. Both D3D and OpenGL use the same basic 3d concepts. I find OpenGL a bit easier to work with, but I also have to admit D3D8 made things a lot easier to use than D3D7 was.
    Deiussum
    Software Engineer and OpenGL enthusiast

  9. #9
    Junior Member Newbie
    Join Date
    Jul 2002
    Location
    Russia, Vladivostok
    Posts
    7

    Re: directx vs opengl ?????

    I use Win32 and OpenGL under WIN32 is based on DirectX (HAL, HEL and so on)
    If U mean Direct3D (like OpenGL): Direct3D is more flexible than OpenGL ,IMHO But OpenGL is more easier for beginnerz
    YEAH!

  10. #10
    Junior Member Newbie
    Join Date
    Jul 2002
    Posts
    6

    Re: directx vs opengl ?????

    Originally posted by MrShoe:
    Pah, this is a monthly tradition, a dx vs ogl post, lol
    Anyway, in my TOTALLY biased opinion OGL r0x... But really, at the moment OpenGL is definitely better for a total beginner because it is so much easier to learn the basics. When getting to the pixel shader level Direct3D is AT THE MOMENT better, but let us pray that OpenGL 2.0 will change that, go 3DLabs, you good thing, GO!
    what exactly is this 3DLabs you are talking about ?????

    i think you guys are right
    an easier one will be the better way out for a beginner

    well... i have another question that is not opengl related
    what kind of network structure will best suit a 3D racing game ???
    im refering to peer to peer, client/server ,etc
    Knowledge, particularly the raw knowledge of ideas, is supreme. An idea has no weight but it can move mountains. The greatest gift of humankind, an idea outweighs anything made by mortal hands. Knowledge is power and must be used with care but hiding it away from others is never a good thing.

    Oghma, The Lord of Knowledge, Binder of What Is Known

Page 1 of 2 12 LastLast

Similar Threads

  1. OpenGL and DirectX
    By zedan in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 04-04-2004, 11:23 PM
  2. OpenGL and DirectX together?
    By frink in forum OpenGL: Advanced Coding
    Replies: 11
    Last Post: 12-17-2003, 01:53 PM
  3. OpenGL w/ DirectX
    By joeyTR in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 03-15-2003, 06:47 AM
  4. OpenGL or DirectX?
    By yaro_dup1 in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 03-06-2003, 11:18 PM
  5. OpenGL or DirectX?
    By imported_Michael in forum OpenGL: Basic Coding
    Replies: 32
    Last Post: 06-17-2001, 10:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean