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

Just a question #2

Open
mgerhardy opened this issue Jan 30, 2017 · 2 comments
Open

Just a question #2

mgerhardy opened this issue Jan 30, 2017 · 2 comments

Comments

@mgerhardy
Copy link

Just wanted to know the reasoning behind not using glm::simplex or glm::perlin in this lib. Is yours faster or better? Thanks a lot for the lib.

@tuket
Copy link

tuket commented Feb 3, 2023

I not the developer, but I didn't know that there were noise functions in GLM. I was already using GLM, so I can avoid adding another dependency. Thanks! :)

@tuket
Copy link

tuket commented Feb 4, 2023

Hi, just wanted to share my experience with this library.

I found that GLM has better quality output against this library.

SimplexNoise:
vklines_xcxY37xGn7

GLM:

vklines_f7OfKIrScI

I see two problems with this library:

  • After 64 integer wraps, it starts reapeating
  • The output should be between [-1, +1]. However, it looks like it actually oscillates in the range [-0.632812500, 0.594627976]

However, SimplexNoise is WAY faster than GLM. I have measured it's 11 times faster!

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

No branches or pull requests

2 participants