Blender Git Loki

Git Commits -> Revision 614a82c

Revision 614a82c by Thomas Dinges (master)
August 25, 2012, 16:52 (GMT)
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! :)

Commit Details:

Full Hash: 614a82cb8cb11533b7f4161ac323d4374986e9cc
SVN Revision: 50204
Parent Commit: c8915f4
Lines Changed: +389, -1

2 Added Paths:

/intern/cycles/kernel/svm/svm_brick.h (+114, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_tex_brick.c (+90, -0) (View)

15 Modified Paths:

/intern/cycles/app/cycles_xml.cpp (+3, -0) (Diff)
/intern/cycles/blender/blender_shader.cpp (+11, -0) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/svm/svm.h (+4, -0) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+2, -1) (Diff)
/intern/cycles/render/nodes.cpp (+92, -0) (Diff)
/intern/cycles/render/nodes.h (+8, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+1, -0) (Diff)
/source/blender/editors/space_node/drawnode.c (+16, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+6, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+37, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree_types.h (+1, -0) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -0) (Diff)
/source/blender/nodes/NOD_shader.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021