Talk:Tips for Creating Heightfields and Details on Terrain RAW Files

From Second Life Wiki
Jump to navigation Jump to search

LLRAW fidelity

While tinkering with LLRAW export code, I decided to plot a graph of the values one can fit into Linden Lab's 13 channel RAW terrain format. Graph-of-possible-terrain-values.png

  • y-axis is the altitude of a point on the terrain
  • first non-zero value is 0.0078125
  • excluding non-zero values, the number of unique values is 17577 (non-zero sans uniqueness would be 255x255)
  • unless a green value of 255 is hardcoded to a divisor of 2, the highest value is 508.0078125 <math>255/(255/128)</math>

SignpostMarv Martin 11:44, 2 July 2012 (PDT)