Assignment1
This commit is contained in:
parent
d3bb49b3f5
commit
57ae058d9a
7 changed files with 444 additions and 3 deletions
24
Assignments/Assignment1/Application1.h
Normal file
24
Assignments/Assignment1/Application1.h
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#pragma once
|
||||
#include "helper.hpp"
|
||||
|
||||
|
||||
class Application1 : public Application {
|
||||
public:
|
||||
Application1(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::ColorEdit3("Color", colorLight);
|
||||
}
|
||||
|
||||
void initScene() override;
|
||||
|
||||
void standardScene();
|
||||
|
||||
void standardScenewithAreaLight();
|
||||
|
||||
float colorLight[3] = {1.0f, 1.0f, 1.0f};
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue