{"id":2554,"date":"2018-03-21T22:30:24","date_gmt":"2018-03-21T22:30:24","guid":{"rendered":"http:\/\/julius-ihle.de\/?p=2554"},"modified":"2018-07-21T19:42:33","modified_gmt":"2018-07-21T19:42:33","slug":"katana-interactive-renderpanel","status":"publish","type":"post","link":"https:\/\/julius-ihle.de\/?p=2554","title":{"rendered":"Katana Interactive RenderPanel"},"content":{"rendered":"<p><a href=\"https:\/\/julius-ihle.de\/?p=2554\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-2561\" src=\"https:\/\/julius-ihle.de\/wp-content\/uploads\/2018\/03\/katirp1.png\" alt=\"katirp\" width=\"1280\" height=\"533\" srcset=\"https:\/\/julius-ihle.de\/wp-content\/uploads\/2018\/03\/katirp1.png 1280w, https:\/\/julius-ihle.de\/wp-content\/uploads\/2018\/03\/katirp1-300x125.png 300w, https:\/\/julius-ihle.de\/wp-content\/uploads\/2018\/03\/katirp1-1024x426.png 1024w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/a>Working in larger Katana scripts I always find it a bit cumbersome to switch between Nodes that I&#8217;d like to view and\/or launch a Render from. I recently started getting my hands dirty with PySide\/PyQt and I wanted to put it to use. My goal was to build a simple dynamic UI that would allow the user to quickly switch the view flag of a selection of Nodes in Katana and trigger a render.<\/p>\n<p><!--more--><\/p>\n<p>If you have a lot of different passes in your Katana script it can become a bit draining to constantly switch your view flag. The separate Viewer Node in Nuke for example makes it easy to quickly switch between outputs by pressing 1,2,3,&#8230;9 as it can accept multiple inputs. In Katana you have to navigate through your script to the desired node to change the view-flag or launch a render.<\/p>\n<p>Being overly lazy I hacked together this simple UI which lets&#8217;s you quickly change the view flag and launch live <em>[L]<\/em> and preview<em> [P]<\/em> renders. It&#8217;s not very aesthetic but it get&#8217;s the job done:<\/p>\n<p><a href=\"https:\/\/julius-ihle.de\/wp-content\/uploads\/2018\/03\/katirpbase1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-2559\" src=\"https:\/\/julius-ihle.de\/wp-content\/uploads\/2018\/03\/katirpbase1.png\" alt=\"katirpbase\" width=\"404\" height=\"474\" srcset=\"https:\/\/julius-ihle.de\/wp-content\/uploads\/2018\/03\/katirpbase1.png 404w, https:\/\/julius-ihle.de\/wp-content\/uploads\/2018\/03\/katirpbase1-256x300.png 256w\" sizes=\"auto, (max-width: 404px) 100vw, 404px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>To add the buttons to the UI you can set it to get nodes by Type, Name or based on your current selection in the Nodegraph. It should be worth noting that the text input is CaseSensitve. If you don&#8217;t have the <em>add<\/em> option checked it will replace your current set of buttons.<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/player.vimeo.com\/video\/261218602\" width=\"640\" height=\"357\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p><a href=\"https:\/\/vimeo.com\/261218602\">Katana Interactive RenderPanel<\/a> from <a href=\"https:\/\/vimeo.com\/julsvfx\">Julius Ihle<\/a> on <a href=\"https:\/\/vimeo.com\">Vimeo<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<p>There are a lot of things there that&#8217;d be nice to have&#8230; A simple option to delete button groups, save bookmarks, etc&#8230; Maybe&#8230; Some day&#8230; :)<\/p>\n<p>&nbsp;<\/p>\n<p>If you&#8217;re feeling adventurous you can give it a try <a title=\"DOWNLOAD\" href=\"http:\/\/53035544.de.strato-hosting.eu\/data\/InteractiveRenderPanel.pyc\" target=\"_blank\">HERE<\/a>.<br \/>\nTo use it put the .pyc file in a sub-directory called <em>Tabs<\/em> that&#8217;s part of your <em>$KATANA_RESOURCES<\/em>.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<br \/>\n<span style=\"color: #808080;\">_________________________________________________<\/span><br \/>\n<span style=\"color: #808080;\"><span style=\"font-size: small;\"> If this post has helped you in any way you can express your gratefulness by using the <em>Donate\u00a0<\/em>Button below to buy me a coffee! :)<\/span><\/span><br \/>\n<a href=\"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&amp;hosted_button_id=VH5RW3YDWDJSQ\" target=\"_blank\" rel=\"nofollow\"><img decoding=\"async\" src=\"https:\/\/www.paypal.com\/en_US\/i\/btn\/x-click-but21.gif\" alt=\"\" \/><\/a><\/p>\n<div class=\"moz-text-html\" lang=\"x-unicode\">\n<div><span style=\"font-size: small;\"><span style=\"color: #808080;\">3M5xNSV7g2NzVpHMqzYKhgoKJZ8CWa644m<\/span><\/span><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-2576\" src=\"https:\/\/julius-ihle.de\/wp-content\/uploads\/2018\/03\/bc_ldgr_qrcode.png\" alt=\"bc_ldgr_qrcode\" width=\"128\" height=\"128\" \/><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Working in larger Katana scripts I always find it a bit cumbersome to switch between Nodes that I&#8217;d like to view and\/or launch a Render from. I recently started getting my hands dirty with PySide\/PyQt and I wanted to put it to use. My goal was to build a simple dynamic UI that would allow [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2554","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3MXK6-Fc","jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/julius-ihle.de\/index.php?rest_route=\/wp\/v2\/posts\/2554","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/julius-ihle.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/julius-ihle.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/julius-ihle.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/julius-ihle.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2554"}],"version-history":[{"count":16,"href":"https:\/\/julius-ihle.de\/index.php?rest_route=\/wp\/v2\/posts\/2554\/revisions"}],"predecessor-version":[{"id":2630,"href":"https:\/\/julius-ihle.de\/index.php?rest_route=\/wp\/v2\/posts\/2554\/revisions\/2630"}],"wp:attachment":[{"href":"https:\/\/julius-ihle.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2554"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/julius-ihle.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2554"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/julius-ihle.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2554"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}