sorry for this question, but I have a huge problem with loading 2d images (for example as a "please-wait-while-loading screen")...
I load that image (tga file) from a zip file (of course uncompressed) ...
Code: Select all
device = createDevice(x, dimension2d<s32>(screenw, screenh), bpp, false, false, false, 0);
[...]
ITexture *splash;
splash = driver->getTexture("images/logo.tga");
while(device->run() && driver)
{
driver->beginScene(true, true,0);
// show the splash screen
if(State == SPLASH && bSO==true)
{
bSO=false;
guienv->addImage(splash, core::position2d<s32>(0,0));
}
smgr->drawAll();
guienv->drawAll();
driver->endScene();
}
(I´ve uploaded as jpg because the files are very big)
Original: http://img56.imageshack.us/img56/3355/logo3ji.jpg
My App: http://img56.imageshack.us/img56/6500/screen6go.jpg
as you can see, my app displays it, but in a lower quality.... what´s the reason?
I`ve already tried to store that image as bmp... but without any effect 8[