Page 1 of 1

batch create swatch previews?

Posted: Thu Jan 07, 2010 10:55 pm
by cgbeige
Is there a simple way to make previews of all maxwell materials in the scene?

Re: batch create swatch previews?

Posted: Fri Jan 08, 2010 1:44 am
by Mihnea Balta
Code: Select all
string $materials[] = `ls -type maxwellLayeredMaterial`;
for($mat in $materials)
{
	maxwell -renderMatPreview $mat;
}
PS: this will run all the preview renders in parallel, so don't panic if you see a dozen MXCLs popping up at the same time.

Re: batch create swatch previews?

Posted: Mon Jan 11, 2010 2:38 pm
by cgbeige
thanks