Skip to main content
Clarified content and title. Removed most references to Unity.
Source Link
Anko
  • 13.5k
  • 10
  • 56
  • 82

Unity Generating terrain using Marching Cubes Terrain Generation

I searched around the web but I found nothing that could help me. So I decided to post my question, so I'm asking here. I'm

I'm trying to procedurally generate a procedural terrain using the marching cubes algorithm, and 'till now I can generate thea mesh the. The problem is that the mesh that it generates may be anything but is far from being a terrain x)!

https://www.dropbox.com/s/w99lvynrfra2a5v/question.JPG

As you can see in thethat screenshot (in the link) it's, everything is messed up. So my question is, can it be

Is this a problem with the noise function  ? I'm using a simple perlinPerlin noise function, without combining it with any other noises. Does anybody here can tell me howHow can I achive a result like this:

http://www.youtube.com/watch?v=-hJkrr5Slv8

I just want to knowIf the problem is with the noise, what do I need to do with the noisechange to achieve this, if the problem is the noise.? I want to create anatural terrain with hills, mountains, plansplains etc.. basically a natural terrain... Can someone here point me to the right direction, please ? By the way, I'm

(I'm using Unity3D Game Engine, but I don't think this makes any difference... Thanks in advanced.)

Unity Marching Cubes Terrain Generation

I searched around the web but I found nothing that could help me. So I decided to post my question here. I'm trying to generate a procedural terrain using marching cubes algorithm, and 'till now I can generate the mesh the problem is that the mesh that it generates may be anything but is far from being a terrain x)

https://www.dropbox.com/s/w99lvynrfra2a5v/question.JPG

As you can see in the screenshot (in the link) it's everything messed up. So my question is, can it be a problem with the noise function  ? I'm using a simple perlin noise function, without combining it with any other noises. Does anybody here can tell me how can I achive a result like this:

http://www.youtube.com/watch?v=-hJkrr5Slv8

I just want to know what do I need to do with the noise to achieve this, if the problem is the noise. I want to create a terrain with hills, mountains, plans etc.. basically a natural terrain... Can someone here point me to the right direction, please ? By the way, I'm using Unity3D Game Engine, but I don't think this makes any difference... Thanks in advanced.

Generating terrain using Marching Cubes

I searched around the web but I found nothing that could help me, so I'm asking here.

I'm trying to procedurally generate terrain using the marching cubes algorithm, and I can generate a mesh. The problem is that the mesh that may be anything!

https://www.dropbox.com/s/w99lvynrfra2a5v/question.JPG

As you can see in that screenshot, everything is messed up.

Is this a problem with the noise function? I'm using a simple Perlin noise function. How can I achive a result like this:

http://www.youtube.com/watch?v=-hJkrr5Slv8

If the problem is with the noise, what do I need to change to achieve this? I want to create natural terrain with hills, mountains, plains etc.

(I'm using Unity3D, but I don't think this makes any difference.)

Tweeted twitter.com/#!/StackGameDev/status/330138064976482306
Source Link
Sammael
  • 63
  • 1
  • 4

Unity Marching Cubes Terrain Generation

I searched around the web but I found nothing that could help me. So I decided to post my question here. I'm trying to generate a procedural terrain using marching cubes algorithm, and 'till now I can generate the mesh the problem is that the mesh that it generates may be anything but is far from being a terrain x)

https://www.dropbox.com/s/w99lvynrfra2a5v/question.JPG

As you can see in the screenshot (in the link) it's everything messed up. So my question is, can it be a problem with the noise function ? I'm using a simple perlin noise function, without combining it with any other noises. Does anybody here can tell me how can I achive a result like this:

http://www.youtube.com/watch?v=-hJkrr5Slv8

I just want to know what do I need to do with the noise to achieve this, if the problem is the noise. I want to create a terrain with hills, mountains, plans etc.. basically a natural terrain... Can someone here point me to the right direction, please ? By the way, I'm using Unity3D Game Engine, but I don't think this makes any difference... Thanks in advanced.