![Sad :(](./images/smilies/icon_sad.gif)
I try to draw the Image only during the loading process and I think therefore I need a Begin and EndScene Command.
Loop for the picture during the loadingprocess looks like this:
do{
driver->beginScene(true, true, 0);
driver->draw2DImage(driver->getTexture "../00.HdM/Hintergrund2.jpg"),
core::position2d<s32>(0,0));
driver->endScene();
//driver->clearZBuffer();
} while (mesh = smgr->getMesh("../00.HdM/mesh.my3d")->getMesh(0));
After the loading Process the Titlescreen should change to the main loop where the main scene is drawn. I also need Begin and EndScene here.
while(device->run())
if (device->isWindowActive())
{
driver->beginScene(true, true, 0);
smgr->drawAll();
driver->endScene();
}
how may I handle this? Dont know how to do this withous 2 Begin and EndScene Commands. If I do it like this either the picture is drawn and it doesnt go through to the main scene or the picture is not drawn but the scene instead.
Please help