Replies: 1 comment
-
| Found it! Issue was that the hollow sphere is made of two spheres, with opposing normals: I was only using the second one. | 
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
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
In the Hollow Sphere, for the dielectric material, it is reflecting some of the middle sphere and in general is refracting differently then the example picture. I've tried reviewing my code, but so far nothing sticks out to me. Plus, I am using C++ and basically just typing what I see, so even as I compare nothing looks wrong--if even different at all--anywhere. Does anyone have any idea what could be the issue?
My codebase is here: https://github.com/Bashmelek/RayTracingIn1
Beta Was this translation helpful? Give feedback.
All reactions