OpenGL graphics

This is a discussion on OpenGL graphics within the Game Programming forums, part of the General Programming Boards category; Hi. I know C/C++, Win32API, and are now sniffing on OpenGL. (And a mathprimer book is on the way , ...

  1. #1
    Politics&Cpp geek Da-Nuka's Avatar
    Join Date
    Oct 2004
    Posts
    104

    OpenGL graphics

    Hi.
    I know C/C++, Win32API, and are now sniffing on OpenGL.
    (And a mathprimer book is on the way , it looks like i got no choice but to read maths if im going into OpenGL.)

    But my question is:
    From what I have read, OpenGL are graphics-only.
    Do i need to mix OpenGL with SDL?

    I have looked into SDL, and i think it looked...dirty and messy
    (I'm a true windows-diciple )
    Hehe, but do you reccomend to use SDL for input/GUI/sound/gameloop?


    Or is it better or at least as good, to simply use:
    - OpenGL
    - Win32API
    - OpenAL
    - C++

  2. #2
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    I recomend useing GLUT, its very easy to use, is multi-platform, and covers everything from windowing to input for opengl. See the code-snippits section for a GLUT template to get started.

  3. #3
    Politics&Cpp geek Da-Nuka's Avatar
    Join Date
    Oct 2004
    Posts
    104
    How about audio?

  4. #4
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    University of Waterloo
    Posts
    1,903

  5. #5
    Politics&Cpp geek Da-Nuka's Avatar
    Join Date
    Oct 2004
    Posts
    104
    hm.. about GLUT, i didnt like this:
    GLUT is not a full-featured toolkit so large applications requiring sophisticated user interfaces are better off using native window system toolkits. GLUT is simple....
    How about if i use
    C++(Of course)
    OpenGL(For graphics)
    Pure Win32API (For GUI, gameloop/framerate and input)
    Fmod(Auido)


    Is this any good? If not, why? (Yeah, I just want to target Windows)

  6. #6
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    GLUT has support for various Input devices, windowing, and right click menu's.. its not a full widget library. Its just a simple library to get opengl enabled windows up and running.

    what you've posted above will work just fine.

  7. #7
    Registered User
    Join Date
    Mar 2003
    Posts
    580
    How sophisticated does your interface need to be? It's a waste of time writing mounds of arcane WIN32 api code if you just need a rendering window and basic button clicking functionality.
    See you in 13

  8. #8
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    GLUT is fine for simple test applications, but IMO sucks for any kind of 'real' game or application.
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  9. #9
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    GLUT won't scale well for large application or huge complete games. But for the majority of hobbiest projects its more than adaquate IMO. ive never really had any issues with it and ive used it for some fairly complex and decently large projects. (large compared to the average hobbiest project, not industry game).

  10. #10
    Registered User Frobozz's Avatar
    Join Date
    Dec 2002
    Posts
    546
    You could try GLFW if you don't like SDL.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. OpenGL graphics
    By Zishaan in forum Game Programming
    Replies: 6
    Last Post: 04-05-2007, 11:59 AM
  2. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 01:34 PM
  3. Adding 2D graphics in OpenGL
    By Da-Nuka in forum Game Programming
    Replies: 7
    Last Post: 04-05-2005, 03:26 PM
  4. OpenGL .dll vs video card dll
    By Silvercord in forum Game Programming
    Replies: 14
    Last Post: 02-12-2003, 07:57 PM
  5. opengl code not working
    By Unregistered in forum Windows Programming
    Replies: 4
    Last Post: 02-14-2002, 10:01 PM

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