UV texturing

The interface, modeling, 3d editing tools, import/export, feature requests, etc

Moderators: jesterKing, stiv

Posts: 410
Joined: Mon Oct 14, 2002 4:32 am
Location: Sydney, Australia

Post by matt_e »

How I did it: I selected all the faces on the head in face select mode using the B Key Border select. I went around the model and made sure all the faces were selected. Then in face select mode, pressed U Key over a 3D window and chose 'sphere' for the type of UV unwrap**. That put a similar looking UV layout in the image window, to what you see in that screenshot. Keeping all that selected, I loaded up my texture map, and there it is. I did a bit of tweaking of the UV co-ordinates in the image window to get it to line up better and to eliminate uneven texture stretching across certain faces.

Since Blender's image window UV layout editor only works on faces, if you try to move a vertex on its own it'll only move it for that face. other vertices that belong to other faces will stay in the same spot (hard to describe). The work around I found for that, when laying out the UVs is to use B Key border select to select all the vertices that occupy a single point at the same time.

The warping of the faces in the UV layout is due to the method of unwrapping. The ones built in to Blender (cube, sphere, cylinder, etc.) are adequate for a lot of tasks, but they're not that great. Apparently, there are some other UV unwrap python scripts that do a better job; I haven't tried them myself.

I think you need to experiment a bit more with the U Key in face select mode and you'll see what I mean.

One thing that annoys me about Blender's totally opaque interface is that people just don't know that features are there. Blender's a lot more powerful than most people think, but they don't know, because short of reading through reams and reams of manuals, all the featuers are hidden away, completely oblivious to the user. A shame really, and I hope we can make some progress in this area now it's open sourced

** Actually just looking in v2.25 that I downloaded from this site, it doesn't seem to have the 'sphere' option for UV unwrap, thought 2.23 does. That's weird. Anyone know why this is?

Posts: 254
Joined: Wed Jan 28, 2004 7:39 pm

Post by Pablosbrain »

There is a python script called uvunwrapper... it does that very exact thing... either that or you can also use a spherical mapping on head-like objects... Blenders capabilities include almost everything one needs for creating very realistic images and very good animation.

All else that is needed is time.

Posts: 100
Joined: Wed Oct 16, 2002 5:31 am

Post by jeotero »

and talent ;)

Posts: 109
Joined: Mon Oct 14, 2002 7:08 am

Post by alltaken »

[i hang my head in shame and recall everything i said about blender :oops: :oops: :oops: ]

you are right there is no documentation on these things in blender.
i have read through about 60+ hours of tutorials and info on the blender interface and still know only half of it or less (well i think i know most of it but i learn somthing new everyday)

ok i revise my original post and replace it with

such as the use of the "L-KEY" to select a face.
a WELD option where the verts are welded to the equvilent on another face.
and smarter unfold options.

[I also eat my boot :oops: :oops: :oops: ]

documentaion would be nice for all these hiden features :D :D :D :D :D

Posts: 254
Joined: Wed Jan 28, 2004 7:39 pm

Post by Pablosbrain »

We've all learned to like the taste of our boots while learning blender. Especially if you've come from other apps like max, lightwave or maya... :lol:

Posts: 8
Joined: Tue Nov 19, 2002 7:25 am

Post by gimp_child »

alltaken wrote:
such as the use of the "L-KEY" to select a face.
a WELD option where the verts are welded to the equvilent on another face.
and smarter unfold options.
Yes, and maybe a whole slew of features too.

If you guys could do it, maybe some uv features and tools to mimic, rival, or even surpass that of sofimage XSI 2.0 would be an eye popper. Im not promoting XSI in any way, but the texturing tools for that software is the best ive ever seen, all else dosenot work for me. If only Blender's uvw tools are as advanced :D....

Posts: 24
Joined: Tue Oct 22, 2002 9:03 am

Post by Haunt_House »

I still learn some new features when I browse through the manual.

Last one I found was Alt-Vkey in 3d-window for adjusting a plane to the proportions of the image texture.

Often the question is not 'does blender have it' but 'where is it'


Posts: 109
Joined: Mon Oct 14, 2002 7:08 am

Post by alltaken »

yeah thats the problem somones already done the work.

but where did they do it.

alt Vkey eh that is good to know.

Posts: 1
Joined: Sat Nov 16, 2002 7:48 pm

UV Bumpmaps?

Post by bluedemon1975 »

Im kinda new to the 3d world so forgive me if sound nutz. Ive noticed that in other progs that you can do both uv maps and bump maps in the same fashion. Say Im texturing a face and I go to face select mode use the u key... and move around the verticies to match the texture. Is it possible to do a bump map(normal) in the same way after applying the texture? :?

Posts: 254
Joined: Wed Jan 28, 2004 7:39 pm

Post by Pablosbrain »

