Is there an efficient way to remove millions of particles that are inside some geometry?
Trying a group node to select points with a bounding object but it is running single thread, which is very slow on 80 million particles. Thanks!
efficent way to remove millions of particles
1665 4 1- anon_user_37409885
- Member
- 4189 posts
- Joined: June 2012
- Offline
- buki
- Member
- 1769 posts
- Joined: Dec. 2006
- Offline
Hey!
Use a bounding vdb volume, it does not have to be high resolution, it is much faster.
Use a bounding vdb volume, it does not have to be high resolution, it is much faster.
daniel bukovec | senior fx td | weta digital
qLib -- http://qlab.github.io/qLib/ [qlab.github.io]
qLib -- http://qlab.github.io/qLib/ [qlab.github.io]
- anon_user_37409885
- Member
- 4189 posts
- Joined: June 2012
- Offline
- tricecold
- Member
- 258 posts
- Joined: July 2006
- Online
instead of using the group bounding use this in a wrangle you will get some more boost
convert the shape to vdb like daniel said and connect it to the second input of wrangle
and
float in = volumesample(1,0,@P);
if(in < 0)
removepoint(geoself(),@ptnum);
convert the shape to vdb like daniel said and connect it to the second input of wrangle
and
float in = volumesample(1,0,@P);
if(in < 0)
removepoint(geoself(),@ptnum);
Head of CG @ MPC
CG Supervisor/ Sr. FX TD /
https://gumroad.com/timvfx [gumroad.com]
www.timucinozger.com
CG Supervisor/ Sr. FX TD /
https://gumroad.com/timvfx [gumroad.com]
www.timucinozger.com
- anon_user_37409885
- Member
- 4189 posts
- Joined: June 2012
- Offline
-
- Quick Links