RawHeightMap can not be saved!

It's not possible to save the RawHeightMap! The heightmap can be in 8 bit or 16 bit LE/BE which can not be saved with the save method in AbstractHeightMap. The method in AbstractHeightMap uses 32 bit integers which are not really compatible to the supported raw formats.



Another problem is the public RawHeightMap(float heightData[]) constructor. You can not specify the format type, which is quite annoying as you can not modify it afterwards.

Most people simple extend the AbstractHeightMap to suite their needs…



But yeah, this should probably be addressed in the next (if there is a next) release…