--- ray/src/util/genBSDF.pl 2013/04/23 23:19:09 2.41 +++ ray/src/util/genBSDF.pl 2013/08/05 22:56:50 2.43 @@ -1,5 +1,5 @@ #!/usr/bin/perl -w -# RCSid $Id: genBSDF.pl,v 2.41 2013/04/23 23:19:09 greg Exp $ +# RCSid $Id: genBSDF.pl,v 2.43 2013/08/05 22:56:50 greg Exp $ # # Compute BSDF based on geometry and material description # @@ -123,13 +123,13 @@ print " \n"; # Output MGF description if requested if ( $geout ) { print "\t\n"; - print "\n"; + print "\t\t\n"; printf "xf -t %.6f %.6f 0\n", -($dim[0]+$dim[1])/2, -($dim[2]+$dim[3])/2; open(MGFSCN, "< $mgfscn"); while () { print $_; } close MGFSCN; print "xf\n"; - print "\t\t\n"; + print "\n"; print "\t\n"; } # Set up surface sampling @@ -277,7 +277,7 @@ $cmd = "rcalc -if3 -e 'Omega:PI/($ns*$ns)' " . q{-e '$1=(0.265*$1+0.670*$2+0.065*$3)/Omega' }; if ($pctcull >= 0) { $cmd .= "-of $td/" . ($bmodnm,$fmodnm)[$forw] . ".flt " . - "| rttree_reduce -a -h -ff -t $pctcull -r $tensortree -g $ttlog2"; + "| rttree_reduce -h -ff -t $pctcull -r $tensortree -g $ttlog2"; system "$cmd" || die "Failure running rttree_reduce"; } else { $cmd .= "$td/" . ($bmodnm,$fmodnm)[$forw] . ".flt";