Playmaker Forum
PlayMaker Updates & Downloads => Share New Actions => Topic started by: Ateam on September 15, 2018, 03:48:34 AM
-
Here is a minecraft example with the perlin noise action.
Not a valid vimeo URL
-
No video man, care to give us a proper link?
-
Ups sorry
Not a valid vimeo URL
-
Interesting indeed, but what would be the use case for this action? I'm still quite new to game dev but this action looks useful, i just don't know for what exactly.
-
Just tried the action 8) thank you!
... what would be the use case for this action?
in a scene you'd set up a loop to iterate through the X/Z "locations" (doesn't need to be objects in a grid, could get 1 value for a specific location). At each pass through the loop (at the different X/Z) the action returns a normalized value between 0 and 1.
The minecraft-looking terrain scene is (probably) cubes set at a height (Y) multiplied by the Perlin value.
Reasons to use Perlin noise over random numbers is the smooth undulation, and predicatability. Perlin looks organically random but gives consistent values – super-helpful for procedural generation.
More explanation: https://blog.hirnschall.net/perlin-noise/
-
Just tried the action 8) thank you!
... what would be the use case for this action?
in a scene you'd set up a loop to iterate through the X/Z "locations" (doesn't need to be objects in a grid, could get 1 value for a specific location). At each pass through the loop (at the different X/Z) the action returns a normalized value between 0 and 1.
The minecraft-looking terrain scene is (probably) cubes set at a height (Y) multiplied by the Perlin value.
Reasons to use Perlin noise over random numbers is the smooth undulation, and predicatability. Perlin looks organically random but gives consistent values – super-helpful for procedural generation.
More explanation: https://blog.hirnschall.net/perlin-noise/
Oh that is awesome, thank you for the explanation and the link.