Using OpenGL to make windows, tiles, etc.

Moderator
Posts: 133
Joined: 2008.05
Post: #1
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
Quote this message in a reply
DoG
Moderator
Posts: 869
Joined: 2003.01
Post: #2
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.
Quote this message in a reply
Moderator
Posts: 133
Joined: 2008.05
Post: #3
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? Smile
Quote this message in a reply
matthew
Unregistered
 
Post: #4
http://www.foxchange.com/~matt/futurebas...ixiii.html

I made an entire interface in openGL, I call it VIX. (Virtual Interface for Mac OS X) All standard controls are included.
Quote this message in a reply
matthew
Unregistered
 
Post: #5
[Image: vixiiiscreenshot.gif]

Here is a screen shot.
Quote this message in a reply
Member
Posts: 148
Joined: 2003.03
Post: #6
That's pretty nifty. Grin
Quote this message in a reply
Member
Posts: 145
Joined: 2002.06
Post: #7
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.

[Image: howe.jpg]

download demo

"He who breaks a thing to find out what it is, has left the path of wisdom."
- Gandalf the Gray-Hat

Bring Alistair Cooke's America to DVD!
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Tiles/Sprites question Bonked 0 2,134 Dec 16, 2006 06:06 AM
Last Post: Bonked
  How to make Maps in opengl? nahid 4 3,395 Apr 4, 2005 07:49 PM
Last Post: nahid
  Using OpenGL for tiles Taxxodium 6 3,773 Mar 25, 2005 10:06 AM
Last Post: tigakub
  Multiple OpenGL Windows in Cocoa Adger Stokvisch 13 6,686 Dec 13, 2004 05:40 AM
Last Post: Adger Stokvisch
  SDL and transparancy in tiles Taxxodium 1 2,517 Oct 7, 2003 11:44 PM
Last Post: sealfin