MaxScript – Color By Poly Count

Sebastian Pohl - 25. August 2015

colorbypolyWhen trying to optimize the polygon count of a model or scene you often run into the problem of finding out which object is the culprit. I have done a lot of searching by hand in crowded scenes over the years and i finally decided to write this really simple script to ease the process.

The script iterates over all the objects in the scene and changes their wirecolor to a hue between red and green. The object with the lowest face count in the whole scene is pure green, the one with the highest face count is pure red. Everything else is between those.

Using the wireframe mode or the object overview you can tell at a glance where all those polys are!

You can download it here.

If you have any questions or comments, feel free to write an email!