Thread: Images in GLUI

  1. #1
    Registered User
    Join Date
    Jun 2007

    Images in GLUI


    Anybody knows how to insert pictures in GLUI?? To the best of my knowledge, GLUI doesn't provide any control/widget that handles pictures/images like in for example VB and GTK...well I hope I'm wrong.

    I am desperately searching how in the world to do please!

  2. #2
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    I think it must support images in some way, because the sample screenshots on this page contain images:

    But this documentation does not contain the word "image", so I think you're out of luck:

    You might have to use GLUT to render images.

    I don't know if this is what you're looking for or not:

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell

    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ:

    My website:
    Projects: codeform, xuni, atlantis, nort, etc.

  3. #3
    The Right Honourable psychopath's Avatar
    Join Date
    Mar 2004
    Where circles begin.
    If you don't mind digging into the GLUI source code, I don't think it'd be too hard to add a control that draws an image. All of the GLUI controls are rendered with quads I believe, so you'd just have to write an image loader and texture a basic control. (I think. I haven't look at the GLUI source in a while).
    M.Eng Computer Engineering Candidate
    B.Sc Computer Science

    Robotics and graphics enthusiast.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. mirroring website with images on external host
    By cyberfish in forum Tech Board
    Replies: 1
    Last Post: 09-08-2008, 06:50 PM
  2. Images
    By gvector1 in forum C++ Programming
    Replies: 7
    Last Post: 02-25-2003, 09:59 AM
  3. images, icons, and cursors, OH MY!
    By DarkViper in forum Windows Programming
    Replies: 3
    Last Post: 01-07-2003, 02:26 PM
  4. STL, Queues And Images
    By simly01 in forum C++ Programming
    Replies: 3
    Last Post: 06-24-2002, 12:31 PM
  5. A simple question on Images....
    By LonelyPlanetWa in forum C Programming
    Replies: 7
    Last Post: 05-20-2002, 07:34 AM