Posted by Mike Wheeler on June 09, 2003 at 17:55:57:Below are instructions for installing Radiance on Mac OS X for use with DesignWorkshop Professional.
Step 1 Download
---------------Point your web browser to
http://radsite.lbl.gov/radiance
Click the link to download. Register for download. Accept license agreement.
Download main distribution to your home directory, file name rad3R5.tar.gz.
Download Mac OS X binary to your home directory, file name radbin_osx.tar.gz.
These files should extract themselves from the archives automatically, leaving you with a directory named ray and a directory named radbin_osx.
Step 2 Install standard binaries
--------------------------------To copy the files to the proper location you will need root access in the terminal application. If you have not activated root before open the Terminal application and type:
sudo passwd root
You will be asked for the new password, and asked to retype it.
Now that this is done do the following:
cd radbin_osx
sudo cp * /usr/binWhenever you use the sudo command (superuser do) you will be asked for the password you just set for root. Use the sudo command with care. There is no limit to the damage you can cause with this omnipotent command.
You will get an error about dev being a directory, so it wasn't copied. This is fine.
Step 3 Install standard libraries
---------------------------------Now do the following:
cd ../ray
mkdir /usr/local/lib
sudo mv lib /usr/local/lib/raycd src/rt
sudo cp rayinit.cal /usr/local/lib/raycd ../gen
sudo cp *cal /usr/local/lib/raysudo mkdir /usr/tmp
sudo chmod 777 /usr/tmpAt this point you have a functional standard Radiance installation.
Step 4 Install DesignWorkshop Materials
---------------------------------------Insert the DesignWorkshop Professional CD-ROM
In the Finder open the CD-ROM, open the Accessories folder, open the Radiance Support folder. Copy the dw.mat file and DW Textures for Radiance folder to your home directory.
Rename the "DW Textures for Radiance" folder to "DW_Textures"
Open dw.mat in BBEdit or BBEdit Lite, set the line breaks to UNIX. Save and close the file.
Back in the Terminal application do the following:
cd ~
sudo cp dw.mat /usr/local/lib/ray
cd DW_Textures
sudo cp * /usr/local/lib/ray
That is all there is to it! Currently open Terminal windows will not be able to find the Radaince binaries. Simply open a new Terminal window and that one will find the binaries.