--- ray/doc/man/man1/bsdf2klems.1 2013/08/02 20:56:19 1.2 +++ ray/doc/man/man1/bsdf2klems.1 2018/05/04 23:56:49 1.6 @@ -1,4 +1,4 @@ -.\" RCSid $Id: bsdf2klems.1,v 1.2 2013/08/02 20:56:19 greg Exp $ +.\" RCSid $Id: bsdf2klems.1,v 1.6 2018/05/04 23:56:49 greg Exp $ .TH BSDF2KLEMS 1 4/24/2013 RADIANCE .SH NAME bsdf2klems - generate XML Klems matrix description of a BSDF @@ -8,6 +8,10 @@ bsdf2klems - generate XML Klems matrix description of .B "\-n spp" ][ .B "\-h|\-q" +][ +.B "\-pC" +][ +.B "\-l maxlobes" ] [ .B "bsdf.sir .." @@ -20,6 +24,8 @@ or .B "\-n spp" ][ .B "\-h|\-q" +][ +.B "\-pC" ] .B bsdf_in.xml .br @@ -31,13 +37,15 @@ or ][ .B "\-h|\-q" ][ +.B "\-pC" +][ .B "{+|-}forward" ][ .B "{+|-}backward" ][ -.B "\-e expr +.B "\-e expr" ][ -.B "\-f file +.B "\-f file" ] .B bsdf_func .SH DESCRIPTION @@ -61,6 +69,19 @@ option may be used to reduce this number to 41 patches Neither option is recommended unless the distribution is known to be approximately diffuse. .PP +The +.I \-p +option by itself turns off the progress bar, whose length may be set +by an immediately following integer argument. +(The default progress bar length is 79 characters.)\0 +.PP +The +.I \-l +option may be used to specify the maximum number of lobes in any +interpolated radial basis function. +The default value is 15000, which generally keeps the interpolation tractable. +Setting the value to 0 turns off this limit. +.PP Normally, multiple samples are taken from random points on each input and output patch to improve accuracy. The number of samples to take for each input-output patch pair may @@ -112,6 +133,9 @@ and options, and should obey both Helmholtz reciprocity and integrate to less than 1 over each projected incident hemisphere for energy conservation. +The variable and function definitions in each +.I \-f source +file are read and compiled from the RADIANCE library where it is found. .PP Similar to the .I genBSDF(1) @@ -142,8 +166,11 @@ To create a low-res BSDF corresponding to a one-sided, isotropic Phong distribution: .IP "" .2i bsdf2klems -e 'phong(ix,iy,iz,ox,oy,oz) = if(iz, .1+((iz+oz)/sqrt((ix+ox)^2+(iy+oy)^2+(iz+oz)^2))^50, 0)' phong > phong.xml +.SH ENVIRONMENT +RAYPATH the directories to check for auxiliary files. .SH AUTHOR Greg Ward .SH "SEE ALSO" bsdf2ttree(1), dctimestep(1), icalc(1), gendaymtx(1), genklemsamp(1), -genskyvec(1), mkillum(1), genBSDF(1), pkgBSDF(1), rcontrib(1), rtrace(1) +genskyvec(1), mkillum(1), genBSDF(1), pkgBSDF(1), rcontrib(1), rfluxmtx(1), +rmtxop(1), wrapBSDF(1)