Blender Git Commit Log
Git Commits -> Revision db7f9a7
Revision db7f9a7 by Brecht Van Lommel (master) March 5, 2019, 13:55 (GMT) |
Cycles: Added Float2 attribute type. Float2 are now a new type for attributes in Cycles. Before, the choices for attribute storage were float and float3, the latter padded to float4. This meant that UV maps were inflated to twice the size necessary. Reviewers: brecht, sergey Reviewed By: brecht Subscribers: #cycles Tags: #cycles Differential Revision: https://developer.blender.org/D4409 |
Commit Details:
Full Hash: db7f9a70b0addd17a2f8a8d87c0b4d77d78b536e
Parent Commit: a325bc6
Committed By: Stefan Werner
Lines Changed: +454, -24
20 Modified Paths:
/intern/cycles/blender/blender_mesh.cpp (+11, -11) (Diff)
/intern/cycles/kernel/geom/geom_curve.h (+39, -0) (Diff)
/intern/cycles/kernel/geom/geom_patch.h (+27, -0) (Diff)
/intern/cycles/kernel/geom/geom_primitive.h (+54, -0) (Diff)
/intern/cycles/kernel/geom/geom_subd_triangle.h (+122, -0) (Diff)
/intern/cycles/kernel/geom/geom_triangle.h (+47, -0) (Diff)
/intern/cycles/kernel/kernel_textures.h (+1, -0) (Diff)
/intern/cycles/kernel/osl/osl_services.cpp (+44, -0) (Diff)
/intern/cycles/kernel/svm/svm_attribute.h (+38, -9) (Diff)
/intern/cycles/kernel/svm/svm_tex_coord.h (+9, -1) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+1, -0) (Diff)
/intern/cycles/render/attribute.cpp (+3, -2) (Diff)
/intern/cycles/render/attribute.h (+3, -0) (Diff)
/intern/cycles/render/mesh.cpp (+37, -0) (Diff)
/intern/cycles/render/mesh_subdivision.cpp (+7, -0) (Diff)
/intern/cycles/render/nodes.cpp (+1, -1) (Diff)
/intern/cycles/render/scene.cpp (+1, -0) (Diff)
/intern/cycles/render/scene.h (+1, -0) (Diff)
/intern/cycles/util/util_math_float2.h (+6, -0) (Diff)
/intern/cycles/util/util_param.h (+2, -0) (Diff)
/intern/cycles/kernel/geom/geom_curve.h (+39, -0) (Diff)
/intern/cycles/kernel/geom/geom_patch.h (+27, -0) (Diff)
/intern/cycles/kernel/geom/geom_primitive.h (+54, -0) (Diff)
/intern/cycles/kernel/geom/geom_subd_triangle.h (+122, -0) (Diff)
/intern/cycles/kernel/geom/geom_triangle.h (+47, -0) (Diff)
/intern/cycles/kernel/kernel_textures.h (+1, -0) (Diff)
/intern/cycles/kernel/osl/osl_services.cpp (+44, -0) (Diff)
/intern/cycles/kernel/svm/svm_attribute.h (+38, -9) (Diff)
/intern/cycles/kernel/svm/svm_tex_coord.h (+9, -1) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+1, -0) (Diff)
/intern/cycles/render/attribute.cpp (+3, -2) (Diff)
/intern/cycles/render/attribute.h (+3, -0) (Diff)
/intern/cycles/render/mesh.cpp (+37, -0) (Diff)
/intern/cycles/render/mesh_subdivision.cpp (+7, -0) (Diff)
/intern/cycles/render/nodes.cpp (+1, -1) (Diff)
/intern/cycles/render/scene.cpp (+1, -0) (Diff)
/intern/cycles/render/scene.h (+1, -0) (Diff)
/intern/cycles/util/util_math_float2.h (+6, -0) (Diff)
/intern/cycles/util/util_param.h (+2, -0) (Diff)