Directx vs OpenGl

This is a discussion on Directx vs OpenGl within the Windows Programming forums, part of the Platform Specific Boards category; Which is better? How do they compare? Also, I can't find very good tutorials on either of them so a ...

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    1

    Directx vs OpenGl

    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

  2. #2
    Registered User The15th's Avatar
    Join Date
    Aug 2001
    Posts
    125
    arrh, i got nothing good to say.
    http://www.praxis1.vic.edu.au/home/dcola/

  3. #3
    31173 h4x0r gnu-ehacks's Avatar
    Join Date
    Nov 2001
    Posts
    556
    LoL, it's preference. Research it for yourself, and you'll get better information than from all of our biased minds.
    What will people say if they hear that I'm a Jesus freak?
    What will people do if they find that it's true?
    I don't really care if they label me a Jesus freak, there is no disguising the truth!

    Jesus Freak, D.C. Talk

    -gnu-ehacks

  4. #4
    Normal vector Carlos's Avatar
    Join Date
    Sep 2001
    Location
    Budapest
    Posts
    463
    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.

  5. #5
    Registered User dirkduck's Avatar
    Join Date
    Aug 2001
    Posts
    428

  6. #6
    Normal vector Carlos's Avatar
    Join Date
    Sep 2001
    Location
    Budapest
    Posts
    463
    Well dirduck, if it'd be that simple! ;/

    The link mentioned by you compares DirectX with OpenGL through 2(!!!!!) lines of code:
    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, ..., ..., ...);
    It's like choosing between Delphi and Visual C++ based on following lines of code:
    //------------------------

    var
    i : integer;
    begin
    i := i + 1;
    end;

    or

    {
    int i;
    i += 1;
    }

    Muahahaha ;))))

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Going from DirectX to OpenGL
    By Wraithan in forum Game Programming
    Replies: 19
    Last Post: 02-24-2006, 11:07 AM
  2. Allegro, OpenGL.. or even DirectX?
    By Zeusbwr in forum C++ Programming
    Replies: 1
    Last Post: 11-14-2004, 08:16 AM
  3. Which is better: OpenGL or DirectX
    By Stan100 in forum Game Programming
    Replies: 2
    Last Post: 05-09-2003, 05:43 PM
  4. OpenGL 2 or DirectX ?
    By alex6852 in forum A Brief History of Cprogramming.com
    Replies: 9
    Last Post: 01-02-2003, 02:31 PM
  5. So.. what's the difference between DirectX and OpenGL?
    By QuestionC in forum Game Programming
    Replies: 6
    Last Post: 01-19-2002, 06:18 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21