Blender Git Loki
Git Commits -> Revision 9d896f8
Revision 9d896f8 by Sergey Sharybin (master) March 14, 2013, 07:38 (GMT) |
Border rendering now works for all scenes used in compositor, before this only active scene would be rendered with border. When do_render_fields_blur_3d() is finished, it'll modify render's display rect so it'll correspond bordered render result placed on black backgrund. Actual border is stored nowhere, which makes it only way to re-calculate disprect for all other renders used in compo based on source. Not so big deal actually. Also needed to modify Cycles a bit, because before this patch it used border settings from scene being rendered. Now made it so render data is passing to external engines. Using a property inside RenderEngine structure for this. Not best ever design for passing render data, but this would prevent API breakage. So now external engines could access engine.render to access active rendering settings. Reviewed by Brecht, thanks! |
Commit Details:
Full Hash: 9d896f8f84c69de009b70a31167d4b5327aac8d2
SVN Revision: 55270
Parent Commit: 6a51379
Lines Changed: +111, -56
8 Modified Paths:
/intern/cycles/blender/blender_camera.cpp (+29, -35) (Diff)
/intern/cycles/blender/blender_session.cpp (+17, -15) (Diff)
/intern/cycles/blender/blender_session.h (+1, -0) (Diff)
/intern/cycles/blender/blender_sync.h (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_render.c (+20, -0) (Diff)
/source/blender/render/extern/include/RE_engine.h (+3, -0) (Diff)
/source/blender/render/intern/source/external_engine.c (+5, -0) (Diff)
/source/blender/render/intern/source/pipeline.c (+34, -4) (Diff)
/intern/cycles/blender/blender_session.cpp (+17, -15) (Diff)
/intern/cycles/blender/blender_session.h (+1, -0) (Diff)
/intern/cycles/blender/blender_sync.h (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_render.c (+20, -0) (Diff)
/source/blender/render/extern/include/RE_engine.h (+3, -0) (Diff)
/source/blender/render/intern/source/external_engine.c (+5, -0) (Diff)
/source/blender/render/intern/source/pipeline.c (+34, -4) (Diff)