Identifying Graphics Elements with Complex Geometry
Geometry analysis can help you identify the elements that contribute the most to the overall frame rendering time. If you find an element in the scene that includes a lot of polygons or complicated artwork but contributes very little to the visual effect of the scene, you can gain significant performance improvements by reducing the level of detail for the geometry of this element.
To analyze the geometry of an erg:
- Open theGeometrytab, which displays the pre-transform vertices, provides different visualization modes, shows vertex position values, and displays performance metrics for individual pipeline stages.
- In theVisualizationpane, select the erg or the group of ergs you want to analyze. The list of selected ergs appears in theErg Selectorof theGeometrytab, and the geometry of the first erg in the list is displayed in theMesh Viewer. You can click and drag with the mouse to rotate the displayed element in theMesh Viewerto analyze its geometry from all angles.
- From theModedrop-down list, switch between different visualization modes to analyze various geometry aspects:
- Wireframe - inspect a wireframe model.
- Hidden Line - display a wireframe model with hidden occluded lines.
- Solid - fill the faces of each triangle with a color to view the object as a solid model.
- Point Cloud - view vertices as points to identify duplicate vertices. The brighter points indicate a greater density of vertices.
- Strip Coloring - analyze vertex cache reuse. In this mode, the mesh is broken up into randomly colored sets of adjacent triangles that share two vertices. The bigger the set size, the better re-use of the vertex cache you have. A mesh with many small sets may indicate that your application performs more vertex fetch and shader work than necessary.
To analyze a different erg, select another erg in the
Erg Selector
or in the Visualization
pane.See Also