Tuesday, April 23, 2013

How to UV unwrap in Blender

Alright, hopefully this will be helpful for those new to UV unwrapping in Blender.  This is my first time writing something like this up, so bear with me, and I am only brushing across the top of UV mapping since I'm not an expert myself yet.


As you can see, we're going to be unwrapping this greco column I made for a project of mine.  There are a lot of different ways we can do this, and since Blender is refusing to bake and the 'matcap' I was trying to use isn't going over the model in a way that looks good, we're going to try mapping so that a seamless texture will look good on it.



Let's go into edit mode, and you can see I already subdivided the base [and the crown] of the object, so that it will be easier to mark a seam.  Marking a seam just tells the unwrapper where we want it to split the mesh to spread it flat.  You can do all sorts of seams, or you can do minimal ones -  a lot depends on what you are trying to do.  The one tip I've gotten is that if you have a -face-, like on a lizard or cthulu, you don't want the seam on the face.  Instead put it down the back of the model, whereit is less likely to be seen [or, for a quad type creature, down the belly.


For this, I marked it down the back of the column, which will be against the wall, and so less visible. All you need to do here is switch select line [Hilighted in green], select the lines you want to use as your seam, then click mark seam.


Once you have your seam, just hit A until everything is selected, and we're going to try a few different UV unwrapping methods to see how it comes out.  Each one is useful in different circumstances. Also, with UV unwrapping, you can make a map like SL has for the avie or system clothing, and even combine different mesh materials onto the same map - this is what I did with my mesh wings.


So, we're going to the UV/image window, which I've made bigger for this.  When you first click on add new image, it will default to a 1024, but I try and remember to shrink it down to 512 at this stage, so I don't forget to later.  For this, so we can see how the mapping looks, we're going to select the UV grid.  Usually I use a blank, but this actually is a useful tool.


I deselected the mesh here to show how the UV Grid looks flat - rather like the grids found in SL, with colours to show where things are.


Back to the selected, and as you can see, the default it define every quad face of the mesh as the whole texture.  This works sometimes, but for this not so well, since the body of the column is super stretched - maybe this is why the matcap didn't look good.  But I try for minimalism, and we can easily fix this.  LEt's see what out uv options are.


If you hit U, you'll get a list of options.  The first one is Unwrap, so let's see what we get.  Hrm, not very efficient use of the texture - sometimes this will work though, if you're baking the texture, which we're not really covering today, or if you are working with something that doesn't need a lot of detail and you are going to be adding other maps for other objects.


But if you look at the mesh in this next window, the unwrapping is very untidy.  So let's see what the next option is; Smart UV Project.  This one, again, sometimes works wonderfully.  So, we click it and it looks lovely on the flat, very neat and tidy.


Until we look over at our 3d model.  And yes, we could still go with this, but its obvious we'd have to squish up some the texturing we did, and its not optimal for this.  So, I'm going to the next choice I tend to go with; Cube Projection.


At first glance on our texture, this is NOT optimal, the uv map goes off the grid and its all an overlapping mess - but wait, look over at our model, this might not be so bad after all, after we do a few more things.


Under the UV/Image window, you'll see the UVs tab. Let's take a look and see what options we have.


If you look up, you'll see Pack Islands, let's do this and see what happens.


Oh, that's much nicer - no more overlap, and everything is on the texture now.  And look over at our 3d model; its still cleanly wrapping, but with a bigger grid, so it still looks nice.


My next step when mapping is to use several textures that are seamless and just see how it looks.  The wood looks a little odd, but then its green and we're used to expecting it to have a stone look, not wood.


But we can use it to make sure it looks right.  Make a material and then go to texture.  Add a texture, then set it to image or movie, and go down to image [ignore the sudden change in actual texture.]


Now, go down to Mapping and select UV so it will use the unwrapping you've done.  At this point, by the way, you are mapped - you do NOT have to do this part, this just lets you look at it before importng this into SL, and it doesn't matter what texture you use at this point, since this is mapped to be optimal for normal textures.  But, if we were working with textures specifically for the mesh, like a lizard or something, this is a good place to test them, before using local textures in SL.


