Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

Choose map generation algorithm

State: resolved
Milestone: Mercury-Atlas 8
Assigned to: Christopher Peplin Christopher Peplin

Activity

  1. Christopher Peplin
    Christopher Peplin
    • Milestone changed from Mercury-Atlas 6 to Mercury-Atlas 8
    • Milestone order changed from 13 to 0

    August 29th, 2010 @ 10:22 PM

  2. Christopher Peplin
    Christopher Peplin
    • Milestone cleared.
    • Milestone order changed from 2 to 0

    August 29th, 2010 @ 10:22 PM

  3. Christopher Peplin
  4. Christopher Peplin
    Christopher Peplin
    • State changed from in-progress to resolved
    • Generate a heightmap with perlin noise
    • Find an n x b sized block with the highest average elevation of the map
      • Increase the height of all blocks in that block by @x@%, and consider it a mountain range
    • Find another n x b sized block with an average elevation > the 70th percentile of the entire map
      • Turn it into water blocks and average out the elevation so it is flat - this is a high lake
    • Do the same again, but for a < 30th percentile elevation block - consider this a drainage lake
    • Step down in elevation block by block, turning them into river blocks, taking the straighter path if it is only a little less downhill than the steepest option
      • Continue until you hit the edge of the map or the drainage lake
    • Generate a perlin noise map for each of the natural resources and apply values to all of the blocks

    September 3rd, 2010 @ 04:40 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.