Count By Layer
Simple tool that allows to calculate triangle and vertex count of any object inside specified layer.
How to use it:
When tool is opens dropdown list is filled with all scene layers.
Press "R" button to refresh dropdown list.
Pick some layer form the list and press "C A L C U L A T E" button to fill bottom list.
Below dropdown list U can see sum of objects and theses triangle and verts count.
Doubleclick on object name will select object in the scene.
To filter lajer objects just check radiobutton option and press "C A L C U L A T E"
This tool is requested by bacree85
on this thread http://www.scriptspot.com/forums/3ds-max/scripts-wanted/triangle-count-b...
Update 1.1 >>>
#1 optimized code
#2 added auto-calculate on changing selection of items in dropdown "Layers" list and modes
#3 added auto-calculate on changing selections topology
#4 refresh list on selection changing
NOTE: #3 and #4 works only in "Select Objects Only" mode
Attachment | Size |
---|---|
bga_countbylayer_v1.0.ms | 3.88 KB |
bga_countbylayer_v1.1.ms | 5.87 KB |
Comments
Hmm, I see what you mean.
Hmm, I see what you mean. Could it be added as a toggle? That way lighter layers can make use of auto update and for heavier layers the user could disable it? I only persist because when you're removing triangles to reach a budget, it can be quite easy to go too far under budget and waste time as well as have the model look worse than it would be if it were at count, otherwise you'd have to spend more time adding that detail back in.
Sorry to be a pain, I really do appreciate you making this :)
...
Just press calculate again. Auto-update will slow-down everithing if picked layer contains too meny objects. That's why I don't integrated this option
bga
Ah sorry, I meant to say have
Ah sorry, I meant to say have the count auto-update as you modify objects so the numbers displayed are always a current reflection of the triangle count.
...
Auto update for what?
bga
That is awesome, thanks! Any
That is awesome, thanks! Any chance for auto update?