4.22.3 Basic Tools

The first thing you notice when you start your application using
BugPlug is the current framerate at the lower-left corner of the display.
If you don't want to see this you can always press ‘ctrl-d ctrl-alt-p’.
To toggle between fps and frame time display, press
‘ctrl-d ctrl-alt-shift-p’.

Another useful feature is the screenshot feature. Just press ‘ctrl-d
f12’ and BugPlug will save a screenshot of the current display to the
current directory. By default this will be a PNG file called
‘crystal000.png’. The digits will automatically be incremented so that
previous screenshots are not overwritten. You can change the file format,
filename, and path in ‘data/config/bugplug.cfg’.

If you press ‘ctrl-d e’ then BugPlug will render the 3D world in
wireframe mode. This is useful to see how many triangles there are and can
also help to see geometry that you can otherwise not see because there is
not enough light or some materials/shaders are not working properly.

If you run BugPlug and in addition add ‘-verbose’ or ‘-verbose=-scf’
on the commandline then BugPlug will show additional debugging information
at the top-left of the display. The first line of this debugging information
is the number of sectors that are being displayed. With every number
you get a current number (what was being rendered last frame), a total number
and an average number. The second line is the number of triangles. Note
that what you think of as a single triangle may actually be multiple
triangles in reality because of lighting and multi-pass effects. The last
debugging line is the number of meshes that are being rendered. Again
this number can be higher then you expect. A single mesh object with two
different materials actually represents two meshes for the renderer.