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

    Unhappy Help With Fractal Terrain

    I've been in the process of making a simple acii game and worked out to make random terrain that wasn't all that bad (but has some flaws and is not very efficient). I came across midpoint displacement and the diamond square algorithms and was blown away by the results that come from using them. So I decided to try implementing one into my game but I'm having a really hard time coding it out. I have read a whole bunch on them but haven't really found any good tutorials that breaks it down into steps with sample code. I just need it stored in an array I can handle graphics and output. If some one can point me in the right way or help out I'd really appreciate it. Like I said am just having a hard time grasping the process.

    ex: 5x5 array with all starting corners being 9 in height


    ^^Something simple like that. Thanks in advance

  2. #2
    Join Date
    Mar 2010
    Melbourne Australia

    Re: Help With Fractal Terrain

Posting Permissions

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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.