Thread: direct3d in C

  1. #1
    Registered User
    Join Date
    Feb 2006
    Posts
    3

    direct3d in C

    i've looked around, and most of the online and offline(library books) resources on direct3d i can find usually use visual c++, c++, c#, but i've yet to find anything on C. since i've been using C, i rather get used to it rather than learn something new and leaving what i learned behind.

    i'm not really trying to program games or anything complicated, i just want to do simple things in 3d.

    does anyone know some sites that offer basic guides on direct3d programming in c? (googling with the keyword "c" can get very annoying after a while)

  2. #2
    Registered User
    Join Date
    Aug 2005
    Posts
    1,267
    download the sdks from microsoft -- they contain a lot of examples in C. c++ language does not toss C to the wind -- c++ is built on top of C with only a few minor changes to C. So most of what you learned with be available in c++ too.

  3. #3
    Registered User
    Join Date
    Feb 2006
    Posts
    3
    except all the tutorials expect me to be using visual c++, thus starting the "let's begin" with how to create a win32 application. how am i supposed to do something like that with plain c? i've never done graphics in my programming before, and i've been using turbo c to compile my programs ever since i started learning. i just... don't know where to start.

  4. #4
    Registered User
    Join Date
    Aug 2005
    Posts
    1,267
    direct3 is not intended for beginnings -- you are expected to already know how to write a windows gui program. There are lots of books and tutorials about windows prgramming, here is one of the best tutorials. It doesn't teach one thing about direct3 either, but gets you started learning win32 programs, and its all written in C. No C++ required.

    you cannot use turbo c compiler for either direct3 or win32 programs. you need to upgrade to a newer compiler, such as Dev-C++

  5. #5
    Registered User
    Join Date
    Feb 2006
    Posts
    3
    damn man, thanks! something to keep me occupied for a while longer, yippee~

    i'll come back here if i need anymore help.

  6. #6
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    You don't have to know GUI to do DirectX. Get a book from amazon.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Why use Direct3D?
    By m3rk in forum Tech Board
    Replies: 42
    Last Post: 05-22-2009, 09:08 AM
  2. Need help with getting DirectX 9.0 initilization
    By DarkMortar in forum Windows Programming
    Replies: 7
    Last Post: 05-09-2006, 08:58 PM
  3. Creating a 2D GUI using Direct3D
    By codec in forum Game Programming
    Replies: 8
    Last Post: 09-23-2004, 11:57 AM
  4. Problem with Direct3D
    By frenchfry164 in forum Tech Board
    Replies: 1
    Last Post: 11-27-2003, 04:28 PM
  5. Direct3D vs. OpenGL
    By PorkyChop in forum Game Programming
    Replies: 22
    Last Post: 12-08-2002, 12:41 AM