hi there..

i´m trying to create a heightmap generator.. for this, i create a black bitmap, and tried to blit (for testing) white circles on it..
But all i get is:

http://www.imagesload.net/img/shot_099.jpg

The Code:
Click to reveal..
Code:
#include <acknex.h>
#include <default.c>


BMAP* map;
BMAP* plain_tile_a = "plain.tga";

var plaincount = 0;

PANEL* viewer =
{
	layer = 1;
	alpha = 100;
	flags = SHOW | TRANSLUCENT;
}

PANEL* infos =
{
	pos_x = 1024;
	pos_y = 50;
	layer = 99999;
	digits(0, 0, "Bitmapcount = %.0f", *, 1, plaincount);
	flags = SHOW | TRANSLUCENT;
}



void main()
{
	video_mode = 9;
	level_load(NULL);
	wait(3);
	
	map = bmap_createblack(2048, 2048, 32);
	bmap_fill(map, vector(1,1,1), 100);
	viewer.bmap = map;
	viewer.scale_x = 0.35;
	viewer.scale_y = 0.35;
	
	plaincount = 0;
	
	while(plaincount < 500)
	{
		bmap_blit(map, plain_tile_a, vector(random(2048), random(2048), 0), vector(random(512), random(512), 0));
		plaincount += 1;
		wait(1);
	}
}



The problem: The Bitmaps are not blit one above the other.. they just overwrite each other..

I´ve no clue how to change that ._.


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<