You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I appear to have a subtle bug after implementing dialectric material. I don't see any deviations in the net new code from this chapter, so I'm guessing it's something subtle going on in code from prior chapters. debugging tips or advice appreciated :-)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I appear to have a subtle bug after implementing dialectric material. I don't see any deviations in the net new code from this chapter, so I'm guessing it's something subtle going on in code from prior chapters. debugging tips or advice appreciated :-)
https://github.com/2c2c/raytracing
i'm shoehorning polymorphism in zig to follow the book's structure, so the code may not be pleasant :) Another user seems to have the same bug at https://www.reddit.com/r/rust/comments/1dmi3fd/raytra_raytracing_in_a_weekend_refraction_issues/ if rust is your preference
Beta Was this translation helpful? Give feedback.
All reactions