{"id":140,"date":"2014-10-22T17:06:37","date_gmt":"2014-10-22T17:06:37","guid":{"rendered":"http:\/\/blog.robertledden.co.uk\/?p=140"},"modified":"2015-04-10T17:59:01","modified_gmt":"2015-04-10T17:59:01","slug":"week-4-rigging-draft","status":"publish","type":"post","link":"http:\/\/blog.robertledden.co.uk\/?p=140","title":{"rendered":"Session 4 &#8211; Rigging"},"content":{"rendered":"<p>This weeks session is all about rigging, the task was to rig a human model and give it a working skeleton.<\/p>\n<p>I start with a low poly human male mesh that was provided and then I resize it using a cube as a guide.<\/p>\n<p>I set the cube size to 175 cm the average height of a male, then I resized\u00a0the male mesh to fit within the cube.<\/p>\n<p><a href=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2014\/10\/S4Rigging1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-180 aligncenter\" src=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2014\/10\/S4Rigging1-300x237.jpg\" alt=\"S4Rigging1\" width=\"300\" height=\"237\" \/><\/a><\/p>\n<p>Once I had the mesh to the correct size I started with the rigging of it, I had open during this another project that had a already rigged mesh and used it as a reference for the my model.<\/p>\n<p><a href=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2014\/10\/S4Rigging2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-181 aligncenter\" src=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2014\/10\/S4Rigging2-300x169.jpg\" alt=\"S4Rigging2\" width=\"300\" height=\"169\" \/><\/a><\/p>\n<p>With the torso and limes in place I next moved into the hands to rig the fingers, and again I used the pre rigged project as a reference for this process, below you can see my rigged hand (on the right) with the outliner open showing the bones and joints of my model, including the torso, legs and left arm down to the fingers, the right arm has the same hierarchy and naming convention but is not shown.<\/p>\n<p><a href=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2015\/04\/S4Rigging3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\" size-medium wp-image-314 aligncenter\" src=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2015\/04\/S4Rigging3-300x169.jpg\" alt=\"S4Rigging3\" width=\"300\" height=\"169\" srcset=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2015\/04\/S4Rigging3-300x169.jpg 300w, http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2015\/04\/S4Rigging3-1024x576.jpg 1024w, http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2015\/04\/S4Rigging3.jpg 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Once the model was rigged it was time to bind the skin to the model, this was\u00a0easily done with the \u00a0smooth bind option, after this was done I used the Paint Skin Weights Tool to adjust how the joints\u00a0affect the mesh this tool works by selecting the joint you wish to work on and then &#8216;paint&#8217; the mesh, the area of the mesh that has been painted then effected by the joins movement.<\/p>\n<p><a href=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2015\/04\/S4Rigging4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\" size-medium wp-image-315 aligncenter\" src=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2015\/04\/S4Rigging4-300x169.jpg\" alt=\"S4Rigging4\" width=\"300\" height=\"169\" srcset=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2015\/04\/S4Rigging4-300x169.jpg 300w, http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2015\/04\/S4Rigging4-1024x578.jpg 1024w, http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2015\/04\/S4Rigging4.jpg 1914w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>This next part I was not able to complete on the model\u00a0I had started with for this session so I achieved the next part using the model\u00a0I used for my assignment.\u00a0One of the reason I couldn&#8217;t do this with the old model was because I didn&#8217;t set up the joint correctly before weight painting and when it came to adding the IK joints the legs would bend the wrong way and the arms would &#8216;flip&#8217; when animated into certain positions.<\/p>\n<p>With the new model I created from my assignment I created the skeleton and set up IK handles before binding the skin.\u00a0Adding a IK handler to a skeleton is as easy as selecting two joins and using the IK handle tool, the trick is to set up the orientation of the joints so that the limbs bend the correct direction so to avoid the problems I was facing with my first model.<\/p>\n<p>Following the guidance in <a href=\"https:\/\/www.youtube.com\/watch?v=T96n8vUy1B8\">THIS<\/a> video I set the joints up so they would bend correctly by setting all the orientations to 0 and adding a prefered angle to the bend in the limbs. I also added a Pole Vector constraint that would add even more control to the limbs of the skeleton, below is the model after I bound the mesh to the skeleton and did the weight painting<\/p>\n\n\t\t<style>\n\t\t\t#gallery-1 {\n\t\t\t\tmargin: auto;\n\t\t\t}\n\t\t\t#gallery-1 .gallery-item {\n\t\t\t\tfloat: left;\n\t\t\t\tmargin-top: 10px;\n\t\t\t\ttext-align: center;\n\t\t\t\twidth: 33%;\n\t\t\t}\n\t\t\t#gallery-1 img {\n\t\t\t\tborder: 2px solid #cfcfcf;\n\t\t\t}\n\t\t\t#gallery-1 .gallery-caption {\n\t\t\t\tmargin-left: 0;\n\t\t\t}\n\t\t\t\/* see gallery_shortcode() in wp-includes\/media.php *\/\n\t\t<\/style>\n\t\t<div id='gallery-1' class='gallery galleryid-140 gallery-columns-3 gallery-size-thumbnail'><dl class='gallery-item'>\n\t\t\t<dt class='gallery-icon landscape'>\n\t\t\t\t<a href='http:\/\/blog.robertledden.co.uk\/?attachment_id=281'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2015\/04\/IK_Handles_0000_Screenshot-34-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/dt><\/dl><dl class='gallery-item'>\n\t\t\t<dt class='gallery-icon landscape'>\n\t\t\t\t<a href='http:\/\/blog.robertledden.co.uk\/?attachment_id=282'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2015\/04\/IK_Handles_0001_Screenshot-33-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/dt><\/dl><dl class='gallery-item'>\n\t\t\t<dt class='gallery-icon landscape'>\n\t\t\t\t<a href='http:\/\/blog.robertledden.co.uk\/?attachment_id=283'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2015\/04\/IK_Handles_0002_Screenshot-32-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/dt><\/dl><br style=\"clear: both\" \/><dl class='gallery-item'>\n\t\t\t<dt class='gallery-icon landscape'>\n\t\t\t\t<a href='http:\/\/blog.robertledden.co.uk\/?attachment_id=284'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2015\/04\/IK_Handles_0003_Screenshot-31-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/dt><\/dl><dl class='gallery-item'>\n\t\t\t<dt class='gallery-icon landscape'>\n\t\t\t\t<a href='http:\/\/blog.robertledden.co.uk\/?attachment_id=285'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2015\/04\/IK_Handles_0004_Screenshot-30-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/dt><\/dl><dl class='gallery-item'>\n\t\t\t<dt class='gallery-icon landscape'>\n\t\t\t\t<a href='http:\/\/blog.robertledden.co.uk\/?attachment_id=286'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2015\/04\/IK_Handles_0005_Layer-0-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/dt><\/dl><br style=\"clear: both\" \/>\n\t\t<\/div>\n\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This weeks session is all about rigging, the task was to rig a human model and give it a working skeleton. I start with a [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":282,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,5],"tags":[],"class_list":["post-140","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-3d-modelling-animation","category-year-3"],"_links":{"self":[{"href":"http:\/\/blog.robertledden.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/140","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.robertledden.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.robertledden.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.robertledden.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.robertledden.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=140"}],"version-history":[{"count":2,"href":"http:\/\/blog.robertledden.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/140\/revisions"}],"predecessor-version":[{"id":377,"href":"http:\/\/blog.robertledden.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/140\/revisions\/377"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/blog.robertledden.co.uk\/index.php?rest_route=\/wp\/v2\/media\/282"}],"wp:attachment":[{"href":"http:\/\/blog.robertledden.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=140"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.robertledden.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=140"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.robertledden.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}