VOP RSL surface - inline outputs broken?

   3782   2   0
User Avatar
Member
33 posts
Joined:
Offline
I'm having issues with the inline code vop in H9.0.733: The outputs aren't working correctly.

I have a simple case where I have the output of my inline plugging into my final output color. In order to do this, I've enabled an output on the inline vop, and given it an appropriate name.

Problem is, here's what the output looks like:


// Code produced by: inline1
tex = color(1,0,0);

// Code produced by: output1
Ci = color(0, 0, 0);


So basically, that output connection is being completely ignored.

Even if I wanted to try to get around this problem by manually setting the output value, I can't. Here's what I get when I do that in my inline:

// Code produced by: inline1
tex = color(1,0,0);
Ci = tex;

// Code produced by: output1
Ci = color(0, 0, 0);


So unless I'm completely missing something here… I basically can't use the inline vop.


Anyone else having the same problem?
User Avatar
Member
120 posts
Joined: 2月 2008
Offline
did anyone ever solve this? I just ran into this issue today.
User Avatar
スタッフ
1449 posts
Joined: 7月 2005
Offline
in your inline code you need to prefix your output variable with ‘$’. It ensures unique variable name that does not conflict with other vops, and also allows the code generator to match it with the output variable of the inline vop:

$tex = color(1,0,0);


for more info see:
http://www.sidefx.com/docs/houdini11.0/nodes/vop/inline [sidefx.com]
http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=20619 [sidefx.com]
  • Quick Links