Blender Git Loki

Git Commits -> Revision d7d856a

Revision d7d856a by Brecht Van Lommel (master)
December 30, 2011, 14:17 (GMT)
Color management: add "Color Unpremultiply" option for images and render settings.
For premultiplied alpha images, this makes any color space conversion for the image
or render output work on color without alpha multiplied in.

This is typically useful to avoid fringing when the image was or will be composited
over a light background. If the image will be composited over a black background on
the other hand, leaving this option off will give correct results.

In an ideal world, there should never be any color space conversion on images with
alpha, since it's undefined what to do then, but in practice it's useful to have
this option.

Patch by Troy Sobotka, with changes by me.

Commit Details:

Full Hash: d7d856a23de2b6751a46632130f941a71377d134
SVN Revision: 43004
Parent Commit: 424e09a
Lines Changed: +90, -61

17 Modified Paths:

/release/scripts/startup/bl_ui/properties_render.py (+3, -0) (Diff)
/source/blender/blenkernel/intern/image.c (+13, -1) (Diff)
/source/blender/editors/include/BIF_glutil.h (+0, -5) (Diff)
/source/blender/editors/render/render_internal.c (+6, -3) (Diff)
/source/blender/editors/render/render_preview.c (+24, -3) (Diff)
/source/blender/editors/screen/glutil.c (+0, -24) (Diff)
/source/blender/editors/space_image/image_buttons.c (+3, -1) (Diff)
/source/blender/editors/space_node/space_node.c (+1, -3) (Diff)
/source/blender/imbuf/IMB_imbuf_types.h (+1, -0) (Diff)
/source/blender/imbuf/intern/divers.c (+11, -6) (Diff)
/source/blender/makesdna/DNA_image_types.h (+8, -8) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_image.c (+7, -0) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+5, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_image.c (+1, -1) (Diff)
/source/blender/nodes/composite/node_composite_util.c (+1, -1) (Diff)
/source/blender/render/intern/source/pipeline.c (+4, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021