{"id":3200,"date":"2018-09-18T16:51:45","date_gmt":"2018-09-18T07:51:45","guid":{"rendered":"https:\/\/www.matchlock.co.jp\/?page_id=3200"},"modified":"2020-03-06T16:28:23","modified_gmt":"2020-03-06T07:28:23","slug":"%e6%ad%aa%e3%81%bf%e3%80%80%e5%a4%89%e4%bd%8d%e3%83%9e%e3%83%83%e3%83%97%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6","status":"publish","type":"manual","link":"https:\/\/www.matchlock.co.jp\/en\/manual\/bishamon%e3%83%84%e3%83%bc%e3%83%ab%e3%82%aa%e3%83%b3%e3%83%a9%e3%82%a4%e3%83%b3%e3%83%9e%e3%83%8b%e3%83%a5%e3%82%a2%e3%83%ab\/bishamon%e8%a9%b3%e7%b4%b0\/%e3%83%93%e3%83%a5%e3%83%bc\/%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%9a%e3%82%af%e3%82%bf\/%e6%ad%aa%e3%81%bf%e3%80%80%e5%a4%89%e4%bd%8d%e3%83%9e%e3%83%83%e3%83%97%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\/","title":{"rendered":"About distortion"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5680\" src=\"https:\/\/www.matchlock.co.jp\/wp-content\/uploads\/2018\/09\/ins_distortion_material_en-1.jpg\" alt=\"\" width=\"182\" height=\"277\" \/><\/p>\n<p>The basic setting method is in &#8220;Material&#8221; on the previous page.<\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>\u25a0Can Distortion be Adjusted?<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><b>Distortion can be adjusted according to the R\/G values for &#8220;Texture 1\/2 Color Scale&#8221;<\/b><\/p>\n<p>&nbsp;<\/p>\n<p>The R and G colors in the horizontal direction\uff08R) and vertical direction\uff08G\uff09are the elements of variant mapping and simulate and generate the shape deformation.<br \/>\nWith the texture color scale, every color\uff08RGB) in a texture can be adjusted.\uff08For example, reducing the overall texture G value to 0.5\uff0850%\uff09<br \/>\nBy using the texture color scale, a texture applied for variant mapping may be adjusted.<\/p>\n<p>&nbsp;<\/p>\n<p><b>Example: With time the distortion is applied, the image deforms, and then returns to its original state.<\/b><\/p>\n<p>&nbsp;<\/p>\n<p>\uff11\uff09Prepare the image to be distorted for Texture 1.<br \/>\n\uff12\uff09Prepare the variant map to distort for Texture 2.<br \/>\n\uff13\uff09Set Material to &#8220;Distort&#8221;.<br \/>\n\uff14\uff09Set Color Scale for Texture 2 to &#8220;Curve&#8221;.<br \/>\n\uff15\uff09Depending on the curve, change the R and G values from 0 to 1 and back to 0.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5170\" src=\"https:\/\/www.matchlock.co.jp\/wp-content\/uploads\/2018\/09\/inspector_distosion.png\" alt=\"\" width=\"500\" height=\"104\" srcset=\"https:\/\/www.matchlock.co.jp\/corporate\/wp-content\/uploads\/2018\/09\/inspector_distosion.png 500w, https:\/\/www.matchlock.co.jp\/corporate\/wp-content\/uploads\/2018\/09\/inspector_distosion-300x62.png 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/p>\n<p>It is possible to adjust the distortion as described above.<\/p>\n<p>&nbsp;<\/p>\n<table style=\"border-collapse: collapse; width: 96.8444%; height: 135px;\">\n<tbody>\n<tr style=\"height: 127px;\">\n<td style=\"width: 24.5978%; height: 127px;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5183\" src=\"https:\/\/www.matchlock.co.jp\/wp-content\/uploads\/2018\/09\/distosion01.gif\" alt=\"\" width=\"179\" height=\"179\" \/><\/td>\n<td style=\"width: 89.1484%; height: 127px;\">In this way, you can render a gradual distortion of an image and then return the image to its original state.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>\u25a0About displacement maps<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>Displacement Maps<\/p>\n<table style=\"border-collapse: collapse; width: 84.2105%;\">\n<tbody>\n<tr>\n<td style=\"width: 17.1679%;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5181\" src=\"https:\/\/www.matchlock.co.jp\/wp-content\/uploads\/2018\/09\/ins_yugami01.jpg\" alt=\"\" width=\"128\" height=\"128\" srcset=\"https:\/\/www.matchlock.co.jp\/corporate\/wp-content\/uploads\/2018\/09\/ins_yugami01.jpg 256w, https:\/\/www.matchlock.co.jp\/corporate\/wp-content\/uploads\/2018\/09\/ins_yugami01-150x150.jpg 150w\" sizes=\"auto, (max-width: 128px) 100vw, 128px\" \/><\/td>\n<td style=\"width: 67.0426%;\">Checking the R and G channels with Photoshop looks like the following.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5681\" src=\"https:\/\/www.matchlock.co.jp\/wp-content\/uploads\/2018\/09\/ins_yugami07_en.jpg\" alt=\"\" width=\"226\" height=\"171\" \/><\/p>\n<p>&nbsp;<\/p>\n<table style=\"border-collapse: collapse; width: 70.4261%;\">\n<tbody>\n<tr>\n<td style=\"width: 19.1103%;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5179\" src=\"https:\/\/www.matchlock.co.jp\/wp-content\/uploads\/2018\/09\/ins_yugami01_r.jpg\" alt=\"\" width=\"128\" height=\"128\" srcset=\"https:\/\/www.matchlock.co.jp\/corporate\/wp-content\/uploads\/2018\/09\/ins_yugami01_r.jpg 256w, https:\/\/www.matchlock.co.jp\/corporate\/wp-content\/uploads\/2018\/09\/ins_yugami01_r-150x150.jpg 150w\" sizes=\"auto, (max-width: 128px) 100vw, 128px\" \/><\/td>\n<td style=\"width: 17.4812%;\">R Channel<\/td>\n<td style=\"width: 16.4787%;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5178\" src=\"https:\/\/www.matchlock.co.jp\/wp-content\/uploads\/2018\/09\/ins_yugami01_g.jpg\" alt=\"\" width=\"128\" height=\"128\" srcset=\"https:\/\/www.matchlock.co.jp\/corporate\/wp-content\/uploads\/2018\/09\/ins_yugami01_g.jpg 256w, https:\/\/www.matchlock.co.jp\/corporate\/wp-content\/uploads\/2018\/09\/ins_yugami01_g-150x150.jpg 150w\" sizes=\"auto, (max-width: 128px) 100vw, 128px\" \/><\/td>\n<td style=\"width: 17.3559%;\">G Channel<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>With a displacement map for distortion, how much does the texture UV get displaced?<br \/>\nThe data below shows changes in the R and G channels and how much they get moved and in which directions.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-5682\" src=\"https:\/\/www.matchlock.co.jp\/wp-content\/uploads\/2018\/09\/ins_yugami02_en-300x236.jpg\" alt=\"\" width=\"300\" height=\"236\" srcset=\"https:\/\/www.matchlock.co.jp\/corporate\/wp-content\/uploads\/2018\/09\/ins_yugami02_en-300x236.jpg 300w, https:\/\/www.matchlock.co.jp\/corporate\/wp-content\/uploads\/2018\/09\/ins_yugami02_en.jpg 337w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>U moves to the right further from 0.0 and closer to 1.0\uff08in the positive direction).<br \/>\nFor textures of polygons, the pictures move in the opposite direction to the left.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5683\" src=\"https:\/\/www.matchlock.co.jp\/wp-content\/uploads\/2018\/09\/ins_yugami03_en-300x140.jpg\" alt=\"\" width=\"545\" height=\"254\" srcset=\"https:\/\/www.matchlock.co.jp\/corporate\/wp-content\/uploads\/2018\/09\/ins_yugami03_en-300x140.jpg 300w, https:\/\/www.matchlock.co.jp\/corporate\/wp-content\/uploads\/2018\/09\/ins_yugami03_en.jpg 567w\" sizes=\"auto, (max-width: 545px) 100vw, 545px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>V moves to the down direction further from 0.0 and closer to 1.0 (in the positive direction).<br \/>\nFor textures of polygons, the pictures move in the opposite direction to the left.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5684\" src=\"https:\/\/www.matchlock.co.jp\/wp-content\/uploads\/2018\/09\/ins_yugami04_en-300x140.jpg\" alt=\"\" width=\"527\" height=\"246\" srcset=\"https:\/\/www.matchlock.co.jp\/corporate\/wp-content\/uploads\/2018\/09\/ins_yugami04_en-300x140.jpg 300w, https:\/\/www.matchlock.co.jp\/corporate\/wp-content\/uploads\/2018\/09\/ins_yugami04_en.jpg 567w\" sizes=\"auto, (max-width: 527px) 100vw, 527px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Checking with the displacement map, the center value is 128 and looks as follows.<\/p>\n<table style=\"border-collapse: collapse; width: 74.4361%;\">\n<tbody>\n<tr>\n<td style=\"width: 18.1704%;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5174\" src=\"https:\/\/www.matchlock.co.jp\/wp-content\/uploads\/2018\/09\/ins_yugami01_r_yaji.jpg\" alt=\"\" width=\"128\" height=\"128\" srcset=\"https:\/\/www.matchlock.co.jp\/corporate\/wp-content\/uploads\/2018\/09\/ins_yugami01_r_yaji.jpg 256w, https:\/\/www.matchlock.co.jp\/corporate\/wp-content\/uploads\/2018\/09\/ins_yugami01_r_yaji-150x150.jpg 150w\" sizes=\"auto, (max-width: 128px) 100vw, 128px\" \/><\/td>\n<td style=\"width: 56.2657%;\">R Channel<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>For the R channel, since the right side has become lighter U has moved to the right (in the positive direction),<br \/>\nthe texture appears to have shifted to the left, and, since the left side has darkened,<br \/>\nthere was opposite movement toward the right.<\/p>\n<table style=\"border-collapse: collapse; width: 74.3108%; height: 22px;\">\n<tbody>\n<tr style=\"height: 22px;\">\n<td style=\"width: 17.6692%; height: 22px;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5173\" src=\"https:\/\/www.matchlock.co.jp\/wp-content\/uploads\/2018\/09\/ins_yugami01_g_yaji.jpg\" alt=\"\" width=\"128\" height=\"128\" srcset=\"https:\/\/www.matchlock.co.jp\/corporate\/wp-content\/uploads\/2018\/09\/ins_yugami01_g_yaji.jpg 256w, https:\/\/www.matchlock.co.jp\/corporate\/wp-content\/uploads\/2018\/09\/ins_yugami01_g_yaji-150x150.jpg 150w\" sizes=\"auto, (max-width: 128px) 100vw, 128px\" \/><\/td>\n<td style=\"width: 56.6416%; height: 22px;\">G Channel<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>For the G channel, since the upper side has become lighter V has moved in the downard direction (in the positive direction),<br \/>\nthe texture appears to have shifted up, and, since the lower side has darkened,<br \/>\nthere was opposite movement in the upward direction.<\/p>\n<p>&nbsp;<\/p>\n<p>Accordingly, the texture in the displacement map appears to move like this.<\/p>\n<table style=\"border-collapse: collapse; width: 74.5614%;\">\n<tbody>\n<tr>\n<td style=\"width: 17.7945%;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5172\" src=\"https:\/\/www.matchlock.co.jp\/wp-content\/uploads\/2018\/09\/ins_yugami05.jpg\" alt=\"\" width=\"128\" height=\"128\" srcset=\"https:\/\/www.matchlock.co.jp\/corporate\/wp-content\/uploads\/2018\/09\/ins_yugami05.jpg 256w, https:\/\/www.matchlock.co.jp\/corporate\/wp-content\/uploads\/2018\/09\/ins_yugami05-150x150.jpg 150w\" sizes=\"auto, (max-width: 128px) 100vw, 128px\" \/><\/td>\n<td style=\"width: 56.7669%;\">Distortion Direction<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5171\" src=\"https:\/\/www.matchlock.co.jp\/wp-content\/uploads\/2018\/09\/ins_yugami06.jpg\" alt=\"\" width=\"489\" height=\"201\" srcset=\"https:\/\/www.matchlock.co.jp\/corporate\/wp-content\/uploads\/2018\/09\/ins_yugami06.jpg 700w, https:\/\/www.matchlock.co.jp\/corporate\/wp-content\/uploads\/2018\/09\/ins_yugami06-300x123.jpg 300w\" sizes=\"auto, (max-width: 489px) 100vw, 489px\" \/><\/p>\n<p>How Texture Actually\u00a0Moves<\/p>","protected":false},"parent":3179,"menu_order":55,"template":"","class_list":["post-3200","manual","type-manual","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.matchlock.co.jp\/en\/wp-json\/wp\/v2\/manual\/3200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.matchlock.co.jp\/en\/wp-json\/wp\/v2\/manual"}],"about":[{"href":"https:\/\/www.matchlock.co.jp\/en\/wp-json\/wp\/v2\/types\/manual"}],"up":[{"embeddable":true,"href":"https:\/\/www.matchlock.co.jp\/en\/wp-json\/wp\/v2\/manual\/3179"}],"wp:attachment":[{"href":"https:\/\/www.matchlock.co.jp\/en\/wp-json\/wp\/v2\/media?parent=3200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}