Tomato Cycles:
authorThomas Dinges <blender@dingto.org>
Sat, 25 Aug 2012 16:52:55 +0000 (16:52 +0000)
committerThomas Dinges <blender@dingto.org>
Sat, 25 Aug 2012 16:52:55 +0000 (16:52 +0000)
commit614a82cb8cb11533b7f4161ac323d4374986e9cc
tree2f3fbc7c09478875f682a19940b09a42c10fb506
parentc8915f4f3c2caa665b18751661133425baaa3cab
Tomato Cycles:
* Added a Brick Texture Node to Cycles.
* Based on the Blender Internal Brick Texture with some modifications.
* Tested on CPU and GPU (CUDA & OpenCL)

Documentation: http://wiki.blender.org/index.php/User:DingTo/CyclesBrickTexture

ToDo: Only works correct on flat surfaces, like a Plane. If you attach the shader to 3D objects like a cube, the mapping is not correct on the Y/Z vector.

Thanks to Lukas Toenne for fixing a issue I had with the Node code! :)
17 files changed:
intern/cycles/app/cycles_xml.cpp
intern/cycles/blender/blender_shader.cpp
intern/cycles/kernel/CMakeLists.txt
intern/cycles/kernel/svm/svm.h
intern/cycles/kernel/svm/svm_brick.h [new file with mode: 0644]
intern/cycles/kernel/svm/svm_types.h
intern/cycles/render/nodes.cpp
intern/cycles/render/nodes.h
source/blender/blenkernel/BKE_node.h
source/blender/blenkernel/intern/node.c
source/blender/editors/space_node/drawnode.c
source/blender/makesdna/DNA_node_types.h
source/blender/makesrna/intern/rna_nodetree.c
source/blender/makesrna/intern/rna_nodetree_types.h
source/blender/nodes/CMakeLists.txt
source/blender/nodes/NOD_shader.h
source/blender/nodes/shader/nodes/node_shader_tex_brick.c [new file with mode: 0644]