Blender Git Loki

Git Commits -> Revision 26f6913

Revision 26f6913 by Brecht Van Lommel (master)
July 11, 2012, 00:08 (GMT)
Cycles: blended box mapping support for image texture node. This enabled by
selecting Box instead of Flat as projection, and then setting the blend value.
Blend 0.0 will not do any blending between box sides, higher values will give
a smooth transition between the sides

This is useful for mapping image texture without too obvious patterns in a
way that looks seamless, without the need for UV mapping. This works basically
the same as the mango node setup that was posted, just a bit faster:

http://mango.blender.org/production/blended_box/

Commit Details:

Full Hash: 26f6913516a075ebc6e2a7bc101a026006ed5b81
SVN Revision: 48822
Parent Commit: 6f6471a
Lines Changed: +179, -29

9 Modified Paths:

/intern/cycles/blender/blender_shader.cpp (+2, -0) (Diff)
/intern/cycles/kernel/svm/svm.h (+3, -0) (Diff)
/intern/cycles/kernel/svm/svm_image.h (+104, -18) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+1, -0) (Diff)
/intern/cycles/render/nodes.cpp (+34, -9) (Diff)
/intern/cycles/render/nodes.h (+3, -0) (Diff)
/source/blender/editors/space_node/drawnode.c (+4, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+10, -2) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+18, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021