   raw file
  I use raw file to do terrain heightmap. I heard of raw file just 8bit stream.I found a problem: if 64x64 raw file, so it should have 4096 byte.but I use hex software open it and found it just has 4066 byte. the actual file should has more info for extra infomation but it even has less infomation .   
  I guess, that it is smth wrong w/ your terrain-filling function :)Just try simple test and you'll see... I hope :)FILE* fp;int i, j;fp = fopen( "64x64.bin", "wb" );for( i = 64; i; i-- ){for( j = 64; j; j-- ){fputc( '0', fp );}}  // END FOR