139 |
|
##### Generating picture with depth buffer? |
140 |
|
if (defined $outzbf) { |
141 |
|
exec "@vwraysA | @rtraceA -fff -olv @res $oct | " . |
142 |
< |
"rsplit -ih -iH -f " . |
143 |
< |
"-of $outzbf " . |
144 |
< |
"-oh -oH -of3 '!pvalue -r -df' | " . |
145 |
< |
"getinfo -a 'VIEW=$view'"; |
142 |
> |
"rsplit -ih -iH -f -of $outzbf -oh -oH -of3 - | " . |
143 |
> |
"pvalue -r -df | getinfo -a 'VIEW=$view'"; |
144 |
|
} |
145 |
|
##################################################################### |
146 |
|
##### Base case with output picture only? |
153 |
|
# Supported rtrace -o* options and output file name.typ |
154 |
|
my %rtoutC = ( |
155 |
|
v => 'radiance.hdr', |
156 |
< |
r => 'mirrored.hdr', |
157 |
< |
x => 'unmirrored.hdr', |
158 |
< |
l => 'effective.dpt', |
159 |
< |
L => 'firstsurface.dpt', |
160 |
< |
R => 'mirrored.dpt', |
161 |
< |
X => 'unmirrored.dpt', |
156 |
> |
r => 'r_refl.hdr', |
157 |
> |
x => 'r_unrefl.hdr', |
158 |
> |
l => 'd_effective.dpt', |
159 |
> |
L => 'd_firstsurf.dpt', |
160 |
> |
R => 'd_refl.dpt', |
161 |
> |
X => 'd_unrefl.dpt', |
162 |
|
n => 'perturbed.nrm', |
163 |
|
N => 'unperturbed.nrm', |
164 |
|
s => 'surface.idx', |