hi,
i wonder if it is possible to save a 2D image into a .png file( or any other fileformat) with irrlicht?
for example:
we got this editor and we "paint" different tiles (parts from the left side texture) on the gamefield (grid on the right).
my idea now was to render the gamefield without the grid and save this image (rect selection) in a file. is this possible?
the other solutation would be, to save the maintexture used for a tile and the part of the texture used for the tile and then draw tile per tile with the stored data. however this would be more work than drawing just the simple image.
How to save a 2D image?
-
- Posts: 62
- Joined: Fri Aug 22, 2008 7:22 am