Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2013-08-01 01:18:23 +0400
committerThomas Dinges <blender@dingto.org>2013-08-01 01:18:23 +0400
commit34009da32efcea87e80c6205c9a152ad3f30bbb7 (patch)
tree080443584b4fe17c02fceff07d06fc0d98ec5cfd /intern/cycles/render/nodes.h
parent6d9720ef63c540d533207aded1114da862377d32 (diff)
Cycles / Vector Transform node:
* Add a note to convert a Vector, Point or Normal between World <=> Camera <=> Object coordinate space. Documentation: http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/More#Vector_Transform Part of my GSoC 2013 project, SVN merge of r57599, r57670, r57918, r57919, r58245 and r58775.
Diffstat (limited to 'intern/cycles/render/nodes.h')
-rw-r--r--intern/cycles/render/nodes.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/intern/cycles/render/nodes.h b/intern/cycles/render/nodes.h
index 532ff41abee..4aeec4491ad 100644
--- a/intern/cycles/render/nodes.h
+++ b/intern/cycles/render/nodes.h
@@ -494,6 +494,18 @@ public:
static ShaderEnum type_enum;
};
+class VectorTransformNode : public ShaderNode {
+public:
+ SHADER_NODE_CLASS(VectorTransformNode)
+
+ ustring type;
+ ustring convert_from;
+ ustring convert_to;
+
+ static ShaderEnum type_enum;
+ static ShaderEnum convert_space_enum;
+};
+
class BumpNode : public ShaderNode {
public:
SHADER_NODE_CLASS(BumpNode)