{"id":106,"date":"2014-10-08T15:17:29","date_gmt":"2014-10-08T15:17:29","guid":{"rendered":"http:\/\/blog.robertledden.co.uk\/?p=106"},"modified":"2015-04-10T18:01:33","modified_gmt":"2015-04-10T18:01:33","slug":"week-2-materials-draft","status":"publish","type":"post","link":"http:\/\/blog.robertledden.co.uk\/?p=106","title":{"rendered":"Session 2 &#8211; Asset Development"},"content":{"rendered":"<h1>Texture Mapping<\/h1>\n<p>The first part of this weeks task was to create enhanced texture bases \u00a0for use on a single geometric shape, I chose to do this by recreating a Minecraft block.<\/p>\n<p>I chose to recreate the larva block, to start with I searched for a larva texture that I would use for the diffuse map.<\/p>\n<p>At first I chose to create a more detailed version of the block and wanted to start with higher resolution texture, so after searching I found this texture.<\/p>\n<div id=\"attachment_166\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2014\/10\/lava_texture_stock_by_mavrosh_stock-d39o7zp-e1417009028107.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-166\" class=\"wp-image-166 size-medium\" src=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2014\/10\/lava_texture_stock_by_mavrosh_stock-d39o7zp-300x300.jpg\" alt=\"lava_texture_stock_by_mavrosh_stock-d39o7zp\" width=\"300\" height=\"300\" \/><\/a><p id=\"caption-attachment-166\" class=\"wp-caption-text\">Source:\u00a0<a href=\"http:\/\/mavrosh-stock.deviantart.com\/art\/Lava-Texture-Stock-197645173\">Mavrosh-Stock<\/a><\/p><\/div>\n<p>Once I had the texture I started by trying to create the normal map for the object I tried doing this using a plugin for Photoshop provided by Nvidia <a href=\"https:\/\/developer.nvidia.com\/nvidia-texture-tools-adobe-photoshop\">Here<\/a>\u00a0using this tool I create a normal map and then applied it onto the object but did not have satisfactory results so I scraped this texture and started again.<\/p>\n<p>This time I went more simple and stuck to the original blocky theme of the Minecraft block, I searched and found <a href=\"https:\/\/minebook.me\/guest79999\/photo\/11104\">this texture<\/a>\u00a0from a user made texture pack and decided to work from that.<\/p>\n<p><a href=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2014\/10\/S2CubeMaps1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-152 aligncenter\" src=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2014\/10\/S2CubeMaps1-300x208.jpg\" alt=\"S2CubeMaps1\" width=\"415\" height=\"286\" \/><\/a><\/p>\n<p>With this\u00a0texture I didn&#8217;t try to use a normal map and create a simple bump map, and I also created a glow map that would illuminate the &#8216;hot&#8217; parts of the texture, below are the textures I created .<\/p>\n<p><a href=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2014\/10\/S2CubeMaps3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-154 aligncenter\" src=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2014\/10\/S2CubeMaps3-300x208.jpg\" alt=\"S2CubeMaps3\" width=\"300\" height=\"208\" \/><\/a> <a href=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2014\/10\/S2CubeMaps2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-153 aligncenter\" src=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2014\/10\/S2CubeMaps2-300x208.jpg\" alt=\"S2CubeMaps2\" width=\"300\" height=\"208\" \/><\/a><\/p>\n<p>Once I had all the maps I added them to a cube, and below is the final results once it has been rendered so it shows the effect of the glow map.<\/p>\n<p><a href=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2014\/10\/S2CubeRender-e1416777647464.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-155 aligncenter\" src=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2014\/10\/S2CubeRender-e1416777647464-300x300.jpg\" alt=\"S2CubeRender\" width=\"300\" height=\"300\" \/><\/a><\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<h1>Blending<\/h1>\n<p>The second part of this weeks task was to\u00a0blend together different models to create a transformation from one shape to the other.<\/p>\n<p>I started with the default human head preset in mudbox and create two sculpt layers and create a &#8216;Good&#8217; and &#8216;Evil&#8217; head on these layers, I then exported these layers as separate objects into Maya.<\/p>\n<p><a href=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2014\/10\/S2BlendingHead1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-196 aligncenter\" src=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2014\/10\/S2BlendingHead1-300x253.jpg\" alt=\"S2BlendingHead1\" width=\"300\" height=\"253\" \/><\/a><\/p>\n<p>Once in maya I was able to use the Blend Shapes Tool to create the transformation, I select the two shapes I wanted to transform into and the shape that I want the transformation to happen on last then apply the tool.<\/p>\n<p>With this task done I create a simple animation that has the the base shape transform from the &#8216;Good&#8217; face to its neutral face and then onto the &#8216;Evil&#8217; face. This is done by using keyframes and altering the attributes of the blendshape.<\/p>\n<p>I then batch rendered out this animation into individual frames that I can edit together a video.<\/p>\n<p><a href=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2014\/10\/S2BlendingHead2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-197 aligncenter\" src=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2014\/10\/S2BlendingHead2-300x253.jpg\" alt=\"S2BlendingHead2\" width=\"300\" height=\"253\" \/><\/a><\/p>\n<p>With the frames rendered out I use Adobe Premiere to \u00a0create a video, Premiere always me to import the images as a sequence, meaning all the frames I rendered out of Maya can be imported in one go and then Premiere will automatically assemble these images together into a video.<\/p>\n<p><a href=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2014\/10\/S2BlendingHead3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-198 aligncenter\" src=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2014\/10\/S2BlendingHead3-300x253.jpg\" alt=\"S2BlendingHead3\" width=\"300\" height=\"253\" \/><\/a><\/p>\n<p>With the images imported as a video sequence I then add that onto the timeline in Premiere and that is all that needs to be done to create a video from the images exported from Maya.<\/p>\n<p><a href=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2014\/10\/S2BlendingHead4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-199 aligncenter\" src=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2014\/10\/S2BlendingHead4-300x253.jpg\" alt=\"S2BlendingHead4\" width=\"300\" height=\"253\" \/><\/a><\/p>\n<p>I then export the video from Premiere to create the video that can be seen below.<\/p>\n<div style=\"width: 600px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-106-1\" width=\"600\" height=\"338\" loop preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2014\/10\/S2Blending.mp4?_=1\" \/><a href=\"http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2014\/10\/S2Blending.mp4\">http:\/\/blog.robertledden.co.uk\/wp-content\/uploads\/2014\/10\/S2Blending.mp4<\/a><\/video><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Texture Mapping The first part of this weeks task was to create enhanced texture bases \u00a0for use on a single geometric shape, I chose to [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":311,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,5],"tags":[],"class_list":["post-106","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\/106","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=106"}],"version-history":[{"count":1,"href":"http:\/\/blog.robertledden.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/106\/revisions"}],"predecessor-version":[{"id":380,"href":"http:\/\/blog.robertledden.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/106\/revisions\/380"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/blog.robertledden.co.uk\/index.php?rest_route=\/wp\/v2\/media\/311"}],"wp:attachment":[{"href":"http:\/\/blog.robertledden.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.robertledden.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=106"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.robertledden.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}