| Non-Confidential - REL | 101545__00_en | |||
| ||||
| Home > The Graphics Analyzer interface > Vertices view > Geometry tab | ||||
This tab shows, as a wireframe, the geometry drawn by the draw call.
This tab allows you to get a quick idea of what was drawn and also to inspect the geometry for defects. You can see if the geometry is incorrect due to missing or unexpected extra vertices. Or you can see if the geometry is too dense, which might lead to performance problems.
If you use the Geometry view with the Framebuffers view, you can see where in the scene the geometry was drawn. Seeing the position of the geometry allows you to detect if the geometry is appropriate for its position in the scene. For example, if the geometry is always far away from the camera, the geometry detail can be lower. Or, if the complex internal geometry of an object is always occluded, it is probably not worth drawing.
To render the correct geometry, Graphics Analyzer must know which one of the shader attributes corresponds to the geometry position data. You can select the attribute from the Position Attribute choice box. Graphics Analyzer uses the names of the attributes and their types to initially auto-select its best guess at a matching attribute.
The axes in the corner of the view show the orientation of the geometry relative to the three axes, X (red), Y (green), and Z (blue).
GL_TRIANGLES, GL_TRIANGLE_STRIP, and GL_POINTS draw modes. When using GL_POINTS, each point is rendered as a small tetrahedron. Primitive restart is also not supported. If you are using this feature, you might see unexpected results. You can rotate the camera around the center of the geometry by clicking and dragging the primary mouse button in the view. For more precise rotation, the numeric keypad direction buttons 2, 4, 6, and 8 can also be used to rotate the camera.
To zoom the camera in and out, use the mouse scroll wheel or the W and S keys.
To move the camera, click and drag with the secondary mouse button. Alternatively, to move left and right press A and D, and to move up and down press Q and E.
To reset the position and orientation of the camera at any point, press the Reset Camera button.
To do more in-depth analysis of the geometry, you can export it to a Wavefront .obj file. Most 3D model editors and viewers can load these files. To export the geometry, right-click on the geometry viewer and select Export to .obj.