Photon Engine 2.0.0-beta
A physically based renderer.
|
#include <climits>
#include <array>
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::table |
namespace | ph::math::table::detail |
Variables | |
constexpr std::array< uint32, 2048 > | ph::math::table::PRIME |
First 2048 primes. | |
constexpr std::array< uint32, 512 > | ph::math::table::GOOD_PRIME |
First 512 good primes. Primes such that its square is greater than the product of any two primes at the same number of positions/offsets before and after it in the sequence of primes, i.e., for the n-th prime \( p_n \) to be good, it must satisfy the inequality \( p_n^2 > p_{n-i} p_{n+i} \). | |
constexpr std::array< unsigned char, 256 > | ph::math::table::detail::BITS8_REVERSE |