insert-raw-html-hereinsert-raw-html-here

RenderToolbox Install Mac OS/X


How to install the Render Toolbox and its components on OS/X

System Requirements:
Optional Installs:

1. Download the Rendertoolbox Plus Installer, unzip it, and run the installer package. This will install 4 packages: OpenEXR, RenderToolbox, Radiance, and the SimToolbox. OpenEXR and Radiance will be installed in /usr/local and the toolboxes in /Users/Shared/Toolboxes.

2. Add RenderToolbox_2.0 to the MATLAB path:

If you are in the Brainard lab, you can edit your section of startup.m. This file resides in /ColorShare/ToolboxesUse/BrainardLabToolbox/ and you edit the part under your username.
Specifically, under the line that begins with "paths2add" you will want to add the following 2 lines:
	genpath('/Users/Shared/Toolboxes/RenderToolbox/RenderToolbox_2.0'), ...
	genpath('/Volumes/ColorShare/ToolboxesUse/SimCityToolbox')];

Otherwise, you'll need to determine your startup path (i.e. where startup.m resides).
In Matlab, you can find your startup path using the variable:
	userpath;

If this variable is not set, then your startup path is the default /Users/username/matlab where username is your account name.
Note that if this directory does not exist, you can just create it and everything will work fine.
In your existing startup.m file or a newly created one, add the lines:
	addpath(genpath('/Users/Shared/Toolboxes/RenderToolbox/RenderToolbox_2.0'));
	addpath(genpath('/Users/Shared/Toolboxes/SimAll/SimToolbox'));
	path(RemoveSVNPaths);

3. Setup PBRT Unix environment variables.

export PBRT_SEARCHPATH="/Users/Shared/Toolboxes/RenderToolbox/PBRT_batchRender_1.1/bin"
export PATH=${PATH}:${PBRT_SEARCHPATH}

and execute
$ source ~/.bashrc


4. Add the environment variable and search path into MATLAB's binary search path.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-\
1.0.dtd">
<plist version="1.0">
<dict>
<key>PATH</key>
<string>/bin:/sbin:/usr/bin:/usr/local/voxbo:/usr/local/stat/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/X11R6/bin:/usr/local/fsl/bin:/Volumes/ColorShare/UNIXStuff/bin:/usr/local/radbin_osx:/usr/local/openexr_bin:/usr/local/lib:/System/Library/Frameworks/Python.framework/Versions/2.3/bin:/Users/Shared/Toolboxes/RenderToolbox/PBRT_batchRender_1.1/bin</string>
<key>PBRT_SEARCHPATH</key>
<string>/Users/Shared/Toolboxes/RenderToolbox/PBRT_batchRender_1.1/bin</string>
</dict>
</plist>


5. If you have Maya installed and want to export from Maya, install the MayaPbrt plugin:

6. Run BatchRender on the pre-made sphere example to test that everything is working correctly. (Well, this does not test the Maya plugin part.)

unix('./clean.sh');
Render_BatchRender

There are 189 comments on this page. [Display comments]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki