Blender Git Loki

Git Commits -> Revision 8d2e79a

Revision 8d2e79a by Lukas Toenne (master)
September 5, 2013, 10:45 (GMT)
Fix #36113, Translate's wrapping has 1 pixel gap in X and Y after scale node.
The issue with wrapping is that it requires correct interpolation of the border pixels. Since interpolation is done at the far left end of the node tree in buffer/image/etc read operations, the wrapping
setting can not be used directly in those operations (otherwise in-line translate operations would cause conflicts). To make wrapping work correctly we need to add a buffer in front of the translate
operation, which can then be interpolated correctly based on wrapping. The WrapOperation becomes a variant of ReadBufferOperation, which uses its wrapping setting to determine the correct "extend" mode
for interpolation of the buffer.

Commit Details:

Full Hash: 8d2e79aaab565044f86c9fd1a2d47a565f2bcb62
SVN Revision: 59823
Parent Commit: 4a1ce71
Lines Changed: +35, -24

5 Modified Paths:

/source/blender/compositor/nodes/COM_TranslateNode.cpp (+7, -1) (Diff)
/source/blender/compositor/operations/COM_ReadBufferOperation.cpp (+15, -0) (Diff)
/source/blender/compositor/operations/COM_ReadBufferOperation.h (+2, -0) (Diff)
/source/blender/compositor/operations/COM_WrapOperation.cpp (+9, -17) (Diff)
/source/blender/compositor/operations/COM_WrapOperation.h (+2, -6) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021