diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-01-14 18:33:52 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-05-18 17:45:38 +0300 |
commit | 342e12d6d92198bba8355562600a2f97bb45fed5 (patch) | |
tree | a5f1e10205e7d66e5c6672fb416883a04475782c /source/blender/blenkernel/BKE_attribute_math.hh | |
parent | f517b3a29568fd43b722973c7c46d3c358ba0dda (diff) |
Subdiv: support interpolating orco coordinates in subdivision surfaces
This makes changes to the opensubdiv module to support additional vertex data
besides the vertex position, that is smootly interpolated the same way. This is
different than varying data which is interpolated linearly.
Fixes T96596: wrong generated texture coordinates with GPU subdivision. In that
bug lazy subdivision would not interpolate orcos.
Later on, this implementation can also be used to remove the modifier stack
mechanism where modifiers are evaluated a second time for orcos, which is messy
and inefficient. But that's a more risky change, this is just the part to fix
the bug in 3.2.
Differential Revision: https://developer.blender.org/D14973
Diffstat (limited to 'source/blender/blenkernel/BKE_attribute_math.hh')
0 files changed, 0 insertions, 0 deletions