ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/genBSDF.pl
(Generate patch)

Comparing ray/src/util/genBSDF.pl (file contents):
Revision 2.90 by greg, Fri Sep 22 18:01:32 2023 UTC vs.
Revision 2.92 by greg, Sun Dec 8 17:36:32 2024 UTC

# Line 163 | Line 163 | if ( !defined $recovery ) {
163                          ($tensortree==3 && !($doforw && $doback));
164          # Get scene description
165          if ( $mgfin ) {
166 <                system "mgf2rad @ARGV > $radscn";
166 >                my $mgfcv = $docolor ? "mgf2rad -s" : "mgf2rad";
167 >                system "$mgfcv @ARGV > $radscn";
168                  die "Could not load MGF input\n" if ( $? );
169          } else {
170                  system "xform -e @ARGV > $radscn";
# Line 195 | Line 196 | my $ns = 2**$ttlog2;
196   my $nx = int(sqrt($nsamp*($dim[1]-$dim[0])/($dim[3]-$dim[2])) + 1);
197   my $ny = int($nsamp/$nx + 1);
198   $nsamp = $nx * $ny;
199 < $rfluxmtx .= " -n $nproc -c $nsamp";
199 > $rfluxmtx .= " -n $nproc -c $nsamp -cs 3";
200   if ( !defined $recovery ) {
201          open(MYAVH, "> $td/savedARGV.txt");
202          foreach (@savedARGV) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines