{"id":843,"date":"2015-03-29T11:44:33","date_gmt":"2015-03-29T18:44:33","guid":{"rendered":"http:\/\/www.imaginary-institute.com\/blog\/?p=843"},"modified":"2015-03-29T11:57:53","modified_gmt":"2015-03-29T18:57:53","slug":"setting-up-renderman-on-os-x","status":"publish","type":"post","link":"https:\/\/www.imaginary-institute.com\/blog\/2015\/03\/29\/setting-up-renderman-on-os-x\/","title":{"rendered":"Setting Up RenderMan on OS X"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-medium wp-image-845\" src=\"http:\/\/www.imaginary-institute.com\/blog\/wp-content\/uploads\/2015\/03\/prman-sheep-300x177.jpg\" alt=\"prman-sheep\" width=\"300\" height=\"177\" srcset=\"https:\/\/www.imaginary-institute.com\/blog\/wp-content\/uploads\/2015\/03\/prman-sheep-300x177.jpg 300w, https:\/\/www.imaginary-institute.com\/blog\/wp-content\/uploads\/2015\/03\/prman-sheep-624x369.jpg 624w, https:\/\/www.imaginary-institute.com\/blog\/wp-content\/uploads\/2015\/03\/prman-sheep.jpg 1019w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/>Pixar has made their <a href=\"http:\/\/renderman.pixar.com\/view\/non-commercial-renderman\" target=\"_blank\">RenderMan<\/a> product free for non-commercial use! Huzzah! This is great news for anyone who likes to mess around with shaders and shapes.<\/p>\n<p>If you&#8217;re not using Maya or Kantana, then you need to run RenderMan from the command line. Which is fine, but I found that there were a few hoops I had to jump through to get it turn on my Mac running OS X 10 (Yosemite). Here&#8217;s what I did.<\/p>\n<p><!--more--><\/p>\n<p>Before we start, I&#8217;ll just say that I don&#8217;t promise that this is the best solution, or even a good one! It&#8217;s the one that&#8217;s working for me, so I&#8217;m sharing.<\/p>\n<ol>\n<li>Start the install of RenderMan by starting <a href=\"http:\/\/renderman.pixar.com\/view\/non-commercial-renderman\" target=\"_blank\">here<\/a>. <strong>Note:<\/strong> You must have an account on the RenderMan support forum to install the software, and <strong>you must be logged in while installing<\/strong>. It&#8217;s free and the forums are great, so go ahead and do that.<\/li>\n<li>If, like me, you don&#8217;t have Maya, you will still want to install the Maya support software. That&#8217;s because you want the image previewer that is part of that support package (weirdly, that previewer is named <em>it<\/em>). So when the installer tells you it can&#8217;t find Maya, dismiss the dialog, click the &#8220;Show All&#8221; button, and then click both the RenderMan file and the latest version of the Maya support stuff.<\/li>\n<li>You need to edit your .bashrc file (located in your home directory) to accommodate RenderMan, and to let it find the <em>it<\/em> program. The first part comes from the great advice at <a href=\"https:\/\/community.renderman.pixar.com\/article\/293\/using-renderman-without-maya.html\" target=\"_blank\">Using RenderMan Without Maya<\/a>, and I&#8217;ll repeat it here:\n<pre>export RMANTREE=\/Applications\/Pixar\/RenderManProServer-19.0\r\nexport PATH=$RMANTREE\/bin:$PATH\r\n<\/pre>\n<p>But wait, that&#8217;s not all! You need one more line, and this is the weird one. You need to tell RenderMan how to find the <em>it<\/em> previewer. It&#8217;s kind of blunt, but I just add the executable right into my path. So this line also goes into that .bashrc file:<\/p>\n<pre>export PATH=\/Applications\/Pixar\/RenderManStudio-19.0-maya2015\/bin\/it.app\/Contents\/MacOS:$PATH\r\n<\/pre>\n<\/li>\n<li>Almost done! Now when you run RenderMan, you need to tell it to use the <em>it<\/em> previewer. You can do that inside your rib file, or you can do it on the command line, which will override whatever the rib says to do. Here&#8217;s the command-line version:\n<pre>prman -d it myPicture.rib\r\n<\/pre>\n<\/li>\n<\/ol>\n<p>The <em>it<\/em> previewer is nice because it shows you the image as it builds. And from there, you can save the result in normal formats like tiff.<\/p>\n<p>Note that you can find other installation guides on the web that will advise you to install the X11 (or Xquartz) window system. I prefer this approach because I think it&#8217;s cleaner, and I like the <em>it<\/em> previewer.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Pixar has made their RenderMan product free for non-commercial use! Huzzah! This is great news for anyone who likes to mess around with shaders and shapes. If you&#8217;re not using Maya or Kantana, then you need to run RenderMan from the command line. Which is fine, but I found that there were a few hoops [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-843","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.imaginary-institute.com\/blog\/wp-json\/wp\/v2\/posts\/843","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.imaginary-institute.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.imaginary-institute.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.imaginary-institute.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.imaginary-institute.com\/blog\/wp-json\/wp\/v2\/comments?post=843"}],"version-history":[{"count":15,"href":"https:\/\/www.imaginary-institute.com\/blog\/wp-json\/wp\/v2\/posts\/843\/revisions"}],"predecessor-version":[{"id":859,"href":"https:\/\/www.imaginary-institute.com\/blog\/wp-json\/wp\/v2\/posts\/843\/revisions\/859"}],"wp:attachment":[{"href":"https:\/\/www.imaginary-institute.com\/blog\/wp-json\/wp\/v2\/media?parent=843"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.imaginary-institute.com\/blog\/wp-json\/wp\/v2\/categories?post=843"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.imaginary-institute.com\/blog\/wp-json\/wp\/v2\/tags?post=843"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}