Blender Git Commit Log

Git Commits -> Revision c5c34ca

Revision c5c34ca by Sergey Sharybin (master)
March 28, 2013, 08:21 (GMT)
Fix #34782: Video Editor - Substract after transform fails

Couple of precision issues here:

- Interpolation was rounding trunkcating colors, and because
of some precision issues value 254.999 became 254 leading
to troubles later.

Now color interpolaiton will do rounding to nearest int.

- Subtract was setting channels to something negative which
confused color management (especially negative alpha),

Now subtract effect will clamp channels to 0 from bottom
and also do some tricks to prevent small alpha which
could also confuse color management.

Commit Details:

Full Hash: c5c34ca65f7d53abea3bead809dc282d231010ca
SVN Revision: 55644
Parent Commit: ed99c94
Lines Changed: +48, -30

2 Modified Paths:

/source/blender/blenkernel/intern/seqeffects.c (+32, -14) (Diff)
/source/blender/blenlib/intern/math_interp.c (+16, -16) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021