{"id":2915,"date":"2010-02-20T07:00:41","date_gmt":"2010-02-20T05:00:41","guid":{"rendered":"http:\/\/4eyes.code66.se\/?p=2915"},"modified":"2010-02-20T10:18:07","modified_gmt":"2010-02-20T08:18:07","slug":"the-making-of-a-floor","status":"publish","type":"post","link":"http:\/\/4eyes.code66.se\/?p=2915","title":{"rendered":"The making of a roof"},"content":{"rendered":"<p>So, I&#8217;m done with the tavern for a while, hopefully, it will soon be up on <a href=\"http:\/\/www.creativegremlins.com\/\" target=\"_blank\">Creative Gremlins<\/a> for sale.<\/p>\n<p>Today, I&#8217;m gonna make some roof for the preset thread at the Dundjinni forum, as I will need more roofs soon, I won&#8217;t say why, but I&#8217;m working on &#8220;<em><strong>The heart of gods &#8211; part three<\/strong><\/em>&#8221; now, gonna play it rather soon, so I will be making stuff for that one. Will not show to much here, to spoil the players.<\/p>\n<p><!--more-->So, let&#8217;s start up <a href=\"http:\/\/www.cheetah3d.com\/\" target=\"_blank\">Cheetah3D<\/a>, and make us a cube, stretch it, and rotate it 45 degrees.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/02\/rf00.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2926\" title=\"rf00\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/02\/rf00.jpg\" alt=\"\" width=\"350\" height=\"449\" \/><\/a><\/p>\n<p>Now, copy that, make it smaller, and rotate it 90 degrees along the ground plane, and move it a little to one side. I know this is weird, but look what you just did.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/02\/rf01.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2927\" title=\"rf01\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/02\/rf01.jpg\" alt=\"\" width=\"450\" height=\"274\" \/><\/a><\/p>\n<p>A nice top down view of a roof.<\/p>\n<p>So, today I&#8217;m gonna make some clay tiles for the ridge.\u00a0We create a cylinder, and taper it a little.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2925\" title=\"rf02\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/02\/rf02.jpg\" alt=\"\" width=\"281\" height=\"237\" \/><\/p>\n<p>Now, we crate a torus ring, and place it to the larger end of cylinder.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/02\/rf03.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2924\" title=\"rf03\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/02\/rf03.jpg\" alt=\"\" width=\"343\" height=\"176\" \/><\/a><\/p>\n<p>We merge the two objects using a boolean operation, to get one object.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/02\/rf04.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2923\" title=\"rf04\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/02\/rf04.jpg\" alt=\"\" width=\"301\" height=\"186\" \/><\/a><\/p>\n<p>Now, we need a texture to go with this, so I start up <a href=\"http:\/\/www.filterforge.com\/?affiliateid=200100725\" target=\"_blank\">FilterForge<\/a>, and rapidly create a weathers burnt clay texture, hang on.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/02\/rf05.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2922\" title=\"rf05\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/02\/rf05.jpg\" alt=\"\" width=\"450\" height=\"384\" \/><\/a><\/p>\n<p>First I crates a <strong>Cells<\/strong> component, and set it to rather small size, and with two orange\/brownish colors, to get a color that is not so constant or artificial looking.<\/p>\n<p>Then I create a <strong>Perlin Noise<\/strong>, (one of the best and fastest noises, very versatile component). I connect a\u00a0<strong>Wave <\/strong>component to the <em>Profile<\/em> input of the <strong>Perlin Noise<\/strong>, to change the shape of the noise. This will be our surface.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/02\/rf06.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2921\" title=\"rf06\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/02\/rf06.jpg\" alt=\"\" width=\"450\" height=\"401\" \/><\/a><\/p>\n<p>Now, I do the same setup, but using<strong> <\/strong>a <strong>Stones<\/strong> component as input to the <em>Profile<\/em> of the <strong>Perlin Noise<\/strong>. all this is to create the height map for the output. We connect to the <strong>Result<\/strong> component, and save it.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/02\/rf07.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2920\" title=\"rf07\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/02\/rf07.jpg\" alt=\"\" width=\"350\" height=\"350\" \/><\/a><\/p>\n<p>This is the texture map, looks weathered and nice, as I used the <em>Ambient Occlusion<\/em> when I rendered it. It takes a while but the result is ten times better, at least.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/02\/rf08.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2919\" title=\"rf08\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/02\/rf08.jpg\" alt=\"\" width=\"350\" height=\"350\" \/><\/a><\/p>\n<p>And this is the bump map, that the render program, in this case Cheetah3D, will use to render bumps in the surface.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/02\/rf09.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2918\" title=\"rf09\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/02\/rf09.jpg\" alt=\"\" width=\"214\" height=\"214\" \/><\/a><\/p>\n<p>And here is one piece, ready to be placed on the ridge.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/02\/rf10.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2917\" title=\"rf10\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/02\/rf10.jpg\" alt=\"\" width=\"450\" height=\"320\" \/><\/a><\/p>\n<p>And here is a roof using it (<em>this one rendered with the roof window hidden)<\/em>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So, I&#8217;m done with the tavern for a while, hopefully, it will soon be up on Creative Gremlins for sale. Today, I&#8217;m gonna make some roof for the preset thread at the Dundjinni forum, as I will need more roofs soon, I won&#8217;t say why, but I&#8217;m working on &#8220;The heart of gods &#8211; part [&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":[12,13],"class_list":["post-2915","post","type-post","status-publish","format-standard","hentry","category-mapmaking","category-tools-of-the-trade","tag-cheetah3d","tag-filterforge"],"_links":{"self":[{"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=\/wp\/v2\/posts\/2915","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=2915"}],"version-history":[{"count":4,"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=\/wp\/v2\/posts\/2915\/revisions"}],"predecessor-version":[{"id":2980,"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=\/wp\/v2\/posts\/2915\/revisions\/2980"}],"wp:attachment":[{"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2915"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2915"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}