3.5. Composition Output File

<composition_output_file> ‐ The file name used for printing the full scene graph

3.5.1. Attributes

NameTypeDefaults
idSTRINGworlds-out.xml
default_print_fileSTRINGVC-out.xml

3.5.2. Description

This element defines the name of the files that are used for printing the scene graph.

After loading a scene description file, VC outputs the full graph stored in its memory. This graph does not contain any macro-command and corresponds to the actual graph used for rendering the current scene. This file should be inspected for debugging purposes if the rendered scene does not correspond to the expected output. The string value of the id attribute defines the name of the text file in which the graph is printed.

In addition to automatic initial printing, pressing the character key 'p' triggers the printing of the full scene graph. The string value of the default_print_file attribute defines the name of the text file in which the graph is printed.

3.5.3. Expected content

None.

3.5.4. Example

The example below defines Bercy-out.xml as file name for storing the extended version of the scene graph. The graph will be output to VC-out.xml when pressing the 'p' key.

<composition_output_file id="Bercy-out.xml"/>