GUI alternatives...
GUI alternatives...
Hi...
It seems that IrrlichtGUI is far from be a good choice since it's very limited.
I would like to know if there's other options available to use with Irrlicht and if someone had experienced them.
(sorry for my english... )
It seems that IrrlichtGUI is far from be a good choice since it's very limited.
I would like to know if there's other options available to use with Irrlicht and if someone had experienced them.
(sorry for my english... )
Re: GUI alternatives...
If you are using Windows there is always Visual C++ or the raw Windows API. You can embed an Irrlicht rendering window into these forms.
http://irrlicht.sourceforge.net/docu/example014.html
http://irrlicht.sourceforge.net/docu/example014.html
Computer Science Major - Ball State University
Re: GUI alternatives...
I've had partial success with Qt on Linux but when it came to Windows I had a few issues. Might go back to it some time and try again.
There's always wxWidgets too which I haven't yet tried out.
There's always wxWidgets too which I haven't yet tried out.
Re: GUI alternatives...
I've tried a couple with Irrlicht. Started with CEGUI 0.6, which met my needs. It's evolved considerably. I think Sudi posted a working example of librocket on the forums here, which is pretty interesting. Mygui is another.
http://www.cegui.org.uk/wiki/index.php/Main_Page
http://librocket.com/wiki/documentation
http://mygui.info/
http://www.cegui.org.uk/wiki/index.php/Main_Page
http://librocket.com/wiki/documentation
http://mygui.info/
Re: GUI alternatives...
I'm tring to use CEGUI with Irrlicht but it looks that there is no examples available in the net...
If someone could point me to a piece of code showing how-to use cegui and irrlicht would be nice.
If someone could point me to a piece of code showing how-to use cegui and irrlicht would be nice.
Re: GUI alternatives...
Just checkout the CEGUI examples on how stuff is rendered and how events are handled. Then you should be able to create an irrlicht wrapper for it.LordJonas wrote:I'm tring to use CEGUI with Irrlicht but it looks that there is no examples available in the net...
If someone could point me to a piece of code showing how-to use cegui and irrlicht would be nice.
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
Re: GUI alternatives...
berkelium. with some creativity seamless experience can be created where you can directly call from c++ into js or vice-versa. html UIs are best.
Re: GUI alternatives...
I just downloaded cegui and it seams it already has an irrlicht renderer.
But that renderer seams to be from 2004. Maybe it works maybe it doesn't who knows. Just try it. besides there are all the other renderers so you can check how to fix it in case it is actually broken.
Edit: nvm it seams to work
But that renderer seams to be from 2004. Maybe it works maybe it doesn't who knows. Just try it. besides there are all the other renderers so you can check how to fix it in case it is actually broken.
Edit: nvm it seams to work
Code: Select all
Release 0.7.9
- Bug Fix: CEGUI produced no rendering under irrlicht 1.8+
- Bug Fix: CEGUI would not build against Irrlicht 1.8+
Code: Select all
Example:
-------------------------
// create a renderer which uses the irrlicht filesystem to load data
renderer=new CEGUI::IrrlichtRenderer(device,true);
// create the gui
new CEGUI::System(renderer);
// draw everything
while(device->run())
{
// draw only if the window is active
if (device->isWindowActive())
{
driver->beginScene(true, true, video::SColor(150,50,50,50));
//draw scene
smgr->drawAll();
// draw gui
CEGUI::System::getSingleton().renderGUI();
driver->endScene();
}
}
--------------------------
// irrlicht event handler function
bool CEGuiTest::OnEvent(SEvent event)
{
if(irrlichtrenderer!=0)
return irrlichtrenderer->injectEvent(event);
else
return false;
}
--------------------------
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
Re: GUI alternatives...
CEGUI seems very good...
I only wish the GUI Editor would be better. I'm facing very difficulties to make a simple menu with it.
I'l give a one more try and see what comes...
I only wish the GUI Editor would be better. I'm facing very difficulties to make a simple menu with it.
I'l give a one more try and see what comes...
-
- Posts: 1010
- Joined: Mon Oct 24, 2011 10:03 pm
- Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d
Re: GUI alternatives...
GUI editor? I just do everything through code ^^; (Far more control that way)
"this is not the bottleneck you are looking for"
Re: GUI alternatives...
I like the idea of berkelium. Maybe I'll have a look into that
Dustbin::Games on the web: https://www.dustbin-online.de/
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Re: GUI alternatives...
Yep...
It really seems that i'll have to write everything myself since de editor don't produce good enough results.
That's a shame since the potencial is so great...
It really seems that i'll have to write everything myself since de editor don't produce good enough results.
That's a shame since the potencial is so great...
-
- Posts: 1010
- Joined: Mon Oct 24, 2011 10:03 pm
- Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d
Re: GUI alternatives...
LordJonas, Once you get used to coding over WYSIWYG editors you'll realize how much faster it is (I can damn near see the end result before compiling)
If you need the location of something just place a random gui element of the same size and note down the coordinates it ends up at (10,10,600,679 for example)
If you need the location of something just place a random gui element of the same size and note down the coordinates it ends up at (10,10,600,679 for example)
"this is not the bottleneck you are looking for"