Inputs in chop operator

   3695   4   0
User Avatar
Member
255 posts
Joined: 8月 2009
Offline
Hi,
I create my own chop operator in vopnet and set min and max inputs to 2 But I dont know how to read input number 2 (number 1 is global).
The help say something about “import attribute” node, but this operator doesnt in chop operator(is in sop). So how do I read the input No. 2 in chop operator???

thx
https://vimeo.com/user3251535 [vimeo.com]
https://twitter.com/milansuk [twitter.com]
https://github.com/milansuk [github.com]
User Avatar
Member
255 posts
Joined: 8月 2009
Offline
I have Houdini 10.0.249.3
https://vimeo.com/user3251535 [vimeo.com]
https://twitter.com/milansuk [twitter.com]
https://github.com/milansuk [github.com]
User Avatar
Member
4262 posts
Joined: 7月 2005
Offline
As far as I know a VOP doesn't exist for this. However its easy to make.

Attachments:
chinput.otl (2.4 KB)

if(coffees<2,round(float),float)
User Avatar
Member
255 posts
Joined: 8月 2009
Offline
Wolfwood
As far as I know a VOP doesn't exist for this. However its easy to make.

thank you very much. Can I ask, Did you create in HDK???
https://vimeo.com/user3251535 [vimeo.com]
https://twitter.com/milansuk [twitter.com]
https://github.com/milansuk [github.com]
User Avatar
Member
4262 posts
Joined: 7月 2005
Offline
Nope, just with the standard VOP Builder tools.

There are tutorials on this….

Building a Custom VOP in Houdini Parts 1-4

http://www.sidefx.com/index.php?option=com_content&task=blogcategory&id=115&Itemid=216 [sidefx.com]
if(coffees<2,round(float),float)
  • Quick Links