{"id":12668,"date":"2019-12-21T17:09:41","date_gmt":"2019-12-21T17:09:41","guid":{"rendered":"https:\/\/www.jurn.link\/dazposer\/?p=12668"},"modified":"2019-12-21T17:09:41","modified_gmt":"2019-12-21T17:09:41","slug":"a-mine-of-poserpython-source-code-in-the-public-domain","status":"publish","type":"post","link":"https:\/\/jurn.link\/dazposer\/index.php\/2019\/12\/21\/a-mine-of-poserpython-source-code-in-the-public-domain\/","title":{"rendered":"A mine of PoserPython source code in the public domain"},"content":{"rendered":"<p><a href=\"https:\/\/www.jurn.link\/dazposer\/oldimages\/glowworm1.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.jurn.link\/dazposer\/oldimages\/glowworm1.jpg\" alt=\"\" width=\"231\" height=\"300\" class=\"alignnone size-medium wp-image-12526\" \/><\/a><\/p>\n<p>Source code for the <a href=\"https:\/\/code.google.com\/archive\/p\/pw-glowworm-source\/source\/default\/source\">GlowWorm, a PoserPython multipass rendering plugin<\/a>.  Highly advanced, but changes in Poser Pro both overtook many of its functions and also fried its code, though I find it can still work on an install of Poser 6 with the SR3 patch applied.  Possibly also Poser 7 as &#8220;GlowWorm has been updated for Poser 7 and Poser 6 SR3&#8221; and presumably the public domain code was the last version.<\/p>\n<p>I find it was kindly <a href=\"https:\/\/code.google.com\/archive\/p\/pw-glowworm-source\/source\/default\/source\">placed under a full open source licence<\/a> and released to the world by its maker, after it became defunct.  It might be fixed up and made to work again in a modern version of Poser, but the main value today seems to be as a PoserPython code-mine of highly advanced code in its many scripts and sub-scripts.  Sadly it&#8217;s not commented, so anyone tackling it will need to be an advanced Python author. <\/p>\n<p>Equally sadly it lacks the manual or a Help button. But here are some basics and a guide to how to install&#8230;<\/p>\n<p><a href=\"https:\/\/www.jurn.link\/dazposer\/oldimages\/gw-dazstore.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.jurn.link\/dazposer\/oldimages\/gw-dazstore.jpg\" alt=\"\" width=\"300\" height=\"258\" class=\"alignnone size-medium wp-image-15189\" \/><\/a><\/p>\n<p>To install and get running on Poser 6 SR3, first install the <a href=\"https:\/\/www.jurn.link\/dazposer\/?p=15180\">Poser 6 SR3 patch<\/a> or ensure you have it already. Unzip the source code zip. Find the <em>\\runtime<\/em> folder under <em>\\trunk<\/em> and copy it.  Paste-merge this into <em>C:\\Program Files (x86)\\Curious Labs\\Poser 6<\/em> such that it merges with the main runtime.  Your GlowWorm can now be run from: <em>C:\\Program Files (x86)\\Curious Labs\\Poser 6\\Runtime\\Python\\Poseworks\\GlowWorm<\/em> and the <em>GlowWorm.py<\/em> script launcher.<\/p>\n<p>Poser 6 may not work with a modern installation of OpenGL, and you will have to set Preview to the fallback SreedD and then set this as the &#8220;Preferred State&#8221;. Good luck!<\/p>\n<hr>\n<p>Even for those who can&#8217;t run it, the code is interesting. For instance, in its gwrRender.py we appear to have Python getting a list of Poser&#8217;s Sketch render presets by name, and selecting one to load to Glowworm&#8217;s default settings as presented to the user&#8230;  <\/p>\n<p><a href=\"https:\/\/www.jurn.link\/dazposer\/oldimages\/sketchpreset.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.jurn.link\/dazposer\/oldimages\/sketchpreset.jpg\" alt=\"\" width=\"580\" height=\"915\" class=\"alignnone size-full wp-image-12669\" \/><\/a><\/p>\n<p>As you can see, it seems far more advanced that the crude &#8220;LoadPreset&#8221; function in the current PoserPython methods PDF, a function which anyway appears only to work with Firefly rendering, not with Sketch&#8230;<\/p>\n<p><a href=\"https:\/\/www.jurn.link\/dazposer\/oldimages\/load.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.jurn.link\/dazposer\/oldimages\/load.jpg\" alt=\"\" width=\"431\" height=\"241\" class=\"alignnone size-full wp-image-12670\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Source code for the GlowWorm, a PoserPython multipass rendering plugin. Highly advanced, but changes in Poser Pro both overtook many of its functions and also fried its code, though I find it can still work on an install of Poser 6 with the SR3 patch applied. Possibly also Poser 7 as &#8220;GlowWorm has been updated [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,9,3],"tags":[],"class_list":["post-12668","post","type-post","status-publish","format-standard","hentry","category-automation","category-freebies","category-poser"],"_links":{"self":[{"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/posts\/12668","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=12668"}],"version-history":[{"count":0,"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/posts\/12668\/revisions"}],"wp:attachment":[{"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/media?parent=12668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/categories?post=12668"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/tags?post=12668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}