Whats the fastest api for 2d and whats the best for 3d?

This is a discussion on Whats the fastest api for 2d and whats the best for 3d? within the C++ Programming forums, part of the General Programming Boards category; Whats the fastest api for 2d and whats the best for 3d?...

  1. #1
    Registered User Josh Kasten's Avatar
    Join Date
    Jul 2002
    Posts
    109

    Question Whats the fastest api for 2d and whats the best for 3d?

    Whats the fastest api for 2d and whats the best for 3d?
    int a; don't make a program without it.

  2. #2
    UNBANNED OneStiffRod's Avatar
    Join Date
    Jan 2002
    Posts
    669
    When you use a graphics API, especially OpenGL or DirectX you are telling the comp to use your VIDEO CARD to render the graphics. Since these are generic they aren't the fastest - Video Card makers usually have their own API's for speedy things.

    SDL is a good 2d API also DirectDraw is good but can be complicated for beginners.

    OpenGL and Direct3d are the kings of the hill in 3D api's.
    My Avatar says: "Stay in School"

    Rocco is the Boy!
    "SHUT YOUR LIPS..."

  3. #3
    Registered User Josh Kasten's Avatar
    Join Date
    Jul 2002
    Posts
    109
    I've tried opengl and directdraw but they don't seem that fast
    int a; don't make a program without it.

  4. #4
    Registered User rmullen3's Avatar
    Join Date
    Nov 2001
    Posts
    330

    ...

    "I've tried opengl and directdraw but they don't seem that fast"

    What exactly did you "try"? How could they not be that fast?

  5. #5
    Registered User Josh Kasten's Avatar
    Join Date
    Jul 2002
    Posts
    109
    well it dosn't go really slow but i would like it to go faster

  6. #6
    Registered User rmullen3's Avatar
    Join Date
    Nov 2001
    Posts
    330

    ok, but

    Why would you need it to go faster?

    And if you really need to squeeze more out of your code there are a tremendous amount of optimizations that you can do...

    speed, optimization, which API, etc, all depend on what you want to do... and I'm not sure what you're trying to do =)

Popular pages Recent additions subscribe to a feed

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