For my own sanity, I switched to a marble texture I had on my computer from some lamps I'd made.  if you look at our model in object mode, it looks pretty good.



Here is where the Bake area is, but I've been having trouble with it,which is another reason I'm using this method for unwrapping.  It is unreliable for me, it doesn't like me.  But when it -does- work, its wonderful for catching at least some of the qualities of blender's materials, if not all of them.


To my knowledge, the main ones of use for SL are Texture and Ambient Occlusion baking.  But with the new materials coming down the pike, the specular and normals are likely to be useful too.


And let me snag one more image of a UV tool.  When you are doing something where you need a body map, like a shoulder lizard, Export UV Layout.  Do your map, and then you can export it and work on textures in photoshop or gimp, then bring it back in and assign it, like we did with the marble texture.


Other useful UV tools - let's say you have the model mapped and set up, but want to tweak the shape.  The mapping is done, you're happy with that.  If you use Pin, it locks down the points on the map, so that doesn't get messed up.

Also, and I have no images for this, you can move the points around on that 2d map.  If you have an image, like for an eye, and the points aren't where you need them, you can shift them a little until it looks right.  I can do a more detailed tut on that if this one was useful, adjusting the UV map.

Hope this helped!


Tuesday, October 23, 2012

Experimental
82%
Submissive
82%
Bondage
71%
Switch
64%
Degradation
50%
Exhibitionist / Voyeur
32%
Vanilla
32%
Masochist
25%
Sadist
11%
Dominant
7%

Saturday, May 28, 2011

Teaching!

That's right, I'm going to be teaching a class at Builder's Brewery - starting with bangles, but think I'll offer on on how to make belt buckles too - something a bit more useful across the board. And it will switch it around a bit, so its exciting.

Wednesday, April 6, 2011

Wow - Tired Faerycat

I've been spending the last two days working on marketing stuff. This should say something to those who know me, since I hate that end of things. However, I love designing things, and I love sharing the things I make. So, I took a marketing class at the Builder's Brewery Monday night, was up well past bedtime, and learned alot.

Then I spent the last two days finding land for a shop, building a shop, making a million different textures with the logo, setting up vendors and just....I'm worn out. Tomorrow, I'm designing, and working on my scripting class projects and just having some me time. I've come up with some neat designs and I'm going to see about teaching a class and sharing this knowledge with others. And of course, new items for selling to those brave enough to wander into the shop.

Tuesday, March 8, 2011

Day 520 - musings

So, realized I've had my shop for over a year. Still not really making much. The switch to marketplace ended up causing me a lot of issues, and I really hate marketplace, but what can I do - I suppose try and find out the alternatives and try them too. Still taking classes, of course, and contemplating what I could teach, but not really sure. My best skills are not the sort that help builder's, but.....well, I'll keep an eye out.

Realized that I've changed my look a lot over the year and a half I've been alive, yay me. I'll need to get a picture up soon.

Wednesday, December 1, 2010

Day 423 - A new year,,,,

Well, technically, the new year was november 1st, but I've been a bit slow and sluggish - I blame the cold.

Got a set of neko ears and tails in a striped christmas motif under a christmas tree in my shop, Faerycat Designs, in SL. I'll be bringing them over to Inworldz as well, at least the plain versions. The sculpts I used for the jewelry is still questionable on if license covers other grids, so need to ask.

Anyway, if you go to my shop in SL, then you can get both the tree and the gift under it as my present to you. Tree has faerylights and a lighted star, both of which can be shut off. The present has two tails [one for pelvis and one for stomach] four pairs of ears - two of the side style, plain and ornamented, and two of the top style ears. As said, the Inworldz version will only have two pairs of ears, but they're kind of cute. [Picture will be along eventually.]

Tuesday, September 14, 2010

Day 345 - Starting over ...

Well, at least on this blog. Its been a very long time since I've posted anything, but there has been a lot going on. I've got my own store now, for Faerycat Designs. My biggest seller seems to be some sculptmaps ffor piercing jewelry that I originally made for a friend. One of those funny things, really. I need to get my clothing up there and find time to make stuff - its been difficult lately. I need multiple versions of Beth - ones for classes, ones for working and ones for playing.

Anyway, I'll see about getting some pictures up of things I've got for sale.