This directory contains tests (mostly taken from various C OpenGL examples) I've used to make sure that my OpenGL bindings are working properly. Currently I don't have anything close to a complete test suite, but I do have tests for the areas I'm worried about.
|
|
GL_LINE_RESET_TOKEN 117.6001 111.8999 0.0 1.0 1.0 1.0 1.0 196.0 223.7998 0.0 1.0 1.0 1.0 1.0 GL_LINE_TOKEN 196.0 223.7998 0.0 1.0 1.0 1.0 1.0 274.3999 149.2002 0.0 1.0 1.0 1.0 1.0 GL_PASS_THROUGH_TOKEN 1.0 GL_PASS_THROUGH_TOKEN 2.0 GL_POINT_TOKEN 196.0 186.5 0.0 1.0 1.0 1.0 1.0 42 |
|
|
|
|
Begin(8) normal(0.17479114,-0.20703068,0.96259356) vertex(2.8461537,-2.8695652,-2.971309) normal(0.3285337,-0.18994243,0.92519593) vertex(2.8461537,-2.7391305,-2.9438932) normal(0.15648149,-0.38155743,0.91100353) vertex(2.6923077,-2.8695652,-2.944128) normal(0.29775253,-0.35438827,0.88642675) vertex(2.6923077,-2.7391305,-2.8907397) normal(0.13688117,-0.5166386,0.8451912) vertex(2.5384617,-2.8695652,-2.9184573) ...
|
|
|
|
|
Quadric error: 100900 |
|
|
|
|
|
|
Most of the demos use the GeometryViewer, which allows you to navigate through the rendered geometry. Dragging the mouse will drag your view along with it, and the keys are set up as follows:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If you want to run the tests, and have the Java Run Time Environment installed, you need to use a command line something like this:
jre -cp .;.. PlainCube
The command with old versions of Java installed (in C:\jdk1.1.4 for this example) is a little bit more complicated, because you have to append the base Java libraries to the command path too:
java -classpath .;..;C:\jdk1.1.4\lib\classes.zip TexturedCube
If you have a later version of Java installed (in C:\jdk1.3 for this example) it's as easy as the jre example:
java -cp .;.. Concurrence
Last Changed June 10th, 2001.