--- ray/doc/man/man1/pcomb.1 2023/12/09 23:46:50 1.15 +++ ray/doc/man/man1/pcomb.1 2023/12/11 01:02:18 1.17 @@ -1,4 +1,4 @@ -.\" RCSid "$Id: pcomb.1,v 1.15 2023/12/09 23:46:50 greg Exp $" +.\" RCSid "$Id: pcomb.1,v 1.17 2023/12/11 01:02:18 greg Exp $" .TH PCOMB 1 8/31/96 RADIANCE .SH NAME pcomb - combine RADIANCE pictures and/or float matrices @@ -231,10 +231,19 @@ pcomb \-f myfilt.cal \-x xmax/2 \-y ymax/2 input.hdr > To make a picture of a dot: .IP "" .2i 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 +.PP +Use a depth buffer to superimpose 3-D gridlines on rendered image: +.IP "" .2i +rcollate -hi -ff -o 3000x3000 raw_orig.zbf +| pcomb -e 't=gi(2);Px=Ox(1)+t*Dx(1);Py=Oy(1)+t*Dy(1);Pz=Oz(1)+t*Dz(1)' +-e 'frac(x):x-floor(x)' -e 'Rg:0;Gg:0;Bg:1;gsiz:0.04' +-e 'ingr=gsiz-min(frac(Px),frac(Py),frac(Pz))' +-e 'ro=if(ingr,Rg,ri(1));go=if(ingr,Gg,gi(1));bo=if(ingr,Bg,bi(1))' +raw_orig.hdr - > trans_def_grid.hdr .SH ENVIRONMENT RAYPATH the directories to check for auxiliary files. .SH AUTHOR Greg Ward .SH "SEE ALSO" -getinfo(1), icalc(1), pcompos(1), pfilt(1), rcalc(1), -rmtxcomb(1), rmtxop(1), rpict(1) +getinfo(1), icalc(1), pcompos(1), pfilt(1), pvalue(1), rcalc(1), +rcollate(1), rmtxcomb(1), rmtxop(1), rpict(1)