4
$\begingroup$

I have a point cloud with lots of points. enter image description here Now I want to split up this point cloud into groups of 8, so that I can manipulate these groups individually (e.g. rotate them as a group).

I can kind of achieve this with the "Separate Geometry" node: enter image description here However, that is not feasible with more points, if I want to split the geometry into hundreds of groups / instances).

Is there any way to split geometry into a lot of parts (not just two like "Separate Geometry" does)?

$\endgroup$
4
  • $\begingroup$ How do you want to identify the groups?.. (what would you like the interface to be to do that) $\endgroup$
    – Robin Betts
    Nov 1, 2023 at 11:41
  • $\begingroup$ @RobinBetts In my case, I just want the first 8, the second 8 ... in the order as they are stored. However, in general it could also be all points that share the same value of some named attribute. $\endgroup$ Nov 1, 2023 at 12:15
  • 2
    $\begingroup$ Geometry Nodes: new Split to Instances node. Blender 4.1 apparently will bring a node that serves this exact purpose. $\endgroup$
    – Hulifier
    Nov 2, 2023 at 2:31
  • $\begingroup$ @Hulifier That's great news! It's exactly what I was looking for. Thanks! $\endgroup$ Nov 2, 2023 at 9:41

2 Answers 2

4
$\begingroup$

Obviously the use case matters for what method to use. But the most practical is to store the group as an attribute on each point.

Here we have 2000 points. We simply group them by 8.We then use the group ID for different functions.

enter image description here

In this case we simply randomly move the groups around

enter image description here

$\endgroup$
3
  • $\begingroup$ Interesting! Thank you! For translating groups of points this works great. However I don't think I could easily apply rotation to a group of points. That would be a lot easier if each group of points could be converted to an instance. $\endgroup$ Nov 1, 2023 at 12:04
  • $\begingroup$ Ah, I understand what you mean now. I think your repeat zone idea might be the best option. I'll see if there's another way tomorrow without the repeat zone. $\endgroup$
    – TheJeran
    Nov 1, 2023 at 19:23
  • $\begingroup$ as Hulifier mentioned in a comment above there is a "Split to Instances" node for exactly this purpose, coming up in Blender 4.1. So it is probably not worth the effort to work on other solutions. Thanks though! $\endgroup$ Nov 2, 2023 at 9:52
4
$\begingroup$

In Blender 4.1 there is a new "Split to Instances" node for exactly this purpose:

enter image description here

The result: enter image description here

In Blender 4.0 you can use the repeat zone to split geometry into a lot of instances: enter image description here However, the performance of this solution is worse compared to the "Split to Instances" node of Blender 4.1

$\endgroup$

You must log in to answer this question.

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