Jump to content

VEX Pop Help


athomas

Recommended Posts

I am fairly new to VEX and would like to achieve the following

count particles at every frame for soucres A & B

get the number of particles from A colliding with B

if the number of collisioned particles is more than 30% of total particles in the scene

then birth particles from source C (or location)

Any help would be greatly appreciated.

Cheers

Andre

Link to comment
Share on other sites

Phew. POPs aren't meant to work in such an absolute way. You could do this outside in SOPs then reference that back in to the POP network. I do remember a post a day ago that gave you this solution. It should work as the pop SOP has to keep up with the POP network it is referencing. The two are inter-dependent inside the Houdini cook method. Watch out for recursion though.

POPs are simply rules. You need to use a Pop SOP to reference the Pop rules in a real context.

You describe what you want to do but what is the effect you are trying to achieve?

Link to comment
Share on other sites

The effect I'm trying to achieve is basically,

when two fluids or streams are colliding it changes their disrtibution patterns and depending on the force can look like an explosion.

I like to achieve this without SOPs, so you can easily change position, terrain etc. without having to worry about adjusting your collision geometry and I thought it may be as well achieved using VEX rather than writing a script.

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