The point cloud open(pcopen) node in point vop,has a parm witch is “maxpoints”.
I haven't find this parm's effect!
eventhough,the value from 0 to 100000.
There's nothing happened.
How should I understand this parm?What's the right way to use it?
"maxpoints" parm of pcopen
6707 4 0- blove
- Member
- 24 posts
- Joined: May 2012
- Offline
- tamte
- Member
- 8785 posts
- Joined: July 2007
- Online
it limits how many points it will open within given radius
so in your example A the radius is pretty small so there is no instance of a red point having more that 1 green point within that radius anyway
and even if it did, you are not looping over found points
with pciterate outside of any loop, you are essentially geting just first found point no matter how many of them pcopen would return
for easy way of filtering values of multiple open points you can use pcfilter, for more custom way you can use for or while loop
so in your example A the radius is pretty small so there is no instance of a red point having more that 1 green point within that radius anyway
and even if it did, you are not looping over found points
with pciterate outside of any loop, you are essentially geting just first found point no matter how many of them pcopen would return
for easy way of filtering values of multiple open points you can use pcfilter, for more custom way you can use for or while loop
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- blove
- Member
- 24 posts
- Joined: May 2012
- Offline
tamte
it limits how many points it will open within given radius
so in your example A the radius is pretty small so there is no instance of a red point having more that 1 green point within that radius anyway
and even if it did, you are not looping over found points
with pciterate outside of any loop, you are essentially geting just first found point no matter how many of them pcopen would return
for easy way of filtering values of multiple open points you can use pcfilter, for more custom way you can use for or while loop
Thanks!
Got it!
- blove
- Member
- 24 posts
- Joined: May 2012
- Offline
tamte
it limits how many points it will open within given radius
so in your example A the radius is pretty small so there is no instance of a red point having more that 1 green point within that radius anyway
and even if it did, you are not looping over found points
with pciterate outside of any loop, you are essentially geting just first found point no matter how many of them pcopen would return
for easy way of filtering values of multiple open points you can use pcfilter, for more custom way you can use for or while loop
If you could test my file,please?
What seem to be wrong with the pcopen connected int the pointvop!
I want to set the color from red into green by pcopen serach!
- tamte
- Member
- 8785 posts
- Joined: July 2007
- Online
maybe it will be easier if you describe what you are trying to do
as from your file it's not very clear
you are checking the closest red points(pcopen) to the closest green point(nearpoint) to the current red point, then if at least one is find you set current point to green?
not sure I understand the intention behind that, please clarify
as from your file it's not very clear
you are checking the closest red points(pcopen) to the closest green point(nearpoint) to the current red point, then if at least one is find you set current point to green?
not sure I understand the intention behind that, please clarify
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
-
- Quick Links