Chunk Generator caves

Discussion in 'Plugin Development' started by Skionz, Dec 26, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Skionz

    I am working on a ChunkGenerator, and I am wondering what a good method would be for creating caves. Currently, I could create a sphere of air, but it looks completely unnatural. Does anyone have an idea to make natural looking caves efficiently?
     
  2. Offline

    Concurrent

    @Skionz try a for loop with tons of mini spheres, space them apart randomly
     
  3. Offline

    mythbusterma

    @Concurrent

    That sounds like it would be very, very ugly.
     
  4. Offline

    Concurrent

  5. Offline

    mythbusterma

    @Concurrent

    I would seriously doubt that'd look natural, plus, it would be non deterministic. Worlds should generate the same each time based on their seed.
     
  6. Offline

    Concurrent

    @mythbusterma idk Ive never developed a generator though right after I posted that's I considered the 3 nested for loops and the lag however it probably would look natural (only taking world edit into consideration).
     
  7. Offline

    ChipDev

    You could replicate one of mine craft's caves.
     
  8. @Skionz
    Minecraft uses the "perlin worms" algorithm, look it up.
     
  9. Offline

    Skionz

    I have tried it and it look pretty bad and it is very slow; however perlin worms looks promising.
     
    Last edited: Dec 26, 2014
  10. Offline

    Concurrent

    @Skionz yea after considering it its a bad idea... my bad
     
Thread Status:
Not open for further replies.

Share This Page