0
$\begingroup$

For the purpose of creating a city scape randomly, I have been trying to randomly scale procedural building instances on a grid using geo nodes.

The problem is that if you are instancing the same building over and over again, you are essentially just squashing and stretching the instances. You get tall buildings with the same number of floors as the short buildings, just taller and skinnier.

What would be more realistic is if the instanced buildings' floors and windows could multiply or divide with the random values produced for their heights and widths.
Without designing numerous buildings in a collection, is there any way to do this?

To give credit and further explain the building I am instancing, I am using a well designed free model called POST USSR builder by Alexey Yakolvev that I found on Gum tree. Within the object there are parameters for controlling the number of floors and windows, however this has no effect on the instances.

enter image description here

$\endgroup$
1
1
$\begingroup$

Well, no, not in this way. As you see, instances has a round socket, that means you can't plug variable instances. So instead, make several buildings models, put them into one collection and instance them using this collection

$\endgroup$
2
  • $\begingroup$ Wouldn't there be a way of adding to the geometry nodes in the building object? $\endgroup$ Nov 22 '21 at 21:17
  • $\begingroup$ While this doesn't answer my question as I phrased it, it is helpful. $\endgroup$ Nov 22 '21 at 23:29
0
$\begingroup$

Following the advice, I have used instance IDs to call on small, medium and large buildings from a collection. I varied their dimensions randomly in a narrow range.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.