diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-12-15 14:23:33 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-12-31 18:40:22 +0300 |
commit | c81e6ffdf942a7e8ac58ef3a48ca1bcab78f01fd (patch) | |
tree | 29356854ccb93701edd3c6eaad62ea0b1206b9c8 /SConstruct | |
parent | 70fa2f69c9609c811522b6e0675ba7d8a2a74c08 (diff) |
Fix T46915: Non-intuitive behavior of Vector Curve Mapping node
Vector mapping node was doing some weird mapping of both original and mapped
coordinates. Mapping of original coordinates was caused by the clamping nature
of the LUT generated from the node. Mapping of the mapped value again was quite
totally obscure -- one needed to constantly keep in mind that actual value will
be scaled up and moved down.
This commit makes it so values in the vector curve mapping are always absolute.
In fact, it is now behaving quite the same as RGB curve mapping node and the
code could be de-duplicated. Keeping the code duplicated for a bit so it's more
clear what exact parts of the node changed.
Reviewers: brecht
Subscribers: bassamk
Differential Revision: https://developer.blender.org/D1672
Diffstat (limited to 'SConstruct')
0 files changed, 0 insertions, 0 deletions