Original Post
I would like to create a 2D user interface for my 3D opengl scene. At this stage, I'm thinking a panel on the right hand edge of the screen, say 200 pixels wide, and a panel along the bottom of the screen, say 150 pixels high. I think I'll use glOrtho projection for these panels, but I'm not sure how to draw them on screen. Two possible ideas: 1) Draw two quads, each representing a panel. OK, but I want the panels to look good, so they'll need to have a nice texture. But square textures and rectangular quads (one of whose dimensions might change depending on which resolution the user chooses) don't go together so nicely, especially when you want a nice border around the panel. 2) Use glDrawPixels. I'll have better control of what goes on the screen (guess I won't need glOrtho in this case) but what about the speed of this function? Any comments? Any other ideas about how to do a simple 2D user interface in OpenGL?
