Hello Johannes, On 2017-01-18 04:58, Johannes Brunen wrote: > This one is at the center of what I'm currently working on. We would > like to have shadows according to a combination of the following resources:
I just spotted this in the new Plane::intersect(const LineSegment&, Real32&, Real32) function: if (t < -tolerance || tolerance > 1.f + tolerance) { t = 0.f; return false; } Shouldn't the condition be ... || t > 1.f + tolerance. IIUC this is meant to check if the parametric value t is in [0, 1] +/- epsilon. Cheers, Carsten ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users