Proof-of-concept script/plugin to show how many triangles your 3d model would have
if all its faces were converted to triangles.
This is mostly useful for videogame models where polygon budget is quantified in triangles, since game engines convert everything to triangles anyway.
I know little of Blender Python scripting so this script is very rough and amateurish.
Script here: http://pastebin.com/JY2xx85u
Limitations:
- Only works properly on one 3D View for now. Multiple 3D Views don’t display their respective triangle counts properly.
- Doesn’t update while a mesh is being edited. Only updates once the user goes back to object mode.
- Triangle count of selection only works on objects as a whole. Doesn’t count per selected faces while in edit mode.
Usage:
The code for this is mostly based on the screencast keys plugin, so it works the same way. To enable, run the script and your 3d views’ Properties Panel will have a new “Poly Count Display” part. Click the “Start display” button to show the triangle count overlaid on the 3d view.
