|
Reimplementation of the "from dupli" texture coordinate option in Blender Internal texture mapping.
In this initial version it's accessible as a switch in the Texture Coordinates node. When activated, the Generated and UV coordinates are taken from the parent object of the instance instead, just like in the old mapping panel. Other coordinates (Object, Normal, Reflection) are not yet implemented, can be added later.
The UI design could be changed, perhaps this should rather be a separate new node.
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+235 lines, -56 lines) |
Patch |
|
|
intern/cycles/blender/blender_object.cpp
|
View
|
1
|
4 chunks |
+14 lines, -3 lines |
0 comments
|
Download
|
|
|
intern/cycles/blender/blender_shader.cpp
|
View
|
1
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
|
intern/cycles/blender/blender_sync.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
|
intern/cycles/blender/blender_util.h
|
View
|
1
|
2 chunks |
+22 lines, -0 lines |
0 comments
|
Download
|
|
|
intern/cycles/kernel/kernel_object.h
|
View
|
1
|
2 chunks |
+23 lines, -1 line |
0 comments
|
Download
|
|
|
intern/cycles/kernel/kernel_types.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
|
intern/cycles/kernel/svm/svm_tex_coord.h
|
View
|
1
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
|
intern/cycles/kernel/svm/svm_types.h
|
View
|
1
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
|
intern/cycles/render/nodes.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
|
intern/cycles/render/nodes.cpp
|
View
|
1
|
1 chunk |
+96 lines, -45 lines |
0 comments
|
Download
|
|
|
intern/cycles/render/object.h
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
|
intern/cycles/render/object.cpp
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
|
source/blender/blenkernel/BKE_blender.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
|
source/blender/blenloader/intern/readfile.c
|
View
|
1
|
2 chunks |
+21 lines, -0 lines |
0 comments
|
Download
|
|
|
source/blender/editors/space_node/drawnode.c
|
View
|
1
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
|
source/blender/makesrna/intern/rna_nodetree.c
|
View
|
1
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
|
source/blender/makesrna/intern/rna_nodetree_types.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
|
source/blender/makesrna/intern/rna_object.c
|
View
|
1
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
|
source/blender/nodes/shader/nodes/node_shader_tex_coord.c
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 3
|