Hello, I don't know if this is the right place to ask this, so sorry if it isn't.
Recently, I was thinking of making a simple-ish GUI, but I was afraid that a GUI made by directly drawing to the screen using g2d would be too limited for certain effects that I might like to have.? So, I was thinking of making the GUI in 3D, i.e., map textures to quads, procedurally draw text to the GUI quads, etc.? However, mixing 2D GUI elements with the 3D environment introduces some interesting problems.
One problem that I cannot seem to figure out how to deal with is ...how to keep the things in the 3D world from intersecting the quads of the GUI.? I have an idea on how to do this, but I don't know if it's practical.? My idea is to set up a quad that the 3D environment camera renders to procedurally (instead of the backbuffer) and then have another quad in front of that one, to which the GUI elements would be rendered.
Is this practical?? If not, does anyone have any ideas on how to achieve what I want?
Eve online (
www.eve-online.com) is a good example of a game that does what I am thinking:
http://www.eve-online.com/screenshots/collection.asp?col=28082003&n=12#shThat little hemispherical thingy in the bottom-right corner is part of the gui, so it would never intersect with the world's entities.? Maybe the EVE developers just made sure that nothing ever gets close enough to the GUI for that to be a problem, but I doubt that they would risk it.? So how did they do it?? Anyone have any ideas?