Depth of Field ...
hey sio2 your demo works fine
but when trying to run this in my split screen (i commented out startscene, endscene and guidraw) with this code i get a black scree:
greets,
halan
ps: again the demo works and posttools version was black too so ithink its my fault
but when trying to run this in my split screen (i commented out startscene, endscene and guidraw) with this code i get a black scree:
Code: Select all
//Splitscreen Render
dimension2d<s32> screensize = driver->getScreenSize();
driver->beginScene(true, true, SColor(255, 100, 200, 100));
smgr->setActiveCamera(p1.camera);
driver->setViewPort(rect<s32>(0, 0, screensize.Width, screensize.Height/2));
hdr->render();
smgr->setActiveCamera(p2.camera);
driver->setViewPort(rect<s32>(0, screensize.Height/2, screensize.Width, screensize.Height));
hdr->render();
guienv->drawAll();
driver->endScene();
halan
ps: again the demo works and posttools version was black too so ithink its my fault
My Blog: http://www.freakybytes.org
update: i added a light and now the scene is visible but the viewport is ignored
any ideas?
greets;
Halan
any ideas?
greets;
Halan
My Blog: http://www.freakybytes.org
Have you run it via PIX to see what's going on?
ISTR That a DX9 API SetRenderTarget() call resets the viewport...
ISTR That a DX9 API SetRenderTarget() call resets the viewport...
Irrlicht Demos: http://irrlicht.sourceforge.net/forum/viewtopic.php?f=6&t=45781
what is PIX?
well ive been messing around with the code for a bit tried just to add setViewPort after each setRenderTarget() but if i do that only the second cam is rendered on a quarter of the screen... ive really no idea how to acieve this
greets,
halan
btw: im using posttools class atm because his blur looks someway smoother
well ive been messing around with the code for a bit tried just to add setViewPort after each setRenderTarget() but if i do that only the second cam is rendered on a quarter of the screen... ive really no idea how to acieve this
greets,
halan
btw: im using posttools class atm because his blur looks someway smoother
My Blog: http://www.freakybytes.org
PIX is a 3D debugger that comes with the DirectX SDK.
Irrlicht Demos: http://irrlicht.sourceforge.net/forum/viewtopic.php?f=6&t=45781
Hi Sio. When i try to run your demo with directx9.0c i get the error messages:
Could not load shader function D3DXAssembleShader from dll, shader disabled: d3dx9_31.dll
and
Could not load shader function D3DXCompileShader from dll, shader disabled: d3x9_31.dll
My System is XP-Pro Service Pack2. My graphics card a ATI mobility radeon x700.
I have the same result with an XP-Pro and a ATI X800GTO.
With both setups i just see the level as a cube from the outside.
Any idea what is wrong ??
Could not load shader function D3DXAssembleShader from dll, shader disabled: d3dx9_31.dll
and
Could not load shader function D3DXCompileShader from dll, shader disabled: d3x9_31.dll
My System is XP-Pro Service Pack2. My graphics card a ATI mobility radeon x700.
I have the same result with an XP-Pro and a ATI X800GTO.
With both setups i just see the level as a cube from the outside.
Any idea what is wrong ??
www.dll-files.com has most of those DirectX files in single downloads - far better than downloading the whole SDK each time.
http://www.dll-files.com/search.php?s=d3dx_
http://www.dll-files.com/search.php?s=d3dx_