Jump to content

point clouds altering density of a volume


Recommended Posts

Hey,

I am trying to use point clouds to cut 'pockets' in a volume density - I have set it up in a vopsop which looks at the pscale of points using pcopen and pcfilter. This kind of works and holes are eaten into the volume density. The only problem is pscale doesn't affect the SIZE of the holes...only the the amplitude of the density. The size of the holes is determined by the radius value on pcopen.It would be nice if the holes were different sizes based on pscale (I am trying to create bubbles in foam).

Any help would be much appreciated.

cheers!

Stephen

post-5443-129744447223_thumb.jpg

pointCloud_v002.hip

Link to comment
Share on other sites

Hey,

I am trying to use point clouds to cut 'pockets' in a volume density - I have set it up in a vopsop which looks at the pscale of points using pcopen and pcfilter. This kind of works and holes are eaten into the volume density. The only problem is pscale doesn't affect the SIZE of the holes...only the the amplitude of the density. The size of the holes is determined by the radius value on pcopen.It would be nice if the holes were different sizes based on pscale (I am trying to create bubbles in foam).

Any help would be much appreciated.

cheers!

Stephen

i think the easiest way to do this is to use pciterate rather than ptfilter. that way you can be more specific about how you create the holes. in the attached example, i'm making a coordinate system for each point (that includes the scale) and just looking at the distance from the origin of that coordinate system to make the holes. this way changing the radius of your pcopen doesn't affect the result.

post-4364-129747578286_thumb.jpg

Link to comment
Share on other sites

i think the easiest way to do this is to use pciterate rather than ptfilter. that way you can be more specific about how you create the holes. in the attached example, i'm making a coordinate system for each point (that includes the scale) and just looking at the distance from the origin of that coordinate system to make the holes. this way changing the radius of your pcopen doesn't affect the result.

here's that example

volholes.hip

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