You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 19, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: _posts/2019-03-22-blender-tutorial-8-textures-part-1.md
+9-18Lines changed: 9 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,33 +17,26 @@ authors: [fabrizio_duroni]
17
17
---
18
18
19
19
In the [previous post of the series "Blender tutorial"](/2019/03/21/blender-tutorial-7-materials.html) we talked about materials in Blender. In this post we will start to learn how to use textures.
20
-
As you may already know, textures are useful to add realism to a material. We can manage textures from the texture
21
-
tab inside the properties panel. From that panel we can create a new texture by clicking on the + button. After
22
-
creating a new texture, some options are displayed that let us customize how the texture looks like. The type of
23
-
texture we select changes the options displayed: there will be a specific section of properties for the type we
24
-
choose.
20
+
As you may already know, textures are useful to add realism to a material. We can manage textures from the texture tab inside the properties panel. From that panel we can create a new texture by clicking on the + button. After creating a new texture, some options are displayed that let us customize how the texture looks like. The type of texture we select changes the options displayed: there will be a specific section of properties for the type we choose.
25
21
26
-
{% include blog-lazy-image.html description="blender create texture" width="1500" height="948" src="/assets/images/posts/blender-create-texture.jpg" %}
22
+
{% include blog-lazy-image.html description="Create a texture" width="1500" height="948" src="/assets/images/posts/blender-create-texture.jpg" %}
27
23
28
-
In the various section of the texture panel we have the "influence section". This section is very important because
29
-
it let us customize how the texture will affect the final material. This means that we can use textures to change not
30
-
only the final color of the material but also the shading components, geometry, specular highlight and so on.
24
+
In the various section of the texture panel we have the "influence section". This section is very important because it let us customize how the texture will affect the final material. This means that we can use textures to change not only the final color of the material but also the shading components, geometry, specular highlight and so on.
31
25
32
-
{% include blog-lazy-image.html description="blender texture influence" width="1500" height="948" src="/assets/images/posts/blender-texture-influence.jpg" %}
26
+
{% include blog-lazy-image.html description="The influence section" width="1500" height="948" src="/assets/images/posts/blender-texture-influence.jpg" %}
33
27
34
-
To add the image to be used as texture we have to select the type "Image or movie". After that we can scroll in the
35
-
option of the texture to the Image section and we can choose between create a new image or open an existing one.
28
+
To add the image to be used as texture we have to select the type "Image or movie". After that we can scroll in the option of the texture to the Image section and we can choose between create a new image or open an existing one.
{% include blog-lazy-image.html description="Add an image to a texture" width="1500" height="949" src="/assets/images/posts/blender-texture-add-image.jpg" %}
38
31
39
32
After that we need to define the mapping of the texture on the surface. We can find this section by scrolling down in
40
33
the texture tab. The most important option here is "Coordinates". This option let us define the mapping of texture coordinates on the image. By default is set to generated, that means that the coordinates are generated by blender for the defaults primitives. Then there's the UV option, that maps to coordinates baked into the object.
{% include blog-lazy-image.html description="Choose texture mapping" width="1500" height="950" src="/assets/images/posts/blender-texture-choose-mapping.jpg" %}
43
36
44
37
Remember that after an images has been selected as texture, it will not be shown in the 3D window if we choose the texture visualization unless we load it in the UV editor. To do it choose UV editing layout and load the texture using the open button.
45
38
46
-
{% include blog-lazy-image.html description="blender texture uv load image for 3d view" width="1500" height="949" src="/assets/images/posts/blender-texture-uv-load-image-for-3d-view.jpg" %}
39
+
{% include blog-lazy-image.html description="The UV editor" width="1500" height="949" src="/assets/images/posts/blender-texture-uv-load-image-for-3d-view.jpg" %}
47
40
48
41
The UV editor is the main tool to work with texture. By using it we can precisely apply a texture to an object using the unwrap texture tools. To do this we need first to define seams. Seams (as in sewing) are where the ends of a mesh are sewn together. Blender uses seams to understand where to unwrap the mesh. We can defines seams by selecting the edges we want to mark and use the menu Mesh -> Edges -> Mark Seams. We can recognized seams as they are reported as red lines in the 3D window.
49
42
@@ -54,9 +47,7 @@ The we can unwrap the mesh by just selecting Mesh -> UV unwrap -> Unwrap. After
We can also create projection mapping using the UV projection. This basically means projecting a sphere, cylinder or
58
-
a cube onto our project to get some rough mapping that we can tweak later. We can find UV projection under Mesh -> UV
59
-
Unwrap -> <Sphere/Cylinder/Cube> projection.
50
+
We can also create projection mapping using the UV projection. This basically means projecting a sphere, cylinder or a cube onto our project to get some rough mapping that we can tweak later. We can find UV projection under Mesh -> UV Unwrap -> <Sphere/Cylinder/Cube> projection.
60
51
61
52
{% include blog-lazy-image.html description="blender uv projection" width="1500" height="949" src="/assets/images/posts/blender-uv-projection.jpg" %}
Copy file name to clipboardExpand all lines: _posts/2019-03-23-blender-tutorial-9-textures-part-2.md
+6-16Lines changed: 6 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,26 +17,16 @@ authors: [fabrizio_duroni]
17
17
---
18
18
19
19
In the [previous post of the series "Blender tutorial"](/2019/03/22/blender-tutorial-8-textures-part-1.html) we talked about textures in Blender. In this post we will continue to learn how to use textures in Blender.
20
-
We will start with normal maps. This kind of texture let us simulate rough surfaces without adding geometric
21
-
details to the mesh. We can set bump mapping in the texture tab under the Influence section. By checking the
22
-
Geometry -> Normal checkbox we let the texture be used as a reference to modify the normals of the mesh so that we
23
-
can simulate additional geometry details. It is possible to modify the quality of the map by adjusting the option in
24
-
the same panel.
20
+
We will start with normal maps. This kind of texture let us simulate rough surfaces without adding geometric details to the mesh. We can set bump mapping in the texture tab under the Influence section. By checking the Geometry -> Normal checkbox we let the texture be used as a reference to modify the normals of the mesh so that we can simulate additional geometry details. It is possible to modify the quality of the map by adjusting the option in the same panel.
25
21
26
-
{% include blog-lazy-image.html description="blender normal mapping" width="1500" height="949" src="/assets/images/posts/blender-normal-mapping.jpg" %}
22
+
{% include blog-lazy-image.html description="Normal mapping" width="1500" height="949" src="/assets/images/posts/blender-normal-mapping.jpg" %}
27
23
28
-
Another interesting texture technique useful to add details to our models is the displacement mapping. Instead of
29
-
creating the illusion of additional details, the displacement mapping modifies the geometry of an object. We can
30
-
activate the displacement mapping under the influence section of the texture tab. To obtain better result with the
31
-
displacement mapping, it is useful to apply a subdivision surface modifier to the object.
24
+
Another interesting texture technique useful to add details to our models is the displacement mapping. Instead of creating the illusion of additional details, the displacement mapping modifies the geometry of an object. We can activate the displacement mapping under the influence section of the texture tab. To obtain better result with the displacement mapping, it is useful to apply a subdivision surface modifier to the object.
32
25
33
-
{% include blog-lazy-image.html description="blender displacement mapping" width="1500" height="950" src="/assets/images/posts/blender-displacement-mapping.jpg" %}
26
+
{% include blog-lazy-image.html description="Displacement mapping" width="1500" height="950" src="/assets/images/posts/blender-displacement-mapping.jpg" %}
34
27
35
-
One final tool we have for textures is the node editor. With it we can join multiple textures into a single one to
36
-
obtain a more complex texture. We can activate it in a new window by selecting the "Node Editor" visualization. After
37
-
we activate the "Use nodes" option we compose complex texture by adding more node (with the menu at the bottom of
38
-
the view) and we can compose them to obtain our final texture.
28
+
One final tool we have for textures is the node editor. With it we can join multiple textures into a single one to obtain a more complex texture. We can activate it in a new window by selecting the "Node Editor" visualization. After we activate the "Use nodes" option we compose complex texture by adding more node (with the menu at the bottom of the view) and we can compose them to obtain our final texture.
39
29
40
-
{% include blog-lazy-image.html description="blender node editor" width="1500" height="950" src="/assets/images/posts/blender-node-editor.jpg" %}
30
+
{% include blog-lazy-image.html description="The node editor" width="1500" height="950" src="/assets/images/posts/blender-node-editor.jpg" %}
Copy file name to clipboardExpand all lines: _posts/2019-03-24-blender-tutorial-10-light-part-1.md
+16-33Lines changed: 16 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,12 +17,10 @@ authors: [fabrizio_duroni]
17
17
---
18
18
19
19
In the [previous post of the series "Blender tutorial"](/2019/03/23/blender-tutorial-9-textures-part-2.html) we talked about textures in Blender. In this post we will explore lights in Blender.
20
-
First of all we need to clarify one thing: lights in Blender are called lamps. So in all menus and option we will
21
-
find that word to identify lights.
22
-
To add a light to our scenes, just use the option Add -> Lamp and select one of the light type available. Let's add
23
-
for example a simple point light.
20
+
First of all we need to clarify one thing: lights in Blender are called lamps. So in all menus and option we will find that word to identify lights.
21
+
To add a light to our scenes, just use the option Add -> Lamp and select one of the light type available. Let's add for example a simple point light.
24
22
25
-
{% include blog-lazy-image.html description="blender add light" width="1500" height="952" src="/assets/images/posts/blender-add-light.jpg" %}
23
+
{% include blog-lazy-image.html description="Add a light to the scene" width="1500" height="952" src="/assets/images/posts/blender-add-light.jpg" %}
26
24
27
25
We can then customize the light properties using the related tab in the properties panel. In this section you can find specific customizable properties for each type of light.
28
26
For example for a point light we can customize:
@@ -33,48 +31,33 @@ For example for a point light we can customize:
33
31
* energy, how much bright the light is
34
32
* distance, the maximum light distance at which it will still affect objects
35
33
36
-
{% include blog-lazy-image.html description="blender properties point light" width="1500" height="951" src="/assets/images/posts/blender-point-light.jpg" %}
For the point light (and also some other kind of light) it is possible to enable shadows. To do that we have to
39
-
choose ray shadow in the light properties panel and customize the look and feel of the shadow. Here we can also
40
-
define the number of samples to be used to generate the shadows: the higher the better shadow we obtain (if you
41
-
want to know more about ray tracing shadows, you can read [this lecture](https://www.cim.mcgill.ca/~langer/557/19-slides.pdf"ray tracing shadow rays").
36
+
For the point light (and also some other kind of light) it is possible to enable shadows. To do that we have to choose ray shadow in the light properties panel and customize the look and feel of the shadow. Here we can also define the number of samples to be used to generate the shadows: the higher the better shadow we obtain (if you want to know more about ray tracing shadows, you can read [this lecture](https://www.cim.mcgill.ca/~langer/557/19-slides.pdf"ray tracing shadow rays").
42
37
To actually render the shadow, we need also to set the shadow flag enable in the renderer settings properties panel.
{% include blog-lazy-image.html description="Shadow panel properties" width="1500" height="950" src="/assets/images/posts/blender-shadow-enable-1.jpg" %}
40
+
{% include blog-lazy-image.html description="Enable shadow in the shading section" width="1500" height="948" src="/assets/images/posts/blender-shadow-enable-2.jpg" %}
46
41
47
-
There are other types of lights. For example we have spot lamps. These are light with a specific dim that simulate a
48
-
cone of light. We can customize its properties in the light tab in the properties panel. One thing to note for
49
-
spot light is that we can customize the cone (shape, size...).
42
+
There are other types of lights. For example we have spot lamps. These are light with a specific dim that simulate a cone of light. We can customize its properties in the light tab in the properties panel. One thing to note for spot light is that we can customize the cone (shape, size...).
50
43
51
-
{% include blog-lazy-image.html description="blender spot light" width="1500" height="885" src="/assets/images/posts/blender-spot-light.jpg" %}
44
+
{% include blog-lazy-image.html description="A spot light" width="1500" height="885" src="/assets/images/posts/blender-spot-light.jpg" %}
52
45
53
-
Spot light can use a new type of shadow called buffer shadow. They are useful because they can be rendered more
54
-
quickly. After enabling it in the properties panel of the spot light, we can customize it as always. There are
55
-
different type of buffer shadow:
46
+
Spot light can use a new type of shadow called buffer shadow. They are useful because they can be rendered more quickly. After enabling it in the properties panel of the spot light, we can customize it as always. There are different type of buffer shadow:
56
47
57
48
* Classical
58
49
* Classical Half
59
50
* Irregular, a method to achieve ray-tracing alike shadows with good performance
60
51
* Deep, another method similar to ray tracing but much more expensive in terms of performance then Irregular
{% include blog-lazy-image.html description="Add shadow to a spot light" width="1500" height="884" src="/assets/images/posts/blender-spot-light-shadow.jpg" %}
63
54
64
-
Another type of light is Hemi-lamps. This are used to create an overall directional light for you scene. As a
65
-
consequence of the fact that it is a directional light, the position of it doesn't change the final lighting result.
66
-
Only the orientation influences the final lighting result. As always, we can customize its behaviour in the
67
-
properties panel.
55
+
Another type of light is Hemi-lamps. This are used to create an overall directional light for you scene. As a consequence of the fact that it is a directional light, the position of it doesn't change the final lighting result. Only the orientation influences the final lighting result. As always, we can customize its behaviour in the properties panel.
68
56
69
-
{% include blog-lazy-image.html description="blender hemi lamps" width="1500" height="886" src="/assets/images/posts/blender-hemi-lamps.jpg" %}
57
+
{% include blog-lazy-image.html description="A hemi lamps" width="1500" height="886" src="/assets/images/posts/blender-hemi-lamps.jpg" %}
70
58
71
-
The last available type of light is the area lamps. This kind of light provide illumination from a specific region
72
-
rather than a single point or a single direction. We can customize it as always from the properties panel. One
73
-
important thing to note is that area light as a distance property instead of falloff. This parameter determines the
74
-
final attenuation result. the distance is represented in the 3D window as a dashed line. The only type of shadow
75
-
supported the ray traced shadow. We can also customize the shape of the shadow: different shapes influence the final
76
-
rendering result.
59
+
The last available type of light is the area lamps. This kind of light provide illumination from a specific region rather than a single point or a single direction. We can customize it as always from the properties panel. One important thing to note is that area light as a distance property instead of falloff. This parameter determines the final attenuation result. the distance is represented in the 3D window as a dashed line. The only type of shadow supported the ray traced shadow. We can also customize the shape of the shadow: different shapes influence the final rendering result.
77
60
78
-
{% include blog-lazy-image.html description="blender area lamps" width="1500" height="887" src="/assets/images/posts/blender-area-lamps.jpg" %}
61
+
{% include blog-lazy-image.html description="An area lamps" width="1500" height="887" src="/assets/images/posts/blender-area-lamps.jpg" %}
79
62
80
-
In the next post we will talk about how to do other cool stuff with lights in Blender.
63
+
In the next post we will talk about how to do other cool stuff with lights in Blender.
0 commit comments