Alternative to opinput for POP VOP?

   3401   4   1
User Avatar
Member
241 posts
Joined: April 2014
Offline
I have a POP VOP in my flip simulation, and I'd like to use a volume sample node within that.

Whenever I use Volume Samples in attribute VOPs, I wire my volume into the second input, and switch “Input” parameter to “Second”. However I can't do that with a POP VOP, as they don't give you a place to wire inputs when the POP VOP is in DOPs.

Instead, I have to use the “Geometry File” parameter, and I'm quite sure that in order to use a path reference to refer to the Volume that I want to use, I need to use an expression.

But I'm not sure what expression to use. The psudocode would be something like:

`GetNode(“/obj/Bowl/OUT_RIM_SDF”)`

Thoughts?

Thanks!
Luke
User Avatar
Member
2660 posts
Joined: June 2008
Offline
Here is the string path I use to reference attributes in the crowd system. Perhaps this syntax will help you define a path for your needs?


string handle_path = “opobj/crowd_sim:crowdobject/Geometry”;
vector goal_location = point(handle_path,“P”,i@some_id);
Using Houdini Indie 20.5
Windows 11 64GB Ryzen 16 core.
nVidia 3060RTX 12BG RAM.
User Avatar
Member
241 posts
Joined: April 2014
Offline
“opobj/crowd_sim:crowdobject/Geometry”

This looks quite promising. Thanks!
User Avatar
Member
392 posts
Joined: Nov. 2008
Offline
“Inputs” tab of the Pop VOP - there are options to specify all four paths for it's inputs.
User Avatar
Member
241 posts
Joined: April 2014
Offline
pezetko
“Inputs” tab of the Pop VOP - there are options to specify all four paths for it's inputs.

Oh wow, how did I miss that. I guess I never thought to really explore the VOP paramter tabs, as I've thought of VOPS as more of a container. Thanks for pointing that out!
  • Quick Links