Photon Engine 2.0.0-beta
A physically based renderer.
|
#include <array>
#include <cstddef>
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | ph |
The root for all renderer implementations. | |
namespace | ph::math |
Math functions and utilities. | |
namespace | ph::math::spectral_data |
Typedefs | |
using | ph::math::spectral_data::ArrayXYZCMF = std::array<double, 471> |
using | ph::math::spectral_data::ArrayD65 = std::array<double, 531> |
using | ph::math::spectral_data::ArraySmits = std::array<double, 40> |
Various spectral dataset are available here. Note that many dataset are provided as functions rather than directly in the form of arrays. It is done in this way so that how the data is stored is opaque to the users. The data, under the hood, may be hard-coded directly in the source, lazily loaded from disk, or generated on-demand.