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

Comparing ray/src/util/rtpict.pl (file contents):
Revision 2.20 by greg, Sun Apr 10 03:46:27 2022 UTC vs.
Revision 2.21 by greg, Sun Apr 10 16:00:14 2022 UTC

# Line 152 | Line 152 | my @res = split(/\s/, `@vwraysA -d`);
152   #####################################################################
153   ##### Run overture calculation?
154   if ($nprocs > 1 && $ambounce > 0 && $ambcache && defined($ambfile)) {
155 <        my $oxres = int($res[1]/6) + 1;
156 <        my $oyres = int($res[3]/6) + 1;
155 >        my $oxres = int($res[1]/6);
156 >        my $oyres = int($res[3]/6);
157          print STDERR "Running $oxres by $oyres overture calculation " .
158                          "to populate '$ambfile'...\n";
159 <        system "cnt $oxres $oyres | sort -R | @vwraysA -i -x $oxres -y $oyres -pj 0 " .
160 <                "| @rtraceA -ff -ov '$oct' > /dev/null";
159 >        system "@vwraysA -x $oxres -y $oyres -pj 0 -fa " .
160 >                "| sort -R | @rtraceA -faf -ov '$oct' > /dev/null";
161          die "Failure running overture\n" if ( $? );
162          print STDERR "Finished overture.\n";
163   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines