1
$\begingroup$

enter image description herei want to shuffle between objects in the same collection using geo nodes , i'm newpie to geo nodes so the problem is i saw many videos talking about shuffling but the problem is they use a plane then instance on points , but for me i want to shuffle with my real objects locations , like if i made a roof tiles with specific locations , i want to shuffle between them to not have any repetetion anymore if i want to rescale my roof , like if i want to duplicate my roof tiles , geo nodes will always ensure that there will be no repetition in the order of objects

Edit : Like those roof tiles, what can i do to shuffle between them to get variation of the shape enter image description here

this is mo geo nodes : enter image description here

$\endgroup$
8
  • $\begingroup$ please add an image with a sketch to make it clear how it should look like. thx. also your GN node tree would help so we can see what you did. thx. $\endgroup$
    – Chris
    Commented Mar 9 at 4:39
  • $\begingroup$ tbh to me it makes no sense to use the real object location for parts of a roof. Can u explain this a bit more pls? $\endgroup$
    – Chris
    Commented Mar 9 at 4:40
  • $\begingroup$ Do you really want 200+ objects, that you have to move manually ? What about if you want to add a Bevel to all tiles ? Or reshape your roof ? I'm unable to see why you wouldn't want to use Instances and Points. $\endgroup$
    – Lutzi
    Commented Mar 9 at 11:29
  • $\begingroup$ U don't understand me well, i already made a big roof tiles for a roman palace but the repetition in shape is there, and i want to use geo nodes to shuffle between them to break that repetition $\endgroup$ Commented Mar 9 at 11:54
  • $\begingroup$ I've looked at your screenshots and I don't see any repetition in shapes. What is it exactly you want to achieve here ? Note that randomness (Random Value node) will never guarantee the absence of repetition. $\endgroup$
    – Lutzi
    Commented Mar 9 at 11:59

1 Answer 1

0
$\begingroup$

Before formulating my answer, I want to adress 2 points which are important.

I wouldn't recommend working with as many objects as your example. There is nothing in your example that cannot be easily achieve with nodes. What if you want to change the slope of your roof ?

Keep in mind that randomness will also produce repetitions. Not a regular one as in your question, but for example 2 adjacent tiles can have the same random value.

Pick random objects from collection

There is one texture which doesn't contain any kind of repetition or regularity : White Noise. By sampling this texture based on the position of the current object, you'll be sure to have different random values as long as no 2 objects have the same location. In that case they would have the same tile, with my answer.

Here is a setup that achieves that. On the left are your few tiles you have modelled, on the right side is your roof.

enter image description here

Warning : your objects will flicker when moving them. Can be uncomfortable or even harmful if you're sensitive to fast changing colors.

The idea is to load all objects from the collection, then get a random ID and delete everything else, based on the Instance index.

Copy Geometry Node to multiple objects

Now, assuming you have your many objects and this node tree on one of them :

  • Select all objects that need this Geometry Node
  • Have the object with the node tree be active (highlighted by a lighter shade of orange). If it is not already active, just Maj+click this object.
  • Then click on the drop-down menu of the modifier, and Copy to Selected

Before copying :

enter image description here

After copying :

enter image description here

Now all of your objects use the same Geometry Node. You can select any of them, they all share the same node tree.

$\endgroup$
1
  • 1
    $\begingroup$ thank you so much , it worked perfectly $\endgroup$ Commented Mar 11 at 15:36

You must log in to answer this question.

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