Created by: vicdoval
I optimized the code of the 'Vector Noise', then I thought: A Numpy implementation sure is faster.
After digging inside of the Perlin magic my implementation was slower than the previous optimised code.... but opened up some control over the Noise generation so I added 4 types of noise with some options :)
Random Cells:
Ortho Gradients
Random Gradients:
And Numpy Perlin
The are available in the Vector Noise node and on the Noise Displace node
Also on this PR:
-
Float to Int node will ouput Numpy arrays if has a numpy input
-
get_nesting_level of data_structure.py accepts numpy
-
Code changes complete. -
Code documentation complete. -
Documentation for users complete (or not required, if user never sees these changes). -
Manual testing done. -
Unit-tests implemented. -
Ready for merge.