Use a performance meter with JOGL backend

From JReality Wiki
Jump to: navigation, search

Source file: PerformanceMeterExample

Run as Java webstart

[Aug. 5 2012: This is a new tutorial and the links may not be correct til the next update of the jReality distribution, which happens approximately monthly. You can however run the tutorial by checking out the jReality source distribution from svn. See -gunn]

This tutorial shows how to get some performance statistics when using the JOGL backend. The plugin in question is de.jreality.plugin.basic.InfoOverlayPlugin.

Not shown here: to disable display of the statistics overlay, use the method:

    InfoOverlayPlugin iop = new InfoOverlayPlugin();

Previous: Mix JOGL graphics with 2D Java graphics Developer Tutorial: Contents Next: Developer Tutorial