Discussions about SOFTIMAGEs© Interactive Creative Environment©
-
clankill3r
- Posts: 131
- Joined: 21 Oct 2012, 13:36
Post
by clankill3r » 27 Jan 2013, 21:24
I try to delete every point from a pointcloud that has a odd id.
Why do i get a error about a reference?

-
TwinSnakes007
- Posts: 316
- Joined: 06 Jun 2011, 14:00
Post
by TwinSnakes007 » 27 Jan 2013, 21:31
Replace the "pointcloud.ID" node with a "Get Point ID" node.
-
Tekano
- Posts: 488
- Joined: 09 Jun 2009, 12:49
- Location: London, UK
Post
by Tekano » 27 Jan 2013, 21:36
almost there Clankiller, just disconnect the In name on the delete point, you are already filtering that set of points by modulo you do not need the name as well
Gossip is what no one claims to like, but everybody enjoys.
-
xsisupport
- Posts: 713
- Joined: 09 Jun 2009, 09:02
- Location: Montreal Canada
Post
by xsisupport » 28 Jan 2013, 11:30
Also, the In Name on Delete Point is for the name of a point cloud (not the name of PointCloud.ID).
// Steve Blair
// "You're not a runner, you're just a guy who runs" -- my wife
//
// My Blogs:
Arnold |
Softimage
-
clankill3r
- Posts: 131
- Joined: 21 Oct 2012, 13:36
Post
by clankill3r » 29 Jan 2013, 16:30
thanks guys, got it working.
I also deleted the if node.
-
clankill3r
- Posts: 131
- Joined: 21 Oct 2012, 13:36
Post
by clankill3r » 29 Jan 2013, 19:26
one more,
how can i remove points that match a certain id?

-
nixx
- Posts: 42
- Joined: 09 Jun 2009, 18:25
Post
by nixx » 29 Jan 2013, 20:18
clankill3r wrote:one more,
how can i remove points that match a certain id?
What you have now gives you an array of results for the specific point id compared against every one of the array members. That's why the output is an array of booleans.
Use "Find in Array" instead of the "equal to" comparison operator. That way, if the point id is "found in the array", the node will return "true" -> point will be deleted.
I 'm child, and man, and child again; the boy never gets older.
my Vimeo
-
angelous4x
- Posts: 133
- Joined: 06 Nov 2011, 04:24
- Location: new York
Post
by angelous4x » 29 Jan 2013, 20:35
one other thing is just use the filter particle ID, it looks for the ID you type in. then get a string to array node, and paste all the particles you want to delete and there you go.
-
clankill3r
- Posts: 131
- Joined: 21 Oct 2012, 13:36
Post
by clankill3r » 30 Jan 2013, 11:39
thanks