Page 1 of 1

Can Irrlicht render a scene into a bmp file?

Posted: Thu Oct 20, 2005 1:04 am
by michael520
For sometime we need to render an image to the clients.

Posted: Thu Oct 20, 2005 2:38 am
by MikeR
Not yet
I believe Niko is working on something like that tho.

Posted: Thu Oct 20, 2005 5:54 am
by michael520
MikeR wrote:Not yet
I believe Niko is working on something like that tho.
I don't mean to make an bmp file, which I know how to.
Can we just get the memory of a screenshot of the running scene, and then I can deal with the memory(for example DIB) as I need.

Posted: Thu Oct 20, 2005 5:42 pm
by WToma
For OpenGL, see glReadPixels. I have negative experiences with it, it seemed that it has some torsion compared to PrintScreen. To solve this (under Windows), you have to create your pixel format in a special way, that enables you to render without actually having a window. So it's difficoult, and you have to seriously modify Irrlicht. What's more, I am quite unsure how it works with DX, and what to do with Linux.
Toma

Posted: Fri Oct 21, 2005 10:36 am
by ProSoft
I have found a ScreenShotManager in this forum. Never tested it...
Do a search...

http://irrlicht.sourceforge.net/phpBB2/ ... ager#40542