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

Add OpenSimplex Module #15

Open
MarkuBu opened this issue Jun 4, 2017 · 4 comments
Open

Add OpenSimplex Module #15

MarkuBu opened this issue Jun 4, 2017 · 4 comments

Comments

@MarkuBu
Copy link

MarkuBu commented Jun 4, 2017

I would really appreciate it, if you where adding Opensimplex noise as module because Perlin noise has some ugly artifacts and Simplex has some patent issues.

@rthome
Copy link
Owner

rthome commented Jun 4, 2017

On first glance, OpenSimplex looks pretty interesting. I'll look into it, but I don't know that I can afford the time to prepare a decent implementation. I'd be more than happy to accept contributions, though ;-)

I actually wasn't aware that Simplex noise has an associated US patent. For me personally, being based in Germany, that doesn't present much of an issue, but I can see the problem for someone wanting to use the code commercially or distribute it in the US. So perhaps the module should be behind a #ifdef of something.

@MarkuBu
Copy link
Author

MarkuBu commented Jun 4, 2017

Ach du kommst auch aus Deutschland? Moin ;-)

Well, yes, there are some unclear patent issues. That's why OpenSimplex exist. As far as I know the patent only effects textures. If I use it for e.g. heightmaps it should be ok, but I'm not sure.

If you add OpenSimplex you can hit two birds with one stone. Get rid of the patent issue (or at least give the user the option) and add the seed to a simplex noise.

@MarkuBu
Copy link
Author

MarkuBu commented Jun 4, 2017

I played with FastNoise and OpenSimplex. If I didn't make a mistake OpenSimplex is significantly faster than FastNoise SimplexFractal.

https://github.com/MarkuBu/noiseperf

I would contribute myself, but I'm a C# noob and your project is a little bit to complex for me

EDIT: only 2D is faster. 3D is slow

@buddhisthead
Copy link

buddhisthead commented Nov 14, 2021

It appears that OpenSimplex has been ported to C# and is perhaps available from here:
https://gist.github.com/digitalshadow/134a3a02b67cecd72181

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants