Skip to main content
added 22 characters in body
Source Link

I have a mesh that contains more than 100 mesh islands and 10 groups, each containing 100 collections of assets that I want to array to these mesh borders. I use the Switch Index Node to get the combination options of the instance.

And I'm trying to get the random options for the combination that was instanced to each mesh island instead of a specific option for all islands. But the switch index seems like don't work with random node.

enter image description here

enter image description here

Let's take a look at a simple example with a mesh that contains 3 islands: enter image description here And 3 groups with 7 collections of instance:

  • Group Blank: 1 collection
  • Group A: 3 collections
  • Group B: 3 collections enter image description here

The current node setup just gets a specific combination index (1-1-1, 1-2-1, 1-3-2,...) for all islands. enter image description here

Have any idea how to get the random combination index for each island?

Like 1-1-1 for island 1, 1-2-1 for island 2, and so on. enter image description here

Remember, this will be usedRemember, this will be used to address a mesh with over 100 islands and 10 groups, each containing 100 collections.

I don't want to address a mesh with over 100 islands and 10 groupsmake the combination options of these collections manually. So using the random method will be helpful.

Get more details from the example blender file (Version 4.3) below.

I have a mesh that contains more than 100 mesh islands and 10 groups, each containing 100 collections of assets that I want to array to these mesh borders. I use the Switch Index Node to get the combination options of the instance.

And I'm trying to get the random options for the combination that was instanced to each mesh island instead of a specific option for all islands. But the switch index seems like don't work with random node.

enter image description here

enter image description here

Let's take a look at a simple example with a mesh that contains 3 islands: enter image description here And 3 groups with 7 collections of instance:

  • Group Blank: 1 collection
  • Group A: 3 collections
  • Group B: 3 collections enter image description here

The current node setup just gets a specific combination index (1-1-1, 1-2-1, 1-3-2,...) for all islands. enter image description here

Have any idea how to get the random combination index for each island?

Like 1-1-1 for island 1, 1-2-1 for island 2, and so on. enter image description here

Remember, this will be used to address a mesh with over 100 islands and 10 groups of collections. So using the random method will be helpful.

Get more details from the example blender file (Version 4.3) below.

I have a mesh that contains more than 100 mesh islands and 10 groups, each containing 100 collections of assets that I want to array to these mesh borders. I use the Switch Index Node to get the combination options of the instance.

I'm trying to get the random options for the combination that was instanced to each mesh island instead of a specific option for all islands. But the switch index seems like don't work with random node.

enter image description here

enter image description here

Let's take a look at a simple example with a mesh that contains 3 islands: enter image description here And 3 groups with 7 collections of instance:

  • Group Blank: 1 collection
  • Group A: 3 collections
  • Group B: 3 collections enter image description here

The current node setup just gets a specific combination index (1-1-1, 1-2-1, 1-3-2,...) for all islands. enter image description here

Have any idea how to get the random combination index for each island?

Like 1-1-1 for island 1, 1-2-1 for island 2, and so on. enter image description here

Remember, this will be used to address a mesh with over 100 islands and 10 groups, each containing 100 collections.

I don't want to make the combination options of these collections manually. So using the random method will be helpful.

Get more details from the example blender file (Version 4.3) below.

Source Link

How to random collection from Index Switch Node by mesh island index?

I have a mesh that contains more than 100 mesh islands and 10 groups, each containing 100 collections of assets that I want to array to these mesh borders. I use the Switch Index Node to get the combination options of the instance.

And I'm trying to get the random options for the combination that was instanced to each mesh island instead of a specific option for all islands. But the switch index seems like don't work with random node.

enter image description here

enter image description here

Let's take a look at a simple example with a mesh that contains 3 islands: enter image description here And 3 groups with 7 collections of instance:

  • Group Blank: 1 collection
  • Group A: 3 collections
  • Group B: 3 collections enter image description here

The current node setup just gets a specific combination index (1-1-1, 1-2-1, 1-3-2,...) for all islands. enter image description here

Have any idea how to get the random combination index for each island?

Like 1-1-1 for island 1, 1-2-1 for island 2, and so on. enter image description here

Remember, this will be used to address a mesh with over 100 islands and 10 groups of collections. So using the random method will be helpful.

Get more details from the example blender file (Version 4.3) below.