mgschwan / blensor

Blender Sensor Simulation
www.blensor.org
Other
178 stars 47 forks source link

Bug in Perlin Noise at small scales #15

Closed jpapon closed 9 years ago

jpapon commented 9 years ago

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).

mgschwan commented 9 years ago

Fixed in trunk