Point culling

   3326   3   0
User Avatar
Member
6 posts
Joined: July 2005
Offline
Hello I am trying to use a point cloud operator within vex to find points within a certain radius of each other and delete one of them. I am having some issues accomplishing this. Any info would be great.
Ashraf Ghoniem
CG Lead The Mill
User Avatar
Member
401 posts
Joined:
Offline
In VEX all points are computed a the same time : SIMD.
In my tries to remove one of the points within a specified radius - always both points were removed. I explained this with SIMD and used a pythonSOP instead.

I guess with enough procedural energy one indeed can get a VOPSOP network wired up to do this?

http://en.wikipedia.org/wiki/SIMD [en.wikipedia.org]
this is not a science fair.
User Avatar
Member
8556 posts
Joined: July 2007
Offline
rdg
In VEX all points are computed a the same time : SIMD.
In my tries to remove one of the points within a specified radius - always both points were removed.


you can do it easily in VOPs if you delete point with lower ptnum, that way always only one from the pair gets deleted
however if you want to make sure that no other point is within specified radius then more iterations are needed (ForEach) because at every iteration only closest one is deleted
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
401 posts
Joined:
Offline
Nice! Thanks for sharing.
Also for putting “you can do it easily in VOPs” into perspective.
this is not a science fair.
  • Quick Links