3
$\begingroup$

This thread is what I need Here, but here the blender version is lower than 3.0 and I don't quite know how to come to the same. (I tried throwing stuff on buildings (B1, B2..), but it didn't work out as expected. enter image description here

My geoNodes enter image description here

How do I just paint the city into zones ? I don't even need a lot of flexibility. enter image description here

$\endgroup$

1 Answer 1

6
$\begingroup$

Object info is a suitable node. All you have to do is just calculate a distance between the node and center point.

For that, you can use a Vector Math node with a Distance mode:

enter image description here

$\endgroup$
11
  • $\begingroup$ Can you confirm that it works even if the instances are part of the same object ? $\endgroup$
    – Gorgious
    Commented Feb 10, 2022 at 8:48
  • 3
    $\begingroup$ @Gorgious Yes, but only if they are not realized. In this case, they are objects inside the object $\endgroup$
    – Crantisz
    Commented Feb 10, 2022 at 8:49
  • $\begingroup$ @Gorgious, Thanks works almost perfectly, except for this building, for some reason... but ok $\endgroup$ Commented Feb 10, 2022 at 9:14
  • $\begingroup$ I don't have access to the file $\endgroup$
    – Crantisz
    Commented Feb 10, 2022 at 9:16
  • 1
    $\begingroup$ Yes, it's looks like that the center of tall building is high, so distance to them from world center also is big. So if you make your building with object origin on the bottom face it will not be an issue $\endgroup$
    – Crantisz
    Commented Feb 10, 2022 at 12:38

You must log in to answer this question.

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