blender/release/scripts/startup/bl_ui
Sergey Sharybin a73dd3476e Color Management, Stage 2: Switch color pipeline to use OpenColorIO
Replace old color pipeline which was supporting linear/sRGB color spaces
only with OpenColorIO-based pipeline.

This introduces two configurable color spaces:

- Input color space for images and movie clips. This space is used to convert
  images/movies from color space in which file is saved to Blender's linear
  space (for float images, byte images are not internally converted, only input
  space is stored for such images and used later).

  This setting could be found in image/clip data block settings.

- Display color space which defines space in which particular display is working.

  This settings could be found in scene's Color Management panel.

When render result is being displayed on the screen, apart from converting image
to display space, some additional conversions could happen.

This conversions are:

- View, which defines tone curve applying before display transformation.
  These are different ways to view the image on the same display device.
  For example it could be used to emulate film view on sRGB display.

- Exposure affects on image exposure before tone map is applied.

- Gamma is post-display gamma correction, could be used to match particular
  display gamma.

- RGB curves are user-defined curves which are applying before display
  transformation, could be used for different purposes.

All this settings by default are only applying on render result and does not
affect on other images. If some particular image needs to be affected by this
transformation, "View as Render" setting of image data block should be set to
truth. Movie clips are always affected by all display transformations.

This commit also introduces configurable color space in which sequencer is
working. This setting could be found in scene's Color Management panel and
it should be used if such stuff as grading needs to be done in color space
different from sRGB (i.e. when Film view on sRGB display is use, using VD16
space as sequencer's internal space would make grading working in space
which is close to the space using for display).

Some technical notes:

- Image buffer's float buffer is now always in linear space, even if it was
  created from 16bit byte images.

- Space of byte buffer is stored in image buffer's rect_colorspace property.

- Profile of image buffer was removed since it's not longer meaningful.

- OpenGL and GLSL is supposed to always work in sRGB space. It is possible
  to support other spaces, but it's quite large project which isn't so
  much important.

- Legacy Color Management option disabled is emulated by using None display.
  It could have some regressions, but there's no clear way to avoid them.

- If OpenColorIO is disabled on build time, it should make blender behaving
  in the same way as previous release with color management enabled.

More details could be found at this page (more details would be added soon):
http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.64/Color_Management

