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.15 by greg, Sat Dec 9 23:46:50 2023 UTC vs.
Revision 1.16 by greg, Mon Dec 11 01:00:27 2023 UTC

# Line 231 | Line 231 | pcomb \-f myfilt.cal \-x xmax/2 \-y ymax/2 input.hdr >
231   To make a picture of a dot:
232   .IP "" .2i
233   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
234 + .PP
235 + Use a depth buffer to superimpose 3-D gridlines on rendered image:
236 + .IP "" .2i
237 + rcollate -hi -ff -o 3000x3000 raw_orig.zbf
238 + | pcomb -e 't=gi(2);Px=Ox(1)+t*Dx(1);Py=Oy(1)+t*Dy(1);Pz=Oz(1)+t*Dz(1)'
239 + -e 'frac(x):x-floor(x)' -e 'Rg:0;Gg:0;Bg:1;gsiz:0.04'
240 + -e 'ingr=gsiz-min(frac(Px),frac(Py),frac(Pz))'
241 + -e 'ro=if(ingr,Rg,ri(1));go=if(ingr,Gg,gi(1));bo=if(ingr,Bg,bi(1))'
242 + raw_orig.hdr - > trans_def_grid.hdr
243   .SH ENVIRONMENT
244   RAYPATH         the directories to check for auxiliary files.
245   .SH AUTHOR

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines