This may be a stupid question; but, this should be the appropriate forum for stupid questions.
In Windows 7, when Irrlicht renders to its own window (such as in the Hello World example 1), clicking and dragging on the window freezes the rendering.
It looks like it's possible to keep it rendering (while dragging) if it's embedded inside of a GUI (such as in Irrlicht Lime's L02 Winforms example). However, I'd prefer not to use Winforms so that it keeps platform independence.
A third-party cross-platform GUI might work, but forcing the user to download a GUI library just to embed Irrlicht seems a bit overkill.
With that being said:
1. Is it possible to have the window render regardless of whether or not it's selected?
2. If it's possible, is this a bad idea? i.e. would it consume a lot of system resources?
If it matters, this is the while loop code:
Code: Select all
while(device->run())
{
driver->beginScene(true, true, SColor(255,255,255,255));
smgr->drawAll();
guienv->drawAll();
CEGUI::System::getSingleton().renderGUI();
driver->endScene();
}Visual Studio 2010 Professional
Visual C++ 10.0 32-bit (Debug)
Windows 7 Ultimate 64-bit
Irrlicht 1.7.2
CEGUI 0.7.5
Any help is greatly appreciated! If you need any additional information, feel free to ask. Thank you for your time.
