import points to pop

   8354   4   1
User Avatar
Member
32 posts
Joined: July 2005
Offline
Hello,

I am currently trying to get a fixed number of points into pops as particles. I thought about something like this:

- create geometry in sop.
- use scatter sop
- append pop network to scatter sop
- use the scattered points as fixed number of particles in a pop network.

The problem is I do not know how to import the points into pops. Perhaps someone can help me there.

Thank you very much and have fun trying out Version 11. I think it's great!!! Keep on the good work, SESI.
User Avatar
Member
1921 posts
Joined: Nov. 2006
Offline
Something like this?

Attachments:
pop_points_from_geo.hipnc (45.6 KB)

Graham Thompson, Technical Artist @ Rockstar Games
User Avatar
Member
32 posts
Joined: July 2005
Offline
Yes, this is perfect.

Thank you very much!
What I don't get though is that the npoints expression returns the number of points (so, an integer, right?) Where are the point positions coming from?
User Avatar
Member
1921 posts
Joined: Nov. 2006
Offline
Yes the npoints() is returning the number of points coming into the first input of the POP Network. The positions come from the fact that by default the Source POP uses “Points (ordered)” as the method. This gives them the position of the source point.

From the help: Points (ordered) - Emit particles from each point in the source geometry, in order.
Graham Thompson, Technical Artist @ Rockstar Games
User Avatar
Member
3 posts
Joined: Jan. 2017
Offline
This is Awesome but you know how can I made the same thing in Houdini 16 Graham?
  • Quick Links