Thread: Direct X tutorials in C

  1. #1
    _leech_
    Guest

    Direct X tutorials in C

    Hi

    Recently i've taken an interest in doing work in 3d graphics and accelerated 2d and the like. This, of course, led me to DirectX. However, every single tutorial that i've found ALWAYS goes into C++ in one form or another, which i don't want to do. IS there a tutorial (or book) which teaches DirectX in straight C? Or is C++ a requirement...?

  2. #2
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    from what i know of Direct-X(not a lot) its moving into C++, i don't think you can do without it anymore if your gonna use Direct-X.

    OpenGL is pure C, but its only for graphics.(and BTW, its da bomb)

    http://www.opengl.org
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  3. #3
    Registered User -leech-'s Avatar
    Join Date
    Nov 2001
    Posts
    54
    Yea, i've tried OpenGL but i'd like something that's solid in 2d as well. Allegro isn't an option (at least for me) because you can't cleanly integrate it into the win32 API
    Not yet, have to think of one...

  4. #4
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    >but i'd like something that's solid in 2d as well.

    well im not sure what you mean by this but many 2D games are made in GL, anyway try looking for Direct Draw tutorials for you 2D its now part of Direct-3D but it wasn't originally so...

    and try http://www.gamedev.net i know they have at lead one 2D D3D tutorial.
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  5. #5
    Fingerstyle Guitarist taylorguitarman's Avatar
    Join Date
    Aug 2001
    Posts
    564
    First you could start with the documentation that comes with the SDK. It's actually a very good source of information.
    Otherwise, there are these two sites.

    www.drunkenhyena.com - Very similar to Nehe's tutorials.

    http://nexe.gamedev.net - Not quite as good in my opinion.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 04-06-2007, 05:10 PM
  2. Why don't the tutorials on this site work on my computer?
    By jsrig88 in forum C++ Programming
    Replies: 3
    Last Post: 05-15-2006, 10:39 PM
  3. Wiki for Tutorials
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 08-16-2005, 03:03 PM
  4. Direct Input shutting down improperly
    By Deo in forum Game Programming
    Replies: 3
    Last Post: 06-14-2005, 06:54 AM
  5. CProgramming.com should update their tutorials.
    By PorkyChop in forum C++ Programming
    Replies: 17
    Last Post: 09-19-2004, 10:51 PM