| 13 |
|
][ |
| 14 |
|
.B "\-t pctcull" |
| 15 |
|
][ |
| 16 |
+ |
.B "\-n nss" |
| 17 |
+ |
][ |
| 18 |
+ |
.B "\-s thresh" |
| 19 |
+ |
][ |
| 20 |
|
.B "\-l maxlobes" |
| 21 |
< |
] |
| 18 |
< |
[ |
| 21 |
> |
][ |
| 22 |
|
.B "bsdf.sir .." |
| 23 |
|
] |
| 24 |
|
.br |
| 35 |
|
][ |
| 36 |
|
.B "\-t pctcull" |
| 37 |
|
][ |
| 38 |
+ |
.B "\-n nss" |
| 39 |
+ |
][ |
| 40 |
+ |
.B "\-s thresh" |
| 41 |
+ |
][ |
| 42 |
|
.B "{+|-}forward" |
| 43 |
|
][ |
| 44 |
|
.B "{+|-}backward" |
| 84 |
|
Setting this parameter to -1 turns culling off entirely, which may be |
| 85 |
|
useful for comparisons. |
| 86 |
|
.PP |
| 87 |
+ |
The |
| 88 |
+ |
.I \-n |
| 89 |
+ |
option controls the number of super-samples to send in patches whose |
| 90 |
+ |
difference to its neighbors exceeds some threshold. |
| 91 |
+ |
The default number of super-samples is 256. |
| 92 |
+ |
The difference threshold for super-sampling is controlled by the |
| 93 |
+ |
.I \-s |
| 94 |
+ |
option, and defaults to 0.35. |
| 95 |
+ |
.PP |
| 96 |
|
The first invocation form takes a intermediate scattering representation |
| 97 |
|
as produced by |
| 98 |
|
.I pabopto2bsdf(1) |
| 108 |
|
interpolated radial basis function. |
| 109 |
|
The default value is 15000, which generally keeps the interpolation tractable. |
| 110 |
|
Setting the value to 0 turns off this limit. |
| 111 |
+ |
Parameter options may be altered between input files, in case a different |
| 112 |
+ |
resolution or culling percentage is indicated for transmission versus |
| 113 |
+ |
reflection for example. |
| 114 |
|
.PP |
| 115 |
|
In the second invocation form, |
| 116 |
|
.I bsdf2ttree |
| 164 |
|
is recommended when rays will be impinging from either side. |
| 165 |
|
.SH EXAMPLE |
| 166 |
|
To take two components of an intermediate BSDF representation and create |
| 167 |
< |
a high-resolution tensor tree with 85% culling: |
| 167 |
> |
a high-resolution tensor tree with 85% culling on transmission and 95% |
| 168 |
> |
culling on reflection: |
| 169 |
|
.IP "" .2i |
| 170 |
< |
bsdf2ttree -g 7 -t 85 transmitted.sir reflected.sir > combined.xml |
| 170 |
> |
bsdf2ttree -g 7 -t 85 transmitted.sir -t 95 reflected.sir > combined.xml |
| 171 |
|
.PP |
| 172 |
|
To create a low-res BSDF corresponding to a one-sided, |
| 173 |
|
isotropic Phong distribution: |
| 178 |
|
.SH AUTHOR |
| 179 |
|
Greg Ward |
| 180 |
|
.SH "SEE ALSO" |
| 181 |
< |
bsdf2klems(1), icalc(1), genBSDF(1), pkgBSDF(1), rcontrib(1), |
| 182 |
< |
rfluxmtx(1), wrapBSDF(1) |
| 181 |
> |
bsdf2klems(1), icalc(1), genBSDF(1), pabopto2bsdf(1), pabopto2xyz(1), |
| 182 |
> |
pkgBSDF(1), rcontrib(1), rfluxmtx(1), wrapBSDF(1) |