{"id":444,"date":"2009-09-11T15:21:28","date_gmt":"2009-09-11T13:21:28","guid":{"rendered":"http:\/\/4eyes.code66.se\/?p=444"},"modified":"2012-03-03T12:21:50","modified_gmt":"2012-03-03T10:21:50","slug":"creating-the-forest-path-filter-in-filterforge-part-one","status":"publish","type":"post","link":"http:\/\/4eyes.code66.se\/?p=444","title":{"rendered":"Creating the forest path filter in FilterForge &#8211; part one"},"content":{"rendered":"<p>I think it is time we talk a little about how you create a texture in <a href=\"http:\/\/www.filterforge.com\/?affiliateid=200100725\" target=\"_blank\">FilterForge<\/a>. You have read about it, probably some of you have downloaded the demo, then what?<\/p>\n<p>So I thought, let&#8217;s make a filter, that we can use to create floor tiles with, out door floor tiles. I though that a forest path would be a cool thing to create, so fire up FilterForge.<\/p>\n<p><!--more-->First, select New Filter, you will get the filter editor window.<\/p>\n<p>Select the only component visible at this time, the Result component, it will look like this:<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/09\/ff-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-445\" title=\"ff-1\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/09\/ff-1.jpg\" alt=\"ff-1\" width=\"622\" height=\"240\" \/><\/a><\/p>\n<p>As we are going to use the height map and full capabilities today (why crawl when you might fly, and possibly fall down and hurt you), change the <strong>Filter Type<\/strong> to <strong>Surface<\/strong>, like this:<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/09\/FF-2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-446\" title=\"FF-2\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/09\/FF-2.jpg\" alt=\"FF-2\" width=\"608\" height=\"234\" \/><\/a><\/p>\n<p>Now, we open the <strong>Components<\/strong>, to the right in the window, looks terrifying, but it is les scary than you might think.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/09\/ff-3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-448\" title=\"ff-3\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/09\/ff-3.jpg\" alt=\"ff-3\" width=\"210\" height=\"247\" \/><\/a><\/p>\n<p>Select the Channels sub category, and then drag the assemble RGB component to the main work space. This is how you add components, learn it now as I won&#8217;t delve deeper into component picking.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/09\/ff-4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-449\" title=\"ff-4\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/09\/ff-4.jpg\" alt=\"ff-4\" width=\"203\" height=\"56\" \/><\/a><\/p>\n<p>Now, drag a Integer slider from the components list to the work space. I told you I wouldn&#8217;t help you on this one. Hint, look under Controls subcategory.<\/p>\n<p>Attach it to the <strong>Assemble RGB<\/strong> by dragging from the arrowhead to the connector, it will create a line. Now, click on the IntSlider, and check the checkbox <strong>Use Remapping<\/strong>. Set the Max Value to 255.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/09\/ff-5.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-451\" title=\"ff-5\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/09\/ff-5.jpg\" alt=\"ff-5\" width=\"545\" height=\"169\" \/><\/a><\/p>\n<p>Now click on the small boxes on the lines (the remappers), to set the range for each value. We want this to be <em>a different shade of green<\/em> So we let the green value vary the most, having the Red and Blue values to only vary a little, would look like this with the Foliage shade set to 42.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/09\/ff-6.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-452\" title=\"ff-6\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/09\/ff-6.jpg\" alt=\"ff-6\" width=\"486\" height=\"167\" \/><\/a><\/p>\n<p>Now, we&#8217;re gonna make something more difficult, drag a Chaffs noise module from the components, under Noise, and then attach the output from the Assemble RGB to the Noise connector on the Chaffs. Select the Chaffs, and make the settings I&#8217;ve done, or something similar to it. This will be the basis for our foliage.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/09\/ff-7.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-453\" title=\"ff-7\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/09\/ff-7.jpg\" alt=\"ff-7\" width=\"647\" height=\"424\" \/><\/a><\/p>\n<p>OK, to to see something, just a few more steps today.<\/p>\n<p>Now, drag a slider Component (Controls) to the work space, and connect it to the Scale of the Chaffs.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/09\/ff-8.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-455\" title=\"ff-8\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/09\/ff-8.jpg\" alt=\"ff-8\" width=\"538\" height=\"263\" \/><\/a><\/p>\n<p>Set the remapping values like this, to avoid the size to go way beyond meaningful values for our foliage.<br \/>\n<a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/09\/ff-9.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-454\" title=\"ff-9\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/09\/ff-9.jpg\" alt=\"ff-9\" width=\"303\" height=\"98\" \/><\/a><\/p>\n<p>Now just drag two more components from the component list, a Desaturate and a Gamma component.<\/p>\n<p>Connect the output from the Chaffs to the Desaturate, and the Desaturate to the Gamma, like this.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/09\/ff-10.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-456\" title=\"ff-10\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/09\/ff-10.jpg\" alt=\"ff-10\" width=\"422\" height=\"179\" \/><\/a><\/p>\n<p>Set up the two new components like this:<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/09\/ff-11.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-457\" title=\"ff-11\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/09\/ff-11.jpg\" alt=\"ff-11\" width=\"312\" height=\"84\" \/><\/a><\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/09\/ff-12.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-458\" title=\"ff-12\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/09\/ff-12.jpg\" alt=\"ff-12\" width=\"318\" height=\"111\" \/><\/a><\/p>\n<p>Now, the last step before we can test this.<br \/>\nMake a connection from the Chaffs (our foliage), to the Surface Color on the Result Component, and the output from the Gamma component to the Height of the Result component. Now, you can close the filter editor, and you will be prompted for a name for the filter, let&#8217;s call it <strong>forest path<\/strong>.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/09\/ff-13.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-459\" title=\"ff-13\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/09\/ff-13.jpg\" alt=\"ff-13\" width=\"497\" height=\"450\" \/><\/a><\/p>\n<p>If you now have done everything right, you would have a result looking something like this.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/09\/FF-day-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-460\" title=\"FF-day-1\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/09\/FF-day-1.jpg\" alt=\"FF-day-1\" width=\"600\" height=\"600\" \/><\/a><\/p>\n<p>And that ends the first episode of this little FilterForge tutorial.<\/p>\n<p>We will come back to this filter and add a lot of more features to it.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/?p=467\" target=\"_self\">Next episode here<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I think it is time we talk a little about how you create a texture in FilterForge. You have read about it, probably some of you have downloaded the demo, then what? So I thought, let&#8217;s make a filter, that we can use to create floor tiles with, out door floor tiles. I though that [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,8],"tags":[13,70],"class_list":["post-444","post","type-post","status-publish","format-standard","hentry","category-mapmaking","category-tools-of-the-trade","tag-filterforge","tag-tutorial"],"_links":{"self":[{"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=\/wp\/v2\/posts\/444","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=444"}],"version-history":[{"count":9,"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=\/wp\/v2\/posts\/444\/revisions"}],"predecessor-version":[{"id":7208,"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=\/wp\/v2\/posts\/444\/revisions\/7208"}],"wp:attachment":[{"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=444"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}