you nedd 3 tricks and it works (I had a lot of problems with where to use waits in image manipulations...):

Code:
#include <acknex.h>

int main ()
{
	level_load(NULL);
	wait(3);
	d3d_texlimit = 2048 * 6;
	
	int w = 2048; 
	BMAP* b = bmap_createblack(w * 6, w, 888); // or 24, format doesn't matter here
	wait(1);
	if (b != NULL)
	{
		bmap_fill(b, COLOR_BLUE, 100); 
		wait_for(bmap_fill);
		bmap_save(b, "bigblue.tga"); 
	}
}



but d3d_texlimit is 3d card dependent...

Last edited by sivan; 04/09/13 07:29.

Free world editor for 3D Gamestudio: MapBuilder Editor