Announcement

Collapse
No announcement yet.

UnrealFastNoise - Modular Noise Generator Plugin

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [PLUGIN] UnrealFastNoise - Modular Noise Generator Plugin

    I've been needing a good noise solution for my terrain generator for a while, and since it's a pretty well used function these days I thought I'd package it into a plugin for everyone to use!

    DOWNLOAD - https://github.com/midgen/UnrealFastNoise

    The noise generation itself is built on FastNoise - https://github.com/Auburns/FastNoise. Faster than libnoise, but more importantly, MIT-licensed so you can use it in your UnrealEngine projects.

    The system is modular and designed to be configured in Blueprints (although you can obviously use it in C++). It features a modular design including blending and masking modules to enable you to make all sorts of interesting noise patterns, particularly useful for terrains.

    Modules -

    Noise Generator (BP Function - Create Noise Generator). The main noise generator, set noise types, parameters, seeds, frequency etc.

    Select - Uses a 'select' module input module to mask between two input modules. Includes threshold value and a SinInOut smooth falloff option

    Blend - Uses a 'select' module input to blend between two input modules.

    ScaleBias - Applies an multiplier or additive value to a module

    There's a little sample project you can use to test the plugin. Here's a couple of examples :





    There's a few more features I want to add, the new warping options from FastNoise as well as more Select Module falloff parameters, then I'll get it on the Marketplace.

    All feedback and requests welcome

    #2
    Just pushed update to FastNoise 0.21 which has the position warping code and some performance improvements.

    Now need to figure out best way to implement the warping controls.

    Comment


      #3
      Oh nice! This could be really useful

      Comment


        #4
        Originally posted by HeadClot View Post
        Oh nice! This could be really useful
        Thanks!

        Updated pushed to add position warping parameters
        Update pushed to fix an issue where modules would be GC'ed (forgot to UPROPERTY the input modules on the select/blend/bias modules).

        Working on some more streamlined blueprint functions for tidier graphs

        Comment


          #5
          Update!

          Added Constant Module
          Added simpler Blueprint functions specifically for simple/fractal/cellular noise to help keep BPs tidy
          Added Interpolation options to Select module

          Demo of two constant modules inputs to a select with differing interpolations:



          Using in my terrain plugin, with some silly settings (stepped interpolation)

          Attached Files
          Last edited by mid_gen; 08-29-2016, 03:17 PM.

          Comment


            #6
            Update - Added a simple 3-way select module

            Comment


              #7
              Merged pull request to incorporate splines (thanks) , plus a few other little fixes in the past few days.

              Comment


                #8
                Hi,

                I am using your plugin and it works well ! Thanks a lot !

                I have however one issue : I cannot use the nativization of UE4 (blueprint -> C++ converter) !
                I have a fatal error :
                [Project directory] \Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\TestNoise__pf6286095.cpp(204): fatal error C1083: Cannot open include file: 'UFNNoiseGenerator.h': No such file or directory

                Do you know what I could do to fix this ? Is it the engine version (4.15) ?

                By the way, very surprised there is not so much people on this thread ! Amazing plugin !

                Comment


                  #9
                  Updated with a domain warping module.

                  In action in my terrain generator :

                  Click image for larger version

Name:	33211ae91ebf49caadfcab99f9c9f236.png
Views:	1
Size:	220.5 KB
ID:	1125102

                  Last edited by mid_gen; 03-23-2017, 04:32 AM.

                  Comment


                    #10
                    I've done some refactoring in the repo and pared it back to just the plugin. You can now check out the repo directly into your plugins folder.

                    Comment


                      #11
                      I just added this plugin and I keep getting this error when I compile: Click image for larger version

Name:	4L7dxNn.png
Views:	1
Size:	16.0 KB
ID:	1126765

                      Comment


                        #12
                        You've checked out the current repo into Plugins/UnrealFastNoise in your project?

                        Sounds like paths are wrong somewhere.

                        Comment


                          #13
                          it does that regardless if I have it in engine or the project folder

                          Comment


                            #14
                            No issues with loading plugin...Compiled without error.

                            teak
                            "A little bit of nonsense now and then is cherished by the wisest men..."
                            -- Willy Wonka

                            Smooth Zoom Camera Plugin for 4.24 here.

                            Comment


                              #15
                              This seems like a nice plugin. Tho, as a novice in UE4, I could really use a simple sample of a blueprint that shows how this works. I see there is some samples further up in this thread, but I don't understand how it all works in a blueprint.

                              EDIT: So, I've found the tutorial videos and made it work. This is a really nice pack of plugins. Now I just have to figure out how to make this work on a planet like sphere.
                              Last edited by AinSophAur; 06-14-2017, 05:19 AM.

                              Comment

                              Working...
                              X