4

I want to make an procedural planet with XNA. I'm able to create an heightmap with Perlin Noise and load it in run-time, but how do I create additional seamless chunks and create a spherical planet?

Thanks in advance, Giulio.

Giulio Zausa
  • 233
  • 4
  • 16

1 Answers1

1

Check out how I did it here

Thats assuming you are making a platformer, or is it topdown?

However because you need chunks, using how I did it may not work so good, So you could use this implementation of perlin noise, and use it as seen in the link below. You may want to take a look here for chunks

Community
  • 1
  • 1
Cyral
  • 13,999
  • 6
  • 50
  • 90
  • I'm trying and trying, but I don't know how to make seamless perlin noise and deform it to make a planet... – Giulio Zausa Aug 06 '12 at 13:36
  • Well if you use a Perlin Noise algorithm, Each "chunk" will leave off were the last one was. However, Doing it backwards, like having one end connect to the last... I see alot of 3D planets on youtube, If any have source code, changing the noise to 1D should work. Now that I think about this seems pretty hard. – Cyral Aug 06 '12 at 13:53