Blender Git Loki
Git Commits -> Revision b66efbe
Revision b66efbe by Brecht Van Lommel (master) March 10, 2018, 03:54 (GMT) |
Code refactor: make Transform always affine, dropping last row. This save a little memory and copying in the kernel by storing only a 4x3 matrix instead of a 4x4 matrix. We already did this in a few places, and those don't need to be special exceptions anymore now. |
Commit Details:
Full Hash: b66efbecf4780c65833f72ac8de5d18b5bca7e15
Parent Commit: 623141f
Lines Changed: +120, -158
25 Modified Paths:
/intern/cycles/app/cycles_xml.cpp (+5, -2) (Diff)
/intern/cycles/blender/blender_camera.cpp (+2, -4) (Diff)
/intern/cycles/blender/blender_util.h (+7, -6) (Diff)
/intern/cycles/graph/node_type.cpp (+1, -1) (Diff)
/intern/cycles/graph/node_xml.cpp (+11, -12) (Diff)
/intern/cycles/kernel/bvh/bvh_nodes.h (+0, -1) (Diff)
/intern/cycles/kernel/geom/geom_attribute.h (+0, -1) (Diff)
/intern/cycles/kernel/geom/geom_curve_intersect.h (+1, -2) (Diff)
/intern/cycles/kernel/geom/geom_object.h (+5, -22) (Diff)
/intern/cycles/kernel/kernel_textures.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_types.h (+4, -4) (Diff)
/intern/cycles/kernel/osl/osl_services.cpp (+2, -4) (Diff)
/intern/cycles/kernel/svm/svm_mapping.h (+0, -1) (Diff)
/intern/cycles/kernel/svm/svm_tex_coord.h (+0, -3) (Diff)
/intern/cycles/kernel/svm/svm_voxel.h (+0, -1) (Diff)
/intern/cycles/render/light.cpp (+4, -9) (Diff)
/intern/cycles/render/mesh.cpp (+3, -3) (Diff)
/intern/cycles/render/nodes.cpp (+5, -12) (Diff)
/intern/cycles/render/object.cpp (+6, -9) (Diff)
/intern/cycles/render/object.h (+1, -1) (Diff)
/intern/cycles/render/osl.cpp (+12, -3) (Diff)
/intern/cycles/render/scene.h (+1, -1) (Diff)
/intern/cycles/util/util_projection.h (+8, -7) (Diff)
/intern/cycles/util/util_transform.cpp (+20, -6) (Diff)
/intern/cycles/util/util_transform.h (+21, -42) (Diff)
/intern/cycles/blender/blender_camera.cpp (+2, -4) (Diff)
/intern/cycles/blender/blender_util.h (+7, -6) (Diff)
/intern/cycles/graph/node_type.cpp (+1, -1) (Diff)
/intern/cycles/graph/node_xml.cpp (+11, -12) (Diff)
/intern/cycles/kernel/bvh/bvh_nodes.h (+0, -1) (Diff)
/intern/cycles/kernel/geom/geom_attribute.h (+0, -1) (Diff)
/intern/cycles/kernel/geom/geom_curve_intersect.h (+1, -2) (Diff)
/intern/cycles/kernel/geom/geom_object.h (+5, -22) (Diff)
/intern/cycles/kernel/kernel_textures.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_types.h (+4, -4) (Diff)
/intern/cycles/kernel/osl/osl_services.cpp (+2, -4) (Diff)
/intern/cycles/kernel/svm/svm_mapping.h (+0, -1) (Diff)
/intern/cycles/kernel/svm/svm_tex_coord.h (+0, -3) (Diff)
/intern/cycles/kernel/svm/svm_voxel.h (+0, -1) (Diff)
/intern/cycles/render/light.cpp (+4, -9) (Diff)
/intern/cycles/render/mesh.cpp (+3, -3) (Diff)
/intern/cycles/render/nodes.cpp (+5, -12) (Diff)
/intern/cycles/render/object.cpp (+6, -9) (Diff)
/intern/cycles/render/object.h (+1, -1) (Diff)
/intern/cycles/render/osl.cpp (+12, -3) (Diff)
/intern/cycles/render/scene.h (+1, -1) (Diff)
/intern/cycles/util/util_projection.h (+8, -7) (Diff)
/intern/cycles/util/util_transform.cpp (+20, -6) (Diff)
/intern/cycles/util/util_transform.h (+21, -42) (Diff)