Giter Club home page Giter Club logo

devdad / simplexnoise Goto Github PK

View Code? Open in Web Editor NEW
290.0 24.0 64.0 45 KB

* This is a clean, fast, modern and free Perlin Simplex noise function.All Public Functions are BlueprintCallable so they can be used in every blueprint. From DevDad and Dedicated to you and Unreal Community Use it free for what ever you want I only request that you mention me in the credits for your game in the way that feels most appropriate to you.

License: Other

C++ 97.83% C# 2.17%

simplexnoise's Introduction

SimplexNoise

SimplexNoise UE4 Plugin Screenshot

  • This is a clean, fast, modern and free Perlin Simplex noise function.
  • If we change float to double it could be even faster but there is no double type in Blueprint
  • All Public Functions are BlueprintCallable so they can be used in every blueprint

From DevDad and Dedicated to you and Unreal Community. Code is now under MIT License, Use it free for what ever you want. I only request that you mention me in the credits for your game in the way that feels most appropriate to you.

  • SimplexNoise 1D,2D,3D & 4D
  • Scaled Version SimplexNoise 1D,2D,3D & 4D
  • InRange version SimplexNoise 1D,2D,3D & 4D
  • SimplexNoise Function retruns float value between 0 - 1
  • SimplexNoise Scaled retruns float value between 0 - scale factor
  • SimplexNoise In Range returns float value between minRange - maxRange
  • inFactor value added to all functions to set frequency of the noise [ Recomended values form: 0.1 - 0.00001 ]
  • GetSimpleNoise1D_EX (float x, float lacunarity, float persistance, int octaves, float inFactor, bool ZeroToOne)
  • GetSimpleNoise2D_EX (float x, float y, float lacunarity, float persistance, int octaves, float inFactor, bool ZeroToOne)
  • GetSimpleNoise3D_EX (float x, float y, float z, float lacunarity, float persistance, int octaves, float inFactor, bool ZeroToOne)
  • GetSimpleNoise4D_EX (float x, float y, float z, float w, float lacunarity, float persistance, int octaves, float inFactor, bool ZeroToOne)

This algorithm was originally designed by Ken Perlin, but my code has been adapted and extended from the implementation written by Stefan Gustavson ([email protected]) and modified to fit to Unreal Engine 4

simplexnoise's People

Contributors

devdad avatar gaborpapp avatar jordonbc avatar leereilly avatar lightheart54 avatar saceria avatar svollenweider avatar xerios avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

simplexnoise's Issues

Problems using Simplex Noise

I've made something from this tutorial using the plugin : https://www.youtube.com/watch?v=1VLVNYR-lRc&t=241s

I managed to update the code as that's a 2018 tutorial, the 2d simplex noise gained a new node since that time, and when I redid the code in a new version of the engine the noise only appears in 2d instead of 3d. Could I get assistance on how to make it work or maybe have assistance with how to make it work? There's absolutely no tutorials and I'm utterly lost

What is the project license?

Hi @devdad,

Thanks for your UE4 plugin!

I could not find any license in your project, would it be possible to get one added please?

Cheers,

Thomas

4.22 update?

Got it working with 4.21 but when I'm trying to update the project to 4.22, the plugin fails to compile at launch. Any workaround?

Will not build with 5.1

Hello, looks like this doesn't want to build with 5.1. Trying to upgrade my project and its telling me it can't compile. I just got done cloning what jimshalo10 had in the pull request for 5.0 but that's a no go as well. I was already using this for 5.0 however, its just 5.1 that isn't working now. I understand that this is originally for 4 but considering that it was working on 5.0 is there a way to make this work? I've been trying to compare uplugin files to see what need to but changed so if I stumble into anything I'll update.

In range and Scaled not working as intended.

Hi @devdad,

Just stumbled on a problem here. Idk if this is due to the updates but the thing is the in-range function and the Scaled does not work as expected? It still yields values that are out of range. See attached photos. I'm using the 4.24. I'm not into c++ so I thought it might be helpful to request a check up from the creator.

Thanks a lot!
(attached photos are the screenshot of the yields of the In-range function)

Noise in range
Actor
Output Log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.