Jump to content
Sign in to follow this  
nicoladanese

popnet, getting number of points for sourcing

Recommended Posts

Hey!

I'm scattering some points and then use them as first input in a popnet to sim it. in the pop source I'd like to just emit a point for every source point, so basically I'm emitting for 1 frame with the same number of points, to get the same points in the sim. is there a way to tell the pop source to emit the exact number of points you have as input (at the mo I'm just manually putting the number...) ?

cheers!

Share this post


Link to post
Share on other sites

Set the emission type on the pop source to "all points". 

Share this post


Link to post
Share on other sites

hey thanks for your reply!

right, but what about the impulse count? I was looking into something like an expression to tell the impulse count how many points I'm feeding into the pop source...

Share this post


Link to post
Share on other sites

you can use npoints(opinputpath("..", 0)) if you have the sourcepoints plugged into first input

still, I'd go with what Skybar said and use "All Points"

Share this post


Link to post
Share on other sites

Here you are!

Make your geo.

Scatter some points.

make a popnet

set it to all points.

set the frame you want to emit, only for 1 frame  ($$FF==1)  for example.


You have instructions inside the hip anyways. Have fun!

popnet_sourcingPoints.hiplc

Share this post


Link to post
Share on other sites

thanks guys! I think opinputpath was the command I was looking for! thanks for the hip Miguel!

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
Sign in to follow this  

×