Blender Git Loki
Git Commits -> Revision d41d1ce
Revision d41d1ce by Dalai Felinto (bake-cycles) April 25, 2014, 04:55 (GMT) |
Cycles-Bake: Support for multiple high-poly objects selected at once When using "selected to active" the user can now have more than one highpoly object for a single lowpoly object. Code note: instead of implementing a new BHV method to create a tree with multiple meshes, we are casting the ray to the individual trees (for each highpoly object) and comparing the distances. It could be optimized with the BVH change, but it will do for now. Also note: the same method can be used to implement 'Blockers'. |
Commit Details:
Full Hash: d41d1ceb5e549d35bc471d648c9c5e3aaaa26294
Parent Commit: 0c8b65b
Lines Changed: +190, -142
6 Modified Paths:
/intern/cycles/kernel/kernel_displace.h (+1, -4) (Diff)
/intern/cycles/render/bake.cpp (+9, -2) (Diff)
/intern/cycles/render/bake.h (+1, -0) (Diff)
/source/blender/editors/object/object_bake_api.c (+89, -83) (Diff)
/source/blender/render/extern/include/RE_bake.h (+12, -8) (Diff)
/source/blender/render/intern/source/bake_api.c (+78, -45) (Diff)
/intern/cycles/render/bake.cpp (+9, -2) (Diff)
/intern/cycles/render/bake.h (+1, -0) (Diff)
/source/blender/editors/object/object_bake_api.c (+89, -83) (Diff)
/source/blender/render/extern/include/RE_bake.h (+12, -8) (Diff)
/source/blender/render/intern/source/bake_api.c (+78, -45) (Diff)