jonathantopf Posted June 6, 2014 Share Posted June 6, 2014 Hi there, I've created a material that contains an inlineCode node with some vex inside. I'd like to be able to create a generic version of this node that can be re used but there are a few problems. when i add inputs to the node they inherit the names of their input, I'd like them to be generic, i.e. "input1" rather than "product" if i connect the output of a multiply node or "s" if i connect a texture coordinate. Also as the node just creates code any variables contained within are placed in the resulting code verbatim and if i have many copies of the inlineCode node with the same contents then I get clashing variable names. Has anyone done this? or does anybody know where to look for docs on createing new vop node templates that are more flexible. Cheers jon Quote Link to comment Share on other sites More sharing options...
dennis.albus Posted June 6, 2014 Share Posted June 6, 2014 Hi, this will show you exactly what you need to know. There are 4 parts to this tutorial. http://www.sidefx.com/index.php?option=com_content&task=view&id=2275&Itemid=363 Hope this helps. Quote Link to comment Share on other sites More sharing options...
jonathantopf Posted June 6, 2014 Author Share Posted June 6, 2014 perfect, exactly what i needed! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.