Blender Git Commit Log
Git Commits -> Revision 60ff60d
Revision 60ff60d by Brecht Van Lommel (master) August 30, 2013, 23:49 (GMT) |
RenderEngine API: add viewport draw utility functions to bind a GLSL fragment shader for converting colors from linear to display space, based on the scene color management settings. if engine.support_display_space_shader(scene): # test graphics card support engine.bind_display_space_shader(scene) # draw pixels .. engine.unbind_display_space_shader() |
Commit Details:
Full Hash: 60ff60dcdc9f43891fb8a19e10f9bb7964a539bf
SVN Revision: 59677
Parent Commit: 6785874
Lines Changed: +100, -19
11 Modified Paths:
/intern/opencolorio/fallback_impl.cc (+5, -0) (Diff)
/intern/opencolorio/ocio_capi.cc (+5, -0) (Diff)
/intern/opencolorio/ocio_capi.h (+1, -0) (Diff)
/intern/opencolorio/ocio_impl.h (+3, -0) (Diff)
/intern/opencolorio/ocio_impl_glsl.cc (+7, -5) (Diff)
/source/blender/editors/render/render_internal.c (+1, -1) (Diff)
/source/blender/editors/screen/glutil.c (+6, -3) (Diff)
/source/blender/imbuf/IMB_colormanagement.h (+7, -2) (Diff)
/source/blender/imbuf/intern/colormanagement.c (+19, -6) (Diff)
/source/blender/makesrna/intern/rna_color.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_render.c (+45, -2) (Diff)
/intern/opencolorio/ocio_capi.cc (+5, -0) (Diff)
/intern/opencolorio/ocio_capi.h (+1, -0) (Diff)
/intern/opencolorio/ocio_impl.h (+3, -0) (Diff)
/intern/opencolorio/ocio_impl_glsl.cc (+7, -5) (Diff)
/source/blender/editors/render/render_internal.c (+1, -1) (Diff)
/source/blender/editors/screen/glutil.c (+6, -3) (Diff)
/source/blender/imbuf/IMB_colormanagement.h (+7, -2) (Diff)
/source/blender/imbuf/intern/colormanagement.c (+19, -6) (Diff)
/source/blender/makesrna/intern/rna_color.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_render.c (+45, -2) (Diff)