Thread: DX or OpenGL?

  1. #16
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Yes, Microsoft monopoly, unfortunately. Until someone backports it to XP. IIRC someone is already doing that, but I don't know how well it's going / how well it can be done.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  2. #17
    Registered User
    Join Date
    Nov 2007
    Posts
    57
    Yup.

    And my computer (the one I usually use for my programming) is quite old. 400mhz, 198mb ram.
    I'm hoping I can fit the DX SDK and DX9.0c onto the hard drive.

  3. #18
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Wow. What game do you expect to make to run on that machine?
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  4. #19
    Registered User
    Join Date
    Nov 2007
    Posts
    57
    Not really sure... Still setting it up.
    Will probably be making small things, then when I get into bigger things, I will move my programs down to this computer. (Much faster)
    I would still use it for coding, compiling, simple things.

    I've tried doing so many of those XP tweaking guides on the internet...


    edit: Although Microsoft does make it for new machines, they are probably one of the biggest companies in the world, so the API won't go out of date. Like OpenGL, it hasn't been updated in a while.
    Last edited by michaelp; 01-02-2008 at 06:47 PM.

  5. #20
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    > Like OpenGL, it hasn't been updated in a while.
    OpenGL is merely a specification. There have been a lot of OpenGL extensions and developments recently, and OpenGL 3.0 is on the way.

  6. #21
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    I feel that DirectX gives me the most bang for my buck, or lack thereof, because it entails sound, input, and the whole enchilada. Direct3D is just one portion of DirectX and to judge DirectX solely in the context of Direct3D is a misstep.

    But you use whatever API aids you the most and what you feel comfortable with. We could give you all kinds of advice and opinions for and against both but in the end the choice is yours.

    You will not get slammed for using DirectX, OpenGL, Allegro, SDL, etc, on these boards. You will get slammed if you use those with no forethought as to the underlying principles. A fancy API is nothing without knowing how to apply it.

    Your first question should not be what's the easy and quick route unless this is a product that is dependent on money and thus time. Your question should be which API offers the most for your specific project. Don't choose DX, GL, Allegro, or SDL just because one is easier than the other. They are all about the same as far as difficulty goes. Game programming is not easy, period. But it is some of the most enjoyable code I've written (when it works) and the satsfaction of seeing your game code running is worth all the fuss.
    Last edited by VirtualAce; 01-02-2008 at 08:42 PM.

  7. #22
    Registered User
    Join Date
    Nov 2007
    Posts
    57
    Cool.
    Thanks for the help everyone, I've chosen DX and have set it up with Dev-Cpp.

  8. #23
    Registered User
    Join Date
    Nov 2007
    Posts
    57
    Quote Originally Posted by Elysia View Post
    Wow. What game do you expect to make to run on that machine?
    Sorry for double post.


    I have a had quite a few good games be able to run on the computer.
    Age of Empires 1 and 2 could run on it.
    A game called "G-Nome", which now that I think about it, has very impressive graphics for he computer it is ran on. Under system requirements for it, it only needed 16MB of ram.
    Google "G-Nome" for images.

  9. #24
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Sure, games can run, but can your games run on the old hardware? Or are you specializing in old games that run regardless of hardware?
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  10. #25
    Registered User
    Join Date
    Nov 2007
    Posts
    57
    I won't know until I start to make some.
    But I'm sure I will be able to make something half-decent (maybe not as good as G-Nome) on my computer.

    And G-Nome was made using DX 3. :O

  11. #26
    Registered User
    Join Date
    Dec 2007
    Posts
    214
    Quote Originally Posted by Elysia View Post
    Wow. What game do you expect to make to run on that machine?
    How about Pong... with a colored ball.

  12. #27
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    I found it odd that you're running a DX on a pretty low-tech computer on an almost unsupported IDE system.

  13. #28
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    You make it sound like 400 MHz is the stone age. Bah. Most of the best games I know would run flawlessly there.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  14. #29
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Compared to today's hardware, it is! But I'm more concerned over the poor capabilities of the graphics card.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  15. #30
    Internet Superhero
    Join Date
    Sep 2006
    Location
    Denmark
    Posts
    964
    Quote Originally Posted by CornedBee View Post
    You make it sound like 400 MHz is the stone age. Bah. Most of the best games I know would run flawlessly there.
    400 mHz is just a step away from Babbage's difference engine, it's not the stone age, more like the Jurassic period!...
    How I need a drink, alcoholic in nature, after the heavy lectures involving quantum mechanics.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM
  2. About DX and OpenGL
    By Lurker in forum Game Programming
    Replies: 9
    Last Post: 07-07-2003, 09:22 PM
  3. A question for those that know opengl and DX
    By EvBladeRunnervE in forum Game Programming
    Replies: 8
    Last Post: 03-07-2003, 02:01 AM
  4. OpenGL .dll vs video card dll
    By Silvercord in forum Game Programming
    Replies: 14
    Last Post: 02-12-2003, 07:57 PM
  5. My graphics library
    By stupid_mutt in forum C Programming
    Replies: 3
    Last Post: 11-26-2001, 06:05 PM