Delete points inside Point Cloud?

Discussions about SOFTIMAGEs© Interactive Creative Environment©
Bullit
Moderator
Posts: 2621
Joined: 24 May 2012, 07:44

Delete points inside Point Cloud?

Post by Bullit » 10 Apr 2014, 09:15

This might be tricky since what is "inside" can be variable to what resolution we want to take from point cloud - the minimal distance we choose between particles/points that we consider to make the virtual external surface.

What will be the best approach to this one?

User avatar
owei
Administrator
Posts: 840
Joined: 03 Jun 2009, 15:25
Location: Siegen/Germany

Re: Delete points inside Point Cloud?

Post by owei » 10 Apr 2014, 09:53

Sorry...I don´t get what you want to achieve...could you be more precise..?

Bullit
Moderator
Posts: 2621
Joined: 24 May 2012, 07:44

Re: Delete points inside Point Cloud?

Post by Bullit » 10 Apr 2014, 16:37

Sure, there are particles or points that are in extremities of a point cloud volume, those i want to remain but the inside ones should be deleted.

NNois
Posts: 754
Joined: 09 Jun 2009, 18:33

Re: Delete points inside Point Cloud?

Post by NNois » 10 Apr 2014, 16:44

i've already do that by shrinkwraping a volume sphere onto the point cloud, so after that you just have to delete ;-)

Bullit
Moderator
Posts: 2621
Joined: 24 May 2012, 07:44

Re: Delete points inside Point Cloud?

Post by Bullit » 10 Apr 2014, 17:52

Ahah! good idea.

User avatar
Tekano
Posts: 488
Joined: 09 Jun 2009, 12:49
Location: London, UK

Re: Delete points inside Point Cloud?

Post by Tekano » 10 Apr 2014, 18:50

a quick hack in ICE might be

get all point positions

average these

get current point position distance to this average

isolate a bunch furthest away

delete the rest :)
Gossip is what no one claims to like, but everybody enjoys.

User avatar
Hirazi Blue
Administrator
Posts: 5113
Joined: 04 Jun 2009, 10:15

Re: Delete points inside Point Cloud?

Post by Hirazi Blue » 10 Apr 2014, 19:01

Couldn't you abuse Thiago Costa's ancient Particle Density compound
(Area login required) for something like this?
Stay safe, sane & healthy!

User avatar
Tekano
Posts: 488
Joined: 09 Jun 2009, 12:49
Location: London, UK

Re: Delete points inside Point Cloud?

Post by Tekano » 10 Apr 2014, 19:04

not so sure as (far as can remember) that was representing a scalar for amounts of closest neighbors within a fixed distance to each point.. but looks like it could work :D
Gossip is what no one claims to like, but everybody enjoys.

Bullit
Moderator
Posts: 2621
Joined: 24 May 2012, 07:44

Re: Delete points inside Point Cloud?

Post by Bullit » 10 Apr 2014, 23:05

Thanks everyone.

NNois
Posts: 754
Joined: 09 Jun 2009, 18:33

Re: Delete points inside Point Cloud?

Post by NNois » 11 Apr 2014, 09:09

you could also trace a ray from the current particle to the particle emission location and check if there is particle inside a specified cone, this could work but the shrinkwrap method with a secondary geometry (an ice shrinkwrap with get closest position...) work very well