Blender Git Loki

Git Commits -> Revision dd65a6b

Revision dd65a6b by Sergey Sharybin (master)
August 22, 2012, 14:23 (GMT)
Color Management: pipeline cleanup

- Move color management settings to scene, so it's now clear for
all areas (such as compositor, sequencer) which settings to
use for display buffers

- Currently removed per-editor color management settings. It could
be nice to have them, but they don't fit nicely into overall
pipeline and could be added as a override settings for display
only later.

- Make sequencer working in space defined by sequencer_workspace
role in OCIO configuration file.
If this role is not set, sequencer will fallback to legacy sRGB
Gamma 2.2 space.

Currently use vd16 color space for sequencer. Not sure what exactly
this color space is, but it's pretty close to SPI Film view and
it's still invertable.

- Sequencer will now output linear float buffers, not color managed
float buffers.
Before this sequencer used to output float buffers in sRGB space,
which was sequencer's working space. Now it can not output buffers
in this space since other areas are not aware of this space.
This also makes it's consistent that all float buffers in Blender
are in linear space.

- When saving render result into byte file format scene's display
transform would be applied on this buffer.
When saving files from image editor, there'll be a display
transform settings which are default set to scene's settings but
could also be overwritten.

Additional details are there (would be extended soon):

http://wiki.blender.org/index.php/User:Nazg-gul/ColorManagement

Commit Details:

Full Hash: dd65a6b67d9bbc01e82e94c399e4721538c714be
SVN Revision: 50120
Parent Commit: 24498f0
Lines Changed: +135571, -332

2 Added Paths:

/release/datafiles/colormanagement/luts/srgb.spi1d (+4107, -0) (View)
/release/datafiles/colormanagement/luts/vd16.spi1d (+131079, -0) (View)

40 Modified Paths:

/intern/opencolorio/ocio_capi.h (+1, -0) (Diff)
/release/datafiles/colormanagement/config.ocio (+51, -10) (Diff)
/release/scripts/startup/bl_ui/properties_render.py (+1, -1) (Diff)
/release/scripts/startup/bl_ui/properties_scene.py (+15, -0) (Diff)
/release/scripts/startup/bl_ui/space_clip.py (+0, -13) (Diff)
/release/scripts/startup/bl_ui/space_image.py (+0, -12) (Diff)
/release/scripts/startup/bl_ui/space_info.py (+0, -4) (Diff)
/release/scripts/startup/bl_ui/space_node.py (+0, -12) (Diff)
/release/scripts/startup/bl_ui/space_sequencer.py (+4, -4) (Diff)
/source/blender/blenkernel/intern/colortools.c (+0, -2) (Diff)
/source/blender/blenkernel/intern/scene.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/sequencer.c (+18, -9) (Diff)
/source/blender/editors/include/UI_interface.h (+2, -2) (Diff)
/source/blender/editors/interface/interface_templates.c (+4, -19) (Diff)
/source/blender/editors/screen/screendump.c (+1, -1) (Diff)
/source/blender/editors/screen/screen_ops.c (+0, -4) (Diff)
/source/blender/editors/space_clip/clip_draw.c (+3, -6) (Diff)
/source/blender/editors/space_clip/space_clip.c (+0, -5) (Diff)
/source/blender/editors/space_image/image_buttons.c (+5, -4) (Diff)
/source/blender/editors/space_image/image_draw.c (+6, -9) (Diff)
/source/blender/editors/space_image/image_ops.c (+7, -11) (Diff)
/source/blender/editors/space_image/space_image.c (+0, -5) (Diff)
/source/blender/editors/space_node/drawnode.c (+3, -6) (Diff)
/source/blender/editors/space_node/space_node.c (+0, -5) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+1, -7) (Diff)
/source/blender/imbuf/IMB_colormanagement.h (+19, -2) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+5, -0) (Diff)
/source/blender/imbuf/IMB_imbuf_types.h (+3, -4) (Diff)
/source/blender/imbuf/intern/colormanagement.c (+192, -93) (Diff)
/source/blender/makesdna/DNA_color_types.h (+0, -6) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+5, -1) (Diff)
/source/blender/makesdna/DNA_space_types.h (+1, -13) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+0, -6) (Diff)
/source/blender/makesrna/intern/rna_color.c (+20, -15) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+11, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+0, -21) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+0, -11) (Diff)
/source/blender/render/intern/source/pipeline.c (+1, -2) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+0, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021