Blender Git Loki
Git Commits -> Revision 4113090
Revision 4113090 by Lukas Toenne (tile) December 9, 2011, 11:38 (GMT) |
Finished all blend modes for the color mix node. In detail: * Added missing implementations for Dodge, Burn, Hue, Saturation, Value and Color blend modes. * Reviewed all other blend modes for correctness. * Base Operation: Leave alpha unchanged (all color mix ops do so); use the alpha multiply value like all others (just for clarity, base op is not really used) * Difference: Use fabsf instead of fabs, the latter works on doubles instead floats. * Divide: return 0 if divisor is 0. |
Commit Details:
Full Hash: 4113090b400f1c6698e9ee178097b4fecf533da8
SVN Revision: 42535
Parent Commit: 0255b4b
Lines Changed: +216, -81
11 Modified Paths:
/source/blender/compositor/operations/COM_MixBaseOperation.cpp (+4, -1) (Diff)
/source/blender/compositor/operations/COM_MixBurnOperation.cpp (+51, -12) (Diff)
/source/blender/compositor/operations/COM_MixColorOperation.cpp (+24, -10) (Diff)
/source/blender/compositor/operations/COM_MixDarkenOperation.cpp (+4, -4) (Diff)
/source/blender/compositor/operations/COM_MixDifferenceOperation.cpp (+3, -3) (Diff)
/source/blender/compositor/operations/COM_MixDivideOperation.cpp (+14, -8) (Diff)
/source/blender/compositor/operations/COM_MixDodgeOperation.cpp (+54, -10) (Diff)
/source/blender/compositor/operations/COM_MixHueOperation.cpp (+24, -11) (Diff)
/source/blender/compositor/operations/COM_MixLinearLightOperation.cpp (+0, -1) (Diff)
/source/blender/compositor/operations/COM_MixSaturationOperation.cpp (+20, -11) (Diff)
/source/blender/compositor/operations/COM_MixValueOperation.cpp (+18, -10) (Diff)
/source/blender/compositor/operations/COM_MixBurnOperation.cpp (+51, -12) (Diff)
/source/blender/compositor/operations/COM_MixColorOperation.cpp (+24, -10) (Diff)
/source/blender/compositor/operations/COM_MixDarkenOperation.cpp (+4, -4) (Diff)
/source/blender/compositor/operations/COM_MixDifferenceOperation.cpp (+3, -3) (Diff)
/source/blender/compositor/operations/COM_MixDivideOperation.cpp (+14, -8) (Diff)
/source/blender/compositor/operations/COM_MixDodgeOperation.cpp (+54, -10) (Diff)
/source/blender/compositor/operations/COM_MixHueOperation.cpp (+24, -11) (Diff)
/source/blender/compositor/operations/COM_MixLinearLightOperation.cpp (+0, -1) (Diff)
/source/blender/compositor/operations/COM_MixSaturationOperation.cpp (+20, -11) (Diff)
/source/blender/compositor/operations/COM_MixValueOperation.cpp (+18, -10) (Diff)