So if you use a small scale with Perlin Noise (as the kinect sensor does), the indexing fails here.
This conversion to int8 should be changed to int32 to avoid going out of range at small scales. In such cases (again, as with the kinect) the n parameter needs to be set higher as well (e.g. 512).
So if you use a small scale with Perlin Noise (as the kinect sensor does), the indexing fails here.
This conversion to int8 should be changed to int32 to avoid going out of range at small scales. In such cases (again, as with the kinect) the n parameter needs to be set higher as well (e.g. 512).