Blender Git Loki

Git Commits -> Revision 1ef7293

Revision 1ef7293 by Matt Ebb (master)
July 17, 2009, 02:43 (GMT)
Colour Management

- 1st stage: Linear Workflow

This implements automatic linear workflow in Blender's renderer. With the
new Colour Management option on in the Render buttons, all inputs to the
renderer and compositor are converted to linear colour space before
rendering, and gamma corrected afterwards. In essence, this makes all
manual gamma correction with nodes, etc unnecessary, since it's done
automatically through the pipeline.

It's all explained much better in the notes/doc here, so please have a look:
http://wiki.blender.org/index.php/Dev:Source/Blender/Architecture/Colour_Management

And an example of the sort of difference it makes:
http://mke3.net/blender/devel/rendering/b25_colormanagement_test01.jpg

This also enables Colour Management in the default B.blend, and changes the
default lamp falloff to inverse square, which is more correct, and much
easier to use now it's all gamma corrected properly.

Next step is to look into profiles/soft proofing for the compositor.

Thanks to brecht for reviewing and fixing some oversights!

Commit Details:

Full Hash: 1ef729358517248888073be71ba5d3b6e3d723ee
SVN Revision: 21649
Parent Commit: 70f6255
Lines Changed: +19496, -18644

31 Modified Paths:

/release/datafiles/preview.blend (+0, -0) (Diff)
/release/ui/buttons_scene.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_colortools.h (+11, -1) (Diff)
/source/blender/blenkernel/intern/colortools.c (+85, -0) (Diff)
/source/blender/blenkernel/intern/object.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/scene.c (+1, -0) (Diff)
/source/blender/blenlib/BLI_arithb.h (+0, -1) (Diff)
/source/blender/blenlib/intern/arithb.c (+2, -25) (Diff)
/source/blender/editors/datafiles/B.blend.c (+2855, -2855) (Diff)
/source/blender/editors/datafiles/preview.blend.c (+16248, -15669) (Diff)
/source/blender/editors/include/BIF_glutil.h (+2, -1) (Diff)
/source/blender/editors/preview/previewrender.c (+14, -5) (Diff)
/source/blender/editors/screen/glutil.c (+9, -16) (Diff)
/source/blender/editors/screen/screen_ops.c (+39, -13) (Diff)
/source/blender/editors/space_image/image_draw.c (+18, -10) (Diff)
/source/blender/editors/space_image/image_render.c (+1, -1) (Diff)
/source/blender/imbuf/IMB_imbuf_types.h (+17, -1) (Diff)
/source/blender/imbuf/intern/divers.c (+44, -10) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+8, -1) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+5, -0) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_image.c (+21, -2) (Diff)
/source/blender/render/intern/include/shading.h (+1, -0) (Diff)
/source/blender/render/intern/source/convertblender.c (+11, -3) (Diff)
/source/blender/render/intern/source/pipeline.c (+4, -1) (Diff)
/source/blender/render/intern/source/pixelshading.c (+16, -6) (Diff)
/source/blender/render/intern/source/rayshade.c (+1, -2) (Diff)
/source/blender/render/intern/source/rendercore.c (+3, -10) (Diff)
/source/blender/render/intern/source/shadeinput.c (+50, -5) (Diff)
/source/blender/render/intern/source/sss.c (+5, -1) (Diff)
/source/blender/render/intern/source/strand.c (+1, -3) (Diff)
/source/blender/render/intern/source/texture.c (+21, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021