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

Comparing ray/src/util/rcode2bmp.pl (file contents):
Revision 2.5 by greg, Thu Oct 3 18:35:53 2024 UTC vs.
Revision 2.6 by greg, Thu Oct 3 18:45:27 2024 UTC

# Line 60 | Line 60 | while ($#ARGV >= 0) {
60                  $cmd .= "| falsecolor -l '$unit' -m 1 -s $dmax | ra_bmp - '$dest'";
61          } elsif ("$format" =~ /^[1-9][0-9]*-bit_indexed_name *$/) {
62                  $cmd = "rcode_ident -r -n '$ARGV[0]' " .
63 <                        "| getinfo +d -c rcalc -e 'cc(x):(.1+.8*rand(x))^2' " .
63 >                        "| getinfo +d -c rcalc -of -e 'cc(x):(.1+.8*rand(x))^2' " .
64                          q{-e '$1=cc(.398*$1-11.2);$2=cc(-1.152*$1+41.7);$3=cc(8.571*$1-8.15)' } .
65 <                        "| pvalue -r -d ";
65 >                        "| pvalue -r -df ";
66                  $cmd .= "| $pfilt " if ($pfilt);
67                  $cmd .= "| ra_bmp - '$dest'";
68          } elsif ("$format" =~ /^32-bit_encoded_normal *$/) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines