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.

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

    Pyro Spyder My Deviantart

  2. #2
      Ascension is offline
    Community Leader Ascension's Avatar
    Join Date
    Jun 2008
    Location
    St. Charles, MO
    Posts
    8,216

    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
      waldronate is offline
    Software Dev/Rep Gracious Donor waldronate's Avatar
    Join Date
    Mar 2007
    Location
    The High Desert
    Posts
    1,667

    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 Thumbnails Attached Thumbnails Creating grayscale heightmaps-original%2520heightmap_seamask.png   Creating grayscale heightmaps-original%2520heightmap.png   Creating grayscale heightmaps-original%2520heightmap_rivers.png   Creating grayscale heightmaps-original%2520heightmap_combined.jpg  
    Last edited by waldronate; 11-25-2010 at 03:45 PM.

  4. #4
      RobA is offline
    Administrator RobA's Avatar
    Join Date
    Apr 2007
    Location
    Niagara, Canada
    Posts
    5,550

    Default

    Quote Originally Posted by waldronate View Post
    ...a grayscale image editor that can do Poisson blending...
    That's a new one for me. Can you provide any references?

    -Rob A>

  5. #5
      waldronate is offline
    Software Dev/Rep Gracious Donor waldronate's Avatar
    Join Date
    Mar 2007
    Location
    The High Desert
    Posts
    1,667

    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-25-2010 at 11:28 PM.

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

    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
  •