Blender Tutorial

As promised several months ago, I’ve finally put together some instructions on how to create shaded relief using Blender. I’ve created a 72-minute, six-part video series that walks you through the process (don’t worry; it doesn’t take that long to do it every time, just your first time). Please share it around! I’d love to see other people making use of this technique, and extending it beyond what I’ve done.

NOTE: Since I put together this video series, some of my colleagues have made some great contributions that you should be aware of. First off, Ryan Lash (@RRLash) has put together an awesome step-by-step explanation of everything that goes on in the videos, so that you don’t have to hunt around to find the step you missed: https://docs.google.com/spreadsheets/d/11HHMdKawdbXNkkxWdW82-HgHE2k3Tojg7P_X75ojb50/edit#gid=0. Second, check out the comments below. Morgan Hite has been using BlenderGIS to ease some of the issues with Blender not handling spatial data natively, and he’s put together a description of his basic workflow. I’m very happy that people are using and, more importantly, extending the material I’ve put together her.

Make sure you’re watching these in HD, otherwise you may have trouble following along when I click buttons. If you want to follow along with the DEM I am using, get it here: https://www.dropbox.com/s/p70l34zf4grh63j/Blender%20Demo%20DEM.tif

Meanwhile, if you just want to look at pretty things, here’s the relief I made during the tutorials:

relief

About these ads

