Results 1 to 7 of 7

Thread: Creating grayscale heightmaps

  1. #1
    Guild Novice Pyro_Spyder's Avatar
    Join Date
    Sep 2010
    Location
    Somewhere NOT over the Rainbow
    Posts
    9

    Help Creating grayscale heightmaps

    Ok, so I've been working on This just playing around. With the suggestions listed, I began trying to tweak it into something more realistic with foothills and plains. So I started examining real geological/geographical data and relief maps. My problem is this: I can't seem to recreate something that looks quite right compared to a DEM (digital elevation model) map. The DEMs render up with some wonderful smooth plains, foothills, and mountains.

    I've used several tutorials from the forums here as well as around the net that I've dug up. I've been able to make good looking very rough terrain, high mountains and rocky land. I am however having a devil of a time trying to create anything that looks more natural with mountains, foothills, and plains. I have an idea for a map that I'd like to create next, but I really need some help getting over this hump before I can start much on that idea. I suspect that my attempts are falling short in some way that I'm just not seeing, but I could really use some extra eyes.

    So, anyone have any ideas to help me out here? I've tried several methods in photoshop and I'm coming up dry on ideas.

    Thanks for the help!

    Here's the original height map for the linked thread.

    original heightmap.jpg
    ~Its only a fall from grace if you don't enjoy it~

    Pyro Spyder My Deviantart

  2. #2
    Community Leader Facebook Connected Ascension's Avatar
    Join Date
    Jun 2008
    Location
    St. Charles, Missouri, United States
    Posts
    8,392

    Default

    To truly recreate a grayscale heightmap in a raster program you need to spend a long time tweaking the colors of your terrain with minute adjustments in color. Tiny tiny adjustments that have almost no visual effect. Therefore that makes it hard to do. When I was really obsessive about such things I'd import my grayscale into Terragen, have that render the image, then go back to my grayscale and tweak for a while, then repeat. It got to be too time-consuming and really helped cure my obsessiveness.
    If the radiance of a thousand suns was to burst at once into the sky, that would be like the splendor of the Mighty One...I am become Death, the Shatterer of worlds.
    -J. Robert Oppenheimer (father of the atom bomb) alluding to The Bhagavad Gita (Chapter 11, Verse 32)


    My Maps ~ My Brushes ~ My Tutorials ~ My Challenge Maps

  3. #3
    Administrator waldronate's Avatar
    Join Date
    Mar 2007
    Location
    The High Desert
    Posts
    3,611

    Default

    The key to a plausible heightmap is, in my opinion, erosional effects. There are several ways to go about getting the type of erosion you're after. The most direct way is to pick DEMs with the types of features you want and paste together those pieces in Photoshop (or GIMP or what have you), being careful to keep the rivers aligned. If you have a grayscale image editor that can do Poisson blending then it's a little easier still because you'll get good blends.

    I'm way too lazy for that, though. I use Wilbur to synthesize erosional effects on a preexisting heightfield. The attached image is the 15 minute fiddling with fill, erosion, and exponent as described at http://www.ridgenet.net/~jslayton/Fu...ol1/index.html (in case you're interested in the process more than the results).

    The first image is the sea mask, the second one is an eroded version of your original heightfield with some exponential operator to give more in the way of plains, the third is a river map, and the final one is a simple altitude-shaded image with a river overlay.
    Attached Images Attached Images
    Last edited by waldronate; 11-25-2010 at 04:45 PM.

  4. #4

  5. #5
    Administrator waldronate's Avatar
    Join Date
    Mar 2007
    Location
    The High Desert
    Posts
    3,611

    Default

    http://portal.acm.org/citation.cfm?id=882269 is the reference for the classic paper on the subject. http://www.cs.unc.edu/~lazebnik/rese...08/jia_pan.pdf has a presentation on the information from the paper.

    This technique is usually described as "seamless blending" or "seamless cloning" in typical image editing tools.

    Howard Zhou's paper ( http://www.howardzzh.com/research/terrain/ ) uses a combination of graph cuts and Poisson blending to path together exemplars to match an existing pattern. There are filters available for World Machine that implement this paper.
    Last edited by waldronate; 11-26-2010 at 12:28 AM.

  6. #6
    Guild Artisan su_liam's Avatar
    Join Date
    Aug 2007
    Location
    Port Alberta, Regina(IRL: Eugene, OR)
    Posts
    798

    Default

    I'm really looking forward to the next version of Wilbur all of the sudden.

  7. #7
    melissafett
    Guest

    Default

    thats kinda crazy

Tags for this Thread

Posting Permissions

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