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 |