|
Project Information
Links
|
This is the regression test suite for the OpenSceneGraph OpenFlight export plugin. Copyright(c) 2008 Skew Matrix Software LLC and Blue Newt Software LLC. Dependencies
Build
Finding OSG in CMakeThis project uses a custom CMake script to aid in building the project with different OSG binaries. The CMake variable OSGInstallType can be set one of three ways:
RunThis project uses CTest. In Visual Studio, build the RUN_TESTS project. From a Linux/Unix shell: make test The regression test suite uses the grabScreen executable to load various .osg/.flt files and capture a screenshot. Then it invokes the convertToFlt executable to export the scene graph as a FLT file. It again uses grabScreen to load the converted FLT file and capture its image. Finally, it uses the PSNR function in PIL to compare the images. If they are significantly different, the test fails, and otherwise passes. Upon failure, the exported FLT file and both .png screenshots are left in the output directory so that they may be examined to determine the cause of the failure. If the tests pass, these files are automatically deleted. CreditsThe following people contributed to this regression test suite by writing the framework, creating tests, or contributing data:
|