What is "object color " in the object properties of 2.5?

What is this “object color” it certainly does not do what I would expect based on it’s name and location in the interface.

The tooltip is “Object color and alpha, used when faces have the ObColor mode enabled” I’ve seen this before in 2.49, but 2.49 has all sorts of items that are not in context displayed in the interface.

My assumption from the usage, would be that this is where you would set the Objects display value - yet this is not the case. The only other reference I can find is an old old posting related to IPO rgb values in the game engine.

Anyone?

Attachments


Blender has always had this option for a material to be influenced by an object-specific colour. I think the idea is that you can assign the same material to different objects with different object colours, and get the appropriate variation in results. There are options under the material settings to use this colour.

In the attached example all three objects have the same material applied. But the material, in the options section, has been directed to use Object Color. As far as I’ve been able to determine, Object Color replaces the Diffuse Color.

objectColor.blend (432 KB)

in tool tip it says that Obcolor has been seleted
what is this obcolor thing

may have to do semhting may be with vertex color ?

salutations

well i use it when i want to fade something that does have the default material and it’s a much convenient way to use alpha more than applying material then checking transparency and putting alpha to zero plus getting the molecularity down to zero like this:

Attachments



can you upload file for this second example

now is there any wiki doc on this
don’t remember reading anything on this

Thanks

A couple things I learned playing with the trick bat3a is describing:

  • You have to make sure to enable transparency for the material when using alpha through the object color.
  • It only works with zTransparency (not raytraced transparency) – it still fades out, but the specular is there.
  • Using the object color for transparency also doesn’t prevent shadows from being cast (whereas material transparency does, if you enable “receive transparent” for the floor material) – I wonder if this is a bug.
  • “Fading out” a material doesn’t show up in the viewport, but fading out an object color in the viewport does show up in the viewport if you have GLSL enabled. Nice.

Here is a blend that explores these ideas: objectColorAlpha.blend (488 KB)

And here is a screenshot from the first and last frame of a “fading out” animation using both methods:



thanks for this exaple which is great

but don’t remember seeing this before and
thislooks like it’s taking over the mat color but with some more effecdt on diff and spec

is there more donc in wiki on this and how it is in the hierachie of things in blender for material

i mean is it overidding the mat color and bypassing the spec may be?

Thanks

It’s probably on the wiki, somewhere.
In my mind, it would be quicker to do some tests: color your specular and see if objcolor overrides it, etc. From the examples above it’s clear that the object color’s Alpha value is applied to the diffuse as well as the specular, whereas in the material settings it applies to the diffuse only.

With the new renderer coming down the pike pretty soon, I won’t be surprised to see a lot of this changing anyways…

any idea when the new rendered is supposed to come out ?

hope it’s better then now but i hipe it is also fast!

happy 2.5

Ah ha, so you can give each object it’s own color! You just have to create a material first and turn on the object color property.
Thanks, I was wondering what the heck I was missing.

Personally, I’d prefer that it didn’t mix the object and material colors, and was just for display. ie. the material would override the object color. But then that’s just more in line with how I see the usage.

i think of object color as a simpler material version, if things are away from the camera obC. will be fast to set :slight_smile: