Create Terrains form Elevation maps in Houdini

Hi there,

Yes, there is a new Houdini category. 🙂
As I learn Houdini I’ll try my best to give a few useful tip for beginners (I’m not an advanced user in Houdini so if you have any advice – related to the that specific topic – feel free to share that information).

Cheers, D

Create Terrains form Elevation maps in Houdini

Where to download elevation maps:

  • The best place to download elevation data is the Japanese Alos-2 site.
    You can register for free at the download section.
    The actual download page.
  • Select a large area, than a smaller one. You can download a 5 by 5 area at one click or each tile separately as a GeoTiff file (the DSM named files are the elevations the MSK named are water mask).
    Size: 3600 px by 3600 px.
    Real world resolution: each pixel is 30 m by 30 m (approximately at the equator). You may want to correct the proportions caused by the actual projection type based on the Tissot’s indicatrix.

In Houdini:

This is a very simple thing to do in Houdini. As always there is a lot of way to to this, but this is the most simple one (an precise as well).

  1. Create a HeightField object (go inside)
    Change the Division mode to By Axis, this way you can control the resolution better.
    Grid Samples: 3600
    Size: 3600 and 3600
  2. Add a HeightFiled File node.  Select the downloaded tif file.
    Change the Layer Name to height (to get elevations not a mask).
    Size, Size:
    3600
  3. Add a HeightField Remap node. Because how the data stored you have to remap the height values this way (you’ll get correct elevations but you have to divide it by 30 because earlier we did’t scaled up the size of the terrain in XZ):
    Input Min: -1
    Input Max: 1
    Output Min: -36768/30
    Output Max: 36768/30

That’s it 🙂
Screenshot 2018-09-15 09.27.38

A few things:

  • If you want a smaller peace of the terrain you just have to change the Size parameters at the HeightField node (for example 1000 by 1000) and change the center X and Z.  You may want to lower the resolution accordingly.
  • After the you created a base you can modify it with the usual Height Filed nodes.
  • You can upscale the whole terrain to get 1:1 sizes with the HeightField Transform node (Uniform Scale: 30).
  • You may have to correct a few data error with an image editor software (simple way). Errors are usually at the non interesting part of the image outside the acual terrain (oceans).

Cheers, D

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.