DigitalEro Offline

Blender rigging and body group tutorial

Wed, 22 May 2013 19:24:23

Lokiblade

can anyone point me in the a direction of a tutorial on how to rig and create bodygroups with blender
Wed, 22 May 2013 20:16:03

Ganonmaster

I can't help you with Rigging your models in Blender, but a quick Google search turns up many results for skinning/rigging a character mesh in that program. Creating bodygroups very easy and is the same regardless of the modeling package you use, given you have an SMD model exported. Depending on what kind of object you're trying to bodygroup, it requires very little effort. Here's a very simply example from the Samara model. The Samara model has a tiara on her head. I exported the body model without the tiara as the main model, and the Tiara model as seperate SMD files saved to the same folder. I then added the lines below to my QC file. I added some comments to it for clarification.
//This part says we want to create a bodygroup called "Headgear"
$bodygroup Headgear
{
	//This is the Tiara itself. Syntax is "studio" followed by your bodygroup file name in quotes
	studio "Tiara.smd"
	//This is a second entry for this bodygroup
	studio "Party_Hat.smd"
	//"blank" creates a bodygroup entry without a model attached: this is the option you would pick if you only want the base model to show up without the hat or tiara
	blank 
}
You can also choose to make bodygroups for large portions of the body. In this example, I've divided my model into a head, a normal body and a pregnant body and saved them all as seperate SMD files. Note that all of these models have to be rigged to the same skeleton as defined in head.smd.
$modelname "samara.mdl" //the model I'm making
$model Head "head.smd" //the head model
$bodygroup "body" {
	studio "normal.smd"
	studio "pregnant.smd"
	//Note that there is no "blank" option. If you were to include it, people could make the model appear without a body
}
Wed, 25 Sep 2013 17:04:52

lapinedours

hi big noob here can i use the metarig for a sfm model or its not recognized when i export him in smd format? Another question plz its possible to export rig with flex and ik in one time or you need to split em in two separate rig?
Wed, 25 Sep 2013 19:04:30

Ganonmaster

"lapinedours" said ...
hi big noob here can i use the metarig for a sfm model or its not recognized when i export him in smd format?
I don't know if the Blender SMD plugin has support for that. It will probably work fine.
"lapinedours" said ...
Another question plz its possible to export rig with flex and ik in one time or you need to split em in two separate rig?
You have a rigged model in Blender. This model has several shapekeys. You want to get the rigged model into Source Filmmaker with the shapekeys as face flexes. To do this, you have to export your rigged model as an SMD file. The shapekeys have to be exported as VTA files. The Blender smd tools detect whether or not a model has shapekeys and will export the VTA automatically when you export as SMD. Any Inverse Kinematics properties that your armature may contain will not be saved with the SMD and VTA files. In order to use IK in SFM you need to create and load an IK rig script when you open your model in Source Filmmaker.
Sun, 29 Sep 2013 00:01:22

lapinedours

Ok i see now thanks for your nice explanation :D