Fix T45617: Map UV node produces image artifacts

Basically filtering was happening twice, first time by applying weights of EWA
filter itself and then by applying subpixel offset while reading pixel values.
This commit is contained in:
2015-08-27 18:50:40 +02:00
parent 9b3fa880a5
commit 3ec81b814c
8 changed files with 15 additions and 48 deletions

View File

@@ -262,7 +262,7 @@ public:
BLI_bilinear_interpolation_fl(this->m_buffer, result, this->m_width, this->m_height, this->m_num_channels, u, v);
}
void readEWA(float *result, const float uv[2], const float derivatives[2][2], PixelSampler sampler);
void readEWA(float *result, const float uv[2], const float derivatives[2][2]);
/**
* @brief is this MemoryBuffer a temporarily buffer (based on an area, not on a chunk)