Blender Git Loki

Git Commits -> Revision 0aa2e4e

Revision 0aa2e4e by Dalai Felinto (bake-cycles)
April 23, 2014, 00:15 (GMT)
Cycles-Bake: Saving the baked map externally working + more code

How to test it:

bpy.ops.object.bake(type='UV', filepath='/tmp/bake.jpg', width=512,
height=512, is_save_external=True)

The object needs a UV for this to work.

*** Note:

Also we now separate whether we need to use the external baking or not.
Though, now that I think of it, we should probably always use external
when possible, even for UV. Because that's the only map that will make
sense that is in the 'always internal' group (object id and material id
doesn't make a lot of sense as baking options in my opinion).

Commit Details:

Full Hash: 0aa2e4ecc18829ea24072ec97275200f8ec26281
Parent Commit: 06059af
Lines Changed: +236, -66

5 Modified Paths:

/source/blender/editors/object/object_bake_new.c (+93, -28) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+33, -31) (Diff)
/source/blender/render/extern/include/RE_bake.h (+5, -2) (Diff)
/source/blender/render/intern/source/bake_new.c (+97, -2) (Diff)
/source/blender/render/intern/source/external_engine.c (+8, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021