as far as I can see, THE scene is managed by the SceneManager. Is it right, that there can only be one scene?
The rendering loop always looks like
Code: Select all
driver->beginScene(...);
smgr->drawAll();
guienv->drawAll();
driver->endScene();
Code: Select all
driver->beginScene(...);
guienv->drawAll();
driver->endScene();
Maybe the easiest way would be, to add a draw(ISceneNode* drawRoot)-method to the ISceneManager-Interface and save the camera and root-node that should be used with the new GUIElement. Or is there a good solution to achieve this goal without modifying/extending the irrlicht interfaces?
Regards,
Marc