diff options
author | Olivier Maury <omaury> | 2022-04-22 19:25:18 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-04-22 19:31:15 +0300 |
commit | 58be9708bfa069df2db7415a64ec76c3fc012868 (patch) | |
tree | c76ee535d7ea698a9d68b21a4c4aebd7540c9184 /source/blender/draw | |
parent | d8abac7357bf7d3c4e6d73be1836fd725ed173c9 (diff) |
Cycles: removed UV requirement for MNEE, along with fixes and cleanups
Remove need for shadow caustic caster geometry to have a UV layout. UVs were
useful to maintain a consistent tangent frame across the surface while
performing the walk. A consistent tangent frame is necessary for rough
surfaces where a normal offset encodes the sampled h, which should point
towards the same direction across the mesh.
In order to get a continuous surface parametrization without UVs, the
technique described in this paper was implemented:
"The Natural-Constraint Representation of the Path Space for Efficient
Light Transport Simulation" (Supplementary Material), SIGGRAPH 2014.
In addition to implementing this feature:
* Shadow caustic casters without smooth normals are now ignored (triggered
some refactoring and cleaning).
* Hit point calculation was refactored using existing utils functions,
simplifying the code.
* The max number of solver iterations was reduced to 32, a solution is
usually found by then.
* Added generalized geometry term clamping (transfer matrix calculation can
sometimes get unstable).
* Add stop condition to Newton solver for more consistent CPU and GPU result.
* Add support for multi scatter GGX refraction.
Fixes T96990, T96991
Ref T94120
Differential Revision: https://developer.blender.org/D14623
Diffstat (limited to 'source/blender/draw')
0 files changed, 0 insertions, 0 deletions