ok.. So I have a 70x70 tile matrix and a 70x70 pixel image, 1 pixel = 1 tile. (This is in DBC)

I wrote this:
load bitmap "landscape.bmp",1
set current bitmap 1
for z = 0 to 69
for x = 0 to 69
height# = (rgbr(point(x,z))+rgbg(point(x,z))+rgbb(point(x,z)))
next x
next z
set current bitmap 0
delete bitmap 1
for me it takes 100 years for the matrix to set its height

.. so:
* what should I do to make it construct the landscape faster?
* how can I make a 256x256 image fit my 70x70 matrix?
Thief 3 : Deadly Shadows, The BEST game in the WORLD!