{"id":149,"date":"2017-03-20T09:00:00","date_gmt":"2017-03-20T00:00:00","guid":{"rendered":"https:\/\/cg-method.com\/entry\/2017\/03\/20\/090000"},"modified":"2017-03-20T09:00:00","modified_gmt":"2017-03-20T00:00:00","slug":"maya-blendshape-reverse-copy","status":"publish","type":"post","link":"https:\/\/cg-method.com\/3dcg\/maya-blendshape-reverse-copy\/","title":{"rendered":"\u3010Maya\u3011\u30d6\u30ec\u30f3\u30c9\u30b7\u30a7\u30a4\u30d7\u3092\u53cd\u8ee2\u30b3\u30d4\u30fc\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>\u57fa\u672c\u306f\u30e9\u30c3\u30d7\u30d5\u30a9\u30fc\u30de\u30fc\u3092\u4f7f\u3046\u65b9\u6cd5\u3067\u3059\u304c<\/p>\n<p>\u305f\u3060\u6bce\u56de\u8907\u88fd\u3057\u3066\u3001\u53cd\u8ee2\u3057\u3066\u3001\u30d6\u30ec\u30f3\u30c9\u30b7\u30a7\u30a4\u30d7\u3057\u3066..\u3068\u3044\u3046\u306e\u306f\u9762\u5012\u306a\u306e\u3067absymmesh\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<h2>\u901a\u5e38\u306e\u30d6\u30ec\u30f3\u30c9\u30b7\u30a7\u30a4\u30d7\u3092\u53cd\u8ee2\u30b3\u30d4\u30fc\u3059\u308b\u65b9\u6cd5<\/h2>\n<p>duplicating the base, scale it -1 in X<\/p>\n<p>apply the blendshape<\/p>\n<p>apply a wrap deformer from the base mesh to the new mesh<\/p>\n<p>turn on the blendshape<\/p>\n<p>set the new mesh scale X to 1 again<\/p>\n<p>\u30b9\u30af\u30ea\u30d7\u30c8\u5316\u3057\u305f\u3082\u306e\uff08\u30bf\u30fc\u30b2\u30c3\u30c8\u9078\u629e\u3057\u3066\u3001\u30d9\u30fc\u30b9\u9078\u629e\u3057\u3066MirrorPolyShape;\uff09<\/p>\n<pre class=\"code\" data-lang=\"\" data-unlink=\"\">\nglobal proc MirrorPolyShape()\n{\nstring $sel[] = `ls -sl`;\nstring $base = $sel[1];\nstring $shape = $sel[0];\nstring $NN = `substitute \"L_\" $shape \"R_\"`;\nstring $nShape[] = `duplicate -name $NN $base`;\nstring $temp[] = `duplicate $base`;\nstring $blendName[] = `blendShape -name \"tmpBlend\" $shape $temp[0]`;\nsetAttr -l 0 ($temp[0] + \".scaleX\");\nsetAttr ($temp[0] + \".scaleX\") (-1);\nstring $grp = `group $temp[0] $nShape[0]`;\nsetAttr ($grp + \".s\") 50 50 50;\nselect -r $nShape[0] $temp[0];\nstring $wrapName[] = `doWrapArgList \"2\" { \"1\",\"0\",\"1\" }`;\nsetAttr ($blendName[0] + \".\" + $shape) 1;\nDeleteHistory;\nsetAttr ($grp + \".s\") 1 1 1;\nparent -w $nShape;\ndelete $grp;\n}\n<\/pre>\n<h2>absymmesh\u306e\u5c0e\u5165\u65b9\u6cd5<\/h2>\n<ul>\n<li>\u4e0b\u8a18\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3001script\u30d5\u30a9\u30eb\u30c0\u306b\u683c\u7d0d<\/li>\n<\/ul>\n<p><a href=\"http:\/\/www.supercrumbly.com\/3d.php?sid=112#.WM4WITvyiHs\"><\/a><\/p>\n<ul>\n<li>MAYA\u3092\u8d77\u52d5\u3057\u3066abSymMesh;\u3068MEL\u3092\u5165\u529b\u3002\u30a6\u30a4\u30f3\u30c9\u30a6\u3092\u8d77\u52d5\u3057\u307e\u3059<\/li>\n<\/ul>\n<h2>absymmesh\u306e\u4f7f\u3044\u65b9<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/3dcg\/wp-content\/uploads\/2017\/03\/20170319142743.png\" alt=\"\" width=\"674\" height=\"362\" class=\"alignnone size-full wp-image-9226\" srcset=\"https:\/\/cg-method.com\/3dcg\/wp-content\/uploads\/2017\/03\/20170319142743.png 674w, https:\/\/cg-method.com\/3dcg\/wp-content\/uploads\/2017\/03\/20170319142743-300x161.png 300w\" sizes=\"auto, (max-width: 674px) 100vw, 674px\" \/><\/p>\n<ul>\n<li>\u30d9\u30fc\u30b9\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3001\u30bf\u30fc\u30b2\u30c3\u30c8\u3001\u30bf\u30fc\u30b2\u30c3\u30c8\u306e\u30b3\u30d4\u30fc\u3092\u7528\u610f<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/3dcg\/wp-content\/uploads\/2017\/03\/20170319142809.png\" alt=\"\" width=\"879\" height=\"542\" class=\"alignnone size-full wp-image-9227\" srcset=\"https:\/\/cg-method.com\/3dcg\/wp-content\/uploads\/2017\/03\/20170319142809.png 879w, https:\/\/cg-method.com\/3dcg\/wp-content\/uploads\/2017\/03\/20170319142809-300x185.png 300w, https:\/\/cg-method.com\/3dcg\/wp-content\/uploads\/2017\/03\/20170319142809-768x474.png 768w\" sizes=\"auto, (max-width: 879px) 100vw, 879px\" \/><\/p>\n<ul>\n<li>\u30d9\u30fc\u30b9\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092Select Base Geometry\u3057\u3066\u767b\u9332\u3057\u3066\u3001\u30bf\u30fc\u30b2\u30c3\u30c8\u306e\u30b3\u30d4\u30fc\u3092\u9078\u629e\u3057\u3066Flip Selected\u3067\u9802\u70b9\u756a\u53f7\u3092\u305f\u307e\u3063\u305f\u307e\u307e\u53cd\u8ee2\u30b3\u30d4\u30fc\u3055\u308c\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>\u3046\u307e\u304f\u3044\u304b\u306a\u3044\u3068\u304d\u306fCheck Symmety\u3057\u3066\u3001\u30d9\u30fc\u30b9\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u5de6\u53f3\u5bfe\u79f0\u306b\u3057\u3066\u3084\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u57fa\u672c\u306f\u30e9\u30c3\u30d7\u30d5\u30a9\u30fc\u30de\u30fc\u3092\u4f7f\u3046\u65b9\u6cd5\u3067\u3059\u304c \u305f\u3060\u6bce\u56de\u8907\u88fd\u3057\u3066\u3001\u53cd\u8ee2\u3057\u3066\u3001\u30d6\u30ec\u30f3\u30c9\u30b7\u30a7\u30a4\u30d7\u3057\u3066..\u3068\u3044\u3046\u306e\u306f\u9762\u5012\u306a\u306e\u3067absymmesh\u3092\u4f7f\u3044\u307e\u3059\u3002 \u901a\u5e38\u306e\u30d6\u30ec\u30f3\u30c9\u30b7\u30a7\u30a4\u30d7\u3092\u53cd\u8ee2\u30b3\u30d4\u30fc\u3059\u308b\u65b9\u6cd5 duplicating the  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":150,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[22],"tags":[],"class_list":["post-149","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-maya"],"_links":{"self":[{"href":"https:\/\/cg-method.com\/3dcg\/wp-json\/wp\/v2\/posts\/149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cg-method.com\/3dcg\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cg-method.com\/3dcg\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cg-method.com\/3dcg\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cg-method.com\/3dcg\/wp-json\/wp\/v2\/comments?post=149"}],"version-history":[{"count":0,"href":"https:\/\/cg-method.com\/3dcg\/wp-json\/wp\/v2\/posts\/149\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cg-method.com\/3dcg\/wp-json\/wp\/v2\/media\/150"}],"wp:attachment":[{"href":"https:\/\/cg-method.com\/3dcg\/wp-json\/wp\/v2\/media?parent=149"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cg-method.com\/3dcg\/wp-json\/wp\/v2\/categories?post=149"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cg-method.com\/3dcg\/wp-json\/wp\/v2\/tags?post=149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}