Forum: Carrara


Subject: Lots of Shaders! released

litst opened this issue on Nov 26, 2002 ยท 15 posts


willf posted Tue, 26 November 2002 at 11:27 PM

Thanks litst, these are really neat. Hope you don't mind a little "extra" info for a few MacHeads-

To change the PC shader to a MAC shader (for Mac users):

Drag the shader file onto ResEdit then "Get Info" for the file
& click OK when the pop-up window asks if you want to add a resource fork. Then change the "creator" type to CRRA and change the File type to CBRF. Save the change & you're in business. Or, copy this AppelScript into a new script (launch Script Editor & just paste it in). Save it as a script application. Then just drag your shaders onto the script, no muss, no fuss. The script will change "any" text file so be careful with read-me files, etc.

on open the_files
repeat with a_file in the_files
set item_info to info for a_file
if not folder of item_info then
tell application "Finder"
set the creator type of a_file to "CRRA"
set the file type of a_file to "CBRF"
end tell
end if
end repeat
end open