#26 ✓resolved
Christopher Peplin

Choose map generation algorithm

Reported by Christopher Peplin | August 29th, 2010 @ 10:22 PM | in Mercury-Atlas 8

Comments and changes to this ticket

  • Christopher Peplin

    Christopher Peplin August 29th, 2010 @ 10:22 PM

    • Milestone changed from Mercury-Atlas 6 to Mercury-Atlas 8
    • Milestone order changed from “13” to “0”
  • Christopher Peplin

    Christopher Peplin August 29th, 2010 @ 10:22 PM

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

    Christopher Peplin September 3rd, 2010 @ 04:23 PM

    • Milestone set to Mercury-Atlas 8
    • State changed from “new” to “in-progress”
  • Christopher Peplin

    Christopher Peplin September 3rd, 2010 @ 04:40 PM

    • 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

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Tags

Pages