Page 1 of 1

I've come a bit of a cropper

Posted: 07 Sep 2006, 01:12
by Gurkha
compiling a map.

Basically, the height map doesn't seem to have been incorporated into the map (so the finished thing is all flat). The file I pointed mapconv at is definately the right map and I'm assuming that I must've pointed it right or with would have fallen over (it wouldn't have compiled without a heightmap and just made it all flat, would it?)

This is the command line I used:
mapconv -x 500 -n 500 -o faceoff.smf -t ground1.bmp -m metal1.bmp -a heightmap2.bmp

My heightmap is rotationally symmetric, so I omitted the -i and I don't have any features (yet, anyway) so I ommitted the entire featuremap thing.

heightmap2.bmp is 2049x1025 pixels
metal1.bmp is 2049 x 1025 pixels
ground1.bmp is 16384 x 8192 pixels

mapconv would've fallen over if there was something wrong with one of my images, wouldn't it?

-Gurkha

edit: oh, yeah, the filesizes seem very small, the .smf file is only 6,449 KB and it all compresses to 64KB (which would suggest that faceoff.smf is very easily compress, which suggest that it totally contiguous)

Re: I've come a bit of a cropper

Posted: 07 Sep 2006, 01:19
by Das Bruce
Gurkha wrote:mapconv -x 500 -n 500 -o faceoff.smf -t ground1.bmp -m metal1.bmp -a heightmap2.bmp
Max and min are same. :roll:

Posted: 07 Sep 2006, 02:37
by Gurkha
ah, that would be it, I was wanting -500, thanks. Time to recompile... lets hope it works this time

-Gurkha

Posted: 07 Sep 2006, 03:28
by hrmph
That is definitely the problem. This post needs to be nuked! Or... You could post some screenies? ;)

Posted: 07 Sep 2006, 06:46
by Quanto042
lol give him a break

Posted: 07 Sep 2006, 08:12
by Das Bruce
That is an aweful big heigh difference.

Posted: 07 Sep 2006, 19:14
by Weaver
Might be ok since it's a 32x16 map, we'll see.

Posted: 08 Sep 2006, 00:47
by Das Bruce
On an 8 bit heightmap? I'm not so sure.

Posted: 08 Sep 2006, 00:52
by Weaver
Das Bruce wrote:On an 8 bit heightmap? I'm not so sure.
Its converted to 16bit during compile, if he uses lowpass that should help alot. If not then yes, 1000 is almost certainly too much.

Posted: 08 Sep 2006, 03:48
by Caydr
Heh heh heh heh

Posted: 08 Sep 2006, 06:43
by Forboding Angel
1k is generally fine on 32x16's, he might have to scale it down a bit if he want's it to work with AA (prolly to a 600 difference), but it will work fin in EE.

Posted: 08 Sep 2006, 08:49
by Zagupi
It all depends on how you make the map. Real.sd7 is 16x16 and with 1100 overall height difference. It works fine (althou planes bump into mountains)