I wonder if is there possiblity to define resolution of printscreen?
In my application I'm rendering into resizable window. When window resizes, I call IVideoDriver::OnResize with new dimensions:
Code: Select all
if (m_videoDriver != NULL)
{
m_videoDriver->OnResize(core::dimension2d<u32>(geometry().width() , geometry().height()));
if (m_sceneManager->getActiveCamera() != NULL)
{
m_sceneManager->getActiveCamera()->setAspectRatio((irr::f32)geometry().width() / (irr::f32)geometry().height());
}
}
Is there possibility to make screenshots with definded resolution ?
The other problem is that when I'm using DirectX, I get on my printscreens other windows from others apps when theirs windows covers Irrlicht window during screenshot execution. That's why I'm looking for solution with rendering in background.
Thank's for any help.