Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some new noises #2997

Merged
merged 4 commits into from
Mar 28, 2020
Merged

Some new noises #2997

merged 4 commits into from
Mar 28, 2020

Conversation

vicdoval
Copy link
Collaborator

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:
noise_sverchok_blender_example_5
Ortho Gradients
noise_displace_blender_sverchok_example_8
Random Gradients:
noise_sverchok_blender_example_7
And Numpy Perlin
noise_sverchok_blender_example_9

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.

@vicdoval
Copy link
Collaborator Author

image
image
image

@vicdoval
Copy link
Collaborator Author

Travis is in quarantine?

@zeffii
Copy link
Collaborator

zeffii commented Mar 25, 2020

sexy!

@zeffii
Copy link
Collaborator

zeffii commented Mar 25, 2020

your next commit might awaken travis

@vicdoval vicdoval merged commit f56f847 into nortikin:master Mar 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants