1. Trang chủ
  2. » Công Nghệ Thông Tin

Essential Blender- P19 docx

30 279 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Essential Blender
Trường học University of Blender
Chuyên ngành 3D Modeling and Animation
Thể loại Học phần
Năm xuất bản 2023
Thành phố Blender City
Định dạng
Số trang 30
Dung lượng 1,57 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Moving pinned nodes while in Live Unwrap Transform mode adjusts the unwrap in real time.. Paint Tools Blender's painting tools can be used to paint onto existing images or to create new

Trang 1

Figure UVD.12: Selecting in non-local mode selects all nodes connected in the 3D view

This is particularly useful when your mesh is divided into many islands and you need to find which parts of one island correspond to which parts of another

Tip:

Node selection in the UV Editor shares many selection

functions with meshes in Edit mode

Fixing the Unwrap

Although the default unwrap is usually pretty good, you will probably need to optimize it for texture painting Areas that will be a focus of rendering and detail need to be carefully painted, and an even, proportional unwrap can only help

Trang 2

Pinning and Live Unwrap Transform

Areas of an unwrap that you are happy with can be frozen by "pinning." Pressing the P-key pins selected nodes Fixing portions of an unwrap that you are unhappy with is as simple as pinning a few key nodes within the bad area and moving them into a better configuration Then, after also pinning the good areas, Blender can re-unwrap the mesh, hopefully giving better results It uses all the pinned nodes as a starting point for its next attempt

Asking for another unwrap can be done from the 3D view with the U-key menu as before, or directly from within the UV Editor with Ctrl-E

One great thing Blender can do to make this process much more intuitive is called "Live Unwrap Transform," and can be accessed only through the UVs menu on the UV Editor's header

Once Live Unwrap Transform is enabled, there is no need to re-unwrap your meshes after

pinning and adjusting The unwrap adjusts itself in real time as you pull and push pinned nodes, giving you great visual feedback that helps to quickly optimize the unwrap

Figure UVD.13: A bad unwrap, with several nodes pinned, and one selected

Trang 3

Figure UVD.14: The selected, pinned nodes have been moved, causing the rest of the unwrap to adjust itself

When you have the unwrap the way you want it, be sure to turn off Live Unwrap in the UVs menu so you don't accidentally move a pinned node and ruin your work

Tip:

P-key pins nodes Alt-P unpins Moving pinned nodes

while in Live Unwrap Transform mode adjusts the unwrap

in real time

Paint Tools

Blender's painting tools can be used to paint onto existing images or to create new ones, and can

be used either in the UV/Image Editor or directly within the 3D view To be able to texture paint

Trang 4

a model in the 3D view, you need to have assigned UV coordinates to the mesh's faces by

Trang 5

Figure UVD.16: Texture Paint mode, with the Image Paint panel

Whether you are painting in the 3D view or in the UV/Image Editor, you must have an image selected in the UV/Image Editor (just called the Image Editor from now on, as we're done with the UV functionality) If you have an image loaded for some other reason (a texture, a

background, etc.), you can select it on the Imageblock selector dropdown on the Image Editor header

Trang 6

Figure UVD.17: The Imageblock selector

If you would like to create a completely new image, choose "New" from the Image menu, then set a resolution in the dialogue that pops up A new, black image is created and loaded into the Image Editor

Tip:

You can paint directly on images by setting the Image

Editor or object to Texture Paint mode

Pressing the C-key in Texture Painting mode in the Image Editor brings up the Image Paint palette A nearly identical panel, called Paint, is available in the Edit buttons (F9) for use in the 3D view

Trang 7

Figure UVD.18: The Image Paint and Paint panels

Painting is accomplished by LMB dragging across either the image itself or the model in the 3D view The general brush controls are:

Color: Chosen by LMB clicking on the color swatch This is the main color that is used for

painting

Opacity: How strongly the painting blends with the current image An Opacity value of 1.0

causes the painted color to completely cover the existing image 0.50 would cause the color to be applied at only 50%

Size: Adjusts the size of the paint brush

Falloff: The hardness of the brush Setting Falloff to 1.0 creates a hard-edged brush Reducing it

to 0.0 creates a brush with a very soft edge

Spacing: How frequently the brush "stamps" its color as you drag Painting in Blender isn't truly continuous as it is if you were to drag a brush loaded with oil paints in the real world The Image Editor simulates continuous painting by stamping the color every few pixels, in the shape of the brush The Spacing value is a percentage of the Size value and determines how far apart these

Trang 8

stamps occur If Size is set to 45 and Spacing is set to 10, the brush will paint a new blob of color every 4.5 pixels (10% of 45)

If you happen to have a pen and art tablet for your computer, you'll find that it works very well with texture painting Clicking the little "P" icon beside any of these settings will allow them to

be controlled by your pen's pressure

Airbrush: Enabling this option causes paint to continue to flow for as long as you have the LMB pressed, even if the brush is stationary Normally, painting only occurs as the brush moves

In addition to painting with a color, it is also possible to paint with a Blender texture, giving even more detail to your painted image Any texture that has been created in the Texture buttons (F6) can be selected in the dropdown at the bottom of the Image Paint palette That texture is then used along with the palette color when painting

Note: See Chapter 9 for information on using the Texture buttons Textured brushes can be created in the Texture buttons by selecting the Brush button in the Preview panel

Draw Modes

The top of the Image Paint and Paint palettes control the brush mode

Draw: This is the normal painting brush that you have been using

Soften: This brush blurs the image as you use it

Smear: Dragging with this brush pulls and smears the image

Clone: The clone brush lets you paint portions of other images into the one you are working on The clone brush is not available when painting in the 3D view

When the clone brush is selected, the texture dropdown at the bottom of the Image Paint palette is replaced by an image selector dropdown You can select any other image that has already been loaded into Blender When you do, that image shows up in the background at 50% opacity Painting with the clone brush copies the portion of the image under the brush into the active image The background image may be moved around with the RMB in order to align portions of

it with different sections of your main image

Trang 9

Figure UVD.19: A clone image used in the background

Image File Management

It is important to remember to save any images you create or alter in the Image Editor If you don't, any changes you've made will be lost when you quit Blender To save your changes to an image, or to save a new image for the first time, select "Save" from the Image menu in the Image Editor Blender will let you know that an image has unsaved changes by placing an asterisk (*) beside the Image menu

Trang 10

Figure UVD.20: Unsaved image indicator

One Last Bit of Fun

For a final cool trick, try clicking the Lock icon on the Image Editor header If your object is visible in the 3D view while painting in the Image Editor, the Lock will show you the painting in the 3D view in real time To be able to see it, either enable Texture Paint mode in the 3D view or set the object's Draw mode to Textured

Trang 11

Chapter 10: UV Unwrapping and Painting: Tutorial

By Modron

The process of UV Mapping a mesh is very much like taking a physical paper model of an object, cutting it in various places, and flattening it onto a table Once that is done, photographs can be fastened to it, or it can be painted directly Then, the flattened paper is reassembled into its

original 3D configuration In UV Mapping in Blender, mesh models are cut and unwrapped into a flat UV Editor window where textures and images are applied Of course, because this is 3D graphics, you can do other cool things once you have this basic procedure down, such as painting directly on your model in the 3D view and baking lighting and texturing information for later use Although there are several methods for unwrapping mesh objects, Blender's automated

unwrapper does such an excellent, easy job that it's the one we'll cover

In this tutorial, you'll unwrap an organic shape using Blender's live unwrapping feature, and do some texture painting in the UV window

Unwrapping an Organic Shape

Before you begin, either run Blender or, if it's already running, start a new session with Ctrl-X When the default screen appears, use the MMB to split the 3D view into two separate windows (see Chapter 2 if you need a reminder of how to do this) Then, change the right hand 3D view into a UV/Image Editor window using the Window Type icon menu on the far left of the header

Trang 12

Figure UVT.00: The default screen, with the 3D view split and set to a UV/Image Editor window

You could unwrap the default cube, but that would be boring RMB select it, and get rid of it key) You need something worthwhile to unwrap, so go into a front view (Numpad-1) and add Suzanne to your scene by choosing Add->Mesh->Monkey from the spacebar toolbox (Suzanne

(X-is the pet name of Blender's default Monkey primitive.) If you know how from the Mesh

Modeling chapter, you can Set Smooth on Suzanne and add a Subsurf modifier (Shift-O) so she looks a little nicer

Defining Seams, or How the Mesh Will Be Cut

The Suzanne mesh is added in Edit mode, which is what you want If the mesh you are working

on is not in Edit mode, use the Tab-key to get there Imagine for a moment that Suzanne is made out of a skin of rubber, or fabric, and the idea will be to make cuts in a way that the surface could

be laid out flat, with minimal stretching or bunching

The main consideration is to place the seams in areas that will create "islands" of faces where continuous detail will be needed If there is going to be a highly visible area with lots of detail or

a smooth gradient, you do not want to put a seam there Seams should be placed in unobtrusive areas, as though you were a plastic surgeon trying to hide your cuts

Trang 13

To make a seam, select an edge and press Ctrl-E From the Edge Specials menu that pops up, choose "Mark Seam." Any edges marked as seams will display with twice the thickness of a normal mesh edge, and will be a dark orange in color Seams that are mistakenly marked can be cleared with the "Clear Seam" option in the Ctrl-E menu

In the illustrations below, you can see where we have chosen to set seams on the Suzanne model Really though, you can make your seams wherever you like We encourage you to experiment with different seam placements later to get a feel for how unwrapping works For now, though, try to at least approximate the configuration in the illustrations, so that the rest of the tutorial follows what you are doing One thing to keep in mind while making selections for seams is that Edge Select mode and Alt-RMB Edge Loop select can be very useful

Figure UVT.01

Trang 14

Figure UVT.02

Getting the Faces Into the UV Editor

Let's ask Blender to unwrap and flatten Suzanne based on the seams you've marked, then transfer that configuration to the UV Editor

Press the Tab-key to put Suzanne into Object mode Now, you'll learn a new mode specifically for dealing with faces and UV unwrapping Press the F-key, and see that you've entered a new mode called UV Face Select mode

Figure UVT.02.5: Face mode can be identified on the modes menu on the 3D header, and by the broken lines designating selected faces

Press the A-key to deselect all your faces (deselected faces are white) and press it again to

reselect them all (selected faces are pink) This double A-key technique is a good habit to get into

Trang 15

to make sure that all faces are included in the unwrap If your Suzanne turned pink on the first tap

of the A-key, that's okay - it just means that it began with no faces selected When in Face mode, the Tab-key still works to enter and exit Edit mode Any face selections made in Edit mode will

be carried back into Face mode when you return

With all faces selected in Face mode, press the U-key (for Unwrap) A menu pops up with a number of options Choose "Unwrap." In the UV Editor window, the sliced and unwrapped

version of Suzanne appears

Figure UVT.03: Your unwrap will be different than this if you created different seams than the previous samples Note how the front of the face, which will be an area of continuous detail, has been kept as a single piece

Many of the commands and tools that work with mesh editing also work when dealing with the flattened mesh in the UV Editor window One of the more useful commands is Ctrl-L, which selects an entire continuous section of faces from a single selected node

Note: For technical reasons, the "vertices" you see in the UV Editor aren't exactly vertices as they are in the mesh In the UV Editor, they are referred to as "nodes."

Trang 16

RMB select a node in the UV Editor, then press Ctrl-L That will select the entire UV "island" that the node belongs to

You can move, rotate and scale UV nodes and islands using the G, S and R-keys as in other editing situations The mouse gestures work here, too

Arranging the Islands

As you'll be painting a texture, it would be nice to have the islands oriented in a way to make it simpler The arrangement of the islands in the previous illustration would require you to paint textures at odd angles It would help to rearrange them

Figure UVT.04: The UV islands rearranged and rotated to assist with texture painting

There are a couple of things to note in this illustration First, see how the front face island has been scaled up a little bit It will be the visual focus of the monkey model and should be given more area in the unwrap so it can have more detailed texturing Second, the two eye islands have been placed on top of each other You'll see why later And finally, notice how the nose has been separated from the rest of the front face mesh In some cases, it might be okay to leave them

Trang 17

apart, but since you'll be painting the entire front of the face as one piece, you should reconnect them

The nose island is shown in the illustration, but you should look at how to identify parts of an unwrap in case it's not so clear In the 3D view, RMB select one of the faces on the nose In the

UV Editor, you'll see that all the UV nodes disappear except the one you have just selected Now, keeping your eye on the UV Editor, but keeping the mouse over the 3D view, press the A-key twice All faces are again selected, and all the nodes reappear in the UV Editor You will be able

to see which portion of the UV nodes contained the one you had selected

Select the nose island (hover the mouse over the nose island and press the L-key) and use the key to move it into the middle of the hole on the front of the face If you need to, use the S-key to scale the nose island until it is slightly smaller than the hole

G-Select all the nodes around the outer edge of the nose island and press the P-key The selected nodes turn red This means they are "Pinned." Pinned nodes form the basis of the "Live Unwrap Transform" feature, which we will look at next

In the "UVs" menu on the header, select "Live Unwrap Transform."

Figure UVT.05: The nose island in place inside the nose hole on the main face's island

Ngày đăng: 02/07/2014, 06:20

TỪ KHÓA LIÊN QUAN