Hey,
in my program i'm using Qt as GUI and Irrlicht as rendering engine.
I have multiple windows within my GUI used for different cameras. To let the device render in the right window, I use the id of the window in beginScene.
When creating the device at the program start, i put IrrlichtParameters.WindowId = NULL;
because there is no "standard window" where Irrlicht should render the scene into.
My problem: Whenever i create the device, it opens a new window (but of course it never uses it, because before rendering the scene I set another window with begindevice).
How can I tell Irrlicht not to open a new, empty window? Is there such an option?
Thanks a lot,
D.
Creating a device without creating a window
I'm not sure , but there is a null driver which may help.
Code: Select all
enum E_DRIVER_TYPE
{
//! Null driver, useful for applications to run the engine without visualisation.
/** The null device is able to load textures, but does not
render and display any graphics. */
EDT_NULL,
........