Can Irrlicht render a scene into a bmp file?

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
michael520
Posts: 230
Joined: Mon Oct 10, 2005 2:24 am

Can Irrlicht render a scene into a bmp file?

Post by michael520 »

For sometime we need to render an image to the clients.
MikeR
Posts: 767
Joined: Sun Dec 26, 2004 4:03 pm
Location: Northern California USA
Contact:

Post by MikeR »

Not yet
I believe Niko is working on something like that tho.
If it exists in the real world, it can be created in 3d

Sys specs:
AMD 3700+ 64 processor
1.0 gb ram
e-Geforce 6600 graphics 256 mb onboard ram
michael520
Posts: 230
Joined: Mon Oct 10, 2005 2:24 am

Post 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.
WToma
Posts: 70
Joined: Tue Aug 09, 2005 8:38 am
Location: Szeged, Hungary

Post 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
"This is not a bug, this is a feature!"
ProSoft
Posts: 59
Joined: Thu Sep 08, 2005 10:55 am
Location: Brasil

Post by ProSoft »

I have found a ScreenShotManager in this forum. Never tested it...
Do a search...

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