HarpSeal1 Posted August 22, 2019 Share Posted August 22, 2019 Hello Unigine Team, I am trying to create a landscape from PNG height maps but the elevation scale is wrong. If I use 8-bit tif height maps, the landscape generates as expected. The 8-bit depth is causing terracing/stepping in the elevation, so I decided to use 16-bit grayscale pngs. It looks similar to what is in 3ds max: The 16 bit pngs do not create the expected elevation, the scale seems to make lows higher and the high areas lower. The terrain is very smooth though! How can I get the png's to create the correct elevation? I generated the pngs and tifs from 3ds max using a cage height of 416.25 meters as show in elevation settings below. Also, the elevation scale does not seem to save. Attached you will find my height maps (png and tif) and landscape files for each. Place height maps in C:\HeightSectors HeightmapLandscape.zip Well, I've found a work around! In 3ds max I can render out a 16-bit color Tif. Then I load the 16-bit color tif into gimp and convert it to a grayscale image and that seems to work! Smooth and correct elevation. I hope this may help someone in the future. 1 Link to comment
morbid Posted August 26, 2019 Share Posted August 26, 2019 Hello HarpSeal1, Sorry for delay with the answer. I've filed the issue with Normalization data not being correctly saved, thanks. As for the heightmap troubles — glad you've found a workaround. More likely the problem was in the raster file type. You've used unsigned 16 bit, which changed every pixel value from 0 to 65,535. That could have broken the scale. Thanks. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts