Image based GUI

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply

What kind of UI do all of you use?

Image/Texture Based
18
82%
Strictly Property Based.
4
18%
 
Total votes: 22

disks86
Posts: 15
Joined: Tue Nov 03, 2009 4:04 am
Contact:

Image based GUI

Post by disks86 »

Alright lets see how much trouble I can stir up tonight/this morning.

I have a pretty big project I'm working on with some friends for our edutainment. My friend that was going to do the UI wants to use images for almost everything from what I know of existing games that is pretty common. He has create enough mod game interfaces I'm sure he knows what he is doing. But anyway with the exception of the image button it seems as though the controls are more like windows forms in that they are all property based not image based. And while as a programming I think that is awesome I don't think it will meet my projects needs.

So down to business. Basically I'm planning on just creating some controls that use images for everything. Shouldn't be too hard just calling draw 2d image all over the place. But anyway if I create such a collection of controls/elements what are the chances it would be accepted into the Irrlicht source if I release it under the same license?

I'm planning on doing it anyway because I need it but if it can help other irrlicht users thats cool too. But if it won't be accepted then I might as well code it however I want as opposed to using the Irrlicht coding style.

Oh one more thing I searched the forum and I noticed the image skin but for some reason that didn't cut it I don't remember now.
I'm not random you just don't get the &.
Nox
Posts: 304
Joined: Wed Jan 14, 2009 6:23 pm

Post by Nox »

There are different ways to go:

Use irrlicht-gui. Your "problem" isnt really a big deal because, buttons uses already images if you want and for every other element you can use a combination of buttons and images. I.e. you can use a default window and add an image as child. It will be drawn in the window as something like a "background".

Use CEGUI. I dont know how it works but just giving it a try may show up if it is suitable for your propose.

Make your own system based on the driver draw calls. But i dont think that is a good way because it will be very timeconsuming.
disks86
Posts: 15
Joined: Tue Nov 03, 2009 4:04 am
Contact:

sigh

Post by disks86 »

I'm talking about using the irrlicht gui. I'm just talking about making some new controls/GUI elements for it.

I guess I could use gui image elements like you suggest but I don't know if that will give me the control I'm looking for.

As for CEGUI like I said I'm planning on using the irrlicht gui it's just some of the existing controls don't cut if for what I need or rather what my UI designer needs.
I'm not random you just don't get the &.
Nox
Posts: 304
Joined: Wed Jan 14, 2009 6:23 pm

Post by Nox »

errr, I apologize. I missunderstood your questions. The chance that it would be applied to the irrlicht core is less then the chance to be accepted for the irrext project. But maybe you should just give it a try. Maybe you have luck :)
disks86
Posts: 15
Joined: Tue Nov 03, 2009 4:04 am
Contact:

lol

Post by disks86 »

lol, alright. I'll try to stick to the coding style for the most part but I'll keep it in my project until it is more mature and then I'll submit it. I hope this works out I'm sure there are others who have just been throwing something together to do what I'm doing for their projects.
I'm not random you just don't get the &.
Post Reply