-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
noise: Add 3D Perlin Noise to noise module #163
Comments
@ulises-jeremias I was working on the 3d noise generation today (just trying out VLang). I think there is a bug on Line 33 in 02221fd
shouldn't it be |
just in case I'll include @boonsboos on this conversation because he was the creator of that module 😊 in any case, I'll take a look later just to confirm! |
@ulises-jeremias should i just port Perlin's original implementation to vlang/vsl? https://mrl.cs.nyu.edu/~perlin/noise/ |
Hello i just compared a basic noise function (random value everywhere, no perlin or other stuffs) and the 2d perlin noise from vsl. and actual 2d perlin noise here Perlin noise should be way smoother so I made another implementation based on this https://adrianb.io/2014/08/09/perlinnoise.html and it looks like this :
Can I try to submit a PR for 2d and 3d perlin ? |
@PottierLoic sure! Go for it! |
Describe the feature
Add a 3D perlin noise implementation to
vsl.noise
Use Case
Perlin noise is a procedural texture primitive, a type of gradient noise used by visual effects artists to increase the appearance of realism in computer graphics. The function has a pseudo-random appearance, yet all of its visual details are the same size.
We already have a 2D implementation of the Perlin Noise, so the scope of this is to have a new 3D implementation as well
Proposed Solution
2d
#164Other Information
Acknowledgements
Version used
Environment details (OS name and version, etc.)
The text was updated successfully, but these errors were encountered: