anybody knows how to query the highpoly count of a smooth mesh model? it's in the hud, but i couldn't find a way to query it or alternativly a formula to calculate.
I think it is whatever the current polycount get the number of quads and multiply by 4*Level, and tris are multiplied by 3*Level, then add the result of each.
I think that is it. Do the math with an example item and see if it works.
I think the fastest way would be to query the heads-up display with the flag -preset polyTriangles. I haven't checked it out but looks like it should do that job
@lamont: right. that should work for quads and tris. i will try this, if i can't query the HUD count. @haiddasalami
i tried that. but somehow i can't get the value out of it..do you know the right syntax?
Hey sorry fade1, was busy with some stuff. After some inspection and looking at the commands more in depth i found you can query the result by doing this:
thanks for your help. i'm fine now.
how could i not see the -sr flag in the maya mel doc...actually i'm loooking for verts, but with that info that's a piece of cake(HUDPolyCountVerts)
Replies
I think that is it. Do the math with an example item and see if it works.
http://download.autodesk.com/us/maya/2010help/Commands/headsUpDisplay.html
@haiddasalami
i tried that. but somehow i can't get the value out of it..do you know the right syntax?
Got the name through the mel files in startup in the initHudScripts file.
how could i not see the -sr flag in the maya mel doc...actually i'm loooking for verts, but with that info that's a piece of cake(HUDPolyCountVerts)