C, DirectX, and OpenGL

This is a discussion on C, DirectX, and OpenGL within the C Programming forums, part of the General Programming Boards category; hi there, i want to start reading on graphics programming to use with C. i am not sure as to ...

  1. #1
    Registered User Spectrum48k's Avatar
    Join Date
    May 2002
    Posts
    66

    C, DirectX, and OpenGL

    hi there,
    i want to start reading on graphics programming to use with C. i am not sure as to what the diference is between DirectX and OpenGL other than the fact that OpenGL is a more universal 3D api. is it beter to spend time on GL or DirectX ?

    ps- i know this is like "c or c++" question, but any thoughts would be greatly apreciated

    thanx..

  2. #2
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001

    OpenGL Rules!

    go with openGL, i did and I'm glad.
    PHP and XML
    Let's talk about SAX

  3. #3
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    If you were really ready for this stage of software development than you would not have to ask this question.

  4. #4
    Registered User Spectrum48k's Avatar
    Join Date
    May 2002
    Posts
    66

    Re: Troll_King. Not ready ?

    i am not ready to replace John Carmack. i am however curious. i have started about a year ago studying C on my own. all things considered, i am happy with my progress. all the programs i make are console based and run in a Dos box. i want to start to learn some basics on graphics for now, but have limited time to waste. some opinions are all i ask for. if you dont have one for me, or you think i am not worthy of your opinion, or think no one can be as good as you, thats fine. i accept that. however some replies i have recieved from this board have helped me a lot in the past and i trust they will with this issue as well. so do yourself a favour and dont waste your time answering a post if you dont want to help.

    thanx.

  5. #5
    Unregistered
    Guest
    Originally posted by Troll_King
    If you were really ready for this stage of software development than you would not have to ask this question.
    i disagree. he wants to start 3d programming, and wants to know whether it would be best for him to get used to opengl or directx. he didnt say he intends to release a quicker smaller more feature-rich quake3 engine tomorrow or anything

  6. #6
    Registered User The Dog's Avatar
    Join Date
    May 2002
    Location
    Cape Town
    Posts
    788
    I'll advise you to go with OpenGL.

    It's just so much fun.

    Here's a link to a first lesson in OpenGL.

  7. #7
    Unleashed
    Join Date
    Sep 2001
    Posts
    1,765
    > i disagree.
    I find Troll_King's reply acceptable.

    > dont waste your time answering a post if you dont want to help.
    Fine then, I won't.

    Graphics Programming: OpenGL VS DirectX
    http://www.google.com/search?hl=en&i...nGL+VS+DirectX

    If you were really ready for this stage of software development than you would not have to ask this question.
    Some people do not understand the term bullet-proof.
    The world is waiting. I must leave you now.

  8. #8
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784

    Re: Re: Troll_King. Not ready ?

    Originally posted by Spectrum48k
    i am not ready to replace John Carmack. i am however curious. i have started about a year ago studying C on my own. all things considered, i am happy with my progress. all the programs i make are console based and run in a Dos box. i want to start to learn some basics on graphics for now, but have limited time to waste. some opinions are all i ask for. if you dont have one for me, or you think i am not worthy of your opinion, or think no one can be as good as you, thats fine. i accept that. however some replies i have recieved from this board have helped me a lot in the past and i trust they will with this issue as well. so do yourself a favour and dont waste your time answering a post if you dont want to help.

    thanx.
    Okay, this is fair, sorry. I believe that you should be able to look at their libraries and understand the differences yourself. If you can't than you are probably not ready for graphics programming in C. I don't think that most programmers take the proper learning path. You can learn graphics programming now and build a dog house
    or else you can learn how to design large scale applications first of all, than build a professional application.

  9. #9
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    I don't think that most programmers take the proper learning path. You can learn graphics programming now and build a dog house
    or else you can learn how to design large scale applications first of all, than build a professional application.
    and who are you to say what's the proper learning path? Is there such a thing if you learn and have fun doing so? Granted If he was the employee of some fortune 500 company and his JOB (not hobby) was to write software, then yes he'd be going down the wrong learning path.
    But I've written some large scale programs, and let me tell you something, there's nothing more gratifying than spinning your first cube in openGL. So spectrum, I say ignore Troll King and do whatever you find entertaining. Have fun.
    PHP and XML
    Let's talk about SAX

  10. #10
    Registered User
    Join Date
    Jul 2002
    Posts
    273
    oh jeez people. His name is Troll_King. Doesn't that suggest something? don't get defensive about his posts. he's trying to annoy you. Look at both DirectX and OpenGL. I have some question as to the thread-safeness of OpenGL though. It's a state machine where DirectX is built on COM and appears to be thread safe. I would love to hear opinion on that.

  11. #11
    TK
    Guest
    Originally posted by Hershlag
    oh jeez people. His name is Troll_King. Doesn't that suggest something? don't get defensive about his posts. he's trying to annoy you. Look at both DirectX and OpenGL. I have some question as to the thread-safeness of OpenGL though. It's a state machine where DirectX is built on COM and appears to be thread safe. I would love to hear opinion on that.
    Anything you run on the Microsoft OS you have no choice. You must use Microsofts solution.

  12. #12
    TK
    Guest
    Microsoft has specially designed it that way.

  13. #13
    TK
    Guest
    ...without your knowing.

  14. #14
    TK
    Guest
    If your planning on cross platform definately choose OpenGL, but if you are going with the Monopoly than choose DirectX.

    Before you approach this API might help to learn how to design your applications.

  15. #15
    TK
    Guest
    With proper design work you can target any platform and use any API rather than get bogged down into only one solution.

Page 1 of 2 12 LastLast
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, 10:07 AM
  2. DirectX vrs. OpenGL - Witch one is better?
    By Queatrix in forum Windows Programming
    Replies: 5
    Last Post: 02-23-2006, 02:32 PM
  3. Allegro, OpenGL.. or even DirectX?
    By Zeusbwr in forum C++ Programming
    Replies: 1
    Last Post: 11-14-2004, 07:16 AM
  4. OpenGL 2 or DirectX ?
    By alex6852 in forum A Brief History of Cprogramming.com
    Replies: 9
    Last Post: 01-02-2003, 01: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, 05:18 PM

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