Generating render scripts.
Render Script.
Date Created:Friday December 29th, 2006 03:41 AM
Date Modified:Wednesday July 30th, 2008 08:58 PM
//to quickly generate a script that will render all the mantra nodes:
foreach z (`run("opfind -t mantra")`)
echo -n render $z\;>>renderme
end
//to specify mantra nodes that you do not want to render:
foreach z (`run("opfind -t mantra")`)
if($z=="/out/mantra1"||$z=="/out/mantra2")
continue
endif
echo -n render $z\;>>renderme
end
//to write out a script to render ifd's
for x in`ls`;do echo mantra \< $x\;>>renderfile;done;
for x in `ls`;do echo mantra -B 12 -Q r -G 157286400 -V 1" "\<" "$x\;>>renderfile;done
for x in `find ./* -type f -name *.ifd`;do echo mantra -B 12 -Q r -G 15 7286400 -V 1" "\<" " $x>>renderfile;done;
Downloads:
Download: generate.txt 662 B
Please login or Click Here to register for downloads
Generate Script by Dan Lynch
is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License
Based on a work at www.3daet.com
Permissions beyond the scope of this license may be available at http://www.3daet.com
