3
$\begingroup$

How can I instance object on points of another geometry, but limit number of points used? Here is my current node set up:

enter image description here

I want to use the Selection socket on Instance on Points node, but I have no idea how to use it. I tried Noise Textures, Random Values and can't figure out how to randomly limit number of points used?

Is there a way to get ID / Index of each point and then randomly select 40% of them for the Selection, to Instance Cubes on the base Mesh?

$\endgroup$

2 Answers 2

4
$\begingroup$

just plug this into your selection of your point instance node:

enter image description here

This won't give the "exact" amount, but a good approximation.

$\endgroup$
2
  • $\begingroup$ Chris, this is super simple - I tried Random Value, but with Float and trying some gymnastics with ID, but it was not working. This is super easy and efficient. Thank you! $\endgroup$
    – kurnikoff
    Commented Mar 7, 2022 at 11:00
  • $\begingroup$ You are welcome! Glad I could help! $\endgroup$
    – Chris
    Commented Mar 7, 2022 at 11:04
1
$\begingroup$

Chris answer is simple and efficient way to "cut" through number of instances on points randomly.

There is a different way, if you want to have some pattern / texture, when instancing on your base mesh. Somehow, when I first tried doing this with Noise textures, I did not try it with Noise + Color Ramp nodes and it did not work.

Here how it looks now:

enter image description here

Noise Texture with Color Ramp:

enter image description here

Musgrave Texture with Color Ramp and so on:

enter image description here

$\endgroup$
1
  • $\begingroup$ Thanks, this is exactly what I was looking for! $\endgroup$
    – Andy
    Commented May 5, 2023 at 15:58

You must log in to answer this question.

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