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-06-23 21:51:08 +0400
committerThomas Dinges <blender@dingto.org>2013-06-23 21:51:08 +0400
commite4ef608020e3d77f05ec869e598dfa42d525da66 (patch)
tree4fb9f4908a00e6a255b5f878563cf83972a43c2d /intern/cycles/kernel/svm/svm_types.h
parent230f4e7ca2f4861c6bc828f5f0c618a7988607f0 (diff)
Cycles / Vector Transform Node:
* Implementation of Vector Transform Node into Cycles. * OSL backend is done, SVM needs the matrices still.
Diffstat (limited to 'intern/cycles/kernel/svm/svm_types.h')
-rw-r--r--intern/cycles/kernel/svm/svm_types.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/intern/cycles/kernel/svm/svm_types.h b/intern/cycles/kernel/svm/svm_types.h
index e4bc7efd272..9d9cb71f0f9 100644
--- a/intern/cycles/kernel/svm/svm_types.h
+++ b/intern/cycles/kernel/svm/svm_types.h
@@ -68,6 +68,7 @@ typedef enum NodeType {
NODE_SET_BUMP,
NODE_MATH,
NODE_VECTOR_MATH,
+ NODE_VECTOR_TRANSFORM,
NODE_MAPPING,
NODE_TEX_COORD,
NODE_TEX_COORD_BUMP_DX,
@@ -226,6 +227,23 @@ typedef enum NodeVectorMath {
NODE_VECTOR_MATH_NORMALIZE
} NodeVectorMath;
+typedef enum NodeVectorTransformType {
+ NODE_VECTOR_TRANSFORM_TYPE_VECTOR,
+ NODE_VECTOR_TRANSFORM_TYPE_POINT
+} NodeVectorTransformType;
+
+typedef enum NodeVectorTransformConvertFrom {
+ NODE_VECTOR_TRANSFORM_CONVERT_FROM_WORLD,
+ NODE_VECTOR_TRANSFORM_CONVERT_FROM_OBJECT,
+ NODE_VECTOR_TRANSFORM_CONVERT_FROM_CAMERA
+} NodeVectorTransformConvertFrom;
+
+typedef enum NodeVectorTransformConvertTo {
+ NODE_VECTOR_TRANSFORM_CONVERT_TO_WORLD,
+ NODE_VECTOR_TRANSFORM_CONVERT_TO_OBJECT,
+ NODE_VECTOR_TRANSFORM_CONVERT_TO_CAMERA
+} NodeVectorTransformConvertTo;
+
typedef enum NodeConvert {
NODE_CONVERT_FV,
NODE_CONVERT_FI,