Replies: 3 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
It seems that my image texture is still broken, though the black sphere issue is gone, and as I am not yet done with the image textures I am closing this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for reporting back. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! I've encountered a bug where my random sphere scene renders properly, including the checker texture, but other scenes seem not to work. The most common issue is that some spheres become pure black. Upon inspecting the ppm image, the affected pixel values are indeed 0, 0, 0.
Here is my random sphere scene:
Here is the two checkered spheres scene:
Here is the scene with just a globe:
Lastly, here's an additional test scene from the 1st book:
For the globe scene, it also seems that I am going out of bounds on the image texture in quite a lot of runs. I've attached a .txt file of the console output with RUST_BACKTRACE=1.
image_fail.txt
Here is my github repo: https://github.com/fonzy1243/ray_tracing
Apologies if any part of the code isn't idiomatic Rust, this is just my first real project.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions