jinzwjm

jinzwjm

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

[HDK] A fast way to remove point in HDK Dec. 28, 2015, 12:43 a.m.

ndickson
jinzwjm
I found if I use the “Blast” Sopnode in houdini and select the delgroup. It works much faster(about 50 times) than “destroyPointOffsets” function in hdk.
Contrary to what their names suggest, internally, Blast and Delete don't usually delete existing points; they just copy everything *except* what's in the group into an empty detail, (possibly also having to clear the detail from the previous cook). If you want the results back in the original detail, when you're deleting that many points, it may be faster to first copy what you want to keep into a new detail, then copy the entirety of that detail over the original.

Thanks for reply! Good to know How Blast actually works!
Very thanks for your help!!

[HDK] A fast way to remove point in HDK Dec. 27, 2015, 12:40 a.m.

Hi, all
I am trying to delete points in HDK using the gdp->destroyPointOffsets(GA_Range(*delgroup));
There are about 30000000 points in delgroup. It works fine but it seems “gdp->destroyPointOffsets” method is very slow.
I found if I use the “Blast” Sopnode in houdini and select the delgroup. It works much faster(about 50 times) than “destroyPointOffsets” function in hdk.
I wonder that is there any ways to makes delete points faster in HDK.
Thanks!