I have an object of which I need to make a heightmap, but I'm a bit uncertain about lineair or non-lineair. What I do is make an ortho render with a luminosity gradient at 8k resolution and AA=8. Highest point is about 17m, lowest 0, so I have set min altitude at 0m with fuzzy zone at 17, which also looks good enough eyeballing it. The trouble is that the object is supposed to have -2m depths, but I see some areas to have -5m, so to be sure I raised it 5m. It probably doesn't matter very much is the whole range of black to white is shifted a bit, as long as it's giving the accurate heights at every level in the end.
So this gradient and output is the point, as I want it to be accurate. Is there anything in the renderer or Photoshop that I should take care of? Altitude/fuzzy settings - I used Y and better continuity, but is that lineair? - and tonemap gamma and contrast in TG?
And curves in PS? I'm inclined to pull highs down and lows up until clipping just doesn't occur.
Any advice is greatly appreciated.