View Full Version : Using OpenGL to make windows, tiles, etc.
LongJumper
2003.10.05, 10:30 PM
I'm switching a 2d tile game from using quickdraw/quartz/whatever it is to OpenGL. I want to make my own interface, not using the aqua look that I have now.
I guess my 3 main questions are:
1. Where to find good reads on creating an OpenGL tile engine?
2. How to create "windows" that look how I want them to look in OpenGL and behave like windows.. just the general concept behind it is fine.
3. How to create and handle "controls" drawn up in OpenGl.
Thanks
I should have some code on that UI stuff if you want your windows inside an OpenGL view. I did that a few years back, could probably dig up the code (c++), though I am unsure if the code I have is running, but you never know.
I am again working on an OpenGL UI as part of another project, but finishing that is far off.
LongJumper
2003.10.06, 02:14 PM
Ya that'd be great to have a look at, and is what I had in mind.
Could you send it to my email josephconway@wisc.edu whenever you have a chance? :)
matthew
2003.10.06, 10:45 PM
http://www.foxchange.com/~matt/futurebasic/vix/vixiii.html
I made an entire interface in openGL, I call it VIX. (Virtual Interface for Mac OS X) All standard controls are included.
matthew
2003.10.06, 10:50 PM
http://www.foxchange.com/~matt/futurebasic/vix/vixiiiscreenshot.gif
Here is a screen shot.
MacFiend
2003.10.07, 08:50 AM
That's pretty nifty. :D
I made this a while back. Dropped the project because it doesn't scale at all well. Once you get to about 5 windows it spends more time doing setup & copying to the front buffer than it does actually drawing.
http://www.inio.org/~inio/code/howe.jpg
download demo (http://www.inio.org/~inio/code/HOWEDemo.tgz)
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.