Textures and UV Mapping in Blender

Similar documents
Blender Notes. Introduction to Digital Modelling and Animation in Design Blender Tutorial - week 1 The Blender Interface and Basic Shapes

Introduction to Digital Modelling and Animation in Design week 4 Textures

Mastering Truspace 7

Blender Lesson Ceramic Bowl

Chapter 23- UV Texture Mapping

UV Mapping to avoid texture flaws and enable proper shading

This is the opening view of blender.

This view is called User Persp - perspective. It's good for rendering, but not for editing. Ortho will be better.

A Guide to Autodesk Maya 2015

This lesson introduces Blender, covering the tools and concepts necessary to set up a minimal scene in virtual 3D space.

As we said Procedural Textures are not images but textures that Blender creates automatically. They are good to use as a foundation to start with.

Chapter 1- The Blender Interface

Chapter 1- The Blender Interface

Let s Make a Front Panel using FrontCAD

4) Finish the spline here. To complete the spline, double click the last point or select the spline tool again.

The original image. Let s get started! The final result.

FACULTY AND STAFF COMPUTER FOOTHILL-DE ANZA. Office Graphics

Chapter 3- Creating & Editing Objects

Basic Texturing Tutorial by Gary Wu

Chapter 17: The Truth about Normals

SketchUp Quick Start For Surveyors

Part II: Creating Visio Drawings

Brief 3ds max Shaping Tutorial

Week 1 The Blender Interface and Basic Shapes

SketchUp. SketchUp. Google SketchUp. Using SketchUp. The Tool Set

Actions and Graphs in Blender - Week 8

Blender Texture Painting Tutorial

CHAPTER 1 COPYRIGHTED MATERIAL. Finding Your Way in the Inventor Interface

Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller

SNOWFLAKES PHOTO BORDER - PHOTOSHOP CS6 / CC

lundi 7 janvier 2002 Blender: tutorial: Building a Castle Page: 1

Bonus Ch. 1. Subdivisional Modeling. Understanding Sub-Ds

WAYLAND FREE PUBLIC LIBRARY 3D Design and Printing Tutorial: Create a Keychain

Caustics - Mental Ray

SolidWorks Intro Part 1b

Graphic Design & Digital Photography. Photoshop Basics: Working With Selection.

Unit 21 - Creating a Navigation Bar in Macromedia Fireworks

3 Polygonal Modeling. Getting Started with Maya 103

Creating a Snowman Scene

SolidWorks 2½D Parts

Split the 3D Editor Viewport

You can select polygons that use per-poly UVs by choosing the Select by Polymap command ( View > Selection > Maps > Select by Polygon Map).

Chapter 5 Making Life Easier with Templates and Styles

Chapter 1. Getting to Know Illustrator

HOW TO. In this section, you will find. miscellaneous handouts that explain. HOW TO do various things.

ORGANIZING YOUR ARTWORK WITH LAYERS

Chapter 3- Creating & Editing Objects

AR-media TUTORIALS IMPROVING REALISM AMBIENT OCCLUSION. (June, 2011)

How to...create a Video VBOX Gauge in Inkscape. So you want to create your own gauge? How about a transparent background for those text elements?

Maya Lesson 3 Temple Base & Columns

An Approach to Content Creation for Trainz

Baking Blender materials to texture to make them usable in a game engine

Simple Glass TNT Molecule Tutorial

Autodesk Fusion 360: Render. Overview

Shape and Line Tools. tip: Some drawing techniques are so much easier if you use a pressuresensitive

Creating a New Plan File

Getting Started with Silo

Quick Start Tutorial

Chapter 4- Blender Render Engines

2 SELECTING AND ALIGNING

Screenshots Made Easy

On the Web sun.com/aboutsun/comm_invest STAROFFICE 8 DRAW

Grade 6 Math Circles. Spatial and Visual Thinking

Going 3D with Blender: A room with toys

Step 2: Add Material and Texture

Mesh Modeling Vase and Flower

Transforming Objects and Components

Create Models or Use a Library? Create your own library How to Get Started? [ 140 ]

Low Poly Game Plants

