Quantcast
Channel: [Quaint]
Viewing all articles
Browse latest Browse all 45

Installing RenderMan Server on ANY Linux System (Debian or Ubuntu)

$
0
0

As RenderMan is now free for non-commercial use we’ve at quaint got very excited. Unfortunately, Pixar is only offering a rpm package which is officially only supported by Red Hat Linux based systems like Fedora or CentOS. In this post I will show a way how to install RenderMan  on any Linux operating system like Debian or Ubuntu. In this example I will show the process under Debian. Let’s get started right away..

1. Download the official RenderMan rpm package

You can get the official rpm package on this site.

Convert the rpm package to a .deb package

In this step we will convert the RenderMan .rpm Package to a .deb package which can be installed on any Debian or (L/X/K) Ubuntu System. But at first we need a small nifty tool called alien. You can get it by inserting the code below into your terminal.

Grant superuser rights

Type su, you then will be asked to insert your root password. You will notice that your terminal changed the user to root indicated by the text (root@machinename) at the beginning of each line.

Install Alien using apt package manager

apt-get install alien

You will be asked if you really want to install it, confirm this by pressing the Y Key on your keyboard.

Convert the rpm!

Its essential that you’re still a root user, please make sure to double check this, as you could otherwise run into some nasty errors.

alien -d -c path to your RenderMan.rpm

On my particular system the line looked like this:

alien -d -c /home/markus/Downloads/RenderManNC-Installer-1.0.0_1460566-linuxRHEL6_gcc44icc121.x86_64.rpm

Depending on your system this step can take some time. If everything worked fine a message saying that deb package was successfully generated will pop up.

Install the RenderMan deb package

We will use dpkg to install the deb package on the Debian or Ubuntu system. Alien usually saves the generated deb package to the home directory.

dpkg -i path-to-the-generate-deb-package

On my particular system the line looked like this:

dpkg -i /home/markus/rendermannc-installer_1.0.01460566-1_amd64.deb

After you’ve executed that line from above the RenderMan Non-Commercial Installer should appear. It will look like this:

RenderManWelcomeScreenLinux

The Welcome Screen of the RenderMan installer

Screenshot from 2015-07-12 105035

If you don’t need RenderMan to work with Maya you can simply ignore this error.

The installation is pretty easy, simply “click next” n-times. You then will be asked to insert your user name and password. It’s the same that you’ve used for accessing the Download page.
LoginRenderManInstaller
On the Select Package you will probably pre prompted with a warning that tells you that you don’t have Maya installed on your system. If you wan’t to use Blender instead of Maya you can simply ignore this warning by pressing the OK Button. In the list that appears on the next site toggle the “RenderMan ProServer”-Option and proceed.
The page will change to the Install section. The two progress bars will indicate the installation process. Depending on your internet connection this step can take some tip, as the downloader will download roughly about 500 MB.

RenderMan Installation Debian Progress

This site will indicate the installation Progress

If everything worked fine you will be prompted with the word “Success” in big Letters. You can close the installer by clicking on finish.

RenderMan Installation finished on Debian

Thats how the installer will look after a successful installation.

Try it out

Download the RenderMan Plugin for Blender

For my first test I will use Blender3D. After you have installed blender simply download the Blender RenderMan Plugin from the GitHub page.
The most convenient  way is to download is a zip file, you can do this easily on GitHub by pressing the Download ZIP Button on the right side. The next step is to place the unzipped folder in your blender add-ons folder.

Activate the RenderMan Add-on in Blender

The next step is to activate the Add-on in the user preferences. All you have to do is to check the check box at the right side where RenderMan is written.
ActivateBlenderRenderMan

Final Steps: Change Render Engine to RenderMan and hit F12

Our last but one step is to change the render engine from Blender Render to PRMan Render by toggling the drop down menu at the top of Blenders Menu.

Blender Change Render Engine

Change Render engine to PRMan Render

The last and long awaited step is to hit F12 to start the render. If you left everything at the default settings you will come up with the following rendered image.

BlenderDefaultRenderMan

The Blender Default Scene rendered with RenderMan

So what has happened? Why do we only see the default cube with some alpha background? The reason is pretty simple: Blender respectively RenderMan doesn’t know what rays to trace/ to render as we have no active light source in our scene. In order to come up with the desired result, we need to set “use nodes” under the lighting settings. Please make sure to increase the exposure settings. Just like in Blender you can either use geometry with an emission shader or classical lamp to light a scene. Next we will have to set the material for our cube. To do so, select the cube, go to the material editor, and click “use nodes”. By default a “pxrDisney” material will be added. To further tweak the settings you can either use the material editor or the node editor. For now I leave the settings at default. I slightly changed my cube to better showcase the effects of the pixar shader.

Finally hit F12, wait, forget to save, quit blender, start all over again :D

renderman blender linux

If this post was useful for you feel free to share and like it! If you have any questions or if you simply want to share your results feel free to post a comment below.

Cheers Alex



Viewing all articles
Browse latest Browse all 45

Trending Articles