Topology-aware attribute transfer (flood fill?)

   394   1   0
User Avatar
Member
447 posts
Joined: Aug. 2019
Offline
I'm trying to "expand" my attributes from some points until they fill the whole geometry.

For example, this is the input:



And I'd like to flood fill the from the colored corners.

Attribute Transfer SOP does something similar, however, it samples from the cloest point(s) in the 3D space:



I'd like to sample from the closest point(s), topology-wise, like this:



How could I achieve this?
Edited by raincole - Feb. 3, 2024 04:36:37

Attachments:
Screenshot 2024-02-03 173044.png (917.6 KB)
Screenshot 2024-02-03 173142.png (660.7 KB)
Screenshot 2024-02-03 173221.png (667.8 KB)

User Avatar
Member
477 posts
Joined: July 2005
Offline
Here is a setup for the color attribute using neighbour information (ignoring black colors) taking the average of all neighbour colors.

Attachments:
expand_flood.hipnc (118.0 KB)

  • Quick Links