Neghbours count to color ?
4043
2
0
vrman
Member
39 posts
Joined: Sept. 2013
Offline
Dec. 26, 2014 10:43 a.m.
Hi guys i want to connect neighbours count to cd to create a tickness attribute , i can do that in ice easily but i confused to do that with neighbors in vopsop . could you help me please ? thanks
Attachments:
nbThikness.jpg (128.2 KB)
pezetko
Member
392 posts
Joined: Nov. 2008
Offline
Dec. 27, 2014 5:46 p.m.
Neighbour Count VOP works on connected points. So in your example it probably returns zero. If you want to search number of points near to other points you need to use pointclouds (pc open vop). But there is faster approach to get thicnkess by sampling sdf volume. Look at attached example.
Attachments:
pz_near_points.hipnc (237.7 KB)
vrman
Member
39 posts
Joined: Sept. 2013
Offline
Dec. 28, 2014 2:51 a.m.
thanks a lot pezetko , its help me alot .