[Bf-codereview] Dupli texture coordinates for Cycles (issue 6450116)

lukas.toenne at gmail.com lukas.toenne at gmail.com
Fri Aug 10 15:27:05 CEST 2012


Reviewers: bf-codereview_blender.org, brechtvl,

Description:
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.

Please review this at http://codereview.appspot.com/6450116/

Affected files:
   intern/cycles/blender/blender_object.cpp
   intern/cycles/blender/blender_shader.cpp
   intern/cycles/blender/blender_sync.h
   intern/cycles/blender/blender_util.h
   intern/cycles/kernel/kernel_object.h
   intern/cycles/kernel/kernel_types.h
   intern/cycles/kernel/svm/svm_tex_coord.h
   intern/cycles/kernel/svm/svm_types.h
   intern/cycles/render/nodes.cpp
   intern/cycles/render/nodes.h
   intern/cycles/render/object.cpp
   intern/cycles/render/object.h
   source/blender/blenkernel/BKE_blender.h
   source/blender/blenloader/intern/readfile.c
   source/blender/editors/space_node/drawnode.c
   source/blender/makesrna/intern/rna_nodetree.c
   source/blender/makesrna/intern/rna_nodetree_types.h
   source/blender/makesrna/intern/rna_object.c
   source/blender/nodes/shader/nodes/node_shader_tex_coord.c




More information about the Bf-codereview mailing list