4
$\begingroup$

I wanted to try replicating the Pastiche After Effects plugin inside Blender, and starting off I wanted to distribute some points on a plane, and limit where they can be with an image node, either with the alpha or with the color. When I plug any input into the point distribute node all the points disappear and I don't really know why. Am I missing something?

Before plugging in the image node

After plugging in the image node

Just to be safe, an introduction to the Pastiche plugin, as a reference

EDIT: I tried with other images and through a Color Ramp, and now it sorta works? The problem is that the result is nowhere near the original image, so now the question is: Is there some sort of "Mapping" node in Geometry Nodes?

$\endgroup$

1 Answer 1

9
$\begingroup$

The problem is that domain, that gets information from texture, is very low - it has only 4 points (since it is a plane with 4 vertexes).

If you increase the number of points, for example using subdivision, you will get proper results:

enter image description here

Subdivide either in edit mode or in GN:

enter image description here

But you might think increasing the number of polygons is a bad idea. So this is a more clever method. Instead of using texture before generation, use it after it. So that domain will have the size of each generated point.

Sharp threshold:

enter image description here

Softer threshold:

enter image description here

$\endgroup$

You must log in to answer this question.

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