Kwasniok / cpp-raytracing

non-linear raytraycing based on "Raytracing in One Weekend"
2 stars 0 forks source link

fix numerical issues in swirl geometry #48

Closed Kwasniok closed 2 years ago

Kwasniok commented 2 years ago

bug: Some long distance rays result in ray segments with value (nan, nan, nan). found in version: 4c6d05f3 example: swirl_triangle with ray_depth = 250

bug_48 The green rays above have this issue.