ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/pcomb.1
(Generate patch)

Comparing ray/doc/man/man1/pcomb.1 (file contents):
Revision 1.7 by greg, Fri Sep 8 21:38:25 2006 UTC vs.
Revision 1.8 by greg, Tue Sep 4 17:36:40 2007 UTC

# Line 198 | Line 198 | by preceeding it with an exclamation point ('!').
198   .SH EXAMPLES
199   To produce a picture showing the difference between pic1 and pic2:
200   .IP "" .2i
201 < pcomb -e 'ro=ri(1)-ri(2);go=gi(1)-gi(2);bo=bi(1)-bi(2)' pic1 pic2 > diff
201 > pcomb \-e 'ro=ri(1)\-ri(2);go=gi(1)\-gi(2);bo=bi(1)\-bi(2)' pic1 pic2 > diff
202   .PP
203   Or, more efficiently:
204   .IP "" .2i
205 < pcomb pic1 -s -1 pic2 > diff
205 > pcomb pic1 \-s \-1 pic2 > diff
206   .PP
207   To precompute the gamma correction for a picture:
208   .IP "" .2i
209 < pcomb -e 'ro=ri(1)^.4;go=gi(1)^.4;bo=bi(1)^.4' pic > pic.gam
209 > pcomb \-e 'ro=ri(1)^.4;go=gi(1)^.4;bo=bi(1)^.4' pic > pic.gam
210   .PP
211   To perform some special filtering:
212   .IP "" .2i
213 < pcomb -f myfilt.cal -x xmax/2 -y ymax/2 input.pic > filtered.pic
213 > pcomb \-f myfilt.cal \-x xmax/2 \-y ymax/2 input.pic > filtered.pic
214   .PP
215   To make a picture of a dot:
216   .IP "" .2i
217 < 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
217 > 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
218   .SH AUTHOR
219   Greg Ward
220   .SH "SEE ALSO"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines