Using UV Maps#

Sooner or later, you may want to use an image texture on your model. The UV Editor allows you to map textures directly to the mesh faces. The 3D Viewport shows you the object being textured. If you set the 3D Viewport into Textured viewport shading, you will immediately see any changes made in the UV Editor, and vice versa. This is because no real rendering is taking place; it is all just viewport shading. If you were to apply an image to UVs then render, the texture would not show up by default. So to render an image, you must:

  • Створити Матеріал для об’єкта.

  • Сказати Blender’у використовувати текстури UV на гранях при рендерингу.

Для створення Матеріалу ви маєте клацнути на кнопці «Додати Нове» – Add New для матеріалів у контексті «Відтінювання» – Shading.

There are two ways to tell Blender to use the UV texture when rendering; the quick way and the proper way.

The quick way is to use generated UV coordinates. Generated coordinates is used by default by all Texture nodes, with the exception of Image textures that use UV coordinates by default. To use generated coordinates for images as well use the Generated output of the Texture Coordinate node.

The proper way is to use UV Unwrapping to manually generate UV coordinates. To use UV mapping, use the Texture Coordinate node (UV output) or the UV Map node and select the UV map to use, «UVMap» by default.

Повна інформація про використання текстур Зображення знаходиться на сторінці Image Textures.

Примітка

Для Рендерингу Вимагається Матеріал

You can perform UV texturing on a mesh within Blender without assigning a material, and you will even see it in your 3D Viewport in textured viewport mode. However, when you render, you will just get a default gray if the object does not have a Material assigned. You will get a black if you do not load an image. If you do not create a texture that uses the image, your object will render according to the procedural material settings.

Використання Тестової Сітки – Using the Test Grid#

Якщо ваше зображення є базовим однорідним патерном і ви хочете, щоб застосування цього зображення на вашій моделі виглядало, як тканина, то ви не хочете жодні розтягування (інакше, ви отримаєте тканину, схожу на спандекс, синтетику). You may also need to test your UV mapping with a test image:

../../../_images/modeling_meshes_uv_applying-image_test-grid-uvs.png

Тестова сітка, застосована для UV-координат.#

../../../_images/modeling_meshes_uv_applying-image_test-grid-geometry.png

Передогляд текстури на геометрії.#

Коли ви рендерите, то сіть буде мати тестову сітку, як своє забарвлення, і текстура UV буде за розміром зображення, яке ви визначили. Note that Blender has a built-in test image. To use it, press the New button of the data-block menu in the Image editor header and change the Generated Type to UV Grid.

Modifying Your Image Texture#

Дивись також

The advantage to saving as a separate file is that you can easily switch textures just by copying other image files over it, and you can use external editing programs to work on it. The advantage of packing is that your whole project is kept in the blend-file, and that you only have to manage one file.