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 that...help please!
I think it must support images in some way, because the sample screenshots on this page contain images: http://www.cs.unc.edu/~rademach/glui/
But this documentation does not contain the word "image", so I think you're out of luck: http://www.cs.unc.edu/~rademach/glui...al_v2_beta.pdf
You might have to use GLUT to render images.
I don't know if this is what you're looking for or not: http://nehe.gamedev.net/lesson.asp?index=02
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).