Game Development Reference
In-Depth Information
All exporters must create documents that validate to the COLLADA schema. Documents exported by the
implementation should support the same feature set as that implementation's importer in order to provide a lossless
(roundtrip) content pipeline.
The CTS works through a GUI on computers running the Microsoft Windows operating system. You can also use
a command-line interface, and certain functions can be performed through Windows Explorer.
Using the tests is a matter of installing, configuring, and running them. The broad steps are
Prerequisites: Download and install the suite and some helper applications.
Integration: Write and test a Python script.
Set up the tests: Create a test procedure, add tests.
Run the tests.
Interpret the results.
If you want to be able to use Khronos technology logos and trademarks on your products,
submit results to Khronos. If you want to use the tests internally only, you don't need to
submit results.
Things You Need to Know About the Tests
Before you start, there are a few concepts and ground rules you should know: the idea of “blessing,” the types of tests
the CTS presents, the fact that there are two cycles for each test, and where the input and output data reside.
Blessed Images
The CTS incorporates the idea of “blessing,” which means that results have been officially “blessed” by Khronos,
so they are considered correct and conformant by the COLLADA working group. A set of blessed images and
animations—a control group to use as a baseline—comes with the test suite; you can compare these with your results
to see how close you are and how you differ. Exact matches to the blessed images and animations are not required in
order to pass. However, your application must generate images in a way that's internally consistent.
Types of Tests
There are three types of tests: simple, medium, and complex.
Simple : Tests that pass/fail based on successful importing, or importing and then exporting
a COLLADA document. Examples include tests that check for proper handling of URIs on
import/export, checking for unwanted adding/removing of elements from the document,
testing sensitivity to element ordering, and checking for the ability to process any valid
COLLADA document without crashing.
Medium : Tests that require a successful import, export, and rendering of the exported
document in the target application. These tests are generally used to confirm that programs
are correctly processing and re-exporting a document without corrupting the geometry and
other elements in it.
Complex : Like the medium tests, complex tests require a successful import, export, and
rendering of the exported document in the target application. However, this type of test also
insures that the application is correctly interpreting the contents of the document. It is used to
check how well the application handles materials, textures, cameras, lights, etc.
 
Search WWH ::




Custom Search