appleseedhq / appleseed

A modern open source rendering engine for animation and visual effects
https://appleseedhq.net/
MIT License
2.19k stars 329 forks source link

Shading basis non-orthogonal on analytical sphere test scene #2839

Open dictoon opened 4 years ago

dictoon commented 4 years ago

Test scene

analytic lights/06 - sphere - analytic.appleseed

fails with an assertion in debug because the shading basis we try to construct in Intersector::make_procedural_surface_shading_point() is not orthogonal:

shading_point.m_shading_basis = Basis3d(
    normal,
    normalize(dpdu),
    normalize(dpdv));