<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi all,</p>
    <p><br>
    </p>
    <p>Maybe someone can help me further with the following item: </p>
    <p><br>
    </p>
    <p><b>how to avoid banding in a greyscale height map </b></p>
    <p><br>
    </p>
    <p>I make detailed maquettes with a 3d printer. The model, a
      detailed 3D mesh, will be generated in ZBrush. 8 bit greyscale
      maps are not detailed enough, I need at least a 16 bit map to
      avoid stepping (banding). </p>
    <p>My basic maps are 32 bit geotiff (Netherlands  AHN, downloaded
      directly from the AHN Server. I make a layer with this map and
      then process it: </p>
    <p>I use the processing toolbox: GDAL > raster conversion >
      translate. Settings: output data type = UInt16a</p>
    <p>This should do the job, it produces a 16 bit greyscale map that i
      can store as a tiff or png, but when i use this in ZBrush I notice
      (typical) 8 bit-like banding. ZBrush is capable of processing 16
      bit greyscale maps. In Qgis I could see the banding in the
      resulting map as well.</p>
    <p>I tried other output formats (float32, Int16) but they did not
      work either.</p>
    <p>Maybe scaling is necessary (0-255 to 0- 65535) or setting a no
      data value (65535? 0?) If so, what are the correct settings? I
      kept tinkering with it, but did not find the proper setting or
      procedure</p>
    <p><br>
    </p>
    <p>Is there anybody who has the same problem, or perhaps solved it
      already? It would be very convenient to know how to do it, the
      work arounds are very labour intensive.</p>
    <p><br>
    </p>
    <p>Wout Zweers, Netherlands</p>
  </body>
</html>