Blender Git Loki

Git Commits -> Revision ce3566a

Revision ce3566a by Sergey Sharybin (master)
September 10, 2012, 14:47 (GMT)
Color Management: add View as Render to image datablocks

This is need since some images (like normal maps, textures and so) would
want to be viewed without any tone map applied on them. On the same time
it's possible that some images would want to be affected by tone maps,
and renders would always want to be affected by tone maps.

After long discussion with Brecht we decided less painful and most clear
way would be to simply add "View as Render" option to image datablocks.

If this option is enabled for image, both settings from Display and
Render blocks of color management settings would be applied on display.

If this option is disabled, only display transform with default view and
no exposure/gamma/curves would be applied.

Render result and compositor viewers would always have "View as Render"
enabled.

There's separated setting when image is saving which says whether saved
image should be affected by render part of color management settings.

This option is enabled by default for render result/node viewer and
disabled by default for all the rest images. This option wouldn't have
affect when saving to float formats such as EXR.

Commit Details:

Full Hash: ce3566a4cb3d328c646a2876b14530db9dc6a014
SVN Revision: 50506
Parent Commit: b0605ee
Lines Changed: +125, -24

11 Modified Paths:

/source/blender/blenkernel/intern/image.c (+3, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+6, -0) (Diff)
/source/blender/editors/include/ED_image.h (+1, -1) (Diff)
/source/blender/editors/space_image/image_buttons.c (+1, -0) (Diff)
/source/blender/editors/space_image/image_draw.c (+16, -7) (Diff)
/source/blender/editors/space_image/image_ops.c (+30, -7) (Diff)
/source/blender/editors/space_node/node_view.c (+1, -1) (Diff)
/source/blender/editors/space_sequencer/sequencer_view.c (+1, -1) (Diff)
/source/blender/imbuf/intern/colormanagement.c (+60, -7) (Diff)
/source/blender/makesdna/DNA_image_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_image.c (+5, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021