I'm having trouble wrapping my head around how information flows through PyNodes.. Where/how should I set the value of my node's output sockets?
I've been trying to implement this in my node's update method. My idea is that I should be able to access the value of the input sockets, do something with the values, then set the value of the output sockets. My problem is that it doesn't appear that the NodeSocket class actually stores values anywhere.
- How can I access the value in my node's input sockets?
- Where should I implement the actual processing that my node should be responsible for?
- How can I set the value of my node's output sockets?
For now pynodes aren't ment to work in cycles/compositor/.. They are visually there but won't do anything. I think the script by Atom only works because it is such a simple node that does in fact nothing.Might be better to extend Animation Nodes for your needs. – p2or May 21 '15 at 06:55