4

I'm working on a scene that's getting complex: I have 30 objects for a total of about 5 million triangles. I start to be concerned about performance. I would like to know which of the objects contribute the most to this high amount of triangles to focus my optimization efforts.

Unfortunately, selecting an object doesn't change the totals (I seem to remember it did in earlier versions of Blender).

Is there a way (built-in or with a plugin) to display the number of vertices/faces/tris per object ?

Are there any tools or techniques that could help to analyse the performance of the scene ?

Ndech
  • 141
  • 3
  • 1
    Related https://blender.stackexchange.com/questions/102597/finding-vertices-edges-faces-and-tris-using-python – batFINGER Feb 08 '20 at 10:38

2 Answers2

4

If you Tab into edit mode with the object selected, the poly count changes to the object.

Before entering edit mode:

enter image description here

After entering edit mode:

enter image description here

stphnl329
  • 4,817
  • 9
  • 27
2

Vertices:

len(bpy.context.object.data.vertices)

Edges:

len(bpy.context.object.data.edges)

Faces:

len(bpy.context.object.data.polygons)

type this in the built in python console in blender: python console paste one of the line above and hit enter. paste

covector
  • 503
  • 2
  • 9