Blender Git Commit Log
Git Commits -> Revision c3d3d8b
Revision c3d3d8b by Brecht Van Lommel (master) September 25, 2013, 20:28 (GMT) |
Fix cycles issue with mapping node rotation and scale order. When using both scale and rotation in mapping node, there would be shearing, and the only way to avoid that was to add 2 mapping nodes. This is because to transform the texture, the inverse transform needs to be done on the texture coordinate Now the mapping node has Texture/Point/Vector/Normal types to transform the vector for a particular purpose. Point is the existing behavior, Texture is the new default that behaves more like you might expect. |
Commit Details:
Full Hash: c3d3d8be3675e284cbe269b4173c3cc15ce762ae
SVN Revision: 60371
Parent Commit: e9859bb
Lines Changed: +173, -40
25 Modified Paths:
/intern/cycles/blender/addon/ui.py (+2, -0) (Diff)
/intern/cycles/blender/blender_shader.cpp (+2, -0) (Diff)
/intern/cycles/render/nodes.cpp (+49, -2) (Diff)
/intern/cycles/render/nodes.h (+3, -0) (Diff)
/source/blender/blenkernel/BKE_texture.h (+2, -2) (Diff)
/source/blender/blenkernel/intern/texture.c (+48, -15) (Diff)
/source/blender/editors/space_node/drawnode.c (+2, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_texture_types.h (+7, -1) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+17, -3) (Diff)
/source/blender/makesrna/intern/rna_texture.c (+14, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_mapValue.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_mapping.c (+11, -4) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_brick.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_checker.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_environment.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_gradient.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_image.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_magic.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_musgrave.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_noise.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_sky.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_voronoi.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_wave.c (+1, -1) (Diff)
/source/blender/nodes/shader/node_shader_util.c (+3, -0) (Diff)
/intern/cycles/blender/blender_shader.cpp (+2, -0) (Diff)
/intern/cycles/render/nodes.cpp (+49, -2) (Diff)
/intern/cycles/render/nodes.h (+3, -0) (Diff)
/source/blender/blenkernel/BKE_texture.h (+2, -2) (Diff)
/source/blender/blenkernel/intern/texture.c (+48, -15) (Diff)
/source/blender/editors/space_node/drawnode.c (+2, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_texture_types.h (+7, -1) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+17, -3) (Diff)
/source/blender/makesrna/intern/rna_texture.c (+14, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_mapValue.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_mapping.c (+11, -4) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_brick.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_checker.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_environment.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_gradient.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_image.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_magic.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_musgrave.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_noise.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_sky.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_voronoi.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_wave.c (+1, -1) (Diff)
/source/blender/nodes/shader/node_shader_util.c (+3, -0) (Diff)