CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2009
    Posts
    3

    Algorithm for generating continents/islands

    Hello,

    currently i'm programming a mapeditor. i want to include some nice scripts, which generate some islands/continents or other interesting shapes. the algorithm only need to tell me, if to set land on the field (x,y) or not. But in that direction i have no experience.

    so if you can tell me some good internetsites or names of algorithm which can be used for this, i have a point at which i can start with the search. some example are also welcome, the programming-speech doesn't plays any role to me. so pseudocode will also be good.

    i'm thankfull for every help.

    yours
    ralfonso

  2. #2
    Join Date
    Oct 2006
    Posts
    616

    Re: Algorithm for generating continents/islands

    See this link.

    It portrays some methods for automatic 3D terrain generation.
    You can easily adapt it to 2D if you decide a height threshold.

    Regards,
    Zachm

  3. #3
    Join Date
    Jan 2009
    Posts
    3

    Re: Algorithm for generating continents/islands

    Thanks Zachm, I will have a look at this.

    yours
    Alfonso

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured