Giter Club home page Giter Club logo

unrealfastnoise's Introduction

UnrealFastNoise

Modular, Blueprint-friendly noise generation for UE4

Consists of a wrapper and blueprint utility functions around noise generation code from https://github.com/Auburns/FastNoise.

Provides a modular system for mixing noise generators in Blueprint.

Note that the returned noisegenerator UOBJECT must be held in a variable to about being GC'ed.

Modules :

  • NoiseGenerator - The main noise generator.
  • SelectModule - Select from two different modules using a 3rd as a mask. Supports interpolation.
  • 3SelectModule - Select from 3 different modules using a 4th as a mask.
  • BlendModule - Blends between two different modules using a 3rd.
  • ScaleBiasModule - Multiplies/Adds values from input module.
  • WarpModule - Applies domain warping to the input module.
  • AddModule - Adds two input module values together.
  • ConstantModule - Returns a constant value.
  • Simple/Fractal/Cellular Modules - More focused versions of NoiseGenerator (same code, just simpler nodes)
  • RadialModule - Blends between 2 input modules based on distance from a given point.

unrealfastnoise's People

Contributors

drezil avatar michaeltchapman avatar midgen 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  avatar

unrealfastnoise's Issues

Stack overflow

When I use more than one select module I get a stack overflow.

Assertion failed: m_cellularNoseLookup

This is probably a bug related to the new CG_World branch. But I posted it anyways. :)

LoginId:04124014408025726c6f6bad0be6fdff
EpicAccountId:b4198a5ffd5c41b782e153304bd477f2

Assertion failed: m_cellularNoiseLookup [File:P:\FrozenRune\PlanetRaiders\PlanetRaiders\Plugins\UnrealFastNoise\Source\UnrealFastNoisePlugin\Private\FastNoise\FastNoise.cpp] [Line: 1498]

KERNELBASE
UE4Editor_Core
UE4Editor_Core
UE4Editor_Core
UE4Editor_UnrealFastNoisePlugin!UFastNoise::SingleCellular() [p:\frozenrune\planetraiders\planetraiders\plugins\unrealfastnoise\source\unrealfastnoiseplugin\private\fastnoise\fastnoise.cpp:1501]
UE4Editor_UnrealFastNoisePlugin!UUFNScaleBiasModule::GetNoise3D() [p:\frozenrune\planetraiders\planetraiders\plugins\unrealfastnoise\source\unrealfastnoiseplugin\private\ufnscalebiasmodule.cpp:17]
UE4Editor_UnrealFastNoisePlugin!UUFNBlendModule::GetNoise3D() [p:\frozenrune\planetraiders\planetraiders\plugins\unrealfastnoise\source\unrealfastnoiseplugin\private\ufnblendmodule.cpp:25]
UE4Editor_CashGen!FCGWorldGeneratorWorker::SubDivideGeometry() [p:\frozenrune\planetraiders\planetraiders\plugins\cashgenue-cg_world\source\cashgen\private\cgworldgeneratorworker.cpp:14]
UE4Editor_CashGen!FCGWorldGeneratorWorker::SubDivideGeometry() [p:\frozenrune\planetraiders\planetraiders\plugins\cashgenue-cg_world\source\cashgen\private\cgworldgeneratorworker.cpp:29]
UE4Editor_CashGen!FCGWorldGeneratorWorker::SubDivideGeometry() [p:\frozenrune\planetraiders\planetraiders\plugins\cashgenue-cg_world\source\cashgen\private\cgworldgeneratorworker.cpp:29]
UE4Editor_CashGen!FCGWorldGeneratorWorker::SubDivideGeometry() [p:\frozenrune\planetraiders\planetraiders\plugins\cashgenue-cg_world\source\cashgen\private\cgworldgeneratorworker.cpp:29]
UE4Editor_CashGen!FCGWorldGeneratorWorker::SubDivideGeometry() [p:\frozenrune\planetraiders\planetraiders\plugins\cashgenue-cg_world\source\cashgen\private\cgworldgeneratorworker.cpp:29]
UE4Editor_CashGen!FCGWorldGeneratorWorker::SubDivideGeometry() [p:\frozenrune\planetraiders\planetraiders\plugins\cashgenue-cg_world\source\cashgen\private\cgworldgeneratorworker.cpp:29]
UE4Editor_CashGen!FCGWorldGeneratorWorker::SubDivideGeometry() [p:\frozenrune\planetraiders\planetraiders\plugins\cashgenue-cg_world\source\cashgen\private\cgworldgeneratorworker.cpp:29]
UE4Editor_CashGen!FCGWorldGeneratorWorker::SubDivideGeometry() [p:\frozenrune\planetraiders\planetraiders\plugins\cashgenue-cg_world\source\cashgen\private\cgworldgeneratorworker.cpp:29]
UE4Editor_CashGen!FCGWorldGeneratorWorker::Run() [p:\frozenrune\planetraiders\planetraiders\plugins\cashgenue-cg_world\source\cashgen\private\cgworldgeneratorworker.cpp:67]
UE4Editor_Core
UE4Editor_Core
kernel32
ntdll

How do I reference a UFastNoise object?

I keep getting the compile error on the plugin error LNK2019: unresolved external symbol "private: static class UClass * __cdecl UFastNoise::GetPrivateStaticClass(wchar_t const *)" (?GetPrivateStaticClass@UFastNoise@@CAPEAVUClass@@PEB_W@Z) referenced in function "public: class UFastNoise * __cdecl UObject::CreateDefaultSubobject<class UFastNoise>(class FName,bool)" (??$CreateDefaultSubobject@VUFastNoise@@@UObject@@QEAAPEAVUFastNoise@@VFName@@_N@Z)

I've added public UnrealFastNoisePlugin to the build.cs and included FastNoise/FastNoise.h yet I can't seem to create a reference to UFastNoise* myNoiseOBJ. myNoiseOBJ= CreateDefaultSubobject(TEXT("Noise"));

I'm on 4.13

[Question] Use of FastNoiseSIMD

This is not a real issue, but more a question.

I'd like to know if you've succeeded to use the FastNoiseSIMD library instead of the simple FastNoise library.
I saw that you said on the forum you'd try to implement it in your plugin, what about this ?
I also saw that there is a branch of this plugin that use the FastNoiseSIMD library, can we use it ?
Is there any reason you gave up the idea?

I ask because I myself have worked on this library but I encounter mysterious problems (see here).
So it would be great if I can use your plugin with FastNoiseSIMD library performances ๐Ÿ˜„

Image Preview

Is there anyway to get an image preview on noise nodes?
I have been searching but came up empty.

License information

Hello,
i did not find any license information for this plugin. Could you add this?

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.