{"id":460,"date":"2014-12-28T11:24:20","date_gmt":"2014-12-28T11:24:20","guid":{"rendered":"http:\/\/julius-ihle.de\/?p=460"},"modified":"2018-04-04T08:39:58","modified_gmt":"2018-04-04T08:39:58","slug":"texture-conversion-in-the-gui-for-arnold-prman","status":"publish","type":"post","link":"https:\/\/julius-ihle.de\/?p=460","title":{"rendered":"Texture Conversion in the GUI for Arnold &#038; PRMan"},"content":{"rendered":"<p><a href=\"https:\/\/julius-ihle.de\/?p=460\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-461\" src=\"https:\/\/julius-ihle.de\/wp-content\/uploads\/2014\/12\/tex_gui.jpg\" alt=\"tex_gui\" width=\"800\" height=\"333\" srcset=\"https:\/\/julius-ihle.de\/wp-content\/uploads\/2014\/12\/tex_gui.jpg 1280w, https:\/\/julius-ihle.de\/wp-content\/uploads\/2014\/12\/tex_gui-300x125.jpg 300w, https:\/\/julius-ihle.de\/wp-content\/uploads\/2014\/12\/tex_gui-1024x426.jpg 1024w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p>In the process of trying to streamline things a bit more in my day-to-day workflow I have recently been working on a hand-full of small helper tools. One of them is a small set of scripts that handle the conversion of a selection of files to Arnold &amp; RenderMan&#8217;s native .tx\/.tex files from the filebrowser&#8230; because people like the GUI, right? :)<!--more--><br \/>\nUnfortunately for anyone out there on Windows or OS X they won&#8217;t be of much use I&#8217;m afraid. If you are on Linux and using Gnome or KDE as your Desktop environment (others may work, too) this might come in handy. The file conversion is being handled on a selection of files through the standard right-click context menu:<\/p>\n<p><a href=\"https:\/\/julius-ihle.de\/wp-content\/uploads\/2014\/12\/txmake_gnome_contextmenu_crop2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"  wp-image-472  alignleft\" src=\"https:\/\/julius-ihle.de\/wp-content\/uploads\/2014\/12\/txmake_gnome_contextmenu_crop2.png\" alt=\"\" width=\"275\" height=\"331\" srcset=\"https:\/\/julius-ihle.de\/wp-content\/uploads\/2014\/12\/txmake_gnome_contextmenu_crop2.png 386w, https:\/\/julius-ihle.de\/wp-content\/uploads\/2014\/12\/txmake_gnome_contextmenu_crop2-250x300.png 250w\" sizes=\"auto, (max-width: 275px) 100vw, 275px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/julius-ihle.de\/wp-content\/uploads\/2014\/12\/txmake_service_screenshot_crop2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"  aligncenter wp-image-473 \" src=\"https:\/\/julius-ihle.de\/wp-content\/uploads\/2014\/12\/txmake_service_screenshot_crop2.png\" alt=\"\" width=\"319\" height=\"330\" srcset=\"https:\/\/julius-ihle.de\/wp-content\/uploads\/2014\/12\/txmake_service_screenshot_crop2.png 449w, https:\/\/julius-ihle.de\/wp-content\/uploads\/2014\/12\/txmake_service_screenshot_crop2-290x300.png 290w\" sizes=\"auto, (max-width: 319px) 100vw, 319px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Upon clicking you will be presented with a little pop-up menu that allows you to enter additional options for the conversion if needed. Anything that&#8217;s noted in the -help docs of the respective commands should work in the dialog boxes. Upon specifying your options there&#8217;s time to grab another cup of coffee&#8230; The progress bar will let you know when it&#8217;s done :)<\/p>\n<p><a href=\"https:\/\/julius-ihle.de\/wp-content\/uploads\/2014\/12\/txmake_gnome_arnoldOptions_crop.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-465 size-full\" src=\"https:\/\/julius-ihle.de\/wp-content\/uploads\/2014\/12\/txmake_gnome_arnoldOptions_crop-e1419764694894.png\" alt=\"txmake_gnome_arnoldOptions_crop\" width=\"287\" height=\"150\" \/><\/a><a href=\"https:\/\/julius-ihle.de\/wp-content\/uploads\/2014\/12\/txmake_kde_progress.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-466\" src=\"https:\/\/julius-ihle.de\/wp-content\/uploads\/2014\/12\/txmake_kde_progress.png\" alt=\"txmake_kde_progress\" width=\"310\" height=\"128\" srcset=\"https:\/\/julius-ihle.de\/wp-content\/uploads\/2014\/12\/txmake_kde_progress.png 310w, https:\/\/julius-ihle.de\/wp-content\/uploads\/2014\/12\/txmake_kde_progress-300x124.png 300w\" sizes=\"auto, (max-width: 310px) 100vw, 310px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>By default it is assumed that the bin folders of Arnold and RPS are part of your $PATH environment variable, but if you need to change it the code should be fairly easy to read (although it looks a bit messy because it&#8217;s 1 line :) ) and can be modified to suit your needs. The dialogs are using KDialog and zenity (for KDE and Gnome respectively), but those should come by default depending on what desktop you are using.<\/p>\n<p>To use them on KDE put the attached .desktop files in ~\/.kde\/share\/kde4\/services\/ or \/usr\/share\/kde4\/services\/ (for all users).<br \/>\nFor Gnome you need to install nautilus-actions and import the attached .schemas files. Once that&#8217;s done just restart nautilus\/dolphin or log out and log back in again.<\/p>\n<p>Tested on my laptop with CentOS 7 (KDE 4.10.5) and my trusty old CentOS 5 testbox (Gnome 2.16.0). <del>Unfortunately I don&#8217;t have my main workstation around to test it on CentOS 6, but it should work there as well.<\/del><br \/>\n\/\/Edit: Now also tested &amp; confirmed working on CentOS 6.<\/p>\n<p><span style=\"text-decoration: underline;\"><a href=\"http:\/\/53035544.de.strato-hosting.eu\/data\/Arnold_MakeTx.desktop\" target=\"_blank\">Arnold .tx Converter for KDE<\/a><\/span><br \/>\n<span style=\"text-decoration: underline;\"> <a href=\"http:\/\/53035544.de.strato-hosting.eu\/data\/Arnold_MakeTx_Gnome.schemas\" target=\"_blank\"> Arnold .tx Converter for Gnome<\/a><\/span><br \/>\n<span style=\"text-decoration: underline;\"> <a href=\"http:\/\/53035544.de.strato-hosting.eu\/data\/PRMan_txmake.desktop\" target=\"_blank\"> PRMan .tex Converter for KDE<\/a><\/span><br \/>\n<span style=\"text-decoration: underline;\"> <a href=\"http:\/\/53035544.de.strato-hosting.eu\/data\/PRMan_TXMake_Gnome.schemas\" target=\"_blank\"> PRMan .tex Converter for Gnome<\/a><\/span><\/p>\n<p>&nbsp;<\/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>In the process of trying to streamline things a bit more in my day-to-day workflow I have recently been working on a hand-full of small helper tools. One of them is a small set of scripts that handle the conversion of a selection of files to Arnold &amp; RenderMan&#8217;s native .tx\/.tex files from the filebrowser&#8230; [&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_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[11,54,18,22,19,25,17,14,26,6,13,23,24],"class_list":["post-460","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-arnold","tag-bash","tag-gnome","tag-gui","tag-kde","tag-lighting","tag-linux","tag-maketx","tag-rendering","tag-renderman","tag-txmake","tag-ui","tag-vfx"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3MXK6-7q","jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/julius-ihle.de\/index.php?rest_route=\/wp\/v2\/posts\/460","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=460"}],"version-history":[{"count":19,"href":"https:\/\/julius-ihle.de\/index.php?rest_route=\/wp\/v2\/posts\/460\/revisions"}],"predecessor-version":[{"id":2598,"href":"https:\/\/julius-ihle.de\/index.php?rest_route=\/wp\/v2\/posts\/460\/revisions\/2598"}],"wp:attachment":[{"href":"https:\/\/julius-ihle.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/julius-ihle.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=460"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/julius-ihle.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}