opengl or directx?

This is a discussion on opengl or directx? within the C++ Programming forums, part of the General Programming Boards category; should i try to learn opengl or directx over the summer? thanks...

  1. #1
    Registered User heat511's Avatar
    Join Date
    Dec 2001
    Posts
    169

    opengl or directx?

    should i try to learn opengl or directx over the summer?

    thanks
    "uh uh uh, you didn't say the magic word"
    -Jurassic Park

  2. #2
    Fingerstyle Guitarist taylorguitarman's Avatar
    Join Date
    Aug 2001
    Posts
    564
    yes.
    If a tree falls in the forest, and no one is around to see it, do the other trees make fun of it?

  3. #3
    Registered User blight2c's Avatar
    Join Date
    Mar 2002
    Posts
    266
    i think he ment either/or

  4. #4
    Registered User Dual-Catfish's Avatar
    Join Date
    Sep 2001
    Posts
    802

  5. #5
    Fingerstyle Guitarist taylorguitarman's Avatar
    Join Date
    Aug 2001
    Posts
    564
    I know. I'm sorry, but I couldn't resist.

    Seriously-
    If you're just going to do graphics then I'd say go with OpenGL. It's a little bit easier than DirectGraphics (the graphics API of DirectX). If you plan on making a game or something and only using Windows then go with DirectX because it's a complete multimedia API collection, it has sound, input, video, etc. OpenGL is purely a graphics API so you'll need something else for the rest. I'd recommend Simple DirectMedia Layer. www.libsdl.org The benefit of using SDL is that it's cross platform and you can use OpenGL for it's graphics component. It's a much simpler API than DirectX but not quite as full featured (it's still growing). It should be enough to get you started though (and quickly). Also, there are many extra APIs people have made to fill in what's missing in the core release.

    You can find the OpenGL "Red Book" and "Blue Book" online too, so you don't have to pay for them. OpenGL tends to have much more information available than the most current version of DirectX (although the SDK docs are very helpful) and you should use the most current version.
    If a tree falls in the forest, and no one is around to see it, do the other trees make fun of it?

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