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.

32-bit heightmap

Postby Aubrey Windle » Sat Apr 21, 2012 8:58 pm

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.
Aubrey Windle
 
Posts: 4
Joined: Sun Nov 20, 2011 7:39 am

Re: 32-bit heightmap

Postby hybrid » Sun Apr 22, 2012 10:16 pm

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.
hybrid
Admin
 
Posts: 13943
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany

Re: 32-bit heightmap

Postby aaammmsterdddam » Mon Apr 23, 2012 7:01 am

gimp can save to *.raw
(n^(n-n))-1
aaammmsterdddam
 
Posts: 520
Joined: Mon Oct 24, 2011 10:03 pm

Re: 32-bit heightmap

Postby hybrid » Mon Apr 23, 2012 9:33 am

Yeah, sure, question was in which way. Irrlicht needs the bare numbers stored consecutively. No header, no other organisational stuff.
hybrid
Admin
 
Posts: 13943
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany

Re: 32-bit heightmap

Postby aaammmsterdddam » Mon Apr 23, 2012 10:18 am

oh, not a clue,,, could try making one and see if it works though....
(n^(n-n))-1
aaammmsterdddam
 
Posts: 520
Joined: Mon Oct 24, 2011 10:03 pm

Re: 32-bit heightmap

Postby ACE247 » Mon Apr 23, 2012 11:30 am

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+ ;)
H8L6L5M4G3H5M7N8S7N9O1R8J1P5M7N9O4P2Q5R6T7U4M3N8X6S5T8W (If you want the secret, why not 'TRY' decrypting it? )
This Door's lock doesn't need a key, the Lock is the key to open the Lock and you don't know how to turn the key...
Link: My Blog :)
User avatar
ACE247
 
Posts: 695
Joined: Tue Mar 16, 2010 12:31 am
Location: Namibia


Return to Beginners Help

Who is online

Users browsing this forum: No registered users and 1 guest