Graphics library questions

This is a discussion on Graphics library questions within the Game Programming forums, part of the General Programming Boards category; What would you suggest as a good graphics library, and where would I download whatever files I need to start ...

  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    91

    Graphics library questions

    What would you suggest as a good graphics library, and where would I download whatever files I need to start using it with C++?

    EDIT: And how do you compile using Visual C++?? I can't find a "compile" button anywhere, and if I have to use the command prompt I have no idea what the command would be.
    Last edited by linkofazeroth; 09-10-2005 at 01:19 AM.
    It's Link, not linkofazeroth. The latter's just my username. The former's my online identity. Thank you.

  2. #2
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Quote Originally Posted by linkofazeroth
    What would you suggest as a good graphics library, and where would I download whatever files I need to start using it with C++?

    EDIT: And how do you compile using Visual C++?? I can't find a "compile" button anywhere, and if I have to use the command prompt I have no idea what the command would be.
    Well OpenGL or DirectX are the commercial ones.
    Alt-F7 Compiles in Visual C++ IIRC, or it might just be F7.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  3. #3
    ---
    Join Date
    May 2004
    Posts
    1,379
    It is usually a red exclamation mark '!'
    I think it is labelled 'Run'

  4. #4
    Registered User
    Join Date
    Aug 2005
    Posts
    91
    How do you get OpenGL to work with Dev-C++? If there was some easy installer thing I could use to put everything in the right place, that's be great...
    It's Link, not linkofazeroth. The latter's just my username. The former's my online identity. Thank you.

  5. #5
    The Reel Thing
    Join Date
    Jun 2005
    Posts
    44
    It's easy, you just have to start a new project, include the OpenGL header files, and link to the appropriot libraries. Dev-C++ also has a pre-made OpenGL template, start one up and look through it just to see what files you need.
    Bagpipes putting the fun back in funeral.

  6. #6
    C maniac
    Join Date
    Aug 2004
    Location
    Cyberwarping to Middle Earth
    Posts
    154
    The SDL is a good library

  7. #7
    Registered User
    Join Date
    Aug 2005
    Posts
    91
    I mean, how do you get the glut.h file to work? It's confusing...

    EDIT: I've downloaded a DevPak for glut at http://old.devpaks.org/show.php?devpak=128, but it's still not working. I get all these linker errors... "undefined reference to (function)".

    EDIT2: And it'd be SO GREAT if someone could give me a step-by-step walkthrough of installing glut and getting it to work.
    Last edited by linkofazeroth; 09-10-2005 at 02:14 PM.
    It's Link, not linkofazeroth. The latter's just my username. The former's my online identity. Thank you.

  8. #8
    Dae
    Dae is offline
    Deprecated Dae's Avatar
    Join Date
    Oct 2004
    Location
    Canada
    Posts
    1,034
    Quote Originally Posted by kawk
    The SDL is a good library
    True, but not a graphics library.

    OpenGL - Better than DirectX
    OpenGL - not the same thing as DirectX. OpenGL - Better than Direct3D.

    DirectX - an easier way to screw up your computer.
    How so? o.0
    Warning: Have doubt in anything I post.

    GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101

  9. #9
    Even death may die... Dante Shamest's Avatar
    Join Date
    Apr 2003
    Location
    Malaysia
    Posts
    970
    Quote Originally Posted by Dae
    True, but not a graphics library.
    Actually, I think it does support graphics. It provides both low-level pixel access and high-level image loading capabilities. You may also access OpenGL with it.

  10. #10
    Dae
    Dae is offline
    Deprecated Dae's Avatar
    Join Date
    Oct 2004
    Location
    Canada
    Posts
    1,034
    Quote Originally Posted by Dante Shamest
    Actually, I think it does support graphics. It provides both low-level pixel access and high-level image loading capabilities. You may also access OpenGL with it.
    Oh yeah.. it definetly has it uses. Has low level access and 2d image abilities. I guess SDL is a low-level 2d graphics library also then, with support of using 3d OpenGL with it.
    Warning: Have doubt in anything I post.

    GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101

  11. #11
    Registered User
    Join Date
    Aug 2005
    Posts
    91
    I'm using Visual C++ 2005 Express Edition Beta. Do betas not have compilers? -_- Alt F7 didn't do anything.
    It's Link, not linkofazeroth. The latter's just my username. The former's my online identity. Thank you.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Beginning Game Programming Type Books
    By bumfluff in forum Game Programming
    Replies: 36
    Last Post: 09-13-2006, 04:15 PM
  2. Makefile for a library
    By sirmoreno in forum Linux Programming
    Replies: 5
    Last Post: 06-04-2006, 04:52 AM
  3. Game Programming FAQ
    By TechWins in forum Game Programming
    Replies: 5
    Last Post: 09-29-2004, 02:00 AM
  4. Graphics library and header
    By Zagaberoo in forum C++ Programming
    Replies: 1
    Last Post: 03-28-2004, 05:43 PM
  5. allegro graphics library for linux
    By oldcoyote in forum Linux Programming
    Replies: 3
    Last Post: 10-03-2001, 10:24 AM

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