{"id":13663,"date":"2020-07-12T00:20:30","date_gmt":"2020-07-12T00:20:30","guid":{"rendered":"https:\/\/www.jurn.link\/dazposer\/?p=13663"},"modified":"2020-07-12T00:20:30","modified_gmt":"2020-07-12T00:20:30","slug":"skin-and-eyes-only-render-from-poser","status":"publish","type":"post","link":"https:\/\/jurn.link\/dazposer\/index.php\/2020\/07\/12\/skin-and-eyes-only-render-from-poser\/","title":{"rendered":"Skin and eyes-only render from Poser"},"content":{"rendered":"<p>Following on from my recent <a href=\"https:\/\/www.jurn.link\/dazposer\/?p=13644\">&#8220;How to extract skin and eyes for colour blending&#8221;<\/a> post, I think I&#8217;ve now successfully cracked the &#8216;skin and eyes-only render&#8217; problem for Poser 11.  The extreme use-case is: how is your graphics software going to select just the skin on this render, by colour, without complex fiddling around in Poser with setting Toon_IDs for each material, setting up a Firefly render and masking?<\/p>\n<p><a href=\"https:\/\/www.jurn.link\/dazposer\/oldimages\/skintones.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.jurn.link\/dazposer\/oldimages\/skintones.jpg\" alt=\"\" width=\"305\" height=\"759\" class=\"alignnone size-full wp-image-13664\" \/><\/a><\/p>\n<p>Instead of trying to render just the skin from Poser, which does not seem possible in a form partly masked by clothes and hair, there&#8217;s another option. I instead have Poser render everything <strong>except<\/strong> the skin as black or dark grey.  <\/p>\n<p><a href=\"https:\/\/www.jurn.link\/dazposer\/oldimages\/kin-for-mask.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.jurn.link\/dazposer\/oldimages\/kin-for-mask.jpg\" alt=\"\" width=\"200\" height=\"509\" class=\"alignnone size-full wp-image-13668\" \/><\/a><\/p>\n<p>To do this my Python script scampers through the Poser scene in a few seconds and looks for hair, props, conforming clothing. For anything that isn&#8217;t the figure itself. For what it finds, the  script sets the diffuse colour nodes to black. A preview render is then made. As this is obviously a destructive script, after running the script the user is prompted to revert the scene to the last saved state.<\/p>\n<p>The resulting real-time Preview render then has skin that can be easily selected and masked in a graphics programme, even if in the original scene the figure had red hair and was wearing a red outfit. Which would have confused the heck out of the software&#8217;s skintone selection process.<\/p>\n<p>In PhotoLine (which I now prefer to Photoshop) an Action can automate the &#8216;Channel to Selection&#8217; process and in a microsecond it has whisked out the skintones and eyewhites to their own layer&#8230;<\/p>\n<p><a href=\"https:\/\/www.jurn.link\/dazposer\/oldimages\/skintonesextracted.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.jurn.link\/dazposer\/oldimages\/skintonesextracted.jpg\" alt=\"\" width=\"660\" height=\"760\" class=\"alignnone size-full wp-image-13666\" \/><\/a><\/p>\n<p>Her eyes have also been selected, but that was because they were a soft skin-like hazel colour to match the outfit.  This layer can then be used to restore colour to the skin after a render has been run through several filters and plugins to make it look hand-painted.<\/p>\n<p>Photo.Net can also extract the skintones, using the <a href=\"https:\/\/www.jurn.link\/dazposer\/?p=13644\">Color to Alpha v2.2 plugin<\/a>.  Which is probably better if you need fine control over the eye-white selection. It&#8217;s very likely Photoshop also has such selection capabilities in its newer subscription version, though readers will have to discover those elsewhere.  <\/p>\n<p>Your (only) choice for a third-party Photoshop plugin appears to be Imagenomic Portraiture 3, which has automask of skintones, but which doesn&#8217;t return a selection mask (it all happens inside the plugin). It also fails on dramatically-lit pictures such as this&#8230;<\/p>\n<p><a href=\"https:\/\/www.jurn.link\/dazposer\/oldimages\/example.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.jurn.link\/dazposer\/oldimages\/example.jpg\" alt=\"\" width=\"566\" height=\"639\" class=\"alignnone size-full wp-image-13725\" \/><\/a><\/p>\n<p>The advantage of a scripted Poser render is that even if you have a dramatically lit &#8216;sunset forest&#8217; scene like this, you&#8217;re still going to get a relatively easy mask.  Because you&#8217;d just tweak the colour in the script from black to bright green, and render against a bright green plain background (hide all other elements).  The masking out of the bright green should then be very easy, leaving only the skin and eyes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Following on from my recent &#8220;How to extract skin and eyes for colour blending&#8221; post, I think I&#8217;ve now successfully cracked the &#8216;skin and eyes-only render&#8217; problem for Poser 11. The extreme use-case is: how is your graphics software going to select just the skin on this render, by colour, without complex fiddling around in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,3,12],"tags":[],"class_list":["post-13663","post","type-post","status-publish","format-standard","hentry","category-natural-media-emulation","category-poser","category-tutorials"],"_links":{"self":[{"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/posts\/13663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/comments?post=13663"}],"version-history":[{"count":0,"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/posts\/13663\/revisions"}],"wp:attachment":[{"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/media?parent=13663"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/categories?post=13663"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/tags?post=13663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}