16 bit heightmaps

CrxGames

10-07-2006 18:34:04

Alright So I've been using PLSM2 for months now, and it has worked very well, but now I have some issues.

I need to use 16bit heightmaps for precision because of the issue with tesselated triangles at the closest LOD.

First my issue with mapsplitter and PNG, mapsplitter will write PNG heightmaps out fine, but it will not read in a 8 or 16 bit greyscale heightmap, it will read in TGAs and all that fine... but not a png exported from photoshop(this is with mapsplitters all the way back from april, before dagon it worked, but now predagon mapsplitters won't split this PNG) what it splits and gives me instead for PNG is a bunch of white images, it gives black if I use RGB instead of grey, but PNG in all isn't working for input to mapsplitter.

So I figure, OK, I'll use raw, photoshop exports to raw, there's raw support, but surprise, the raw exported is too big, I tell photoshop no header but apparently photoshop uses a raw format that isn't... right, it's just wrong, so as you expect mapsplitter rejects it.

What am I to do?

tuan kuranes

24-07-2006 21:04:58

but it will not read in a 8 or 16 bit greyscale heightmap
png and raw only are supported for 16 bits heigtmaps. on 8 bits all Ogre formats are supported.

Send me a png and a raw exported using photoshop so that I can try here.

CrxGames

24-07-2006 21:15:24

but it will not read in a 8 or 16 bit greyscale heightmap
png and raw only are supported for 16 bits heigtmaps. on 8 bits all Ogre formats are supported.

Send me a png and a raw exported using photoshop so that I can try here.


Ok I'm sending it to the email in your profile, I hope .rar is good(13.7mb).

EDIT: actually, would uploading it to my webspace be fine?

tuan kuranes

24-07-2006 21:30:24

EDIT: actually, would uploading it to my webspace be fine?
even better

CrxGames

24-07-2006 21:44:16

Alright, it's here.

tuan kuranes

25-07-2006 10:22:10

Seems there is an issue with endianness there.
I'm looking into that.
Until I find out, If Photoshop have a "mac" file save it should help you make it work.

tuan kuranes

25-07-2006 12:30:55

but the raw works here.