--- ray/doc/ray.1 2011/10/17 21:53:55 1.24 +++ ray/doc/ray.1 2023/11/03 17:41:27 1.40 @@ -1,8 +1,8 @@ -.\" RCSid "$Id" +.\" RCSid "$Id: ray.1,v 1.40 2023/11/03 17:41:27 greg Exp $" .\" Print using the -ms macro package -.DA 2/17/2011 +.DA 5/11/2023 .LP -.tl """Copyright \(co 2011 Regents, University of California +.tl """Copyright \(co 2023 Regents, University of California .sp 2 .TL The @@ -622,6 +622,23 @@ mod trans2 id 8 red green blue spec urough vrough trans tspec .DE .LP +.UL Ashik2 +.PP +Ashik2 is the anisotropic reflectance model by Ashikhmin & Shirley. +The string arguments are the same as for plastic2, but the real +arguments have additional flexibility to specify the specular color. +Also, rather than roughness, specular power is used, which has no +physical meaning other than larger numbers are equivalent to a smoother +surface. +Unlike other material types, total reflectance is the sum of +diffuse and specular colors, and should be adjusted accordingly. +.DS +mod ashik2 id +4+ ux uy uz funcfile transform +0 +8 dred dgrn dblu sred sgrn sblu u-power v-power +.DE +.LP .UL Dielectric .PP A dielectric material is transparent, and it refracts light @@ -932,6 +949,30 @@ invisible from behind. Unlike other data-driven material types, the BSDF type is fully supported and all parts of the distribution are properly sampled. .LP +.UL aBSDF +.PP +The aBSDF material is identical to the BSDF type with two important +differences. +First, proxy geometry is not supported, so there is no thickness parameter. +Second, an aBSDF is assumed to have some specular through component +(the 'a' stands for "aperture"), which +is treated specially during the direct calculation and when viewing the +material. +Based on the BSDF data, the coefficient of specular transmission is +determined and used for modifying unscattered shadow and view rays. +.DS +mod aBSDF id +5+ BSDFfile ux uy uz funcfile transform +0 +0|3|6|9 + rfdif gfdif bfdif + rbdif gbdif bbdif + rtdif gtdif btdif +.DE +.LP +If a material has no specular transmitted component, it is much better +to use the BSDF type with a zero thickness than to use aBSDF. +.LP .UL Antimatter .PP Antimatter is a material that can "subtract" volumes from other volumes. @@ -946,8 +987,10 @@ N mod1 mod2 .. modN The first modifier will also be used to shade the area leaving the antimatter volume and entering the regular volume. If mod1 is void, the antimatter volume is completely invisible. -Antimatter does not work properly with the material type "trans", -and multiple antimatter surfaces should be disjoint. +If shading is desired at antimatter surfaces, it is important +that the related volumes are closed with outward-facing normals. +Antimatter surfaces should not intersect with other antimatter boundaries, +and it is unwise to use the same modifier in nested antimatter volumes. The viewpoint must be outside all volumes concerned for a correct rendering. .NH 3 @@ -1155,6 +1198,7 @@ between 0.1 (for tightly spaced characters) and 0.3 (f Mixtures .PP A mixture is a blend of one or more materials or textures and patterns. +Blended materials should not be light source types or virtual source types. The basic types are given below. .LP .UL Mixfunc @@ -1551,6 +1595,38 @@ the Ecole Polytechnique Federale de Lausanne (EPFL Uni in Lausanne, Switzerland. .NH 1 References +.LP +Ward, Gregory J., Bruno Bueno, David Geisler-Moroder, +Lars O. Grobe, Jacob C. Jonsson, Eleanor +S. Lee, Taoning Wang, Helen Rose Wilson, +``Daylight Simulation Workflows Incorporating +Measured Bidirectional Scattering Distribution Functions,'' +.I "Energy & Buildings", +Vol. 259, No. 111890, 2022. +.LP +Wang, Taoning, Gregory Ward, Eleanor Lee, +``Efficient modeling of optically-complex, non-coplanar +exterior shading: Validation of matrix algebraic methods,'' +.I "Energy & Buildings", +vol. 174, pp. 464-83, Sept. 2018. +.LP +Lee, Eleanor S., David Geisler-Moroder, Gregory Ward, +``Modeling the direct sun component in buildings using matrix +algebraic approaches: Methods and validation,'' +.I Solar Energy, +vol. 160, 15 January 2018, pp 380-395. +.LP +Ward, G., M. Kurt & N. Bonneel, +``Reducing Anisotropic BSDF Measurement to Common Practice,'' +.I Workshop on Material Appearance Modeling, +2014. +.LP +McNeil, A., C.J. Jonsson, D. Appelfeld, G. Ward, E.S. Lee, +``A validation of a ray-tracing tool used to generate +bi-directional scattering distribution functions for +complex fenestration systems,'' +.I "Solar Energy", +98, 404-14, November 2013. .LP Ward, G., R. Mistrick, E.S. Lee, A. McNeil, J. Jonsson, ``Simulating the Daylight Performance of Complex Fenestration Systems