Like https://share.allegorithmic.com/libraries/2340, this function calculates the length between 2 pixels, with the height of each pixel this time.

a, b, height_a and height_b are floats between [0,1].

A fifth parameter, ratio, allows you to have better accuracy of the distance, depending of the strength of the height in you material (basically if tesselation is strong or not). 1 is neutral I guess.

Uploaded: over 3 years ago
Updated: over 3 years ago
Version: 1
File Name: Length_xyz.zip
Size: 38.9 KB

DownloadblackDOWNLOAD



DISCUSS
Be the first to comment!