Page 1 of 1

16-bit heightmaps IN SMF

Posted: 17 Jun 2007, 14:35
by zorbawic
Has anybody made succesfully a map with a 16-bit heightmap made with an other program than terragen ?

Posted: 17 Jun 2007, 20:30
by Neddie
I'm not sure...

Posted: 17 Jun 2007, 21:16
by LOrDo
I was talking to this guy in main who was trying, but mapconv kept failing by giving wierd spikes and crap all over the map, long story short he couldn't get it to work.

Posted: 18 Jun 2007, 00:11
by Weaver
Yes it can be done. Ideally you should do your own smoothing and not use lowpass with 16bit, but you still can if you want.

To get the 16bit raw file I would export a 16bit tiff from PSP and cut the header off using a hex editor.

Posted: 18 Jun 2007, 00:35
by muzzybear
or use imagemagick to convert some image to raw 16bit

convert inputfile -depth 16 -endian LSB gray:output.raw

you can apply blurring and stuff into that... say add "-blur 0x2" into the commandline just before the output filename

Posted: 18 Jun 2007, 05:05
by Caydr
BTW, in case nobody else realized this: flatscreen monitors and high bit-depth heightmap editing work do not mix.

Posted: 18 Jun 2007, 10:10
by aGorm
I take it you mean TFT's, seeing as flatscreens are just regular monitors...

(why do people instist that, because a TFT is thin... its a flatscreen. Flatscreen refers to a CRT having a flat (not curvered) viewing area.)

But yhe, he's right, TFT's arn't much cop at high bit depth.

aGorm

Posted: 18 Jun 2007, 11:21
by zorbawic
Caydr wrote:flatscreen monitors and high bit-depth heightmap editing work do not mix.
no that is already a false statement -> http://www.oled-display.info
only TFTs cant display 32-bits depth.
OLEDs are flat and will be able to display at least 32-bits
besides there are SEDs which are also "flat" and display 32-bits (as CRTs do).

// BACK on topic
Weaver wrote:To get the 16bit raw file I would export a 16bit tiff from PSP and cut the header off using a hex editor.
I tried with tiff files from cinepaint and it gave me even wierder effects
muzzybear wrote:or use imagemagick to convert some image to raw 16bit

convert inputfile -depth 16 -endian LSB gray:output.raw
FFS! I wasted my time trying to make an utility in Delphi which would do that ! If only I knew that earlier ... :cry: