# Geometry nodes: Each instances scale value?

Hi!

I’d like to change material by the position of instances within a collection.

What my current problem is that I don’t know how and if is possible to utilize each instance’s scale value and use it for wider or smaller range of mentioned effect.

Again, for each of those instances individually. So, with the current setup, each circle could have different diameter, depending on each instance’s scale.

If anyone know how to go about it, I’d really appreciate it!

mat_point_distribution.blend (2.4 MB)

Hi,

I guess you would need to use an Index Node to solve this problem.

https://blender.stackexchange.com/questions/261913/scale-subinstances-separately-in-nested-instances

Assign all the materials you want to your grid then use the Set Material Index node:

… the Range you Map to should start at 1 and end at the largest material index.

Good luck!

2 Likes

Well, it’s pretty close to what I’m looking for, but when scaling it, so it would simply overlap and assign the same material, it creates this sort of barrier in between individual points.

Would you know how to make it blend in?

Good luck!

Well, I thought about it really carefully and I still didn’t understand your reaction.

I’d like to make those selections overlap each other, if that’s possible. Without sharp, unselected edge areas. Is that possible?

Imagine someone asking if you could help them move something heavy, and you say sure, here is a wheeled cart… and then them going, “but why doesn’t it fly???”.

Hope that helps you understand my reaction.

Good luck!

I see. I’m sorry, if it was rude of me. As someone who’s still in beginnings, especially when it comes to any kind of math skills, it’s hard for me to asses what’s fairly easy or hard for others. If that makes sense. The way I saw it, it also might have been a deliberate choice or easily fixable oversight (but I don’t know, again, I’m no way qualified to tell).

and you say “sure, here is a wheeled cart…”

I realized as much, so that’s why I try to at least come up with some incomplete solution to my problems before asking for help here. Since I don’t like “gimme, gimme, gimme” attitude myself either. And I try to be polite, but also brief. I don’t like people beating around the bush, just to pretend some politeness. Saving people’s time is polite, in my opinion.

Hope that helps you understand my reaction.

Yes, thanks for explaining! I’ll try better next time.

P.S.

Your “Good luck!” makes me smile everytime. The way I see it, luck has nothing to do with any of what we were discussing so far. Only knowledge and communication. Both is just matter of learning and/or discovering.

Again, I appreciate your time on this.

So, since you decided to completely change your requirement, you would need to get the nightly Alpha 4.0 version with the Repeat Zone:

…essentially, you need to apply a convolution - adding the contributions of every point and then summing it up.

Nonsense. Learning and discovery are inexorably tied to luck.

e.g: you could be born without the faculties of reason.

e.g: you’re lucky anyone is trying to help you, and even luckier that they have a solution to both your wildly different requirements, and that they’re friendly enough to provide it.

It’s all luck.

Yes, I would appreciate you practicing this more in future, thanks!

Good luck!

2 Likes

I’ve been indisposed lately. Thanks for showing me/us this! Can’t wait to try it out!

Nonsense. Learning and discovery are inexorably tied to luck.
e.g: you’re lucky anyone is trying to help you, and even luckier that they have a solution to both your wildly different requirements, and that they’re friendly enough to provide it.

It’s all luck.

If there weren’t for You, I suppose I’d have to learn it elsewhere, figure it out on my own by experimenting (as I usually do) or simply use a different method to archive similar or same result. No luck required, just additional work.

When student earns a diploma, it’s because they studied and prepared, not because they had lucky cereal that morning.

The wealthiest investors got all their assets by carefully studying market, making it’s possible predictions, exercising damage control and hiring people with the best possible potential to do the same, ideally even better. I could also talk about illegal means to control the market, but’s let’s leave those rabbit holes for now.

“Feeling lucky” is an emotional response to an outcome of one’s actions or anything that involves them on certain level, not an observable phenomenon, any metric or tangible result themselves.

Luck is not a thing. Things happen. Luck is what you think of it. And to some people, it can also be offensive. Imagine telling to a top athlete or any self-respecting business man “well, you’re lucky”. The amount of effort, time and personal sacrifices they had to make would probably make them to tell you to take a hike.

Yes, I would appreciate you practicing this more in future, thanks!

I will, thank you!

1 Like