Perlin Noise Generator

Huge Update To Generation, Visual!

Hello Again. Huge update today. Iā€™ve turned it into a visual plugin. You can either use the module, or use the visual plugin. Whats good about the visual plugin is that it generates the map when studio isnā€™t in Run Mode. This way you can edit the map :smiley:

What do you think of this change?

  • 1 - Wonā€™t Do Anything, Bad Change, Revert :-1:
  • 2
  • 3 - Itā€™s fine, could be betterā€¦
  • 4
  • 5 - Itā€™s ok, I like this change. :neutral_face:
  • 6
  • 7 - Pretty cool, Could Mess Around With Itā€¦
  • 8
  • 9
  • 10 - Epic Change :smiley: Keep Going!! :smiley:

0 voters

Bye!

1 Like

Where can I get the Plug-In?
Could you link it here! Iā€™ll be glad to use it

Dont sue my plugin please :cold_face:

its still way in testing but if youā€™f like to test you can

Iā€™m on phone so sometimes I write ā€œsueā€ instead of ā€œuseā€

1 Like

Would you like to have a try at the visual version?

Certainly! I would greatly appreciate it!

Another Update :eyes:


The Second Type Of Perlin Noise. This creates more ā€˜Hillyā€™ Terrain

Whatā€™d you think?

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10

0 voters

This is very interesting. Iā€™ve been thinking a lot about terrain generation recently. Unfortunately, Iā€™m not at that level of programming knowledge yet (I saw how to make perlin noise, but Iā€™d rather learn a little more programming, and then after this interesting stuff), But thereā€™s still time until I get there! Anyways, as soon as this comes out, Iā€™ll be playing around with this a bit. Also, will this be a plugin or just a script that we put into the game?

I wonder, since your terrain generator is still rather blocky which might make walking or driving a car on it a bit hard.
Would it be an idea to use wedges and corner wedges to connect lower pieces of ground to higher pieces?
Iā€™m curious what it would look like with wedges!

2 Likes

Iā€™ll think about it. The reason iā€™m hesitating is because of the way my smoothing algorithm works.
Basically, it adds the height of the 8 squares around it (excluding the edges) and divides them by 9, creating the smoothness formula. you then cut of the edges. No idea if that would work with wedges, but ill try

Alright. As much as the wedge parts look cool, they sadly donā€™t work :frowning: Sorry

Iā€™ll make it so you can choose.
You can either require it from a module:

And write a script like that

local Map = terain.Generate(game.Workspace.Map,250,3,1,7,1.5,2,Color3.new(0.470588, 0.772549, 1), true, game.Workspace.Models,1000,true)

Or you can use the plugin which @Dede_4242 is testing

This is a suspension test. it mainly works

Actually it works even better on the other terrain.

Okay, Cool! Another question:
Will we be able to animate the noise so that maybe I can make waves. You canā€™t really change the seed for that effect to wprk, but you could make some property such as phase. It would change and look similar to how it did before changing that property.

Watch the example in the video to understand better, because I canā€™t explain very well. I also didnā€™t use the same type of noise, but it should explain you what Iā€™m trying to say.

ezgif-2-5b057ffe24

Actually, for the effect would probably be better to use phase on the noise color. So maybe itā€™s animated between black and white color and you can use phase to change between them. Therefore, changing he height.

1 Like

Oh to add wegdes you could decrease the smoothing algorithmā€™s intensity, look how high (or low) the 4 nearest blocks are and then place a wedge on top.

Is it also possible to generate mountains with it yet?

In the video I saw a mountain in the distance, is that another gets?

Yes you will be able to generate mountains. Iā€™ve made somewthing cool with it, ill share it in a second

2 Likes

I think if you change the resolution of the terrain, wedges might become easier to implement.
You can also use meshes instead of parts since meshes get instanced like parts so it shouldnā€™t lag.

Iā€™ve once considered making a pyramid-shaped mesh with a flat top and generate terrain with that, also applying slightly random rotation to it on the Y axis to see what that would look like.