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

Figure out the rotation bug #4

Closed
Morozov-5F opened this issue Dec 29, 2020 · 2 comments · Fixed by #17
Closed

Figure out the rotation bug #4

Morozov-5F opened this issue Dec 29, 2020 · 2 comments · Fixed by #17
Assignees
Labels
bug Something isn't working

Comments

@Morozov-5F
Copy link
Owner

For some reason if we rotate the cube for more than 45 degrees all kind of weird stuff happen -- some of the cube side becomes shaded, while others don't. Easiest way to reproduce the issue is change the "instance test" scene so the cube is rotated for more than 45 degrees.

@Morozov-5F Morozov-5F added the bug Something isn't working label Dec 29, 2020
@Morozov-5F Morozov-5F self-assigned this Dec 29, 2020
@Morozov-5F
Copy link
Owner Author

The issue also reproduces on polygonal models from #5. It feels like it has something to do with the normal vector pointing inside the surface.

@Morozov-5F
Copy link
Owner Author

This is probably due to a possible bug in the reference implementation: RayTracing/raytracing.github.io#965

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant