Jump to content
ofer

Writing Custom Source Pops

Recommended Posts

Hi! I bumped into a problematic scenario with POPs. I have a POP network with particles emmited from a geometry object. The geometry is dynamic and a new point is added to it every once in a while. I want to birth one particle per point, but I have no way to know when a new point it added.

So, I can't write a correct expression in the "Impulse Activate" parameter of the source POP. This way I can't control the number of particles birhed in my sim.

I tried using VOPs to create a custom source POP, but I don't think it is possible. Maybe I should use the HDK? Maybe there is a better solution?

Share this post


Link to post
Share on other sites

In the Impulse Birth Rate field, you can use $NPT which is the total number of points of the source geometry. No custom POP needed, unless I'm mistaking what you're looking for.

Cheers!

steven

Share this post


Link to post
Share on other sites

Damn! You are right! I tried npoints("."), which doesn't work, and I forgot $NPT. I'll try that.

Thanks :)

Share this post


Link to post
Share on other sites

You can't use VOPs to create a custom source pop. VEX cannot create new points, only modify existing ones, you'll need to use the HDK for that :).

Cheers

Marc

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×