I was sent a 3d model extracted from a video game that has some type of “sticky” material which I can’t replace with a custom one. I tried the
! _MatchProperties command, but it does not help.
_RemovePerFaceColors command does not work with meshes, so the issue is caused by something else.
In my opinion, the
! _MatchProperties command must be able to take an explicit control over the material properties and override any “sticky” material that refuses to change.
Sticky material.3dm (75.7 KB)
It could be vertex colours and I think you can use RebuildMesh to remove them, IIRC.
Thank you! That solved the problem related to the material, however, the 3d model lost its smoothing groups and now look extremely ugly with all those random shadows that are affected by the small faces around the corners of the body panels of the car. Is there any tool in Rhino to add different smoothing groups in a similar fashion to those in 3DS Max? I would like to add the same shooting group to all polygons that share a similar angle (like 5-10 degrees or so), whereas any polygon that make a sudden change in direction (40-50 degrees) will receive a different smoothing group, in order to avoid unwanted shadow defects like those seen in the screen-shots below.
Maybe this script, turning the vertex colours off, is enough?
Thank you! That script worked perfectly fine and preserved the nice flow of the shadows across the body panels. Cheers!