If I use generated noise texture to select some vertex, it's oK
But if image texture are used, all vertices will be select. Why?
Can I use the image texture to select vertices?
Blender Stack Exchange is a question and answer site for people who use Blender to create 3D graphics, animations, or games. It only takes a minute to sign up.
Sign up to join this communityIf I use generated noise texture to select some vertex, it's oK
But if image texture are used, all vertices will be select. Why?
Can I use the image texture to select vertices?
For you Mesh Primitive > Grid, Hulifier's answer seems to be the best.
Since 3.3.0 Alpha, Geometry Nodes include an unwrap node that generates a new UV map, mainly used for newly created complex geometry by GN.
do you mean like this?
Note: depending on your image (size) you may want to change the scale and add node values so that you can see "something".
Also it might be necessary to stretch the position values a bit so that the image won't get distorted (you can do this with a vector math multiply node)
..and of course you could use "more intelligent" ways to determine whether the instance should be shown or not than just compare alpha with greater than. You could e.g. take just the red value of the color value of the image texture...or whatever
unfortunately there is no "automated" way up to now to get the size of an image to adapt the size of the grid proportionally.
The grid generated by Geometry Nodes comes with an UV attribute:
Knowing that, you can use it as input to the Image Texture node.