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 4 of 4

Thread: glx beginner

  1. #1
    Intern Contributor
    Join Date
    Mar 2002
    Location
    France
    Posts
    52

    glx beginner

    hello,

    what can support glx ? is it the same as glut ? can i do interactivity with keyboard, mouse ? does fullscreen mode available ?
    Je suis celui qui failli qui trépasse et se lasse, je suis celui qu'on abuse à vider de sa face

  2. #2
    Guest

    Re: glx beginner

    glX is an extension to X that adds OpenGL support similar to wgl for Windows. For a programmer is it a low level API. It does not have functions for keyboard, mouse or fullscreen modes for this do you have to use the ordinary X libraries or a wrapper like GLUT.

    If you type glxinfo will you get some information that shows what this is about. You also have other extensions to X like the one for video, type xvinfo.

    Here is a PDF that describes how OpenGL integrates with the X Window System. http://toolbox.sgi.com/linux/documen...ws.html#mjkOiX

  3. #3
    Intern Contributor
    Join Date
    Mar 2002
    Location
    France
    Posts
    52

    Re: glx beginner

    thank you much !

    can i blend glut & glx ? (i know some about glut); will it work correctly ? or have i to use something else ?
    i'm afraid of the glx lib, it's difficult!
    Je suis celui qui failli qui trépasse et se lasse, je suis celui qu'on abuse à vider de sa face

  4. #4
    Guest

    Re: glx beginner

    I guess that you can blend glut&glx but if you want to call glx yourself is it perhaps easier not to use glut. You can let glut make the calls to glx so you only need to know about the glut functions. You do not get the same control and access to all the latest stuff as if you made the glx calls yourself. glutInitDisplayString should give more options than the normal glutInit functions.

    The glx lib can be difficult but OpenGL programming is something advanced and difficult.

Posting Permissions

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