blender/intern/cycles/kernel
Dalai Felinto eec3eaba08 Cycles Bake
Expand Cycles to use the new baking API in Blender.

It works on the selected object, and the panel can be accessed in the Render panel (similar to where it is for the Blender Internal).

It bakes for the active texture of each material of the object. The active texture is currently defined as the active Image Texture node present in the material nodetree. If you don't want the baking to override an existent material, make sure the active Image Texture node is not connected to the nodetree. The active texture is also the texture shown in the viewport in the rendered mode.

Remember to save your images after the baking is complete.

Note: Bake currently only works in the CPU
Note: This is not supported by Cycles standalone because a lot of the work is done in Blender as part of the operator only, not the engine (Cycles).

Documentation:
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Bake

Supported Passes:
-----------------
Data Passes
 * Normal
 * UV
 * Diffuse/Glossy/Transmission/Subsurface/Emit Color

Light Passes
 * AO
 * Combined
 * Shadow
 * Diffuse/Glossy/Transmission/Subsurface/Emit Direct/Indirect
 * Environment

Review: D421
Reviewed by: Campbell Barton, Brecht van Lommel, Sergey Sharybin, Thomas Dinge

Original design by Brecht van Lommel.

The entire commit history can be found on the branch: bake-cycles
2014-05-02 21:19:09 -03:00
..
closure Code cleanup: Add -Werror=float-conversion to Cycles 2014-05-03 07:31:46 +10:00
geom Code cleanup: Add -Werror=float-conversion to Cycles 2014-05-03 07:31:46 +10:00
osl Cycles: add Transparent Depth output to Light Path node. 2014-04-21 14:44:36 +02:00
shaders Fix for wrong behavior of 'darken' blend mode with factor. 2014-04-29 14:03:09 +02:00
svm Code cleanup: Add -Werror=float-conversion to Cycles 2014-05-03 07:31:46 +10:00
CMakeLists.txt Cycles CUDA: make CUDA toolkit 6.0 the official supported version. 2014-04-30 16:07:27 +02:00
kernel_accumulate.h Cycles Bake 2014-05-02 21:19:09 -03:00
kernel_avx.cpp Cycles: Add an AVX kernel for CPU rendering. 2014-01-16 17:04:11 +01:00
kernel_camera.h Cycles code refactor: replace magic ~0 values in the code with defines. 2014-03-29 13:03:47 +01:00
kernel_compat_cpu.h Cycles code internals: add CPU kernel support for 3D image textures. 2014-03-29 13:03:48 +01:00
kernel_compat_cuda.h Cycles CUDA: make CUDA toolkit 6.0 the official supported version. 2014-04-30 16:07:27 +02:00
kernel_compat_opencl.h OpenCL + AMD adapt kernel to newer driver 2014-04-07 14:01:31 +02:00
kernel_differential.h Cycles: change __device and similar qualifiers to ccl_device in kernel code. 2013-11-18 08:48:15 +01:00
kernel_displace.h Cycles Bake 2014-05-02 21:19:09 -03:00
kernel_emission.h Cycles: MIS for lamps now loops over all lamps instead of picking one. 2014-05-01 19:25:13 +02:00
kernel_film.h Cycles: fix crash in SSE hair and half-floats on x86+vc2008 2014-02-27 15:01:20 +04:00
kernel_globals.h Fix T37264: cycles CPU render had limited number of float images, bumped to 1024. 2013-12-14 15:07:46 +01:00
kernel_jitter.h Cycles: change __device and similar qualifiers to ccl_device in kernel code. 2013-11-18 08:48:15 +01:00
kernel_light.h Cycles: MIS for lamps now loops over all lamps instead of picking one. 2014-05-01 19:25:13 +02:00
kernel_math.h Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
kernel_montecarlo.h Cycles code refactor: minor refactoring and comments for volume code. 2014-03-29 13:03:49 +01:00
kernel_passes.h Cycles: add pass alpha threshold value to render layers. 2014-02-06 15:24:15 +01:00
kernel_path_state.h Cycles code refactor: replace magic ~0 values in the code with defines. 2014-03-29 13:03:47 +01:00
kernel_path.h Cycles Bake 2014-05-02 21:19:09 -03:00
kernel_projection.h Fix cycles using acosf in panorama render when it should use safe_acosf. 2014-04-18 13:51:29 +02:00
kernel_random.h Fix T38710: volume render issue with transparent surfaces. 2014-02-26 18:47:50 +01:00
kernel_shader.h Code cleanup: remove old closure sampling code Cycles. 2014-04-21 16:14:37 +02:00
kernel_shadow.h Fix T39843: cycles memory leak rendering with high transparent depth. 2014-04-25 15:30:12 +02:00
kernel_sse2.cpp Code cleanup: some reshuffling of SIMD defines moving more code to util_optimization.h. 2014-01-15 15:11:50 +01:00
kernel_sse3.cpp Code cleanup: some reshuffling of SIMD defines moving more code to util_optimization.h. 2014-01-15 15:11:50 +01:00
kernel_sse41.cpp Code cleanup: some reshuffling of SIMD defines moving more code to util_optimization.h. 2014-01-15 15:11:50 +01:00
kernel_subsurface.h Code cleanup: white space and cmake was broken on all platforms 2014-02-03 13:56:34 +11:00
kernel_textures.h Cycles code refactor: changes to make adding new primitive types easier. 2014-03-29 13:03:46 +01:00
kernel_types.h Cycles Bake 2014-05-02 21:19:09 -03:00
kernel_volume.h Code cleanup: Add -Werror=float-conversion to Cycles 2014-05-03 07:31:46 +10:00
kernel.cl Cycles: change __device and similar qualifiers to ccl_device in kernel code. 2013-11-18 08:48:15 +01:00
kernel.cpp Cycles code internals: add CPU kernel support for 3D image textures. 2014-03-29 13:03:48 +01:00
kernel.cu Cycles CUDA: make CUDA toolkit 6.0 the official supported version. 2014-04-30 16:07:27 +02:00
kernel.h Cycles code internals: add CPU kernel support for 3D image textures. 2014-03-29 13:03:48 +01:00
SConscript Cycles CUDA: make CUDA toolkit 6.0 the official supported version. 2014-04-30 16:07:27 +02:00