![]() |
Lightmetrica
0.0.1.50dbee3 (yosakoi)
|
#include <renderutils.h>
Static Public Member Functions | |
| static Math::Float | GeneralizedGeometryTerm (const SurfaceGeometry &geom1, const SurfaceGeometry &geom2) |
| static Math::Float | GeneralizedGeometryTermWithVisibility (const Scene &scene, const SurfaceGeometry &geom1, const SurfaceGeometry &geom2) |
| static bool | Visible (const Scene &scene, const Math::Vec3 &p1, const Math::Vec3 &p2) |
Render utilities. Utilities for renderer implementations.
|
static |
Compute generalized geometry term. Ordinary geometry term + degeneration support. Note that the geometry term is commutable.
| geom1 | Surface geometry for eye sub-path. |
| geom2 | Surface geometry for light sub-path. |
|
static |
Compute generalized geometry term including visibility. Use this function if explicit computation of visibility term is needed.
| scene | Scene. |
| geom1 | Surface geometry for eye sub-path. |
| geom2 | Surface geometry for light sub-path. |
|
static |
Check visibility between two points.
| scene | Scene. |
| p1 | First point. |
| p2 | Second point. |
| true | Two points are mutually visible. |
| false | Two points are not mutually visible. |
1.8.8