cloudfx Posted February 18, 2012 Share Posted February 18, 2012 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? 1 Quote Link to comment Share on other sites More sharing options...
symek Posted February 18, 2012 Share Posted February 18, 2012 (edited) 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 February 18, 2012 by SYmek 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.