Blender Git Commit Log

Git Commits -> Revision f186f89

Revision f186f89 by Sergey Sharybin (master)
March 1, 2013, 15:37 (GMT)
Fix #34461: Inconsistent behavior of "Color Mix Node" and "Alpha Over Node"

Added compatibility option "Straight Alpha Output" to image input node

When this option is enabled, image input node will convert float buffer
to straight alpha.

This is not what you'll usually want with new alpha pipeline, nit this
is needed to preserve compatibility with older files saved in 2.65.
In that version byte image are resulting with straight alpha passing
to the compositor and alpha-overing required extra premultiplication
of inputs.

So, that's why Straight Alpha Output is needed -- it's set in versioning
code for byte node images so they'll still output straight alpha.

This option is currently only available in N-panel.

Additional change: added Alpha Mode for image input node to N-panel.

Commit Details:

Full Hash: f186f89a42575622a9939a6fbe3f240d2a1ba85a
SVN Revision: 54960
Parent Commit: 69f746d
Lines Changed: +49, -2

5 Modified Paths:

/source/blender/blenloader/intern/readfile.c (+26, -0) (Diff)
/source/blender/compositor/nodes/COM_ImageNode.cpp (+11, -1) (Diff)
/source/blender/editors/space_node/drawnode.c (+3, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+3, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+6, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021