SGX Runtime introduces a compilation step that is not required in previous SGX workflows. Before source SGX character and animation data can be used by SGX Runtime, it must be compiled into Runtime data.
Compilation is a required step in the SGX Runtime content pipeline. Run the compiler after authoring or exporting source SGX data and before the data is imported, packaged, or otherwise made available to your game engine. You can use the compiler as a standalone executable or integrate it directly into your content pipeline tools through its shared library interface.
The SGX Runtime Compiler converts source SGX data—including character .k files and .event files—into compact Runtime data designed for efficient evaluation. It:
-
Converts the character’s
.kfile into the Face Graph structure used by SGX Runtime. -
Extracts animation data from SGX
.eventfiles and performs key reduction and perceptual compression to reduce memory usage while preserving animation quality during playback. -
Organizes the resulting data into compact, contiguous memory blocks for efficient, cache-friendly traversal during animation evaluation.
The compiled output has a reduced memory footprint and a data layout optimized for efficient runtime playback. For compiler usage, integration details, and reference material, see the SGX Runtime Compiler documentation.