[Tutorial] Automatic Armature Weight Painting/Vertex Groups

Moderators: Yodaman921, Gabriel

[Tutorial] Automatic Armature Weight Painting/Vertex Groups

Postby forthfriend » Sun Nov 09, 2008 12:22 pm

Hello!

This is a short tutorial on a really useful and time saving technique that illuminates the need to weight paint, as the feature does it automatically.

Tutorial:

Alright! To begin this tutorial, you need a basic knowledge of blender, some sort of mesh (object), and an armature. If you don't know how to build a armature, follow the following tutorial. STOP WHEN YOU GET TO THE WEIGHT PAINTING, AND COME BACK HERE! For that tutorial, go here: http://wiki.blender.org/index.php/BSoD/Introduction_to_Character_Animation.

Okay! Let's start!

Go into Object Mode:

Picture 3.png
Go Into Object Mode
Picture 3.png (183.8 KiB) Viewed 10724 times


Select your mesh (deselect all other objects, INCLUDING THE ARMATURE):

Picture 4.png
Select Your Mesh
Picture 4.png (187.33 KiB) Viewed 10724 times


Now Shift+Select the armature, making sure that it too is in object mode, not pose mode.

Picture 5.png
Shift+Select The Armature
Picture 5.png (186.52 KiB) Viewed 10701 times


Press Ctrl+P and select armature from the pop-up menu:

Picture 6.png
Press Ctrl+P and Select Armature
Picture 6.png (180.66 KiB) Viewed 10677 times


Another Pop-Up Menu will appear, asking you if you want to "Create Vertex Groups?". Select Create From Bone Heat:

Picture 8.png
Select Create From Bone Heat
Picture 8.png (172.28 KiB) Viewed 10663 times


Walla! It automatically just weight painted your mesh for you! Now we select the armature and go into Pose Mode:

Picture 9.png
Go Into Pose Mode
Picture 9.png (174.8 KiB) Viewed 10644 times


Move a bone and the mesh will follow! Sometimes Bone Heat doesn't weight paint your mesh completely, which I will cover in the next step:

Picture 10.png
Move A Bone!
Picture 10.png (185.46 KiB) Viewed 10599 times


Now the deer's antlers and eyes were not weight painted by the bone heat parent thing, so we need to manually paint them, a semi-painless operation. Make sure that the effected bone is selected. Select the mesh and go into weight paint.

Picture 11.png
Go Into Weight Paint
Go Into Weight Paint
Picture 11.png (175.29 KiB) Viewed 10579 times


Now Paint the non-painted objects! Make sure that weight is set to one, and opacity is also set to 1. To get the Weight Paint Properties, press the N key. What you weight paint should snap into position when you paint them.

Picture 12.png
The Fixed Weight Paint
Picture 12.png (147.2 KiB) Viewed 10651 times


Now go back to object mode, select the armature and make sure you're in Pose Mode. Move some bones and watch your mesh move with them! (You can press G to free-move anything in blender, in this case the bone.):

Picture 14.png
The Finished Armature
Picture 14.png (142.47 KiB) Viewed 10559 times


If everything is good, you can click "Make Real" in the edit buttons, which will add a armature modifier. Only do this after you have finished tweeking the armature completely!:

Picture 1.png
Make The Armature Parent Real
Picture 1.png (179.43 KiB) Viewed 10543 times


So there you have it! A complete armature! One more tip: when animating and moving the mesh, move the armature instead, or else the armature will be left behind...

I hope this tutorial will be helpful to you! The technique saved me a lot of time while rigging this deer for a project.

Thanks!

Forthfriend
View my website at http://forthfriend.com/.

P.S, I do .blend.
forthfriend
Member
Member
 
Posts: 106
Joined: Sat Oct 11, 2008 10:28 am

Re: [Tutorial] Automatic Armature Weight Painting/Vertex Groups

Postby forthfriend » Sun Nov 09, 2008 12:22 pm

P.S.:

If you have any problems, feel free to PM me.

Forthfriend
View my website at http://forthfriend.com/.

P.S, I do .blend.
forthfriend
Member
Member
 
Posts: 106
Joined: Sat Oct 11, 2008 10:28 am

Re: [Tutorial] Automatic Armature Weight Painting/Vertex Groups

Postby Penumbra » Sun Nov 09, 2008 12:58 pm

