Not working windowed mode
Not working windowed mode
I have worked for a while on my application and I noticed the shadow's don't work. I tested the Special FX tutorial, in windowed mode the shadows work, in Fullscreen the shadow dosn't work. I thought I'm gonna test my app in windowed mode but when I change the true to false of the fullscreenmode the executable doesn't run Does anybody know what's wrong? Code is here: http://irrlicht.sourceforge.net/phpBB2/ ... php?t=2393 (not the most recent code)
Visit my website @ www.venex.be
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
And the not working windowed mode?
Maybe the fault is in here, but I am not a programmer...
Maybe the fault is in here, but I am not a programmer...
Code: Select all
int lastFPS = -1;
while(device->run())
{
driver->beginScene(true, true, 0);
smgr->drawAll();
env->drawAll();
driver->endScene();
int fps = driver->getFPS();
if (lastFPS != fps)
{
wchar_t tmp[1024];
swprintf(tmp, 1024, L"Imperial Guard");
device->setWindowCaption(tmp);
wchar_t dfps[1024];
wchar_t poly[1024];
swprintf(dfps, 1024, L"FPS: %d", fps);
swprintf(poly, 1024, L"Poly's: %d", driver->getPrimitiveCountDrawn());
fpstext->setText(dfps);
polytext->setText(poly);
lastFPS = fps;
}
}
device->drop();
return 0;
Visit my website @ www.venex.be
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
Yes I know that!,
But the exe fails to start, it gives an error, so I thought the fault in the code was in there...
But the exe fails to start, it gives an error, so I thought the fault in the code was in there...
Visit my website @ www.venex.be
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
Currently:
fullscreen: not working shadows....
windowed: I have to disable the particle effect or else he will crash....
Maybe the shadows will work in fullscreen but he says: Gforce 2 doesn't enable stencil buffers, stencil buffer disabled. But why is it working in windowed mode?
fullscreen: not working shadows....
windowed: I have to disable the particle effect or else he will crash....
Maybe the shadows will work in fullscreen but he says: Gforce 2 doesn't enable stencil buffers, stencil buffer disabled. But why is it working in windowed mode?
Visit my website @ www.venex.be
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP