Hi,
I have a geometry with a “mask” (0 or 1) attribute and I would like to reproduce the connectivity SOP behaviour looking up at this attribute instead of adding a blast node to delete the points with mask at 0.
Any idea how I could do this ?
Thanks,
Julien
Connectivity per attribute
3809 5 2- julien-b
- Member
- 66 posts
- Joined: March 2017
- Offline
- Mohanpugaz
- Member
- 146 posts
- Joined: June 2016
- Offline
i cant understand what you are trying to do. but if you want to delete points with mask 0 , you can connect a blast node and type @mask=0 without spaces in the group knob. or you can do this and lot more in attribute wrangle
if (@mask==0){
removepoints(0,@ptnum)
}
or if you wanna groups based your attribute take a look at partion sop
if (@mask==0){
removepoints(0,@ptnum)
}
or if you wanna groups based your attribute take a look at partion sop
Mohan Pugaz
movfx
https://www.instagram.com/movfx/ [www.instagram.com]
https://www.youtube.com/channel/@_movfx
movfx
https://www.instagram.com/movfx/ [www.instagram.com]
https://www.youtube.com/channel/@_movfx
- julien-b
- Member
- 66 posts
- Joined: March 2017
- Offline
Hi,
No, this is not what I'm trying to do, or at least how I want to do it. I can do what I need with this :
- Blast the points with mask == 0
- use the connectivity sop to add attribute per connected primitives
- transfer attributes to the original model (the one without the blast)
What I'm wondering is if there is a way to the same without having to blast the points (which is expensive).
Hope this makes more sense.
Thanks,
Julien
No, this is not what I'm trying to do, or at least how I want to do it. I can do what I need with this :
- Blast the points with mask == 0
- use the connectivity sop to add attribute per connected primitives
- transfer attributes to the original model (the one without the blast)
What I'm wondering is if there is a way to the same without having to blast the points (which is expensive).
Hope this makes more sense.
Thanks,
Julien
VFX Supervisor @ MPC London
- Mohanpugaz
- Member
- 146 posts
- Joined: June 2016
- Offline
if you are transferring back the attributes to the original mesh using an attribute transfer sop then the attribute will spread on your blasted points as well, so is that what you need ?
you could post a hip file which will be helpful to understand what you are trying to do and why.
you could post a hip file which will be helpful to understand what you are trying to do and why.
Mohan Pugaz
movfx
https://www.instagram.com/movfx/ [www.instagram.com]
https://www.youtube.com/channel/@_movfx
movfx
https://www.instagram.com/movfx/ [www.instagram.com]
https://www.youtube.com/channel/@_movfx
- tamte
- Member
- 8845 posts
- Joined: July 2007
- Offline
- julien-b
- Member
- 66 posts
- Joined: March 2017
- Offline
-
- Quick Links