Blender Git Loki
Git Commits -> Revision 48eb277
Revision 48eb277 by Dalai Felinto (master) August 19, 2012, 03:05 (GMT) |
The Distance Node in 2.49/2.5/2.6 pre-tiles has a different calculation for RGB and YCC. While RGB calculate the distance in 3d between R,G and B, the YCC only takes Cb and Cr into consideration. This commit makes COM_DistanceMatteOperation inheritable and expose the calculate distance function to be re-implemented for the YCC node operation. Thanks Troy Sobotka for the report over email. Patch incorporates review suggestions by Jeroen Bakker. |
Commit Details:
Full Hash: 48eb27791bcd0b28b3fad384552009fa4b712d00
SVN Revision: 50000
Parent Commit: e4a6602
Lines Changed: +259, -149
4 Added Paths:
/source/blender/compositor/operations/COM_DistanceRGBMatteOperation.cpp (+94, -0) (View)
/source/blender/compositor/operations/COM_DistanceRGBMatteOperation.h (+55, -0) (View)
/source/blender/compositor/operations/COM_DistanceYCCMatteOperation.cpp (+35, -0) (View)
/source/blender/compositor/operations/COM_DistanceYCCMatteOperation.h (+43, -0) (View)
/source/blender/compositor/operations/COM_DistanceRGBMatteOperation.h (+55, -0) (View)
/source/blender/compositor/operations/COM_DistanceYCCMatteOperation.cpp (+35, -0) (View)
/source/blender/compositor/operations/COM_DistanceYCCMatteOperation.h (+43, -0) (View)
2 Deleted Paths:
/source/blender/compositor/operations/COM_DistanceMatteOperation.cpp (+0, -90)
/source/blender/compositor/operations/COM_DistanceMatteOperation.h (+0, -52)
/source/blender/compositor/operations/COM_DistanceMatteOperation.h (+0, -52)