Modeling a Gear Standard Tools, Surface Tools Solid Tool View, Trackball, Show-Hide Snaps Window 1-1

Excel 2013 Intermediate

TUTORIAL 03: RHINO DRAWING & ORGANIZATIONAL AIDS. By Jeremy L Roh, Professor of Digital Methods I UNC Charlotte s School of Architecture

The Polygonal Lasso Tool In Photoshop

Creating a new form with check boxes, drop-down list boxes, and text box fill-ins. Customizing each of the three form fields.

Basic Blender Commands This is just a partial list of Blender commands. Please visit the Blender.org website for more details.

To build shapes from scratch, use the tools are the far right of the top tool bar. These

In Wings 3D: Basic Pants

Tutorial 1 Engraved Brass Plate R

Interface. 2. Interface Adobe InDesign CS2 H O T

Designing Simple Buildings

Creating a Double IK Chain in Lightwave

SketchUp Tool Basics

HAPPY HOLIDAYS PHOTO BORDER

MatterHackers. How to make a 3D model using Google Earth. Written By: Ryan Lutz. How to make a 3D model using Google Earth data

Microsoft Excel 2007

Creating the Tilt Game with Blender 2.49b

Getting Started. Moving Around in 3D

Getting Started. Double-click the SketchUp icon or click: Start All Programs SketchUp 2018 SketchUp 2018

DOING MORE WITH WORD: MICROSOFT OFFICE 2013

Chapter 9- Animation Basics

Microsoft Word

UDK Basics Maya Export/UDK Import/Viewport and placing content

Using Microsoft Word. Working With Objects

4 TRANSFORMING OBJECTS

Polygon Modeling Basics Chapter 1 - Vertices

Cityscape Generator.. And additional tools

This Tutorial is for Word 2007 but 2003 instructions are included in [brackets] after of each step.

L E S S O N 2 Background

Where to get Blender. Go to Download the latest version

CHAPTER 1 COPYRIGHTED MATERIAL. Getting to Know AutoCAD. Opening a new drawing. Getting familiar with the AutoCAD and AutoCAD LT Graphics windows

Transcription:

Textures and UV Mapping in Blender Categories : Uncategorised Date : 21st November 2017 1 / 25

(See below for an introduction to UV maps and unwrapping) Jim s Notes regarding Blender objects, the UV Editor and applying textures etc 1. To use texture (an image) to an object, you need to 1. Be in Edit Mode (not object mode) 2. Assign one or more UV maps to an object which will, in turn, be used to be assigned to one of the materials of that object. (A texture always requires a material to be painted on) 2. Note that UV Texture is an image, UV map tells the program how to place( map ) the image onto the object 3. Assigning a UV map to an object can be done in one of two ways 4. 5. 6. 7. 1. When you click an unwrap function in blender, it automatically creates a UV map, called Uvmap to the object 2. You can manually add UV map(s) to an object in the object data tab (downward facing triangle with vertices icon on RHS) When this has been assigned the map for the selected faces will appear in the UV editor window Blender s UV Editor only shows the map for the currently selected faces of your model You can load an image into blender s UV Editor, but this serves no function, except that humans can see where the UV map lines up with it. It is like a background image, it is only there for a guide. The UV editor is solely and only and exclusively for creating a UV map (a set of coordinates only numbered data internally, presented visually as a UV map). The UV map does not contain any information about which image etc. Whatever image is loaded (if any) does not in any way effect the texture. You don t actually need an image here at all (the object will have its textured image set in the material/texture tab), here in the UV editor it is just for humans to see and manipulate the map. (You can test this by loading a random image in the UV editor and a different image in the materials/texture tab only the image in the tabs will be placed on the object) [To save confusion, this should really be called the UV Map Editor rather than UV/Image Editor, as it only create maps and the image has not a lot to do with it!] In Blender Render Engine, you Add a material to the materials tab. Each material can 2 / 25

