Game Development Reference
In-Depth Information
Two Cycles
Each test runs through two cycles.
1.
The Export step : The test case's COLLADA document is imported, rendered, and
exported. This cycle tests whether the target application can import and work with a valid
COLLADA document (that was possibly) created in another tool.
2.
The Validate step : The COLLADA document that was exported in the first cycle is
reimported into the target application, rerendered, and validated against the COLLADA
schema. This cycle tests whether the document exported in the first cycle imports and
compares properly and outputs valid COLLADA that can be imported by other conformant
tools. The Validate step is needed to verify that the exported document meets criteria not
tested in the Export step.
As you can see, a complete test includes two import and render operations. The first time, you import the test
document furnished by Khronos; the second time, you import the document you just exported. The workflow is
Import Render Export Import Render Validate.
Dataset for Input and Output
A collection of input datasets comes with the test suite (the StandardDataSets directory). Some input files are
generated by the tests. The paths to the input are specified in the integration script. The output files are written to
subdirectories in the TestProcedures directory.
Getting Started
In order to run the COLLADA conformance tests, your application must be able to
Read and write COLLADA files
Render a .PNG image at 512 x 512
Include scriptable viewpoints and lights
The tests run on Windows machines only and take up a lot of memory.
Downloading and Installing the CTS
The CTS is available free of charge to anyone through the Khronos Implementer program available at
www.khronos.org/conformance/implementers/collada/ . Just create an account and download the package. The
suite uses long file names that can cause problems on Windows systems by exceeding the 255-character (260 if you
count D:\ and an invisible null at the end) path name limit. To avoid trouble, unzip the package in the root directory of
your disk volume or some other directory with a short path name.
Prerequisites
The CTS requires only two prerequisites: the installation of some Python-related tools, and the Microsoft .NET
Framework.
 
Search WWH ::




Custom Search