I am a beginner QGIS user, using it to supplement other skill sets in 3D modelling and rendering.
I am trying to use UK lidar data in Blender to render 3D topographic maps. For this to work correctly I need to use a UINT16 DEM raster that when using the hillshade layer style / render type in QGIS, looks as smooth as a babys bum. The issue I am facing currently is when I export a UINT16 tiff (a format needed for Blender to use as a displacement map) the tiff appears to have terracing / stepping artefacts which previously were not there in the previous merged float32 lidar DTM.
Current process:
1 - Import lidar DTM tiles to QGIS 3.20.3-Odense using OSGB36 British National Grid project CRS
2 - Merge tiles using float32 as an output (when viewing in the hillshade render type, it looks perfect. Unfortunately Blender does not accept float32 tiff files as a displacement)
3 - Translate (Raster - Conversion - Translate (Convert Format)) from float32 to uint16 using standard settings, no compression, same projection (severe terracing / stepping artefacts apparent when viewing in the hillshade render type)
See below gif comparing the two.
I am unable to use the uint16 tiff as it stands as the visual impact (stepping) in the displacement in Blender is too visible and not an accurate representation of the terrain.
Attempts at solving this issue:
1 - using GRASS r.rescale:
Following the thought process that the original float32 having values between 115.823 and 527.712 is quite small, and the conversion to uint16 is compressing the values, merging them in areas to create the steps. Rescaling the values to something much larger using GRASS r.rescale could reduce the issue when translating to uint16. This did not work, I had the same result as using standard values when translating to uint16.
2 - Double checking there wasn't a 'nearest neighbour' resampling method anywhere in my process. Thinking if I could use 'bilinear' instead it might not create the stepping. Couldn't find this anywhere in any tool I am using.
3 - Try all the setting variations I could in the raster translate tool. No solution found.
I am struggling to see what I'm missing. I had the same problem when I first started using QGIS and SRTM data where I was using 'export map to image' for the displacement map, and the resulting 0-255 jpeg obviously created the stepping due to lack of information. However as I am using uint16 I fail to see why the conversion is creating the artefacts when there should be 0-65000 odd values available.