Blender Git Loki

Git Commits -> Revision d0f67e4

Revision d0f67e4 by Sergey Sharybin (master)
June 30, 2012, 12:36 (GMT)
Color management fixes and improvements

- Made color management cache safe for situations when one area
requested a display buffer, then some changes were done which
invalidated cache, other area requested display buffer which
changed cached buffer.

Suck case could be fatal for first used of display buffer,
which didn't happen yet because cache is being accessed from
main thread only, but better to keep this things completely
thread save to avoid headache in the future.

- Baked RRT transformations, which gives ~3-4 times boost
hopefully without visible artifacts.

- Added support of partial updates to display buffers.

This would create special context which hols display buffer
which imbuf had to the time of creating this context and
later this context would allow to run a color correction
from given linear buffer within given region.

This is being used by compositor to enable more realtime
display update when compositing.

- Added support of color management backdrop for nodes editor.

There's now special menu called display properties in N-panel
of nodes editor.

Probably this better be de-duplicated somehow, but not sure
yet how. Currently it's not so harmful to have panel for two
spaces which contains only 2 properties.

There's currently one unsolved issue with backdrop:
it's not being updated progressively when just loading the
file -- it's simply because there's no color managed display
buffer for backdrop yet, and compositor doesn't actually
know which color space to use here to generate preview to.

Commit Details:

Full Hash: d0f67e498ea4109b35911fce70e39f82e7563b27
SVN Revision: 48432
Parent Commit: 244a1c5
Lines Changed: +15084, -66

3 Added Paths:

/release/datafiles/colormanagement/luts/rec709_aces_rrt_p3dci.3dl (+4915, -0) (View)
/release/datafiles/colormanagement/luts/rec709_aces_rrt_srgb.3dl (+4915, -0) (View)
/release/datafiles/colormanagement/luts/rec709_aces_rrt_xyz.3dl (+4915, -0) (View)

11 Modified Paths:

/release/datafiles/colormanagement/config.ocio (+15, -9) (Diff)
/release/scripts/startup/bl_ui/space_node.py (+15, -0) (Diff)
/source/blender/compositor/operations/COM_ViewerBaseOperation.cpp (+8, -8) (Diff)
/source/blender/compositor/operations/COM_ViewerBaseOperation.h (+1, -0) (Diff)
/source/blender/editors/space_node/drawnode.c (+14, -12) (Diff)
/source/blender/editors/space_node/node_draw.c (+1, -3) (Diff)
/source/blender/editors/space_node/node_intern.h (+1, -1) (Diff)
/source/blender/imbuf/IMB_colormanagement.h (+7, -0) (Diff)
/source/blender/imbuf/intern/colormanagement.c (+235, -33) (Diff)
/source/blender/makesdna/DNA_space_types.h (+3, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+39, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021