Assignment2 added.

This commit is contained in:
hal8174 2024-05-14 11:47:15 +02:00
parent 025341336d
commit 1948277dbd
19 changed files with 111151 additions and 11 deletions

View file

@ -0,0 +1,29 @@
#pragma once
#include "helper.hpp"
class Application2 : public Application {
public:
Application2(int argc, char** argv) : Application(argc, argv, "Assignment 1") {
}
private:
Vec3fa renderPixel(float x, float y, const ISPCCamera& camera, RayStats& stats, RandomSampler& sampler) override;
void drawGUI() override {
ImGui::Checkbox("Bounding Box", &boundingBox);
}
void initScene() override;
void emptyScene();
void gnomeScene();
void horseScene();
void heterogenousScene();
float colorLight[3] = {1.0f, 1.0f, 1.0f};
bool boundingBox = true;
};