--- ray/doc/man/man1/bsdf2klems.1 2014/03/12 21:15:31 1.4 +++ ray/doc/man/man1/bsdf2klems.1 2019/03/19 22:03:24 1.7 @@ -1,4 +1,4 @@ -.\" RCSid $Id: bsdf2klems.1,v 1.4 2014/03/12 21:15:31 greg Exp $ +.\" RCSid $Id: bsdf2klems.1,v 1.7 2019/03/19 22:03:24 greg Exp $ .TH BSDF2KLEMS 1 4/24/2013 RADIANCE .SH NAME bsdf2klems - generate XML Klems matrix description of a BSDF @@ -87,7 +87,7 @@ and output patch to improve accuracy. The number of samples to take for each input-output patch pair may be controlled using the .I \-n -option, which defaults to 256. +option, which defaults to 1024. .PP The first invocation form takes a intermediate scattering representation as produced by @@ -133,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) @@ -163,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)