Thx for the tutorial, but when doing a tutorial you should have the people doing it have the same rig/character as yourself because you recieve different results. The bone heat feature has only worked once for me and i have no idea why it will not work anymore. I used it on rigging my latest character in my hacky sack animation. But i opened up my previously made/riged character from that text tutorial and un parented the bones and body. Then tried to do it with bone heating and it becomes a huge mess... not sure why :(. But on all of my characters, i can't seem to get bone heating to work right again.
Image
Dream Blender... anything is possible.

Xbox Gamer Tag: XxPenumbraXx
User avatar
Penumbra
Premium Member
Premium Member
 
Posts: 2779
Joined: Mon Dec 03, 2007 6:21 pm
Location: Findlay, OH. United States

Re: [Tutorial] Automatic Armature Weight Painting/Vertex Groups

Postby forthfriend » Sun Nov 09, 2008 2:48 pm

Penumbra wrote:Thx for the tutorial, but when doing a tutorial you should have the people doing it have the same rig/character as yourself because you recieve different results. The bone heat feature has only worked once for me and i have no idea why it will not work anymore. I used it on rigging my latest character in my hacky sack animation. But i opened up my previously made/riged character from that text tutorial and un parented the bones and body. Then tried to do it with bone heating and it becomes a huge mess... not sure why :(. But on all of my characters, i can't seem to get bone heating to work right again.


That's strange... Maybe you should just select the mesh and do Clear Parent from the object menu on it, make all modifier's real... Try deleting all vertex groups before you do bone heat.

Send me over the .blend file and I'll take a look.

Forthfriend
View my website at http://forthfriend.com/.

P.S, I do .blend.
forthfriend
Member
Member
 
Posts: 106
Joined: Sat Oct 11, 2008 10:28 am

Re: [Tutorial] Automatic Armature Weight Painting/Vertex Groups

Postby Penumbra » Sun Nov 09, 2008 3:27 pm

I have no idea why it wont work... :(.
I did all that you said and it still didnt work. So here's the file with the rig set up on bone heat. You can see what happens when you move it.

I have him rigged up manually aswell in another file, but obviously that is time consuming to do lol. So i'd be more than happy if someone could figure out why bone heat isn't working for me.

boneheatrigproblem.blend
(498.62 KiB) Downloaded 213 times
Image
Dream Blender... anything is possible.

Xbox Gamer Tag: XxPenumbraXx
User avatar
Penumbra
Premium Member
Premium Member
 
Posts: 2779
Joined: Mon Dec 03, 2007 6:21 pm
Location: Findlay, OH. United States

Re: [Tutorial] Automatic Armature Weight Painting/Vertex Groups

Postby forthfriend » Sun Nov 09, 2008 3:31 pm

Penumbra wrote:I have no idea why it wont work... :(.
I did all that you said and it still didnt work. So here's the file with the rig set up on bone heat. You can see what happens when you move it.

I have him rigged up manually aswell in another file, but obviously that is time consuming to do lol. So i'd be more than happy if someone could figure out why bone heat isn't working for me.

boneheatrigproblem.blend


I've downloaded your file and will look at it and get back to you sometime today. Thanks for giving it to us to look at, and I hope I find a solution!

Forthfriend
View my website at http://forthfriend.com/.

P.S, I do .blend.
forthfriend
Member
Member
 
Posts: 106
Joined: Sat Oct 11, 2008 10:28 am

Re: [Tutorial] Automatic Armature Weight Painting/Vertex Groups

Postby Penumbra » Sun Nov 09, 2008 3:48 pm

hey no problem man, thank you for takin your time to try and help :)
Image
Dream Blender... anything is possible.

Xbox Gamer Tag: XxPenumbraXx
User avatar
Penumbra
Premium Member
Premium Member
 
Posts: 2779
Joined: Mon Dec 03, 2007 6:21 pm
Location: Findlay, OH. United States

Re: [Tutorial] Automatic Armature Weight Painting/Vertex Groups

Postby forthfriend » Sun Nov 09, 2008 11:04 pm

Well! I fixed it by... Sorta redoing your armature. The structure of armature you were using isn't the type that Bone Heat likes... 8-). I made all of his limbs and stuff work, but you still need to tweek a couple of things and parent/connect etc the eyes. I hope this helps!

Use the tweeking part of the tutorial on some limbs if you need to.

Here is the finished file:
boneheatrigproblem_solved.blend
Solved...
(535.85 KiB) Downloaded 223 times


Hope this helps!

Forthfriend
View my website at http://forthfriend.com/.

P.S, I do .blend.
forthfriend
Member
Member
 
Posts: 106
Joined: Sat Oct 11, 2008 10:28 am

Re: [Tutorial] Automatic Armature Weight Painting/Vertex Groups

Postby Penumbra » Mon Nov 10, 2008 7:13 am

I appreciate you takin the time to look at it, but it's still not fixed lol :)
If you grab one of his arms and try to bring it down to his side, you'll see what i mean.
Image
Dream Blender... anything is possible.

Xbox Gamer Tag: XxPenumbraXx
User avatar
Penumbra
Premium Member
Premium Member
 
Posts: 2779
Joined: Mon Dec 03, 2007 6:21 pm
Location: Findlay, OH. United States

Re: [Tutorial] Automatic Armature Weight Painting/Vertex Groups

Postby forthfriend » Mon Nov 10, 2008 9:16 am

Penumbra wrote:I appreciate you takin the time to look at it, but it's still not fixed lol :)
If you grab one of his arms and try to bring it down to his side, you'll see what i mean.


Well... I looked at it again, but for some reason Bone Heat was not painting anything having to do with the spine. I think that something about the structure of your characters is.. well... baffling blender lol. I think you should just use it to get you started, and then continue manually from there. Also, I recommend that you post at the blender,org forums, because a lot of developers go there to post.


Forthfriend
View my website at http://forthfriend.com/.

P.S, I do .blend.
forthfriend
Member
Member
 
Posts: 106
Joined: Sat Oct 11, 2008 10:28 am

Next

Return to User Tutorials

Who is online

Users browsing this forum: No registered users and 3 guests