Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: GLUT and OpenGL

  1. #1
    Junior Member Newbie
    Join Date
    Jan 2004
    Posts
    2

    GLUT and OpenGL

    Hi,

    I'm currently moving from Direct3D to OpenGL and want to start out with the GLUT so I don't have to bother with programming different window systems. However, I maybe want to use OGL beyond GLUTs capabilities, so my question would be:

    Can I mix native OpenGL code with GLUT or will they interfere each other?

    Thanks in advance.

  2. #2
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,580

    Re: GLUT and OpenGL

    In fact glut does only what is not done in opengl, ie. windows creation, mouse events capture, etc.

    So there is absolutely no problem in mixing the two, because it is mandatory.

    Contrary to DirectX wich is a huge SDK, OpenGL only deals with graphics rendering, so you have to rely in other libs to do a complete app.

    However, GLFW is better than GLUT for game-like programming.

  3. #3
    Junior Member Newbie
    Join Date
    Jan 2004
    Posts
    2

    Re: GLUT and OpenGL

    Alright, thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •