Can't take color off this mesh object


#1

Greetings, Rhino friends,

The attached mesh object of a tree is partially black and partially white. For some strange reason I can’t delete the black.It had a bark texture which I deleted, Color tree.3dm (1.1 MB)
and made sure that it’s property was By layer - and it still is coming out partially black and partially white.

Any thoughts?


(Pascal Golay) #2

Hi Cosmas - the thing has vertex colors, not a texture in this case - RebuildMesh will clear those.

-Pascal


#3

Awesome, Pascal. Thank you.


(Willem Derks) #4

Hi Pascal,

Thinking about this, should there not be a command RemoveVertexColors and RebuildMesh should maintain the colors?

-Willem


(Pascal Golay) #5

Hi Willem - in V6, RebuildMesh has some options, so I guess it can be used as a vertex color remover - that may be sufficient, I think - it is probably rarely enough needed that a separate command is not needed (?)

V6:

Select meshes to rebuild ( PreserveTextureCoordinates=Yes  PreserveVertexColors=Yes ):

-Pascal