{"id":1487,"date":"2009-11-21T11:26:24","date_gmt":"2009-11-21T09:26:24","guid":{"rendered":"http:\/\/4eyes.code66.se\/?p=1487"},"modified":"2009-11-21T11:26:24","modified_gmt":"2009-11-21T09:26:24","slug":"a-new-project-firewood-pieces","status":"publish","type":"post","link":"http:\/\/4eyes.code66.se\/?p=1487","title":{"rendered":"A new project &#8211; firewood pieces"},"content":{"rendered":"<p>I&#8217;ve found that I really miss some good firewood pieces that we can stack beside the fireplace, in the woodshed, or anywhere else. We will create that, doing everything from scratch, including making textures, 3D modeling and putting it all together.<\/p>\n<p><!--more--><\/p>\n<p>What I aim for, is making something that looks like this:<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.vedmagasinet.se\/images\/ved02.jpg\" alt=\"\" width=\"300\" height=\"300\" \/><\/p>\n<p>We start by making a basic texture for the wood. Lets start <a href=\"http:\/\/www.filterforge.com\/?affiliateid=200100725\" target=\"_blank\">FilterForge<\/a>, and make a wood texture for chopped wood.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/11\/fw01.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1497\" title=\"fw01\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/11\/fw01.jpg\" alt=\"fw01\" width=\"234\" height=\"240\" \/><\/a><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/11\/fw02.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1496\" title=\"fw02\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/11\/fw02.jpg\" alt=\"fw02\" width=\"310\" height=\"335\" \/><\/a><\/p>\n<p>We start by adding a <strong>Noise Gradient<\/strong>, that we set up like this. This will give us a good basic pretty random wood like color range.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/11\/fw03.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1495\" title=\"fw03\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/11\/fw03.jpg\" alt=\"fw03\" width=\"244\" height=\"272\" \/><\/a><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/11\/fw04.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1494\" title=\"fw04\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/11\/fw04.jpg\" alt=\"fw04\" width=\"318\" height=\"409\" \/><\/a><\/p>\n<p>We then create a <strong>Chaffs<\/strong> noise, that we configure like this. This will serve as you wood structure both for bump mapping and structure.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/11\/fw05.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1493\" title=\"fw05\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/11\/fw05.jpg\" alt=\"fw05\" width=\"236\" height=\"250\" \/><\/a><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/11\/fw06.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1492\" title=\"fw06\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/11\/fw06.jpg\" alt=\"fw06\" width=\"312\" height=\"355\" \/><\/a><\/p>\n<p>Then, we add a <strong>Wave<\/strong> generator, that we configure like this, and connect to the <em>Profile<\/em> input of the <strong>Chaffs<\/strong> noise control. This is to be able to control how the chaff noise will look, to make it look like the surface of firewood.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/11\/fw07.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1491\" title=\"fw07\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/11\/fw07.jpg\" alt=\"fw07\" width=\"244\" height=\"183\" \/><\/a><\/p>\n<p>Now to one of the neatest filter modules in FilterForge, the <strong>Elevation Gradient<\/strong>. I use that a lot for making stone and cliff textures, but it also works very well for making different kind of wood textures. Connect the output from the <strong>Noise Gradient<\/strong> to the <em>Gradient<\/em> input, and the output from the <strong>Chaffs Noise<\/strong> to the <em>Elevation<\/em> input. And we got a surface structure that resembled the surface on firewood.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/11\/fw08.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1490\" title=\"fw08\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/11\/fw08.jpg\" alt=\"fw08\" width=\"227\" height=\"103\" \/><\/a><\/p>\n<p>Now we add a little control to it all, by adding a slider and connecting it to the <em>L Range<\/em> input of the <strong>Noise Gradient<\/strong>. This will enable us to set how much variation the wood will have, but within the decided color range. As you can see, a newly connected slider always gets the name if the input it controls, but you can set the name to something better if you like.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/11\/fw09.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1489\" title=\"fw09\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/11\/fw09.jpg\" alt=\"fw09\" width=\"258\" height=\"216\" \/><\/a><\/p>\n<p>So, now, set the <strong>Result<\/strong> component to a <em>Surface Control<\/em>, not a <em>Simple Filter<\/em>, as we want to utilize the height map for this.<br \/>\nConnect the output from the <strong>Elevation Gradient<\/strong> to the <em>Surface Color <\/em>input, and the output from the <strong>Chaffs Noise <\/strong>to the <em>Height<\/em> input, and we&#8217;re ready.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/11\/fw10.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1500\" title=\"fw10\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/11\/fw10.jpg\" alt=\"fw10\" width=\"300\" height=\"300\" \/><\/a><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/11\/fw11.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1499\" title=\"fw11\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2009\/11\/fw11.jpg\" alt=\"fw11\" width=\"300\" height=\"300\" \/><\/a><\/p>\n<p>These are the texture map and the height map, that we&#8217;re gonna use. These are small, just 300&#215;300, but we will use then in 1024&#215;1024 in the modeling application later on, but we are not yet there.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve found that I really miss some good firewood pieces that we can stack beside the fireplace, in the woodshed, or anywhere else. We will create that, doing everything from scratch, including making textures, 3D modeling and putting it all together.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[13],"class_list":["post-1487","post","type-post","status-publish","format-standard","hentry","category-tools-of-the-trade","tag-filterforge"],"_links":{"self":[{"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=\/wp\/v2\/posts\/1487","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=1487"}],"version-history":[{"count":5,"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=\/wp\/v2\/posts\/1487\/revisions"}],"predecessor-version":[{"id":1590,"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=\/wp\/v2\/posts\/1487\/revisions\/1590"}],"wp:attachment":[{"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1487"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1487"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}