{"id":2363,"date":"2010-01-16T06:00:57","date_gmt":"2010-01-16T04:00:57","guid":{"rendered":"http:\/\/4eyes.code66.se\/?p=2363"},"modified":"2010-01-15T12:10:46","modified_gmt":"2010-01-15T10:10:46","slug":"pimp-your-market-part-four","status":"publish","type":"post","link":"http:\/\/4eyes.code66.se\/?p=2363","title":{"rendered":"Pimp your market &#8211; part four"},"content":{"rendered":"<p>We are in the works of making a cloth filter in <a href=\"http:\/\/www.filterforge.com\/?affiliateid=200100725\" target=\"_blank\">FilterForge<\/a>, so just continue where we stopped yesterday shall we?<\/p>\n<p><!--more--><\/p>\n<p>The last thing we did yesterday was to set the dirt amount using a <strong>Slider<\/strong> and a <strong>Set Alpha<\/strong> component. Now, we create a new Perlin Noise component, and connect the output from the <strong>Profile Gradient <\/strong>component to the <em>Background<\/em> input of the<em> Perlin Noise<\/em>, and the output from the <strong>Set Alpha<\/strong> component to the <em>Noise<\/em> input of the <em>Perlin Noise<\/em>. This was we will take out dirt, and use that as a noise over the nice clean striped cloth. We call this the cloth component.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/01\/mc01.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2373\" title=\"mc01\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/01\/mc01.jpg\" alt=\"\" width=\"267\" height=\"242\" \/><\/a><\/p>\n<p>So, we still have a very flat surface, and we are going to use some height surface here, we create yet another <strong>Perlin Noise<\/strong>, lets call it height component.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/01\/mc02.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2372\" title=\"mc02\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/01\/mc02.jpg\" alt=\"\" width=\"286\" height=\"242\" \/><\/a><\/p>\n<p>Now, we set the <strong>Result<\/strong> component to <strong>Surface<\/strong>, and connect the dirty cloth from the cloth component to the <em>Surface Color<\/em> input of the <strong>Result<\/strong> component, and the output from out height component to the <em>Height<\/em> input of the <strong>Result<\/strong> component.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/01\/mc03.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2371\" title=\"mc03\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/01\/mc03.jpg\" alt=\"\" width=\"268\" height=\"234\" \/><\/a><\/p>\n<p>We are done, just save the filter, I called it <em>market cloth<\/em>, and it is ready to play with.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/01\/mc04.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2369\" title=\"mc04\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/01\/mc04.jpg\" alt=\"\" width=\"350\" height=\"350\" \/><\/a><\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/01\/mc05.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2370\" title=\"mc05\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/01\/mc05.jpg\" alt=\"\" width=\"350\" height=\"350\" \/><\/a><\/p>\n<p>Here are two textures rendered with the filter we just created, they look pretty good don&#8217;t you say? Now, let put them to use.<\/p>\n<p>We start <a href=\"http:\/\/www.cheetah3d.com\/\" target=\"_blank\">Cheetah3D<\/a>, and create a box. We set the polygons to 50x50x50, so we can use the magnet tool and get a good smooth result, then we use the magnet to give the box, or cloth roof, some wind wrinkles.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/01\/mc06.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2368\" title=\"mc06\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/01\/mc06.jpg\" alt=\"\" width=\"350\" height=\"350\" \/><\/a><\/p>\n<p>We apply one of the textures we just made, and this is how it looks in the modeler from a different view, not the camera, which is top down.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/01\/mc07.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2367\" title=\"mc07\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/01\/mc07.jpg\" alt=\"\" width=\"350\" height=\"287\" \/><\/a><\/p>\n<p>Now, render a few different cloth roofs, and we build a few more market presets using the objects we have done before or that we have found on the Dundjinni forums. Remember to tag objects containing other peoples items with their names too.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/01\/mc08.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2366\" title=\"mc08\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/01\/mc08.jpg\" alt=\"\" width=\"350\" height=\"335\" \/><\/a><\/p>\n<p>This one is named <em>market-six-aa-bg-id-4e-mod<\/em>, which means that <strong>aa<\/strong> (??), <strong>bg<\/strong> (Bogie) and <strong>id<\/strong> (IronDwarf) have done items used in this present, and that the mod (or preset) was made by me, <strong>4e<\/strong>. I used to write 4eyes, but it was too long so I cut it down to 4e.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/01\/mc09.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2365\" title=\"mc09\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/01\/mc09.jpg\" alt=\"\" width=\"350\" height=\"365\" \/><\/a><\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/01\/mc10.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2364\" title=\"mc10\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/01\/mc10.jpg\" alt=\"\" width=\"350\" height=\"355\" \/><\/a><\/p>\n<p>This last one was made much the same way, but using a Cone object instead of a box in Cheetah3D.<\/p>\n<p>All the items, all seven can be downloaded in png-format from the Dundjinni-forum in<a href=\"http:\/\/www.dundjinni.com\/forums\/forum_posts.asp?TID=11512&amp;get=last#120011\" target=\"_blank\"> this thread<\/a>. As you might notice, some of the objects used for the markets are from that thread too. The presets are a very fast way to work when you are building maps, and also very friendly to Dundjinni.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are in the works of making a cloth filter in FilterForge, so just continue where we stopped yesterday shall we?<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[12,13,10],"class_list":["post-2363","post","type-post","status-publish","format-standard","hentry","category-mapmaking","tag-cheetah3d","tag-filterforge","tag-omnigraffle"],"_links":{"self":[{"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=\/wp\/v2\/posts\/2363","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2363"}],"version-history":[{"count":6,"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=\/wp\/v2\/posts\/2363\/revisions"}],"predecessor-version":[{"id":2455,"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=\/wp\/v2\/posts\/2363\/revisions\/2455"}],"wp:attachment":[{"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2363"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2363"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}