{"id":6025,"date":"2010-12-11T07:00:51","date_gmt":"2010-12-11T05:00:51","guid":{"rendered":"http:\/\/4eyes.code66.se\/?p=6025"},"modified":"2010-12-03T12:54:52","modified_gmt":"2010-12-03T10:54:52","slug":"the-art-of-photorealistic-rendering","status":"publish","type":"post","link":"http:\/\/4eyes.code66.se\/?p=6025","title":{"rendered":"The art of photorealistic rendering"},"content":{"rendered":"<p>I&#8217;ve been playing with a scene for the upcoming adventure <em>Wicked Times: Bratwurst und Sauerkraut<\/em>, and I needed some Germans walking through a piece of rubbled town. Using some of the cool props and scripts I have for <a href=\"http:\/\/www.daz3d.com\/i\/software\/daz_studio3?_m=d\" target=\"_blank\">DAZ Studio 3<\/a>, I made the scene, but I then needed it to look realistic, like a photo, and here is the long way there.<\/p>\n<p><!--more-->First, I quickly rendered the scene without much though of lights used, just a weak sky light.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/12\/geren01.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6034\" title=\"geren01\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/12\/geren01.jpg\" alt=\"\" width=\"500\" height=\"281\" \/><\/a><\/p>\n<p>It looks pretty OK, specially if the goal was to make it a black and white old photo. Now I played with the different light I have. This one is rendered using Light Dome Pro 2 and a morning daylight, look much better.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/12\/geren02.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6033\" title=\"geren02\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/12\/geren02.jpg\" alt=\"\" width=\"500\" height=\"281\" \/><\/a><\/p>\n<p>Now, a quick fast render using Ah&#8217;s Global Light and HDRI setting, as you can see the picture is rather rough and grainy, and no shadows either.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/12\/geren03.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6032\" title=\"geren03\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/12\/geren03.jpg\" alt=\"\" width=\"500\" height=\"281\" \/><\/a><\/p>\n<p>This one is done using the Uberenvironment light and GI (Global Illumination). A good night image, as the troop is walking towards the light.Too dark for my purposes though.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/12\/geren04.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6031\" title=\"geren04\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/12\/geren04.jpg\" alt=\"\" width=\"500\" height=\"281\" \/><\/a><\/p>\n<p>So, using LightDome Pro 2 and full settings for the render quality, I get this, lack of shadows but look pretty damn good.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/12\/geren05.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6030\" title=\"geren05\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/12\/geren05.jpg\" alt=\"\" width=\"500\" height=\"281\" \/><\/a><\/p>\n<p>Using the Ah&#8217;s lights with full quality I get this very nice looking result.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/12\/geren06.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6029\" title=\"geren06\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/12\/geren06.jpg\" alt=\"\" width=\"500\" height=\"281\" \/><\/a><\/p>\n<p>Now, I decided to go all in, and started up the render farm of <a href=\"http:\/\/www.luxrender.net\/\" target=\"_blank\">LuxRenders<\/a> as I have a module for DAZ Studio 3, Reality, that can export the scene and render that using LuxRender. Using about 18 cores (se<em>tting the render server not to use all threads on all machines<\/em>) This render took only 8 hours, compared to a maximum time of 10 minutes for the highest quality from the other renders. The LuxRender really tries to simulate real lights and real, sharp shadows.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/12\/geren07.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6028\" title=\"geren07\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/12\/geren07.jpg\" alt=\"\" width=\"500\" height=\"281\" \/><\/a><\/p>\n<p>But, what will happen if I add yet another level to this, multipass, or blending two or more images together, will it be even better? This is the technique use by the iPhone 4 when it takes photos, called HDR.<\/p>\n<p>I first took three images, the fast grainy Ah render, the dark GI render and the final Light Dome Pro render, using <a href=\"http:\/\/www.omnigroup.com\/applications\/omnigraffle\/\" target=\"_blank\">OmniGraffle<\/a> to blend them together, I got this result. It looks even better.<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/12\/geren08.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6027\" title=\"geren08\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/12\/geren08.jpg\" alt=\"\" width=\"500\" height=\"281\" \/><\/a><\/p>\n<p>Now, the icing on the cake, blending the high quality LuxRender already photorealistic result with the AH high quality render? Would this be the best of the best?<\/p>\n<p><a href=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/12\/geren09.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6026\" title=\"geren09\" src=\"http:\/\/4eyes.code66.se\/wp-content\/uploads\/2010\/12\/geren09.jpg\" alt=\"\" width=\"500\" height=\"281\" \/><\/a><\/p>\n<p>Just look at this, is it a photo taken during the second world war with a high quality camera or is it just a computer generated image? What can we learn from this? That multipassing is great and that a photo no longer can be proof of anything.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been playing with a scene for the upcoming adventure Wicked Times: Bratwurst und Sauerkraut, and I needed some Germans walking through a piece of rubbled town. Using some of the cool props and scripts I have for DAZ Studio 3, I made the scene, but I then needed it to look realistic, like a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,8],"tags":[41,45,10],"class_list":["post-6025","post","type-post","status-publish","format-standard","hentry","category-adventure_creation","category-tools-of-the-trade","tag-daz-studio","tag-luxrender","tag-omnigraffle"],"_links":{"self":[{"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=\/wp\/v2\/posts\/6025","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=6025"}],"version-history":[{"count":2,"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=\/wp\/v2\/posts\/6025\/revisions"}],"predecessor-version":[{"id":6036,"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=\/wp\/v2\/posts\/6025\/revisions\/6036"}],"wp:attachment":[{"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6025"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6025"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4eyes.code66.se\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6025"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}