-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assignment6 #6
base: master
Are you sure you want to change the base?
Assignment6 #6
Conversation
@@ -2,7 +2,7 @@ | |||
**Dealine**: 26.11.2020 | |||
|
|||
Please put your name here: | |||
**Name:** ....... | |||
**Name:** Katrin von Seggern, Jordan Streete |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make separate submissions, otherwise I need an explanation who was doing what.
*/ | ||
int n = getNumSamples(); | ||
float m = sqrt(n); | ||
float i = s % n; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here should be also m instead of n
*/ | ||
int n = getNumSamples(); | ||
float m = sqrt(n); | ||
float i = s % n; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here should be also m instead of n
return std::nullopt; | ||
Vec2f samples(0, 0); | ||
//also taken from OpenRT | ||
size_t i = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This variable must be static or member-variable, otherwise it is zero all the time
@@ -30,19 +30,51 @@ class CShaderGlossy : public CShaderPhong { | |||
Vec3f normal = ray.hit->getNormal(ray); // shading normal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suspect Plagiarism for this problem
No description provided.