|
Lagrange
|
Options for OccludedFacetSampler. More...
#include <lagrange/raycasting/remove_occluded_facets.h>
Public Attributes | |
| std::optional< AdaptiveOptions > | adaptive = AdaptiveOptions{} |
| Adaptive multiple importance sampling (MIS) with a cosine + seed-guided mixture is enabled by default. | |
| double | size_influence = 0.5 |
How much a facet size counts toward keeping it. 0 = size-independent, 1 = area-weighted. | |
| double | threshold = 5e-06 |
Keep-threshold for M = mean_visibility * (area_f / mean_face_area)^size_influence. | |
| double | confidence = 0.9 |
| Per-facet confidence for anytime-valid early-keep retirement. | |
Options for OccludedFacetSampler.
| std::optional<AdaptiveOptions> adaptive = AdaptiveOptions{} |
Adaptive multiple importance sampling (MIS) with a cosine + seed-guided mixture is enabled by default.
Set to std::nullopt for plain cosine-weighted hemisphere sampling.
| double threshold = 5e-06 |
Keep-threshold for M = mean_visibility * (area_f / mean_face_area)^size_influence.
A facet is kept when M >= threshold.
| double confidence = 0.9 |
Per-facet confidence for anytime-valid early-keep retirement.
Under the betting-test assumptions, the chance of incorrectly retiring a facet is at most 1 - confidence over any number of batches. Higher values retire later. This does not control final removals or joint confidence across the scene.