How to create environment varibles

for sIBL 4 Maya

 

Windows XP

  1. 1.Right click on the "my computer" (or however the "Arbeitsplatz" is called in your windows version :-) ) and select properties.

  2. 2.Change to the "advanced" property tab and select "Environment Variables".

  3. 3.Go to the system variables and add a new one.

  4. 4.Name it "sIBL" and make it’s value the path to your sIBL-Collection (e.g. C:\sIBL-Collections\).

This is a screenshot from a German WindowsXP-version, but layouts should be quite similar.


MacOS X

  1. 1.Start a terminal from Applications -> Utilities > Terminal.app.

  2. 2."ls" is the "dir" command for unix. If you type "ls -a" it should list all files. You can see that a file oder folder is hidden when it’s name starts with a dot.

  3. 3.Do you have a directory .MacOSX? If not, it’s easy ...just create it. The command is "mkdir .MacOSX".

  4. 4.Find out the address of your sIBL-Collection. This can be quite hard because you need to provide the full path name. Your homedirectory is not really called "/Users/volXen", instead it is something like "/Volumes/Macintosh HD/Users/volXen".

  5. 5.This step is for users who didn’t have a directoy called ".MacOSX" !!!
    - Download the file "environment.plist" from http://www.renderwahnsinn.de/environment.plist   and save it to your home directory.
    - Open the file with a text editor. Change the address between the <string>-Tags. to your sIBL-Path.
    - Switch back to the console and type "cp environment.plist ./.MacOSX/."
    Don’t do this if you had a existing directory already !!!

  6. 6.If a directory ".MacOSX" already existed you need to check if you got a file environment.plist. If not you can follow step 5.
    Go to the .MacOSX - folder by entering cd .MacOSX in the terminal.
    Copy "environment.plist" to your homedirectory with the command "cp environment.plist ..".
    Now you can open it with TextEdit or any other text editor.
    Between the two <dict> - tags add two new lines:

    <key>sIBL<key>
    <string>/Volumes/Macintosh HD/Users/yourName/yourSiblCollectionPath/</string>

    Of course you need to change the path to your sIBL-Colletion. Save the file, switch to the console and copy the change file back with "cp environment.plist ./.MaxOSX/."


Now sIBL should be able to read the collection path from the environment variable. If you got any advice how to achieve this easier or this dosn’t work for you send me a mail.