Apple Shake 4 User Manual

Page 1003

Advertising
background image

Chapter 32

The Cookbook

1003

To set per-project settings for Shake:

1

As an example, in your project directory, create startup/ui directories:

/usr/shot1/startup/ui

2

In your startup directory, place a file to relocate your cache. Create a text file called
cache.h
and add these lines, obviously changing MyShotName:

diskCache.cacheLocation=“/var/tmp/Shake/MyShotName”;
diskCache.cacheSize = 500;

The second line indicates the size in MB of your cache. Set it to something appropriate
according to how much disk space you have to spare. Shake automatically creates that
directory the first time it needs it. Remember to remove this cache directory when
cleaning up your project.

3

To have per-shot macros or settings like Formats, add them into the startup and ui
directories.

4

Return to set another environment variable, following the steps outlined above. You
want to set NR_INCLUDE_PATH to your project directory:

setenv NR_INCLUDE_PATH $myproj

Advertising