Display color in viewport polygons by Material ID


I need a method through maxscript to display colors in viewport polygons, I myself determine what color for what material ID, I just don’t know how to apply colors to polygons iin viewport.

The Sini Sculpt plugin does something similar, but I need to embed it in a script.


There’re no good methods to show multiple IDs at once afaik, better use temporary multi-mtl for that purpose. Set a couple of callbacks that would switch mtl back for correct save/autoback and that’s it

If you’re familiar with c# another option is to derive from Autodesk.Max.Plugins.NodeDisplayCallback to override default node display routines


As far as I know the SiNi provides maxscript access to some of their plugins(there are “Ho to use” examples, provided by SiNi).