star-sf

Set of surface and volume scattering functions
git clone git://git.meso-star.fr/star-sf.git
Log | Files | Refs | README | LICENSE

commit 1f6f3936f1aa8f3813a9c3ade4d6169da4140964
parent c9b88a46d3cd0730b224fa25184f026c82a06acd
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri, 27 Oct 2023 15:21:04 +0200

Wraps the README text in 72 columns

This matches the convention of plain text e-mails. It can therefore be
sent as a publication announcement e-mail without being reformatted.

Diffstat:
MREADME.md | 55++++++++++++++++++++++++++++---------------------------
1 file changed, 28 insertions(+), 27 deletions(-)

diff --git a/README.md b/README.md @@ -1,10 +1,10 @@ # Star Scattering Functions This library provides a set of data structures to describe how light is -scattered on the surface or in volume. From these interfaces, it implements -several Bidirectional Scattering Distribution Functions, microfacet -distributions, Fresnel terms or even phase functions. See the `ssf.h` header -file for a full list of proposed implementations +scattered on the surface or in volume. From these interfaces, it +implements several Bidirectional Scattering Distribution Functions, +microfacet distributions, Fresnel terms or even phase functions. See the +`ssf.h` header file for a full list of proposed implementations ## Requirements @@ -25,8 +25,8 @@ Edit config.mk as needed, then run ### Version 0.8 -Added support for discrete phase functions, i.e. phase functions whose values -are only defined for a set of angles. +Added support for discrete phase functions, i.e. phase functions whose +values are only defined for a set of angles. ### Version 0.7.2 @@ -35,8 +35,8 @@ compilation errors with gcc 11 but introduces API breaks. ### Version 0.7.1 -Fix the evaluation of the RDG-FA phase function: the incident direction was -reversed. +Fix the evaluation of the RDG-FA phase function: the incident direction +was reversed. ### Version 0.7 @@ -45,16 +45,16 @@ Add a built-in phase function using the ### Version 0.6 -- Add the phase function API allowing the user to define, sample and evaluate a - phase function. -- Provide built-in implementation of the Henyey & Greenstein, and the Rayleigh - phase functions. +- Add the phase function API allowing the user to define, sample and + evaluate a phase function. +- Provide built-in implementation of the Henyey & Greenstein, and the + Rayleigh phase functions. ### Version 0.5 - Add the pillbox microfacet distribution. -- Update the version of the RSys dependency to 0.6: replace the deprecated - `[N]CHECK` macros by the new macro `CHK`. +- Update the version of the RSys dependency to 0.6: replace the + deprecated `[N]CHECK` macros by the new macro `CHK`. ### Version 0.4 @@ -65,24 +65,25 @@ Add a built-in phase function using the ### Version 0.3 -- A BSDF is no more a composition of BxDFs: the caller writes directly the - comportment of the BSDF without intermediary abstractions. As a result, - built-in BxDFs become built-in BSDFs and the BxDF data structure and - functions are removed from the API. +- A BSDF is no more a composition of BxDFs: the caller writes directly + the comportment of the BSDF without intermediary abstractions. As a + result, built-in BxDFs become built-in BSDFs and the BxDF data + structure and functions are removed from the API. ### Version 0.2 -- Fix the thin-dielectric material to ensure the energy conservation property. -- Add the `ssf_specular_dielectric_dielectric_interface` BxDF. This scattering - function could be built by combining the `ssf_specular_reflection` and the - `ssf_specular_transmission` BxDFs into a BSDF but such combination does not - ensure the energy conservation property due to weaknesses into the BSDF - interface. +- Fix the thin-dielectric material to ensure the energy conservation + property. +- Add the `ssf_specular_dielectric_dielectric_interface` BxDF. This + scattering function could be built by combining the + `ssf_specular_reflection` and the `ssf_specular_transmission` BxDFs + into a BSDF but such combination does not ensure the energy + conservation property due to weaknesses into the BSDF interface. ## License Copyright (C) 2016-2018, 2021-2023 |Méso|Star> (contact@meso-star.com) -Star-SF is free software released under the GPL v3+ license. You are welcome -to redistribute it under certain conditions; refer to the COPYING file for -details. +Star-SF is free software released under the GPL v3+ license. You are +welcome to redistribute it under certain conditions; refer to the +COPYING file for details.