Jump to content

pcopen handle


cloudfx

Recommended Posts

just had a simple question about pcopen vop.

It seems like pcopen vop's handle (int) is like a point of list that handing over to pciterate but when it's added to add attribute vop, and see it in sop mode detailes view, all the handle value's are 0. Why is that? what exactly the handle attribute type and meaning?

  • Like 1
Link to comment
Share on other sites

just had a simple question about pcopen vop.

It seems like pcopen vop's handle (int) is like a point of list that handing over to pciterate but when it's added to add attribute vop, and see it in sop mode detailes view, all the handle value's are 0. Why is that? what exactly the handle attribute type and meaning?

Point Clouds architecture in VEX is based on data structure called kd-trees. They are created in memory from Houdini geometry and kept in cache for a period of VEX execution. Handle is like a reference of this structure inside a single VEX instance (like VOPSOP, or VEXSOP or any vex involved operator). If you create two point clouds inside single VOPSOP, they will probably have handles 0 and 1. Go figure!

It's basically an integer which lets you tell to other pc* functions which point cloud you're interested in (among many possibly created).

Edited by SYmek
  • Like 2
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...