, ,

Displacement Mapping in Blender 3D

header_displacement

~Blender 3D is an open source program which can be downloaded from

Level: Beginner

Welcome to my first tutorial. We are going to learn to apply displacement mapping in blender 3D. Displacement mapping is a common used technique in 3D world and is used for altering 3D shapes with image based textures. It can save a lot of time, because with a simple displacement map you can add heights and depths much faster as modelling them. Bumpmaps are usually black and white colored, white means higher and black means lower.

First, if you don’t have Blender 3D yet, download it from the link above and install it in a chosen directory. It is an advantage if you already have knowledge of the blender interface. Since the coming of the the material-nodes there came a lot more options to tweak your materials, including displacement maps. The use of nodes is not implemented in this tutorial.

Step 1

Shaping: Open blender In the 3dview, were you can see all your models, hit x or delete and press delete selected objects.

Now we are going to add a sphere. Press space (while having the mouse in the 3dview part of the screen, usually the middle part of the screen) Then click add>mess>uvsphere

Just give it 32 segments and 32 rings. (You are automatically transferred to edit mode, where you can shape objects). You will have this:

UV-Sphere

Step 2

Shading: Press F5 or that red round shaped button and click add new:

You will now come in the shading tab, we’ll leave it for here now and return later.

Step 3

After that press F6 or the button circled red and add a texture, using clouds (add new, then texture type: clouds):

Texturing

Step 4

Then click in the rectangle beneath your current texture, click add new again and as texture type: image:

Texturing 2

Step 5

You can give up your images location and choose a texture which you like; I used a rusty texture, which gives a nice rusty effect. A lot of textures can be found on cgtextures.com. load-image

Congratulations, you have chosen al the textures we will need.

Step 6

Now switch back to the material button (press F5). Click on the shaders tab and move ref to 1.000 and specular to 0.00. This alters the refraction and specularity of the material. You may use other value’s, as this tutorial is about displacement and not specularity. Now select the upper tex (tex 002 in my case, the one with the cloud texture) and go to map to.

Tex1

Deselect col by clicking on it, select disp by clicking one time on it. You also see a slider with nor beneath. You can use that to make the surface more extreme or more flat. Don’t touch it know, as the current value is good, but it is explained in the case you might want to use it later (see for examples below).

Displacement

Step 7

Now select the lower texture in the texture tab (the texture with the metal texture), as we have done before. Then go to Map Input and select Sphe by clicking on it. You can see at your right hand that your material has changed. Don’t worry.

Map-Input

Step 8

World (optional): You can change the world color (the whole environment) to any color or texture you want. It usually is blue. Let’s choose a world color. Go to world buttons, then to blue colored rectangle. Click on it, choose your color and hit enter. (Please not that some world colors (for example black) will affect the visibility of the ball, because the texture is a littl bit dark). I chose gray in my final renders.

World Color

Then click render (press F12). If you did everything exactly, you would have something like this:

Ball not smooth

Step 9

This doesn’t look so smooth, does it? Let’s change that. Smoothing: Go the the editing tab (press f9), and add a modifier called subsurf. Set levels and render levels to 2.

Subsurf

Step 10

The Result: Render it again (f12)! Thats it! The outcome is completely based on the textures you have used. You are finally done. I got this:

Smooth Ball

You can always later add more objects or touch it up in photoshop, if you have the knowledge. Somewhere in the mid I told about the nor slider, this will happen if you give it a higher value:

Ball High Nor

Experiment with other textures and values and discover the powers of displacement mapping! Congratulations, you finished this very basic tutorial. Download the original .blend file (rust texture not included):

About Michiel

Michiel is studying a Master in Strategic Product Design and interested in the fields of design, psychology and faith. He became a child of God through Jesus in 2004. He has experience in graphic designing and webdesign, and a degree of industrial design; which enables him to think from the perspective of to user and to solve problems with creativity.

7 Responses to Displacement Mapping in Blender 3D

Leave a reply
  1. гляди! Я ржал – http://ibigdan.livejournal.com/4243319.html – тема дня :) )
    Фото на тему кризиса..
    да, и спасибо за пост) добавил в избранное

  2. Question for you!
    I am trying to do a tutorial I found somewhere else, but they use Cinema 4d instead of blender. I wanting to create a bunch of objects and link them to a node so that I don’t have to do the settings for each individual object. Here is the link:
    http://www.gomediazine.com/tutorials/photoshop/illustrative-typography/

    The step I am having trouble with is step 3. It is about 1/3 down the page.

    It involves displacement mapping, and I understand how to do it your way, but I am trying to do it with a node. Does this make sense? I am very tired right now and my knowledge of the subject is low… email me if you can help or need more clarification =]

    nks06@fsu.edu
    Thanks so much!!

  3. Hi Nathaniel!

    If I’m right you are using blender to do the same tutorial?

    My knowledge on knodes is also limited, so for nodes you should better ask an expert. I tried to figure this out with nodes, but couldn’t find a way.

    These are the solutions I would do:
    -If every object in the bunch of objects has the same material (for example material.001), you only just have to tweak that material (for example lowering the nor value for a more flat displacement). Since they are all using the same material, they will all change in appearance. I guess you know how to add existing materials to new objects.
    -If you want to use more materials, but the same displacement; more materials can use one texture, but you have to tweak settings of more materials now.

    Regards and good luck on your tutorial!

    Leichim

  4. Thanks a lot man! Much appreciated!

  5. First of all congratulation for such a great site. I learned a lot reading article here today. I will make sure i visit this site once a day so i can learn more.

  6. It has long been looking for this information, Thank you for your work.

  7. Pingback: Resources: The Best HDRI Maps and Textures at M-Sign

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>