--
Thanks to Xavier Thomas, Lukas Toene for initial work on OpenColorIO
integration and to Brecht van Lommel for some further development and code/
usecase review!
2012-09-15 10:05:07 +00:00
..
__init__.py split out mask UI into their own classes. 2012-07-25 13:09:12 +00:00
properties_animviz.py style cleanup 2012-08-17 18:36:20 +00:00
properties_data_armature.py style cleanup 2012-07-29 12:07:06 +00:00
properties_data_bone.py style cleanup 2012-06-19 22:17:19 +00:00
properties_data_camera.py Fisheye Camera for Cycles 2012-05-04 16:20:51 +00:00
properties_data_curve.py style cleanup 2012-08-17 18:36:20 +00:00
properties_data_empty.py remove use of gettext: _("...") style translation now its handled by rna. 2011-09-21 15:18:38 +00:00
properties_data_lamp.py style cleanup 2012-08-17 18:36:20 +00:00
properties_data_lattice.py Fixing issues with i18n stuff: 2011-09-15 13:20:18 +00:00
properties_data_mesh.py Fix [#32163] vertex groups get wiped. 2012-07-23 12:27:26 +00:00
properties_data_metaball.py remove use of gettext: _("...") style translation now its handled by rna. 2011-09-21 15:18:38 +00:00
properties_data_modifier.py patch [#32327] Uniform displace modifier 2012-08-14 17:36:41 +00:00
properties_data_speaker.py style cleanup 2012-07-29 12:07:06 +00:00
properties_game.py Accidentally did a commit when I wanted to revert... (ignore my last revision) 2012-08-08 01:29:20 +00:00
properties_mask_common.py Alternate mask spline feather offset calculation method: now there are 2 [Even | Smooth] 2012-08-27 09:44:56 +00:00
properties_material.py User Interface Scripts: 2012-07-29 10:03:46 +00:00
properties_object_constraint.py Fix wrong tracks list used for search in Follow Track constraint 2012-08-10 08:51:34 +00:00
properties_object.py User Interface Scripts: 2012-07-29 10:03:46 +00:00
properties_paint_common.py Code/UI cleanup: improvements for sculpt brush texture settings. 2012-05-15 04:50:47 +00:00
properties_particle.py Fix #32201: particle size compatibility broken for object/group duplication. 2012-08-22 13:10:43 +00:00
properties_physics_cloth.py Don't show physics properties in game engine conext 2012-06-08 15:24:28 +00:00
properties_physics_common.py User Interface Scripts: 2012-07-29 10:03:46 +00:00
properties_physics_dynamicpaint.py Don't show physics properties in game engine conext 2012-06-08 15:24:28 +00:00
properties_physics_field.py style cleanup 2012-08-17 18:36:20 +00:00
properties_physics_fluid.py Last spell checking (for now). 2012-07-04 15:52:07 +00:00
properties_physics_smoke.py Don't show physics properties in game engine conext 2012-06-08 15:24:28 +00:00
properties_physics_softbody.py Don't show physics properties in game engine conext 2012-06-08 15:24:28 +00:00
properties_render.py Color Management, Stage 2: Switch color pipeline to use OpenColorIO 2012-09-15 10:05:07 +00:00
properties_scene.py Color Management, Stage 2: Switch color pipeline to use OpenColorIO 2012-09-15 10:05:07 +00:00
properties_texture.py style cleanup 2012-07-29 12:07:06 +00:00
properties_world.py style cleanup 2012-07-29 12:07:06 +00:00
space_clip.py Camera tracking presets 2012-08-04 10:47:31 +00:00
space_console.py copy as script operator for the console, so you can copy input from a console for use in a textblock. 2012-08-19 21:32:18 +00:00
space_dopesheet.py Restoring Group Colours for Animation Channels - Part 1 2012-05-24 01:25:31 +00:00
space_filebrowser.py RNA: 2011-11-07 16:26:53 +00:00
space_graph.py Restoring Group Colours for Animation Channels - Part 1 2012-05-24 01:25:31 +00:00
space_image.py add some missing NULL checks, a few parts of the code used a pointer then checked it for NULL after. 2012-09-11 02:18:27 +00:00
space_info.py Readme and Release Log Links: 2012-07-11 21:57:11 +00:00
space_logic.py Fix #30132: "Add Game Property" works incorrect after "Add Text Game Property" 2012-02-12 10:23:06 +00:00
space_nla.py replace relative imports with absolute imports so scritps can be executed directly (live editing). 2012-04-04 14:39:52 +00:00
space_node.py Python node operator for combined node collapsing and hiding unused sockets. Socket hide flag is added to RNA as well, but can only be set when the socket is not connected, to avoid dangling links in editor drawing. Currently this operator has no default hotkey, but can be called from the Node menu. 2012-08-14 17:56:33 +00:00
space_outliner.py Fixing issues with i18n stuff: 2011-09-15 13:20:18 +00:00
space_sequencer.py Color Management, Stage 2: Switch color pipeline to use OpenColorIO 2012-09-15 10:05:07 +00:00
space_text.py style cleanup 2012-07-29 12:07:06 +00:00
space_time.py User Interface Scripts: 2012-07-29 10:03:46 +00:00
space_userpref_keymap.py fix [#31712] User prefs Input: Filter searches for names starting with entered phrase only 2012-06-10 21:38:24 +00:00
space_userpref.py Patch #32326: NDOF support of rotation and panning the view at the same time 2012-08-19 13:52:36 +00:00
space_view3d_toolbar.py fixes for weight paint mode: 2012-09-07 05:54:54 +00:00
space_view3d.py hook menu was using last remembered use_bone setting 2012-08-22 15:38:03 +00:00