Jump to content

point cloud import - point.number - in DOPs


Recommended Posts



I am struggling with point clouds, can someone give me some pointers?


I am working towards making some bubbles, though it's really a learning exercise rather than a particular shot I'm trying to achieve. Right now I'm just working on a little sandbox scene trying to get some point cloud VOPs to work - I wanted to do it in VEX but I think I need to do it visually first to understand what's going on better.


So I have particles with a pscale value and I am trying to test whether any other particles fall within that radius and if so, add the pscale value to the original, delete the overlapping particle and average the positions and velocities. I'm using a SOP Solver attached to the middle input of my POP Solver.


The first thing that I can't get to work is ignoring the particle I'm querying. I thought from the docs I could use a point cloud import and get the point.distance then use do [pseudo code] if (distance !=0) {pscale + = imported pscale} but I can't get that to work. So I just tried to import point.number and export that to a neighbour variable and I can't figure that out either. Attached is the sandbox, could someone maybe give me a clue?!


Thanks very much


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.

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...