Jump to content

COP and switch node error


westiemad

Recommended Posts

Afternoon Gents,

I have a problem with using a switch node in COPs, if you create a color, and a file (using the default pic), then connect them into the switch, all is well, but if you try to drive the Input index of the switch with an if statement like: if($F == 1, 0 ,1) i get an error "an input could not be evaluated". I tried in 8.2 and 9.1, so I think it must be me.

Any clues?

Cheers Guys

Link to comment
Share on other sites

If you animate the switch, all the inputs must match in resolution, data format and frame range exactly. If it's not possible to get them set up like that, you can use a Blend COP instead with an integer expression. Newer Houdini builds have a more clear error message.

Thanks for the info, I thought it might be something like that, I think the blend COP is a better idea.

AnDy

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...