Delete Isolated points in Cloud points

   19898   13   0
User Avatar
Member
12 posts
Joined: Jan. 2017
Offline
Hi everyone,

I’m new in Houdini and I try to do some geometry from points cloud.

First I wanna clan my point cloud from Alembic file because I have some points wrong, isolate than another points so I need to delet this point and then try to connect this points to create a geometry.

Now I was trying to create a group and then delete it, but I don’t know what expression I need to use in Attribute Create or Attribute Wrangle, to select the isolate points with some dynamic value.

I this picture you can see my points.


Thanks
User Avatar
Member
2657 posts
Joined: June 2008
Offline
Just select the ones you do not want in the viewport and press the delete key. This will generate a Blast node with the point numbers in the pattern field. Those numbers can be used for further processing as well. Or copy those numbers into the Group field for a group node to make them a group.
Using Houdini Indie 20.5
Windows 11 64GB Ryzen 16 core.
nVidia 3060RTX 12BG RAM.
User Avatar
Member
12 posts
Joined: Jan. 2017
Offline
Thanks Enivob,

I can't select all points they are in all the cloud, like 29 millions in total. I need to create a smart selection by radius and try to select the isolated points in all of the cloud. I have small zones, I can't access.

Another idea?

Thanks everybody
User Avatar
Member
473 posts
Joined: Feb. 2012
Offline
There is definitely more procedural way to delete points.. it will be helpful if you post your file.
User Avatar
Member
12 posts
Joined: Jan. 2017
Offline
Hi! sure
Hi this is an example.

Attachments:
TestPoints_02.hipnc (80.9 KB)

User Avatar
Member
473 posts
Joined: Feb. 2012
Offline
You need to press the lock btn to get the geo
User Avatar
Member
2657 posts
Joined: June 2008
Offline
Just do a group by bounding using the sphere option and that will get you all points within a certain radius. Same workflow applies. Delete or Blast them after you have the group.
Using Houdini Indie 20.5
Windows 11 64GB Ryzen 16 core.
nVidia 3060RTX 12BG RAM.
User Avatar
Member
12 posts
Joined: Jan. 2017
Offline
I'm sorry I thought houdini attached it automatically.

Thanks Sepu, I attached the file again.
Edited by magolalipson - Jan. 31, 2017 12:57:23

Attachments:
TestPoints_02.hipnc (353.7 KB)

User Avatar
Member
12 posts
Joined: Jan. 2017
Offline
Maybe with this example is easier to understand!
I can't select the points in the air only if I make a selection as a radius from every particle, if this particle doesn’t find a another particle it’s one of I want to delete.

This is the reason I think I need to use Attribute Create or Attribute Wrangle o group I’m not sure.
Thanks if someone any idea.

Attachments:
Tetera_Geo.hipnc (3.5 MB)

User Avatar
Member
9241 posts
Joined: July 2007
Offline
try Fuse Sop
check Keep Unused Points and play with the distance


EDIT: I read it wrong:
try doing this in point wrangle:
int pts[] = nearpoints(0, @P, chf("radius"),2);
if (len(pts)==1){
    removepoint(0,@ptnum);
}
Edited by tamte - Jan. 31, 2017 23:54:10
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
12 posts
Joined: Jan. 2017
Offline
Hi Tamte,

Your syntax was an advance thanks, it’s works!! Now I see I need one more think?
I need only one network of points (the biggest), so I need to see only a points who are connected with another point (radius 2). I don’t want a net point more far than radius value.
It’s hard to explain.
Do you recommend me some tutorial for learn how can I read this kind of syntax’s in Vex?
Thanks People
User Avatar
Member
12 posts
Joined: Jan. 2017
Offline
the file

Attachments:
Tetera_Geo3.hipnc (4.7 MB)

User Avatar
Member
12 posts
Joined: Jan. 2017
Offline
the points

Attachments:
pointwrangle.jpg (1.2 MB)

User Avatar
Member
2 posts
Joined: Jan. 2020
Offline
Just add a facet node, click remove inline points and play with the distance.
You welcome.
Edited by Adetayo - June 5, 2021 14:17:56
  • Quick Links