Implement S2 directional sampling in the random ray solver (#3811)

This commit is contained in:
Kevin Sawatzky 2026-02-19 06:25:19 -06:00 committed by GitHub
parent f007c85a50
commit 417343c920
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 220 additions and 6 deletions

View file

@ -326,6 +326,8 @@ void get_run_parameters(pugi::xml_node node_base)
RandomRay::sample_method_ = RandomRaySampleMethod::PRNG;
} else if (temp_str == "halton") {
RandomRay::sample_method_ = RandomRaySampleMethod::HALTON;
} else if (temp_str == "s2") {
RandomRay::sample_method_ = RandomRaySampleMethod::S2;
} else {
fatal_error("Unrecognized sample method: " + temp_str);
}