Blender Git Commit Log

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

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2017