Blender Git Loki
Git Commits -> Revision 394c531
Revision 394c531 by Dalai Felinto (master) April 17, 2015, 15:25 (GMT) |
Bake-API: reduce memory footprint when baking more than one object (Fix T41092) Combine all the highpoly pixel arrays into a single array with a lookup object_id for each of the highpoly objects. Note: This changes the Bake API, external engines should refer to the bake_api.c for the latest API. Many thanks for Sergey Sharybin for the complete review, changes suggestion and feedback. (you rock!) Reviewers: sergey Subscribers: pildanovak, marcclintdion, monio, metalliandy, brecht Maniphest Tasks: T41092 Differential Revision: https://developer.blender.org/D772 |
Commit Details:
Full Hash: 394c5318c6fe981f94fc78f312fc0295209288dc
Parent Commit: 45e929d
Lines Changed: +77, -56
13 Modified Paths:
/intern/cycles/blender/addon/engine.py (+2, -2) (Diff)
/intern/cycles/blender/addon/__init__.py (+2, -2) (Diff)
/intern/cycles/blender/blender_python.cpp (+3, -3) (Diff)
/intern/cycles/blender/blender_session.cpp (+8, -4) (Diff)
/intern/cycles/blender/blender_session.h (+1, -1) (Diff)
/intern/cycles/render/bake.cpp (+5, -0) (Diff)
/intern/cycles/render/bake.h (+1, -0) (Diff)
/source/blender/editors/object/object_bake_api.c (+9, -9) (Diff)
/source/blender/makesrna/intern/rna_render.c (+11, -2) (Diff)
/source/blender/render/extern/include/RE_bake.h (+3, -4) (Diff)
/source/blender/render/extern/include/RE_engine.h (+1, -1) (Diff)
/source/blender/render/intern/source/bake_api.c (+28, -26) (Diff)
/source/blender/render/intern/source/external_engine.c (+3, -2) (Diff)
/intern/cycles/blender/addon/__init__.py (+2, -2) (Diff)
/intern/cycles/blender/blender_python.cpp (+3, -3) (Diff)
/intern/cycles/blender/blender_session.cpp (+8, -4) (Diff)
/intern/cycles/blender/blender_session.h (+1, -1) (Diff)
/intern/cycles/render/bake.cpp (+5, -0) (Diff)
/intern/cycles/render/bake.h (+1, -0) (Diff)
/source/blender/editors/object/object_bake_api.c (+9, -9) (Diff)
/source/blender/makesrna/intern/rna_render.c (+11, -2) (Diff)
/source/blender/render/extern/include/RE_bake.h (+3, -4) (Diff)
/source/blender/render/extern/include/RE_engine.h (+1, -1) (Diff)
/source/blender/render/intern/source/bake_api.c (+28, -26) (Diff)
/source/blender/render/intern/source/external_engine.c (+3, -2) (Diff)