A question about components and their colors


#1

I was reading this:

And I wonder if it’s possible to make color changes without making all of them unique first.

Thanks in advance.


#2

If you paint the component container instead of the faces, you can paint each instance a different color. I think in most cases it is better to paint the faces but this is a situation where painting the containers is useful.

The faces representing the top of the pages must be painted white so that the material on the wrapper doesn’t color the pages. Materials on faces override materials on containers.


#3

Thank you so much, I made some tests with a 2D rectangle with default color and the paint bucket worked, I think that’s what you mean, only the face has the default color (not painted).

Anyway I should keep reading before asking :frowning:


#4

You can extrapolate this to something more complex like a component of a car.
You assign materials for its windows [transparent glass], internal trim [dark-gray], its lights [glass/red/amber etc], its wheels [black/silver etc]… and all of its body panels left in the default material.

Place two instances of the car-component.
Paint one red and one green
The bodywork will now show in your desired colors, but the other ‘fixed’ parts are the same.
So you have one component, two instances - with varying colors, without the need to use ‘make_unique’.

Of course, if you subsequently wanted to change the ‘tint’ of the windows in just one of those cars, then you do need to make it unique and edit it - and assign another material to the glass areas, for that now separate component definition…


#5

I used to chat to ask about how to do things.
This forum seems work pretty good and fast because of people like you all :wink:


#6

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.