|
| THemisphere ()=default |
|
| THemisphere (T radius) |
|
T | getArea () const |
| The area of the dome part.
|
|
TVector3< T > | sampleToSurfaceArchimedes (const std::array< T, 2 > &sample) const |
| Map the 2D sample to a position on the surface of the hemisphere.
|
|
TVector3< T > | sampleToSurfaceArchimedes (const std::array< T, 2 > &sample, T *out_pdfA) const |
|
TVector3< T > | sampleToSurfaceCosThetaWeighted (const std::array< T, 2 > &sample) const |
|
TVector3< T > | sampleToSurfaceCosThetaWeighted (const std::array< T, 2 > &sample, T *out_pdfA) const |
|
TVector3< T > | sampleToSurfaceCosLobeWeighted (const std::array< T, 2 > &sample, T exponent) const |
|
TVector3< T > | sampleToSurfaceCosLobeWeighted (const std::array< T, 2 > &sample, T exponent, T *out_pdfA) const |
|
template<typename T>
class ph::math::THemisphere< T >
A hemisphere in 3-D space.
The hemisphere is facing up (y-axis) and does not include the disk part at the bottom. The origin of the hemisphere is located at the center of the full sphere.