Exploring ways to instance objects on low resolution topology

Distribute Points on Faces can place thousands of points on a single triangle.

Is it possible to control that with a texture without needing to add more geometry?

Hum, yes , the trick is to add all the points, then remove them using the texture…

Since indeed at first there is only a few mesh elements to sample the texture, but that’s not the case anymore after the distribute.

If you’re worried about optimization in general unless you really go wild with the number it’s fine !

Have fun !

That’s what I was thinking/hoping but I couldn’t figure out how to implement it.

it just deletes everything. I expected it would delete everything outside of the black triangle

edit

I swear i did this exact same thing 5 times and it didn’t work before now.

What color space are image textures calculated with inside of geometry nodes?

A different question.

Isn’t the hair system capable of painting any amount of hairs anywhere on a mesh regardless of the topology?

Yeah that’s because I just used my psychic abilities to fix your .blend from a distance !

This one doesn’t work because basically every values higher than 0 triggers a selection. So nearly everything is removed as long as there is little data.
Using something like greater than is indeed a good way to better control what’s going on !

Hum, your question is a bit confusing :slight_smile:
Hair are emitted just like points, so it works regardless of the topology.

But if you want to control the distribution beforehand with say a vertex group you are bound again to the geometry…

I’m trying to manually paint points onto an old mario kart track with geometry from Nintendo Wii, very low poly. I don’t want to modify the original geometry, I just want to control where some extra trees get instanced regardless of the original topology.

I think I’ll try curves/hair… but I think I’ll need to create a secondary UV map that doesn’t have any overlapping faces.

Even if I went with the first idea of scattering a million points and then using a texture to delete 90 percent of them, I’d still probably need a secondary uv map with no overlap to use for the task.

  • paint some hairs, adjust their length with the grow/shrink brush
  • delete all points on the splines except for index 0 which is the root.
  • instance grass/trees on those root points
  • capture the factor or length of the entire spline before the deletion of points.
  • use that to scale the instances…somehow

I think I’ve got it

Nope. 1 more major problem. I have no idea how to align the instances to the hair curves

This worked in the test file:


  • add another UV map to the ground mesh and unwrap it so that there are no overlapping UV islands.
  • paint some hairs, adjust their length with the grow/shrink brush
  • delete all points on the splines except for index 0 which is the root.
  • instance grass/trees on those root points
  • capture the spline length of the entire spline before the deletion of points.
    and use that to scale the instances
  • sample the ground mesh and use the face normals to align the instances to the ground properly
  • paint some more hairs, grow/shrink them, slide them around, delete them.