3
$\begingroup$

Using a cylinder with a couple of loop cuts added

base geometry

I just add a plane and then point instance this on the vertices of the cylinder. Can I make the planes attach to the faces instead of the vertices? How would you rotate the planes so they look like they are on the surface of the cylinder?

enter image description here

$\endgroup$

1 Answer 1

5
$\begingroup$

You need to use a Point Distribute node to instance on faces rather than vertices. The instanced geometry is automatically facing the face normal.

enter image description here

enter image description here

If you want to instance a plane on the center of each face, you can use a little trick with the Edge Split and Smooth modifiers.

Set the Edge split angle to 0° so all faces are disconnected, then use a low value around 1.1 for the Smooth factor. Increase the repeat until faces are really small. Add the GN modifier afterwards.

enter image description here

Using the Poisson Disk distribution on the Point Distribute node, set the Density to a very high value, and tweak the distance so only 1 plane is instanced on each face. It's best to tweak the distance first so as not to crash Blender with a gazillion instances :)

enter image description here

enter image description here

$\endgroup$
7
  • $\begingroup$ do you also know how this works without point distribute? because i never got this running...? $\endgroup$
    – Chris
    Jun 15, 2021 at 7:05
  • $\begingroup$ @Chris I think it's the only way to distribute points on faces... What part didn't work out ? $\endgroup$
    – Gorgious
    Jun 15, 2021 at 7:39
  • 1
    $\begingroup$ @Chris Try that i.stack.imgur.com/bsGai.png $\endgroup$
    – Gorgious
    Jun 15, 2021 at 8:30
  • 1
    $\begingroup$ you are my hero!!! works like a charm!! $\endgroup$
    – Chris
    Jun 15, 2021 at 8:39
  • 1
    $\begingroup$ Yikes. 1. a lot of jumping-through-hoops 2. Computational inefficiency. Grateful as we might be, GN has a long way to go, yet. $\endgroup$
    – Robin Betts
    Jun 15, 2021 at 9:05

You must log in to answer this question.

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