{"id":125,"date":"2019-12-13T04:21:20","date_gmt":"2019-12-13T04:21:20","guid":{"rendered":"http:\/\/averychristianbrown.com\/acb\/?p=125"},"modified":"2019-12-16T17:16:29","modified_gmt":"2019-12-16T17:16:29","slug":"uv-by-element-modifier","status":"publish","type":"post","link":"https:\/\/averychristianbrown.com\/acb\/2019\/12\/13\/uv-by-element-modifier\/","title":{"rendered":"UV By Element Modifier"},"content":{"rendered":"\n<p>UV by element is a scripted modifier plugin.&nbsp; It will offset, rotate, and\/or scale the UV coordinates of each element by a pseudo-random amount.<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube aligncenter wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"UV By Element Modifier\" width=\"840\" height=\"473\" src=\"https:\/\/www.youtube.com\/embed\/VhfX-lcyyzg?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">How It Works:<\/h2>\n\n\n\n<p> Each transformation type can be turned on and off. The different transforms have a minimum and maximum for each available axis. The random offsets are selected from this range. Each transform also has an increment option, which locks the random values into steps. The Scale transform has an option to scale uniformly.  There is a control for choosing the mapping channel, and a control for specifying the random seed. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Use Cases:<\/h2>\n\n\n\n<figure class=\"wp-block-video aligncenter\"><video height=\"270\" style=\"aspect-ratio: 480 \/ 270;\" width=\"480\" autoplay loop muted src=\"http:\/\/averychristianbrown.com\/acb\/wp-content\/uploads\/2019\/12\/Gif-04-Floorgen.webm\" playsinline><\/video><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Floor Generator:<\/h4>\n\n\n\n<p class=\"has-normal-font-size\">This modifier can make using a seamless texture with a Floor Generator object easy, and does not require collapsing the modifier stack.&nbsp; Simply place a UVW Map modifier with the correct mapping scale over the Floor Generator modifier. Then place a UV By Element modifier over that.&nbsp; Enable translation from -1.0 to 1.0 with an increment of 0.0 and then add a rotation with a range of 0.0 to 360.0 and an increment of 180.0.<\/p>\n\n\n\n<figure class=\"wp-block-video aligncenter\"><video height=\"270\" style=\"aspect-ratio: 480 \/ 270;\" width=\"480\" autoplay loop muted src=\"http:\/\/averychristianbrown.com\/acb\/wp-content\/uploads\/2019\/12\/Gif-02-Modeledpattern-1.webm\" playsinline><\/video><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Modeled Pattern:<\/h4>\n\n\n\n<p>Unwrap the pieces of your pattern so that the texture is at the correct scale and alignment.&nbsp; Then duplicate those pieces to create your pattern. Add a UV By Element modifier. Enable translation from -1.0 to 1.0 with an increment of 0.0, then add a rotation with a range of -360.0 to 360.0 and an increment of 0.0, and top it off with a slight scale of 0.9 to 1.2 with an increment of 0.0.<\/p>\n\n\n\n<figure class=\"wp-block-video aligncenter\"><video height=\"270\" style=\"aspect-ratio: 480 \/ 270;\" width=\"480\" autoplay loop muted src=\"http:\/\/averychristianbrown.com\/acb\/wp-content\/uploads\/2019\/12\/Gif-03-Tiles.webm\" playsinline><\/video><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Tiles:<\/h4>\n\n\n\n<p>Scale your tile&#8217;s UV shells to be one quarter of the space.&nbsp; Then place Add a UV By Element modifier. Enable translation from 0.0 to 1.0 with an increment of 0.5, then add a rotation with a range of -360.0 to 360.0 and an increment of 90.0.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installation:<\/h2>\n\n\n\n<p class=\"has-normal-font-size\">Place the script into either your plugins folder or your startup folder.&nbsp; Like compiled plugins, this script must be installed on every computer on your farm in order to work.&nbsp; Since this is a scripted plugin, it will not be as fast as a compiled one.  Very large meshes will be painfully slow.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"HTML, XML\" data-shcb-language-slug=\"xml\"><span><code class=\"hljs language-xml\">%localappdata%\\Autodesk\\3dsMax\\<span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">VERSION<\/span>&gt;<\/span> - 64bit\\ENU\\scripts\\startup\nor\nC:\\Program Files\\Autodesk\\3ds Max <span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">VERSION<\/span>&gt;<\/span>\\Plugins<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">HTML, XML<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">xml<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>This plugin should work with Max 2016 and above, though I have only tested it with 2018 and 2020.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Download:<\/h2>\n\n\n<div class=\"sdm_download_button_box_default\"><div class=\"sdm_download_link\"><a href=\"https:\/\/averychristianbrown.com\/acb\/?sdm_process_download=1&#038;download_id=176\" class=\"sdm_download black\" title=\"UV By Element Modifier\" >uv_by_element.1.0.1.zip<\/a><\/div><\/div>\n\n\n<h2 class=\"wp-block-heading\">Changes:<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>1.0.1<ul><li>Fixed an error caused when a map channel is empty.<\/li><\/ul><\/li><\/ul>\n\n\n","protected":false},"excerpt":{"rendered":"<p>A Scripted Plug-In Modifier for UV randomization.<\/p>\n","protected":false},"author":2,"featured_media":194,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,35,23],"tags":[28,32,27,33,29,26,31,25,30,24],"class_list":["post-125","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-max","category-modifiers","category-scripts","tag-3d","tag-3d-studio-max","tag-3dsmax","tag-autodesk","tag-maxscript","tag-modifier","tag-scripted-plugin","tag-scripts","tag-simplemeshmod","tag-uvw"],"_links":{"self":[{"href":"https:\/\/averychristianbrown.com\/acb\/wp-json\/wp\/v2\/posts\/125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/averychristianbrown.com\/acb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/averychristianbrown.com\/acb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/averychristianbrown.com\/acb\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/averychristianbrown.com\/acb\/wp-json\/wp\/v2\/comments?post=125"}],"version-history":[{"count":41,"href":"https:\/\/averychristianbrown.com\/acb\/wp-json\/wp\/v2\/posts\/125\/revisions"}],"predecessor-version":[{"id":204,"href":"https:\/\/averychristianbrown.com\/acb\/wp-json\/wp\/v2\/posts\/125\/revisions\/204"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/averychristianbrown.com\/acb\/wp-json\/wp\/v2\/media\/194"}],"wp:attachment":[{"href":"https:\/\/averychristianbrown.com\/acb\/wp-json\/wp\/v2\/media?parent=125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/averychristianbrown.com\/acb\/wp-json\/wp\/v2\/categories?post=125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/averychristianbrown.com\/acb\/wp-json\/wp\/v2\/tags?post=125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}