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 b8fa14f1a8ddabad414aae0e1eb04a8da303c958
parent 7b13fd9bfa42609593a69c7bb3302a63ba648fa5
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri, 27 Oct 2023 15:26:52 +0200

Merge branch 'release_0.9' into develop

Diffstat:
MREADME.md | 63++++++++++++++++++++++++++++++++++++---------------------------
Mconfig.mk | 2+-
2 files changed, 37 insertions(+), 28 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 @@ -23,10 +23,18 @@ Edit config.mk as needed, then run ## Release notes +### Version 0.9 + +- Replace CMake by Makefile as build system. +- Update compiler and linker flags to increase the security and + robustness of generated binaries. +- Provide a pkg-config file to link the library as an external + dependency. + ### 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 +43,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 +53,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 +73,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. diff --git a/config.mk b/config.mk @@ -1,4 +1,4 @@ -VERSION = 0.8.0 +VERSION = 0.9.0 PREFIX = /usr/local LIB_TYPE = SHARED