how is the zbuf field encoded in a plugin?
I’m getting some mysterious large numbers and i don’t know what they mean.
Looking at the code for showzbuf suggests that they range from 0 to 64M, but it also has a comment that says “remember that the values are not liniar”, well what are they?
Thanks for (finally) answering!
I will have a bit of a closer look and see if i can figure it out
i suppose it would make sense for the zbuf somehow be the square of the distance, as that’s a simple formula (compared to just distance)