4
$\begingroup$

Is it possible to convert mesh islands to instances, so that each instance will have each island?

enter image description here

$\endgroup$
2
  • $\begingroup$ Maybe even a better method to turn mesh islands into instances: blender.stackexchange.com/a/297733/8282 $\endgroup$ Jul 26, 2023 at 11:07
  • $\begingroup$ ^ To the pondering of above comment, no it wasn't. It yielded 10secs on my scenario. The result .blend of the answer below was only 6secs. $\endgroup$ Dec 28, 2023 at 19:59

3 Answers 3

3
$\begingroup$

In Blender 4.0 it is possible with loops:

RaccoonGraphics gave the nodes in here in Twitter.

enter image description here

enter image description here

Note from OP:

I think that writing index into all vertices is very expensive, so I made an update to this node tree:

enter image description here

.blend (The optimized version above, Blender 4.0):

$\endgroup$
2
  • $\begingroup$ oh, that's interesting $\endgroup$
    – Crantisz
    Jul 13, 2023 at 12:15
  • $\begingroup$ @Crantisz Thank you for the improvement, I didn't know it is possible to do some kind of 'pull requests' into people's answers :D Maybe I should some day do the same, as well. When a good situation occurs. $\endgroup$ Nov 2, 2023 at 14:21
3
$\begingroup$

Here the shortest way. Each separate node in the column separates island with index=0 from the leftover of previous separation. And the last node separates two last islands.

simple separation islands to instances

$\endgroup$
1
$\begingroup$

well...i am sure that's not the way you want, but that's one way - but a tedious one:

enter image description here

enter image description here

$\endgroup$
3
  • 1
    $\begingroup$ I see, quite clever way but limited to number of copies of the node group. $\endgroup$
    – Crantisz
    Oct 3, 2022 at 13:28
  • $\begingroup$ Yep - hopefully Robin or Quellenform come up with a better one 😉 $\endgroup$
    – Chris
    Oct 3, 2022 at 14:47
  • 1
    $\begingroup$ Unfortunately, the only answer to the question "Is it possible to convert mesh islands to instances?" is: No, not possible. Maybe there is another way to the goal, but for that you would have to know the goal. @Crantisz ? $\endgroup$
    – quellenform
    Oct 3, 2022 at 15:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .