I have spent quite a bit of time trying to figure this issue out; I was hoping someone on here could give some advice on what to do. I am having issues with terracing on my 3D model in Blender and I believe it's because I am not exporting the data correctly from QGIS. Here is an example of the terracing I am talking about:
For reference, I am following this tutorial on how to create a 3D relief map in Blender:https://somethingaboutmaps.wordpress.com/blender-relief-tutorial-getting-set-up/
So far, I have successfully acquired my DEM, reprojected it, clipped it, and now I am having issues on rescaling my DEM range to 0-65,535 and then saving it as a 16-Bit unsigned TIFF. As seen in step 6 and 7 within the link provided above.
To rescale my data so that it can be read as a 16-Bit TIFF from the current float32 that it's in, I have tried using raster calculator on my original clipped DEM ("clipped regular" in the picture). I used this as my formula: ("DEM"-lowestvalue)/(highestvalue-lowestvalue)*65535 as seen in the picture below. I made sure to use the exact values of the min and max within my DEM and I still cannot get the final raster to have the min value at 0...
When I open my new recalculated DEM, it has a min value of -0.0000000015 and max of 65535. I am curious if this is the portion of the process that is causing my DEM to terrace when uploading to blender.
So now I have a 32float DEM with a min of -0.0000000015 and max of 65535, and a No-Data value of -3.40282e+38 when I check my layer properties information. I feel as though this is not right, however, continuing on in the process.
I run the Translate (convert format) tool to change this DEM into a UInt16 data type so Blender can read the data properly. However, after running it, it changes my DEM values to a min of 2 and max of 62303. As seen in picture below:
Now, when I upload this DEM to Blender, I still am having issues with tiling and unsmooth textures as seen below.
I followed the final step (step 8) and brought the new 16 bit TIFF file into a photo editing app and save it out and did not have any luck.
I am lost as to what I am missing. I have tried quite a few things with the raster calculator to get my values set to 0 and 65535, but I am either having no-data values in my DEM or not getting values close to 0 and 65535.
I think the issue is that I cannot get my DEM into a 16-bit TIFF file with a min value of 0 and max of 65535; however, I am unsure.