have a texture applied, so you need to select the given material and then go to the texture tab to load the texture for that material and set coordinates to UV. (To use generated coordinate mapping and not UV mapping is the quick and dirty method. To do it properly, create a UV map by e.g. Unwrap command, and then add the image and set coordinate mapping to UV) 8. In the cycles render engine, in the materials tab, create a new material. In the surface section, choose a shader (e.g. diffuse or glossy and then in the Color box, click the dot/mini-circle on the RHS of the colour chooser and choose Image texture (this will then create the open button to navigate to image etc). In Vector dropdown, choose UV texture coordinates or the name of the Uvmap if you created one. Choosing UV will automatically select the default named texture map Uvmap [The one that is being displayed in the UV Editor window]. Note that in cycles, the texture tab is (almost) an exact copy of the image texture section of the materials tab (although it does have a transform section added). Indeed, when you add a texture (image) in materials view, the texture tab contents will change. In node view, you will see the same nodes as set in the tab sections. (See also the video: introduction to uv unwrapping 1280 720 which is based solely on the Blender Render engine) NOTE also: a great place for royalty free textures is textures.com (formerly cgtextures.com) Introduction 3 / 25

Building amazing 3D models is just a part of making digital scenes look real. Models without textures are the same as having black and white picture of a beautiful painting you may see the shapes and forms, but have no information on the colors. In 3D environment, before you apply texture to the model,, you need to create UV mapping which will define the way of displaying any image file you d like to view on the actual 3D surface. To quickly give you the basic understanding what s UV mapping all about, try imagining a candy wrapped in a paper. This paper will probably have some kind of label and graphic imprinted. You can imagine how hard would it be to print the graphics on the paper while being wrapped on the candy what you d normally do would be unwrapping the paper so its plain and straight and printing the graphics only then. In short, this is exactly what UV mapping is all about. Before you put a texture on any object in 3D space you must make its geometry perfectly plane. This is because texture images are just a flat, surfaces and every 3D shape has to be transitioned to two dimensions as well. It may seem a bit confusing but try recalling geometry classes you had in school. You probably did an excessive with building a paper cube model and drawing its mesh before cutting out? This is another example of how UV mapping works. 4 / 25

With all that being said I m sure you ll now follow the techniques I m using in Blender to UV map 3D models so they display various textures correctly. Before we continue I d like to mention that again, I won t be covering how to UV map all the scene elements as it would take too much time. Instead, I m focusing on the main techniques and these can be easily implemented in almost every environment or element. The fastest way to start will be just adding the most simple objects and trying to UV map them. Create basic cube and enter Edit Mode. Select all the faces and hit U button. An UV Mapping list will pop up and you can see many different mapping methods available in Blender. Select the first one from the top which is Unwrap. As you see, nothing changes in 3D viewport since our UV map will be displayed in other working space. Open UV/Image Editor and see how your newly generated UV map looks like. 5 / 25

There are many UV mapping methods but I d like to cover only the ones I use most often. After finishing this tutorial part I strongly recommend you to trying them all by yourself. Let me now describe one of the easiest and most commonly used UV mapping methods. Step 1 Project from view Project From View is very easy and fast method of mapping your geometry. What it does is projecting the current viewport situation to UV/Image Editor. No matter if you re in Perspective or Orthogonal View, Top, Side or random camera position Project From View will always map what s visible in Edit Mode. Create a simple cube and enter Edit Mode. Rotate your viewport in Perspective mode to any location, select all geometry and press U button. Choose Project From View and see how your UV/Image Editor updates. Now, switch to Top View and repeat the operation again. See the updated UV Editor. 6 / 25

IMPORTANT NOTE What s important to know from the very beginning is that all UV mapping operations are applied only to the geometry elements selected in Edit Mode. Unselected faces won t be affected by UV mapping operation and this gives us an opportunity of mixing different UV mapping methods we can apply Project From View on some of the faces and Unwrap the others.?let s now UV map something relatively simple ground, floor plane in our interior. Hide all elements and leave the floor only. Switch to Top View and enter Edit Mode. Press U and choose Project From View. Let s see the update in UV/Image Editor and check if anything changes after loading the image texture. As you can see below, our UV mapping has slightly deformed and that s because the projection was done for default, squared size map layout. For instance if we had 4096 x 4096 texture map, no deformation would appear. To fix this issue, just Project From View again. 7 / 25

?Everything seems to be correct but it would be nice to have a preview of our mapping and texture in 3D viewport. To do so, we need to create a basic Cycles diffuse shader. Add Image Texture node, connect it as a color input and load the wooden texture file. After that, you just need to change the Viewport Shading mode to Texture. 8 / 25

?As you can see, wooden planks are way too big and we need to scale them down. You already know 3 basic transformation types: (S)caling, (R)otating and (G)rabbing all of these work in UV/Image Editor as well so simply scale up our UV map so it looks correct in the viewport. 9 / 25

Another thing worth mentioning here I personally prefer doing all UV mapping operations on the actual image texture that will be applied on the final model,. To preform UV map scaling beyond texture s 2D layout borders you ll need a tileable one. You can either download the floor texture used above or use some of the textures included within our free model samples. Just log in to your chocofur account in the upper navigation bar and browse the free files. Step 2 Unwrapping In this step I ll describe another very common and probably most recommended method of UV mapping which is Unwrapping. This is the method most closely related to the candy and box examples described in the introduction to this tutorial part. Since candy paper isn t this hard to map as a plane object (we could even use Project From View method), for box model we d need to specify where exactly should it be cut so the geometry can be unfolded and flattened to 2D surface. 10 / 25

As you know from the previous step, we can only UV map geometry selected in Edit Mode. This can be very helpful in Unwrapping more complex shapes as we can simply select the parts we need, hide them after Unwrapping and continue with the rest of geometry. Another way of Unwrapping is adding seams to the geometry. This method precisely specifies where the mesh should be cut though by the Unwrap tool. The main advantage of adding seams is that whenever you decide to Unwrap the model again it will preserve its previous UV mapping. This won t unfortunately occur if we just Unwrap the model by selecting the faces as in the previous example 11 / 25

?Step? 3? Tips and tricks 1. Correct object scale Very often the UV mapping result will be different to the actual geometry visible in 3D View. One of the main reasons is scaling and rotation transformations applied to the model in Object Mode. To fix the problem just select your geometry in Object Mode and press Ctrl + A. Now choose Scale or Rotation and Scale. By this you re resetting the transformation of your geometry and the UV mapping should work fine now. If deformations still occur, resetting the UV mapping may be also helpful. While in Edit Mode, select all the geometry, press U and select Reset. 2. Packing and borders 12 / 25

?Sometimes it is necessary to keep all the UV elements within the texture space in UV/Image Editor. This is required for example while preparing models for game or real time preview engines. To quickly pack all your UV elements, keeping their actual scale and size relations, just select all and press Alt + P shortcut. You can also define the border size separating each UV element. Check the default Toolbar (T key in 3D View). 13 / 25

3. Conformal / Angle Based Unwrapping Click to enlarge.?there are two Unwrapping methods Conformal and Angle Based. First one works best with technical shapes like tables, chairs etc. Angle based method is recommended for organic types of models. You can switch between them on the fly after applying the Unwrap in Edit Mode. To access both unwrapping methods just press F6 in 3D View or find the right tab in the Toolbar hidden on the left (press T in 3D View). 4. Even UV sizes 14 / 25

?When using Unwrap mapping method, it is really important to keep the scale of all your UV maps uniform. To do this, select all elements while you re in UV/Image Editor and press Alt + A shortcut This will automatically apply uniform sizes and proportions to all geometry faces. 15 / 25

Step 4 Other mapping techniques Here I would like to quickly describe two other UV mapping techniques I personally use. One of them is Box Projection method. What it does is kind of automatic unwrapping basing on the model s X, Y and Z axes. It s also similar to applying Project From View on the selected faces but from top and sides simultaneously. The results are pretty good, especially on the objects that aren t this much exposed to the camera and we don t want to spend too much time on mapping them precisely. 16 / 25

Then ALT-P (CTRL-P???) to pack the Islands into the workspace. Second and similar method is Smart UV Projection. The difference lies in generating the UV mapping basing on the differences in model s face angles. You can also use it for not this important, background objects. 17 / 25

Press OK then Step 5 Paimio Chair mapping 18 / 25

Let s now try UV mapping one of the free models available in chocofur store. I ve chosen Paimio Chair as we will learn one more technique which wasn t described yet pinning and aligning in UV/Image Editor. I will focus on describing the main furniture element which is a bent seat. All the other parts can be mapped exactly the same way. Start with adding seams along the main edges, separating the seat surfaces from the sides. Repeat on the openings in the upper part of the mesh. If you switch to Face Select mode and hit L button pointing your mouse cursor at any surface you ll select the geometry separated by seams. Use this to select two main surfaces and Unwrap them. Next, add additional seams on the remaining side elements. Cutting them in one place won t be enough as the generated map will be very long so I suggest adding 2 cuts around the corners. Unwrap these elements as well. 19 / 25

Now let s focus on the UV/Image Editor and learn a bit about Pinning. Blender enables us to Pin selected UV Map vertices to the 2D space layout and edit the rest of the UV map around it. May sound a bit confusing, but the slideshow explanation is available below. As you can see, the UV map of the side elements, generated by default is bent in both axes this would be very hard to map correctly. The real furniture piece would have straight, wooden lines following the curvature. What we need to do is editing the side UV maps so they re straight and even both in X and Y axes. This is where Pinning comes to action. Select one of the side elements and hide the others (Shift + H) for better preview. Enable the Live Unwrap option in UV/Image Editor from the UV menu. Select vertices on one of the endings and press P. You ll see red dots appearing this means that current selection has been pinned to the UV layout.. Rotate pinned vertices so they look straight in Y axis. You should see the rest of the UV map following the rotation. Now select the vertices on the opposite end and repeat the process. The UV map will get very distorted while rotating the points but don t worry try moving them to the other end of what should soon be a straight and even UV map of the side chair element. For better editing select other vertices in the middle of the element, Pin and aligning them straight as well.?as you can will find, what needs to be done is the UV point alignment. Turn off Live Unwrap 20 / 25

and select the upper vertices by Alt + Right clicking (same as edge loop selection in Edit Mode). Press W and align the selection in Y axis. Repeat this step for other loops until the whole element looks straight. Using these techniques allows you to UV map all the remaining parts of the chair. What I usually do by the end is selecting everything in UV/Image Editor, applying uniform scale by Alt + A, packing the elements next to each other by pressing Alt + P and finally scaling the whole layout up a few times so it looks good in the viewport. 1 2 3 Before we end this tutorial part, I d like to give you a few more tips on Unwrapping more organic models like sofas or couches. Using the methods described above you should have no problems with Unwrapping any furniture model like chair, table or sideboard. The approach you need to take with sofas or couches is a bit different but in my opinion easier to adapt. What you actually need to do is creating the Edge Seams exactly where they would appear on the real 21 / 25

furniture. As you know from the introduction UV Mapping is 3D geometry projected to 2D surface. With sofas and couches It s actually the same as real life you get a plain, fabrics and wrap them on the furniture frame. The fabric has to be cut and sewn so the seams are visible. This gives us an idea how we could repeat the process in 3D environment. Below are few examples of furniture models I ve prepared for chocofur store. As you can see, Edge Seams are placed where they would actually appear on the existing furniture. Best results can be achieved when you also rotate each UV map so the texture follows the fabric direction. 22 / 25

Conclusion To conclude this tutorial part, I think it would be good to compare all the UV mapping methods we ve learned. Each one of them has its advantages and best use scenario so choose what s the most suitable for you. 1. Project From View?A good starting point to UV mapping as this method is quick to follow and very usable 23 / 25

when applied only on selected faces. Good for basic models and construction elements like walls, floors or ceilings. 2. UV unwrapping Great for precise, correct UV mapping that will probably work in every situation. It takes some time to learn and may be a bit time consuming but the results are worth of it. Works with every geometry. 3. Box projection Quick way of doing rough and decent looking UV maps on elements that won t be very visible. Easy to learn and can save you a lot of time when mapping small details. Not recommended on oval and rounded shapes. 4. Smart UV projection Same as Box Projection but gives you a bit more control over the mapping results. UVs are generated basing on object s angles so this method can be sometimes used for oval and rounded shapes.??as always the best and fastest way of learning each method is just trying it by yourself. 24 / 25

From 25 / 25 Powered by TCPDF (www.tcpdf.org)