16 responses to “Blender Tutorial

  1. dario 7th January, 2014 at 08:39

    Hi Daniel,

    your tutorial is great and i really thank you for time you passed made this video series!! I follow it in every step and it looks great, it’s also giving me suggestions for doing 3D maps with this software. I will save this settings and do it for next shaded reliefs, it looks really better than QGIS shaded relief calculator.

    Just two question.
    I use your same version of Blender (2,69), but there’s some panels you use that I haven’t on my Mac and I can’t find on Blender options.

    a) first, when you try to change color and roughness (Video 3, minute 16,55). I’ve a more complicated panel, especially without roughness parametres, no way to change that.

    b) second, most important, about the Sun Strenght. (video 5, minute 7). Same thing that Roughness, I’ve a more complicated panel.

    c) about last video, all “Light Paths” panel it doesn’t exist in my Blender user interface.

    Results is that my shaded relief is different than yours.
    Do you have any suggestion to change that? I can send you by mail some screenshot of my panels…
    I really thank you again for your time and great tutorial.

    I wish you all the best for 2014.
    Dario

    • Daniel Huffman 7th January, 2014 at 09:13

      Did you make sure to switch to the Cycles Rendered? That will cause your panels to be different

      • dario 7th January, 2014 at 09:30

        That it is! I switched yesterday but i forgot to do it today. Thanks a lot !

        Did you use this software for 3D rendering too ? It could be awesome if DEM could be adapted as a vector file in Illustrator. Well, this is another story to tell…..

        thanks again, bye !
        Dario

  2. Thorfinn Tait 19th January, 2014 at 19:47

    Daniel,

    Wow! Thank you so much for sharing this method. I had a go, and the results are indeed vastly superior to what I was using before.

    I am in the midst of writing a series of articles on creating and mapping fantasy worlds, and I’d love to incorporate your techniques into my shaded relief article – with full credit given to you for the method, of course. I will link to your blog article, and provide text instructions, which I think would be a great complement to go with your article. How would you feel about that?

    Thorfinn

    http://thorf13.blogspot.jp

    • Daniel Huffman 19th January, 2014 at 21:57

      Thanks for the kind words, and I’m glad you had a good result! Please do feel free to share this technique. If you do a written set of instructions, I might want to link back to those, as well, as I agree that it needs them. I just haven’t had the time to write everything down.

      -Daniel

      • sarvesh randy 5th February, 2014 at 04:33

        Hi Daniel, great video, I loved the way you approached your subject, so simple and beautifully explained. One question though, how do I import my 2d image?
        Tks,
        sarvesh

        • Daniel Huffman 5th February, 2014 at 14:30

          Thanks for the kind words. If you’re talking about importing your own DEM, that’s covered in video 3, starting at about the 10:30 mark. If you’re talking about saving your final relief, that’s in video 6 at about the 8:45 mark. Hope this helps!

  3. kascy 7th March, 2014 at 05:14

    Blender 2.69
    Hi Daniel, apart from your informative video, can you please tell me how to convert a .Blend file to another format, and how can I save a Blender file as JPEG? I’m sure many guys are asking the same question.
    Regards
    kascy

    • Daniel Huffman 7th March, 2014 at 06:37

      It’s not possible to save a .blend as a JPEG or other graphics format, since they’re such different things. Perhaps you’re looking to save your rendered relief, instead? That’s covered in the last video, at around the 9 minute mark. Hope that helps!

  4. Ryan Lash 4th April, 2014 at 11:54

    Thanks again for the great tutorial. I’ve been trying to repeat the process for several different areas, and found I frequently needed to reference information from the videos. To make this easier, and useful for others, I’ve compiled a spreadsheet where I attempted to: 1) transcribe the process you describe in your video, and 2) generalize the steps in the process with specific reference to button clicking sequence. I’m sharing it here as a Google Doc for others to edit, copy, and reference if they want. Here’s the link- https://docs.google.com/spreadsheets/d/11HHMdKawdbXNkkxWdW82-HgHE2k3Tojg7P_X75ojb50/edit?usp=sharing

  5. Pingback: Friday Reading

  6. Jamie Robertson 1st October, 2014 at 12:01

    Daniel, Thank you so much for these amazing videos. They were perfect for navigating all of the Blender knobs and twiddlybits and now i’m tweaking a shaded relief instead of blender menus. Thank you! I’m getting hung up on one part though. After i’ve completed all of the steps in the video, I can’t figure out how to go back and modify the number of cuts in the plane.

    I select the plane, go into edit mode, and then click ‘Subdivide’ on the left bar. Blender appears to spin and subdivide the plane again, and then ‘Number of Cuts’ value shows up as 1. Is there a way i’m missing to view/edit the existing value for the cuts? (500 in this case).

    Thanks!

    • Daniel Huffman 2nd October, 2014 at 17:06

      Good question. You can’t un-cut the plane once it’s cut. Instead, you can just cut it again. So, if you did 500 cuts before, and then you re-do the subdivide with a value of “2”, you’ve now cut each of those 500 cuts twice more, leaving 1500 cuts. Does that make sense?

  7. Morgan Hite 1st October, 2014 at 22:48

    Wonderful tutorial, Daniel! Since I watched it I have been playing around with Blender hillshades, and discovered a few things that you may well already know. If not, you’ll be interested.

    The main one is that there is a plug-in for Blender called BlenderGIS. Its homepage on Github is https://github.com/domlysz/BlenderGIS, and the wiki (which I found quite useful) is at https://github.com/domlysz/BlenderGIS/wiki

    This plugin lets you do three interesting things. One is that you can read in a georeferenced raster (e.g., DEM) and it will shift the coordinate system so that one Blender unit is one metre in space. As a result, when you scale your Z values you really know how high you are making things.

    Two is that BlenderGIS reads in a DEM and pairs it with a Subsurf modifier to displace the plane. In brief, this takes a number (e.g., 8, 9, 10,…) and subdivides the plane so there are 2^n subdivisions along each side. (E.g., subsurf of 10 means 1024 points along each edge.) But, you can specify different n for the View and Render modes, so you can view at subsurf 6 (easy to move the plane and set things up) and render at 10 (lots of detail). It uses very little memory (compared to actually subdividing the plane)!

    The third is that it offers you a tool, on a new “GIS” tab, to create a “Georef camera.” This creates a camera whose position and perspective are just right for your DEM. I still have to increase its Z position sometimes after scaling the DEM’s Z values, and I usually have to move the lamp up as well. Its guess at the final pixel dimensions I want is usually wrong as well. But once the DEM is read in twice (“as plane” and “as DEM”), you create a Georef cam and you are 75% done with setup.

    A basic workflow with the BlenderGIS plugin looks like this:
    – Open Blender and choose the Cycles Renderer
    – File>Import>georeferenced raster. Pick your DEM and make sure Mode is “on plane.”
    – Delete the default material assigned to the plane and create a material you prefer
    – File>Import>georeferenced raster again. This time pick the same DEM but set Mode to “as DEM”
    – On the GIS tab, under Georef Cam click “Create/Update”
    – Under the modifiers for the plane, set the “Render” subdivisions to, say, 10, but leave the “View” subdivisions at 6
    – now you’re ready to adjust Z scaling, set the pixel dimensions for the render, adjust light source, and all the other good things that were in your tutorial. Test render, make final adjustments and then do final render.

    If you are working with a large DEM that you have cut into overlapping tiles, you may want to just save the parameters for this render and pull in the next tile to take advantage of the same parameters — in other words, no having to set up the lamp and camera again. Basically, you save the project, delete the plane, read in a new DEM, and shift the coordinate system to it (Set Origin>Geometry to Origin). Then make sure all the other parameters are as you wanted. If you save a number of such Blender projects, you can render them from the command line with a script.

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 79 other followers

%d bloggers like this: