Hello,
I'm using Irrlicht 1.8.1 in my project for drawing some scenes.
I have a function to take a screenshot like in wiki - http://www.irrlicht3d.org/wiki/index.ph ... ScreenShot
Most users do not have problems with the rendering of scenes and taking a screenshot.
But some users have a problem with taking a screenshot, they get a black rectangle in the file, but scene renders fine.
One of them has PC with WinXP, 2GB RAM, Core i3 540, no graphic card.
What could be the problem?
Screenshot problem
Re: Screenshot problem
Is this OpenGL? I have troubles with screenshots on Linux/OpenGL when running tests. We have some ugly hacks in our tests for that, but even that often doesn't work. I spend an evening on that once, but unfortunately never found a working solution.
You could try using render-to-texture instead and saving that texture. The problem might have to do something with back-buffer handling. Maybe it fails when people enable trippe-buffering in their driver-settings or something like that.
You could try using render-to-texture instead and saving that texture. The problem might have to do something with back-buffer handling. Maybe it fails when people enable trippe-buffering in their driver-settings or something like that.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm