Skip to content
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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

katvonseggern
Copy link

No description provided.

@@ -2,7 +2,7 @@
**Dealine**: 26.11.2020

Please put your name here:
**Name:** .......
**Name:** Katrin von Seggern, Jordan Streete
Copy link
Contributor

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;
Copy link
Contributor

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;
Copy link
Contributor

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;
Copy link
Contributor

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants