Height map problem
Moderator: Moderators
Height map problem
My maps always seem to have very very altitudes. Nomatter how I make my height map, it always ends up having a very simlar low and high point. I use about 100 as my low and 400 as my high, any advice?
The contour lines may result from Compression, though I'm not an expert.
Mainly I believe you're letting the gradients darken too fast - Nearly all of that map is in the darker range - I mean, 75% of is virtually black. If you're gradually moving from the black at the rate your height map shows I expect you won't see real difference save for in about a quarter sized area at the very middle.
Try 40 to 380, and possibly make some sectors of the height map lighter. As for the contours, I believe blurring might help there, but at the cost of appearance.
Mainly I believe you're letting the gradients darken too fast - Nearly all of that map is in the darker range - I mean, 75% of is virtually black. If you're gradually moving from the black at the rate your height map shows I expect you won't see real difference save for in about a quarter sized area at the very middle.
Try 40 to 380, and possibly make some sectors of the height map lighter. As for the contours, I believe blurring might help there, but at the cost of appearance.
Last edited by Neddie on 15 Jun 2007, 19:47, edited 1 time in total.
Changing sun position is an ugly fix, it doesn't solve the problem. The issue is that the heightmap is actually 16bit and the bmp is only 8bit, so every step is 256 units worth in height. It could be smoother, and there's a parameter to mapconv to run low-pass filter on the data to blur it a little...
My solution is to use imagemagick and a simple filter to add some noise and blur. Here's a snippet from my Makefile:
HMAPFILTER=( -size $(HEIGHTMAPW)x$(HEIGHTMAPH) xc:gray +noise poisson -blur 0x2 -blur 0x7 ) +swap -compose overlay -composite -blur 0x1
"$(WORKDIR)\$(HEIGHTMAP).raw": "$(WORKDIR)\$(HEIGHTMAP)"
$(CONVERT) "$(WORKDIR)\$(HEIGHTMAP)" -depth 16 $(HMAPFILTER) -endian LSB gray:"$(WORKDIR)\$(HEIGHTMAP).raw"
I suppose I should release the whole thing so you can take a look at it... And I just did. It's probably not too useful for you, but someone might find inspiration from it.
There's sources and an nmake Makefile for building my map "Dready Lakes", but I can't post the damn URL due to forum restrictions. Go figure.
[mod edit] URL = http://spring.unknown-files.net/file/30 ... ady_Lakes/
My solution is to use imagemagick and a simple filter to add some noise and blur. Here's a snippet from my Makefile:
HMAPFILTER=( -size $(HEIGHTMAPW)x$(HEIGHTMAPH) xc:gray +noise poisson -blur 0x2 -blur 0x7 ) +swap -compose overlay -composite -blur 0x1
"$(WORKDIR)\$(HEIGHTMAP).raw": "$(WORKDIR)\$(HEIGHTMAP)"
$(CONVERT) "$(WORKDIR)\$(HEIGHTMAP)" -depth 16 $(HMAPFILTER) -endian LSB gray:"$(WORKDIR)\$(HEIGHTMAP).raw"
I suppose I should release the whole thing so you can take a look at it... And I just did. It's probably not too useful for you, but someone might find inspiration from it.
There's sources and an nmake Makefile for building my map "Dready Lakes", but I can't post the damn URL due to forum restrictions. Go figure.
[mod edit] URL = http://spring.unknown-files.net/file/30 ... ady_Lakes/