True... once a UV map has been established you can apply different images or pracedural textures to the different channels or layers of a material... color/difuse, bump/normal, specularity/shinyness, alpha and so on... some 3D apps also allow you to have different UV maps for each channel. A single image could be used as both the color/diffuse channel of a material and the bump/normal channel of a material. a UV map is just a way of saying this part of an image shows up on this part of the mesh... Doesn't matter what image it is... Hope that answers your question...

Posts: 143
Joined: Fri Oct 18, 2002 8:35 pm

Post by Dani »

hep, you can use UV maps as bumps maps, color maps, or whatever other channel... just must do it the right way :)

have a look here:
http://membres.lycos.fr/bobois/Tuts/uvm ... ing01.html

basically you map your color map with assigned uvs.... then you load the spec, bump whatever... into blender (through the UV window or the texture)
Create a new material, new textures (as much as the number of different maps you'll apply) and reload your pics there.
You assign each texture to a channel (specs, nor, col) and then you hit on "UV" for each texture...

Hum? not sure I'm being clear :/


Posts: 320
Joined: Sun Oct 27, 2002 6:45 am

UV mapping

Post by thorax »

I found out recently (look in the news forum)
that UV mapping has problems with it, it incorrectly
maps from a the camera into UV coordinates..

Anyhow, Maya uses something called a shell, this sounds like the
net method. I know what you are saying, you mean instead of
having individual polygon quads you have a mesh of quads
like you see in the 3D view.. Even better is if you could have a UV
mesh that is projected from a 3D view in realtime so you
can take your object and deconstruct it yoruself or have it unwrapped,
b ut eventually projected onto the UV plane as a UV plane project
is nothing but viewport made different.

Also I've wondered about having all the same features you have in the viewport for working with your 3D objects in the UV mapping port,
like smooth, the magnet tool, rotate, etc.. The problem is the transliteration of the concept of UV mapping from a 3D view..
UV mapping allows you, as it is in blender, to repeat textures (by
remapping the same quads to the same texture), flipping an image on a
quad (flip the quad in the UV plane), rotate textures on the object (rotate the UV quads or quad meshes).. But it could offer features
like link-select (which you can do in the regular viewports for
3D.. So why not just make another scene which represents the UV mapping from another scene and UV map stuff there with all the
usual 3D tools.. Hey did you know blender can already do this..
There are features that allow you to project UV coordinates from the camera into a mesh, this feature existed way back since the early blenders.. It also allows you to inherit the UV coordinates from another
mesh, so say create a mesh, assign UV coordinates to it, you
can model it into different shapes then take the original
and modify UV coordinates on it and those are transferred to
the new, given they both have the same number of vertices..
Also its possible to do morphs using this feature..

This feature should be convered in Blender 1.5 manual,
I haven't done it in a long time, so it may not be there anymore..

Posts: 0
Joined: Thu Feb 06, 2003 11:01 pm
Location: Richmond, VA

Material Indices integrated with Face Selection?

Post by Bischofftep »


One of the great uses of the Material Indices, as well as the vertex groups, is to give you some "subgroups" that you can select and manage from session to session. While it is possible to use "tab" to go between edit mode and face select mode, giving you access to the materials index functionality in face select mode would be a big help.

Especially if you're using UV mapping as a texture mapping mode: this would be extremely handy!


Posts: 4
Joined: Wed Nov 06, 2002 6:05 pm

UV Mapping Made Easy

Post by ec2 »

Recently I had a question regarding UV Mapping. I was glad to find a very easy and clean solution, recommended to me by Serialsiner over in the Elysiun Q&A fourm.

There is an Import/Export script available called Obj toIO.py, written by Chris Lynch (Be sure to read the script notes before running it). This will export your mesh objects from Blender in the .obj file format.

Once exported you can open them in Steve Cox's UV Mapper Classic, which is freeware for personal and commercial use. It will unwrap your exported .obj file into Planar, Box, Cyndrical, Cydrical Cap, and Spherical Texture Maps. Its excellent.

After it is Unwrapped in the manner you choose, you can save the Texture Map as a .bmp for use as a template in your favorite image editor. Be sure to save from your image editor in a Blender supported image format.

But here is the best part. After you save your UV Map, you can also save the model again from UV Mapper (I recommend not exporting the materials, since you will be making you own texture).

Next, use the Obj toIO.py script import your model back into Blender. Apply a Material, and open an image window. With your model selected, hit the F key (keyboard). You should see your mesh laid out with the same UV calcualtion you chose in UV Mapper! Now, load the Texture map template you saved from your image editor. You should see your mesh overlays the template as needed. Hit the F key again, then in the Materials window, set the TexFace button to on. Once your scence is setup, render.

Good luck.

Here is the link to the original thread.

Thanks to Serialsiner, Chris Lynch and Steve Cox. Thanks to JamesK also for his theory and technique contributions.

Posts: 109
Joined: Mon Oct 14, 2002 7:08 am

Post by alltaken »

see thats the kinda thing i am talking about being native in blender.


but hey thanks for the info coz that might come in hany.

(just hope blender can start cutting out the middle men, perhaps a way cooler plugin system will make blender a VERY powerful tool)


Post Reply