summaryrefslogtreecommitdiff
path: root/rotord
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2013-11-27 09:10:26 +0000
committerComment <tim@gray.(none)>2013-11-27 09:10:26 +0000
commitbd05285cf2e0681c552eff76c2e962749f3aeaad (patch)
treea24f5ec6f98fb6f877d1be557d9a8117e5a27a79 /rotord
parent38d09991d0f14f04146c14ebd33286b0f6806f67 (diff)
gpu test
Diffstat (limited to 'rotord')
-rw-r--r--rotord/src/rotor.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h
index 75e7914..6a0996e 100644
--- a/rotord/src/rotor.h
+++ b/rotord/src/rotor.h
@@ -71,6 +71,48 @@ Requirements
http://www.ogre3d.org/forums/viewtopic.php?f=16&t=52936
chaiscript binding to cairo
+
+HOW TO RE-ARCHITECT TO SUPPORT ARBITRARY TYPES OF NODES???
+
+node types and inputs are templated
+
+Node<Image>
+
+typedef Node<Image> Image_node;
+
+Input<Image>
+
+rather than seperate input types we have
+
+map<string,Input*> inputs
+
+what are the processes needed?
+
+rather than
+
+if (image_inputs[0].connection)
+
+we have
+
+if (inputs["image"].connection)
+
+input=(Image*)inputs["image"].get_output()
+
+???how to define in the graph?
+
+<input type="image" from="blah"/>
+
+inputs: [
+ {
+ type:"image",
+ from:"blah"
+ },
+ {
+ type:"colour",
+ from:"blah"
+ }
+ ]
+
-------------------------*/