Is glut the right method?

Discussion in 'Mac Programming' started by soiheardyoulike, Jul 29, 2008.

  1. soiheardyoulike macrumors newbie

    Jul 16, 2008
    I recently picked up this book called opengl super bible 4th edition and it talked about cross platform and using glut. I know glut has not been added to for years but would you use glut in any other application then for learning or demonstrating or can glut stand on its own as a display tool for cross platform work?

    Thanks a lot.
  2. Cromulent macrumors 603


    Oct 2, 2006
    The Land of Hope and Glory
    GLUT is great for learning to use OpenGL because you can concentrate on OpenGL and not have to worry about any windowing APIs. For proper OpenGL development I would recommend either the platform native APIs or something like Qt. But if you are developing a game chances are you'll just be using fullscreen mode only, which renders much of that null and void.

    Another useful API is SDL which works well with OpenGL.
  3. Aranince macrumors 65816

    Apr 18, 2007
    I also recommend SDL, its great for window management and input handling, as well as giving you full access to OpenGL.

Share This Page