Triangle Count by Layer or some other means....

Hey Guys,

I've been looking around for something that would allow me to get a triangle count for only certain objects and not selected or scene only. I'm trying to hit specific triangle targets for an asset but there are lots of other objects in the scene so the existing methods aren't really cutting it. Currently I have to select all faces each time I want to get a count and it's ridiculous lol

So as not to hinder other pipeline choices for anyone else who might benefit from this, a picker would work well to define objects to be counted I'd think, but would probably be easier to do it per layer although some people might not like this if they use layers for more important things.

Either way, if anyone has anything that would do this please please please let me know.
Thanks,
Brandon

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vusta's picture

your selection...are we talking about a 'handful' or hundreds ?

I can do it...with live update..ie. if you increase the segments of an object...the count would update live...and naturally if you add/remove objects from the list...it would update...but as said...are we talking about a dozen objects or hundreds/thousands ?

ps: it's MCG...I know next to nothing about maxscript...

barigazy's picture

...

MCG ... really? But what is the difference? Just kidding ... I admire what you're doing with MCG and I probably would not even know what can be achieved if I had not seen your tools. Incredible work man, keep it up.
anyway... live update is not a problem. Problem will cause too meny callbacks that we need to use for this that will for sure affect performance a lot. We can't know how crazy scenario have user in the mind ;). For this particular task we need to keep track of changes caused by import , marge, object rename, layer rename, object delete, layer delate, add/remove modifier etc. I'm not programmer but I think that c++ is the right answer for this. And is all this worth or just use CALCULATE button to manually update list. After all this is the free tool ;)

bga

vusta's picture

true...

to cater for all situations would be a nightmare...but i'll up it anyway..if someone finds it useful...great...if not, no big deal...if anything it's a pretty simple MCG for beginners to look at...

barigazy's picture

...

since you're already here one "of topic" question.
Is it difficult to recreate something like this tool with MCG.
http://www.scriptspot.com/3ds-max/scripts/px-symmetry-fix
This tool is ok but need a lot of polishing and optimisation.
I have some asymmetrical models where is necessary to keep the order of vertex
and make theses symmetrical. On this thread some guy posted interesting logic about this solution
http://stackoverflow.com/questions/23983096/how-to-find-a-selected-verts...

bga

vusta's picture

it's a bit too advanced a topic for me...

however I saw something recently done by Christopher Diggins and that sort of gave me an idea...just maybe possible..

barigazy's picture

...

Yup. I agree that's why max not have symmetry editing mode like maya https://knowledge.autodesk.com/support/maya/learn-explore/caas/CloudHelp...
Graphite Modeling Tools symmetry tool need more options for sure and of course realtime editing ;)

bga

barigazy's picture

...

Tool is updated v1.1
I don't have time for testing but you can do it.
Cheers!

bga

barigazy's picture

...

Your tool is ready
http://www.scriptspot.com/3ds-max/scripts/count-by-layer

bga

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.