View Full Version : advanced poly counter script?
02 February 2005, 10:42 PM
I decided to get ambitious and deviate from the suggested classes for my Digital Animation degree and took a 3D Modeling class offered at a local art school. We've been using Lightwave and it got me thinking about a few tools. The one that I found most valuable to me at the time is Lightwave's polygon counter. It lists how many polygons of each type (3 sides, 4 sides, 5+ sides) there are in the scene and also lets the user select all of the specified type. I've asked fellow classmates about a utility in Max that does this and they all looked at me like I was crazy, so I figured I was going to have to write a script to do so. The problem I am having is figuring out how to select all the vertices that make up any given polygon. Is there a chunk of code someone could share with me, or if anyone has made this script already could they give me an idea of how you did it? I'm looking forward to this project, I just need a push in the right direction. Thanks.