Thread: OpenGL (or) DirectX tutorial

  1. #1
    Flash Animator, OF DOOOOM bluehead's Avatar
    Join Date
    Nov 2001
    Posts
    269

    OpenGL (or) DirectX tutorial

    Hey, i need an OpenGL tutorial or a DirectX one, anyone have a link?
    But which one would you guys prefer?
    Code:
    #if _emo
      #define stereo_type_i_dislike
    #endif

  2. #2
    Registered User
    Join Date
    Mar 2004
    Posts
    50
    www.drunkenhyena.com

    has a pretty good direct x tutorial. He even has a quake-like demo that you download that is pretty neat. You can change the velocity on it and what not.

  3. #3
    Flash Animator, OF DOOOOM bluehead's Avatar
    Join Date
    Nov 2001
    Posts
    269
    ok thx looks like good tutorial.. i'll add to favorites

    but sorry for not being specific enough; i dont want to get <i>too</i> advanced right now, i'm [planning] to make a simple 2D platform, add some features, add storymode etc. and come up with a game.

    i'm talking about simple stuff like that
    Code:
    #if _emo
      #define stereo_type_i_dislike
    #endif

  4. #4
    Registered User
    Join Date
    Aug 2003
    Posts
    470
    For my platform scroller I'm working on I haven't needed to use too much directx code since I pretty much wrap everything in a surface class. If you want to, just ask us any question and were try to answer it. If it's relevant to game theory then you should ask in the game forum.

  5. #5
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    For 2D graphics in DirectX you can use either DirectDraw (obsolete) or Direct3D with textured quads. There are a bunch of articles at gamedev.net: http://www.gamedev.net/reference/lis...egoryid=24#129
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  6. #6
    Registered User
    Join Date
    Mar 2002
    Posts
    1,595
    For an OpenGL tutorial you can check this out:

    http://nehe.gamedev.net/default.asp

  7. #7
    Registered User Ajsan's Avatar
    Join Date
    Dec 2003
    Posts
    55

    Huh?

    01001110 01101111 00100001
    Style is overrated.

    - —₽‚¢‰Î -

  8. #8
    Flash Animator, OF DOOOOM bluehead's Avatar
    Join Date
    Nov 2001
    Posts
    269

    k

    k, im gonna try this opengl 3D stuff on this tutorial

    but, okinrus, surface class? would you mind to explain

    and ajsan,
    01001110 01100101 01101001 01110100 01101000 01100101 01110010 00100000 01100100 01101111 00100000 01001001 00100001 00100000 01000010 00101001
    Code:
    #if _emo
      #define stereo_type_i_dislike
    #endif

  9. #9
    Registered User Ajsan's Avatar
    Join Date
    Dec 2003
    Posts
    55
    01011001 01101111 01110101 00100000 01100001 01110010 01100101 00100000 01010011 01010100 01010010 01001111 01001110 01000111 00100000 01101001 01101110 00100000 01111001 01101111 01110101 01110010 00100000 01100010 01101001 01101110 01100001 01110010 01111001 00100000 01110111 01100001 01111001 00100111 01110011 00100000 01111001 01101111 01110101 01101110 01100111 00100000 01110000 01100001 01100100 01100001 01110111 01100001 01101110 00101110
    Style is overrated.

    - —₽‚¢‰Î -

  10. #10
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    01001001001000000110100001100001011101100110010101 10111000100111011101000010000001100111011011110111 01000010000001100001001000000110001101101100011101 01011001010010000001100101011010010111010001101000 01100101011100100010110000100000011001100110111101 11001000100000011101000110100001100001011101000010 00000110110101100001011101000111010001100101011100 10001011100010111000101110001000000111011101100001 01101001011101000010000001100001001000000110110101 10100101101110011101010111010001100101001011100010 11100010111000100000011010010110011000100000011101 11011001010010000001100100011011110110111000100111 01110100001000000110101101101110011011110111011100 10000001100010011010010110111001100001011100100111 10010010110000100000011101110110100001111001001000 00011000010111001001100101001000000111011101100101 00100000011101000110000101101100011010110110100101 10111001100111001000000110100101101110001000000110 10010111010000111111001000000100110101100101011010 0000101110
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  11. #11
    Registered User cfrost's Avatar
    Join Date
    Apr 2004
    Posts
    119
    Which one is better GL or directX
    Qucik response requried

  12. #12
    mustang benny bennyandthejets's Avatar
    Join Date
    Jul 2002
    Posts
    1,401
    [quote]
    Which one is better GL or directX
    [/quote
    That's a contentious question. For a 2D game, I suspect DirectX would be better. However, for 3D things, OpenGL is very good. I use OpenGL when doing 3D graphics. Also, some games, like Quake, use OpenGL, so you know you wont have to learn anything else to do 3D graphics.
    [email protected]
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ
    Tutorials

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, 04: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