work on global illum

This commit is contained in:
Shuo Feng 2024-03-19 23:15:12 -04:00
parent 75faed07cc
commit 1c06958238
Signed by: sfeng
GPG key ID: 1E83AE6CD1C037B1
4 changed files with 31 additions and 3 deletions

View file

@ -12,6 +12,10 @@ float Scene::fov() { return fov_; }
bool Scene::globalIllum() { return globalIllum_; }
int Scene::maxBounce() { return maxBounce_; }
float Scene::probTerminate() { return probTerminate_; }
Eigen::VectorXi Scene::raysPerPixel() const { return raysPerPixel_; }
Vector3f Scene::ai() const { return ai_; }
@ -39,3 +43,9 @@ void Scene::setTwoSideRender(bool twoSideRender) {
void Scene::setGlobalIllum(bool globalIllum) {
this->globalIllum_ = globalIllum;
}
void Scene::setMaxBounce(int maxBounce) { this->maxBounce_ = maxBounce; }
void Scene::setProbTerminate(float probTerminate) {
this->probTerminate_ = probTerminate;
}