cojoMan Posted July 21, 2015 Share Posted July 21, 2015 (edited) given a mosaic texture (like this : https://upload.wikimedia.org/…/2000px-Coloured_Voronoi_3D_s…) - how can I process it and turn it into separate polygons ? Basically I want to extract all polygons, and retaing the color information per poly so I can do partitioning, etc. thanks Edited August 14, 2015 by cojoMan Quote Link to comment Share on other sites More sharing options...
edward Posted July 21, 2015 Share Posted July 21, 2015 Not sure but maybe the Trace SOP can get you partly there at least. Quote Link to comment Share on other sites More sharing options...
cojoMan Posted July 21, 2015 Author Share Posted July 21, 2015 thanks Edward, I tried it already, but it works best for tracing contrasting images (and it's best for cracks & co) I am provided with a "legend" map like the mosaic above, and I need to extract each individual area, group the similar ones together, and further process those... Quote Link to comment Share on other sites More sharing options...
michael Posted July 21, 2015 Share Posted July 21, 2015 scatter points > color them with your texture > group them by color > partition > triangulate2D each group? Quote Link to comment Share on other sites More sharing options...
cojoMan Posted July 21, 2015 Author Share Posted July 21, 2015 Hi Michael - it makes sense - but I am stuck at grouping each color group automatically See attached... mosaic.hip Quote Link to comment Share on other sites More sharing options...
Atom Posted July 21, 2015 Share Posted July 21, 2015 I tried setting up a network as Michael suggests. I use the attribute from map to get the colors then use the Partition built-in color detector to get the groups. I can see the groups when I middle click but I am not sure how to configure the FOREACH. I placed the Triangulate2D inside the FOREACH but I don't know what to type in the group field to reference each group? mosaic.hipnc Quote Link to comment Share on other sites More sharing options...
mestela Posted July 21, 2015 Share Posted July 21, 2015 Persevered with the trace, this isn't too bad: mosaic_from_image.hipnc 1 Quote Link to comment Share on other sites More sharing options...
mestela Posted July 21, 2015 Share Posted July 21, 2015 I tried setting up a network as Michael suggests. I use the attribute from map to get the colors then use the Partition built-in color detector to get the groups. I can see the groups when I middle click but I am not sure how to configure the FOREACH. I placed the Triangulate2D inside the FOREACH but I don't know what to type in the group field to reference each group? Put a * in the group mask, and check 'apply to points'. Result isn't ideal though. Quote Link to comment Share on other sites More sharing options...
cojoMan Posted July 21, 2015 Author Share Posted July 21, 2015 @mestela : thanks ! for what I need, it's more than good enough, even before fusing I need to go through more COP ops - did't knew about "edge" Quote Link to comment Share on other sites More sharing options...
mestela Posted July 21, 2015 Share Posted July 21, 2015 Heh, if a comp package doesn't have an edge detect, its probably not worth using. Quote Link to comment Share on other sites More sharing options...
michael Posted July 21, 2015 Share Posted July 21, 2015 thanks Matt, didn't have time to get back to this today... I always forget about 'edge' as well Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.