| 42 |
|
and |
| 43 |
|
.I \-f |
| 44 |
|
options. |
| 45 |
+ |
The variable and function definitions in each |
| 46 |
+ |
.I \-f source |
| 47 |
+ |
file are read and compiled from the RADIANCE library where it is found. |
| 48 |
|
Negative coefficients and functions are allowed, and |
| 49 |
|
.I pcomb |
| 50 |
|
will produce color values of zero where they would be negative. |
| 143 |
|
will return a negative value, and |
| 144 |
|
.I S(n) |
| 145 |
|
will return zero. |
| 146 |
+ |
The first input picture with a view is assumed to correspond to the |
| 147 |
+ |
view of the output picture, which is written into the header. |
| 148 |
|
.PP |
| 149 |
|
The |
| 150 |
|
.I \-h |
| 211 |
|
.PP |
| 212 |
|
To precompute the gamma correction for a picture: |
| 213 |
|
.IP "" .2i |
| 214 |
< |
pcomb \-e 'ro=ri(1)^.4;go=gi(1)^.4;bo=bi(1)^.4' pic > pic.gam |
| 214 |
> |
pcomb \-e 'ro=ri(1)^.4;go=gi(1)^.4;bo=bi(1)^.4' inp.hdr > gam.hdr |
| 215 |
|
.PP |
| 216 |
|
To perform some special filtering: |
| 217 |
|
.IP "" .2i |
| 218 |
< |
pcomb \-f myfilt.cal \-x xmax/2 \-y ymax/2 input.pic > filtered.pic |
| 218 |
> |
pcomb \-f myfilt.cal \-x xmax/2 \-y ymax/2 input.hdr > filtered.hdr |
| 219 |
|
.PP |
| 220 |
|
To make a picture of a dot: |
| 221 |
|
.IP "" .2i |
| 222 |
|
pcomb \-x 100 \-y 100 \-e 'ro=b;go=b;bo=b;b=if((x-50)^2+(y-50)^2\-25^2,0,1)' > dot |
| 223 |
+ |
.SH ENVIRONMENT |
| 224 |
+ |
RAYPATH the directories to check for auxiliary files. |
| 225 |
|
.SH AUTHOR |
| 226 |
|
Greg Ward |
| 227 |
|
.SH "SEE ALSO" |