LWJGL Eclipse Views

In order to test whether your installation is correct and in order to retrieve additional information on your system, two views are provided. The test view draws a spinning torso, while the information view simply prints out available versions and features of your graphics card and OpenGL driver.

Open the views

You can open the views by selecting them from "Windows / Show View / Other..." as shown in Figure 1. Note: Click on the images here to show a larger version.

Fig. 1: Show View / Others...
Under "Other", you will find two LWJGL views: "LWJGL Information View" and "LWJGL Test View" (see Figure 2).

Fig. 2: LWJGL views
Select "LWJGL Information View" in order to open a simple text view, as shown in Figure 3.

Fig. 3: LWJGL Information View

This view shows the version numbers of the LWJGL feature, i.e. the LWJGL plugins, and the LWJGL library. For bug reports, it is usually very useful to provide additional information about your OpenGL configuration. This view provides you with a lot of necessary information. Note that not all information can be retrieved on all systems. Features not supported by your graphics card or OpenGL driver are omitted, you see only the available features and capabilities.

In order to test whether LWJGL and OpenGL works on your system, open the test view. The view should look similar to Figure 4.


Fig. 4: LWJGL Test View
The OpenGL code of this torso actually stems from an Eclipse SWT snippet: snippet 195.

You should see a spinning torso and the current frames per second (fps) in the status bar. If you do not even see this torso, something has gone seriously wrong when installing the plugins. Note that other OpenGL based applications might cause problems, even if you can see this test view: The test view does not use any extended OpenGL features, such as framebuffer objects. If an application requires an additional feature which is not supported by your system (see Information View to retrieve the supported features), it won't run. Sometimes it helps to update the drive of your graphics card!