32-bit heightmap

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Aubrey Windle
Posts: 4
Joined: Sun Nov 20, 2011 7:39 am

32-bit heightmap

Post by Aubrey Windle »

What's the simplest way to save a 32-bit heightmap? I can't seem to do it in GIMP. The 32 bit option that GIMP has is "X8 R8 G8 B8". It's not grayscale, apparently. Irrlicht throws a "compression mode not supported" error when I try to use this.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: 32-bit heightmap

Post by hybrid »

What file format do you use? Anyway, 32bit is only supported via the RAW loader, not sure if GIMP can save floats, as the color format looks like 4x8bit, not 32bit.
Cube_
Posts: 1010
Joined: Mon Oct 24, 2011 10:03 pm
Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d

Re: 32-bit heightmap

Post by Cube_ »

gimp can save to *.raw
"this is not the bottleneck you are looking for"
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: 32-bit heightmap

Post by hybrid »

Yeah, sure, question was in which way. Irrlicht needs the bare numbers stored consecutively. No header, no other organisational stuff.
Cube_
Posts: 1010
Joined: Mon Oct 24, 2011 10:03 pm
Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d

Re: 32-bit heightmap

Post by Cube_ »

oh, not a clue,,, could try making one and see if it works though....
"this is not the bottleneck you are looking for"
ACE247
Posts: 704
Joined: Tue Mar 16, 2010 12:31 am

Re: 32-bit heightmap

Post by ACE247 »

GIMP Internal working formats about using 32bit floating point data were a big story on the gimp forum the other day. As of yet I'm not even sure Gimp operates with 32bit float data in ram. Will be coming soon though with GIMP 2.8+ ;)
Post Reply