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

Thread: Creating a gui

  1. #1
    Guest

    Creating a gui

    Hi everyone,

    As part of my final dissertation I've created an OpenGL application, using Visual C++, to visualise a database. I won't go into the details of what my application does but I need to create some GUI's to allow the creation of new objects. Does opengl have any features to create forms, textboxes, buttons etc. If not do I need to use external api's. Sorry if this questions sounds silly but I've been using Java for ages and just assumed that GUI creation would be similar but am having trouble getting to grips with the visual c++ style of things.

    Anyway cheers
    Mike

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Jun 2000
    Location
    Gastonia, NC, USA
    Posts
    2,070

    Re: Creating a gui

    You could use the GLUT library, is has menu and button functions.


    Originally posted by Mike_B:
    Hi everyone,

    As part of my final dissertation I've created an OpenGL application, using Visual C++, to visualise a database. I won't go into the details of what my application does but I need to create some GUI's to allow the creation of new objects. Does opengl have any features to create forms, textboxes, buttons etc. If not do I need to use external api's. Sorry if this questions sounds silly but I've been using Java for ages and just assumed that GUI creation would be similar but am having trouble getting to grips with the visual c++ style of things.

    Anyway cheers
    Mike

  3. #3
    Senior Member OpenGL Guru
    Join Date
    Mar 2001
    Posts
    3,576

    Re: Creating a gui

    Does opengl have any features to create forms, textboxes, buttons etc. If not do I need to use external api's.
    OpenGL is purely a rendering library. It has no GUI facilities. In fact, it has no concept of a window. You will have to rely on some Windows GUI library (MFC, Delphi, pure Win32, etc).

  4. #4

    Re: Creating a gui

    Or you write your GUI in OpenGL as some have done al la Druid's GL Journal
    glGUI release 6.
    http://www.gamedev.net/opengl/index.html

  5. #5
    Junior Member Newbie
    Join Date
    Apr 2002
    Location
    Philadelphia, PA, USA
    Posts
    4

    Re: Creating a gui

    Check out GLUI (http://www.cs.unc.edu/~rademach/glui). I just started using it for my dissertation, and it works quite nicely. I have heard of PUI and MUI, and based on an article by Steve Baker (http://www.sjbaker.org/steve/omniv/mui_pui_glui.html) chose GLUI.

    Good luck.

    Originally posted by Mike_B:
    Hi everyone,

    As part of my final dissertation I've created an OpenGL application, using Visual C++, to visualise a database. I won't go into the details of what my application does but I need to create some GUI's to allow the creation of new objects. Does opengl have any features to create forms, textboxes, buttons etc. If not do I need to use external api's. Sorry if this questions sounds silly but I've been using Java for ages and just assumed that GUI creation would be similar but am having trouble getting to grips with the visual c++ style of things.

    Anyway cheers
    Mike

Posting Permissions

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