Project Mobius supports loading both trajectory data and environment geometry. This page focuses on the trajectory formats and the JSON-to-HDF5 conversion workflow.
.jsonsimulation files loaded byUAgentDataSubsystem.h5simulation files loaded throughFHdf5SimulationReader- HDF5 support includes both Mobius-format and Juelich-format datasets
The project also supports loading geometry and environment data from common formats such as:
fbxobjudatasmithifcwkt
The bundled converter script lives at:
UnrealFolder/ProjectMobius/Plugins/Hdf5DataPlugin/Scripts/json_to_hdf5_converter.py
Example usage:
cd UnrealFolder/ProjectMobius/Plugins/Hdf5DataPlugin/Scripts
python json_to_hdf5_converter.py path/to/input.json path/to/output.h5If you omit the output path, the script writes a .h5 file next to the input
JSON using the same base name.
numpyh5py
- HDF5 avoids the cost of parsing a large text document during load
- It uses much less memory during import for larger datasets
- It matches the project's dedicated HDF5 reader path directly
For one 5,000-agent sample converted with the bundled script, the HDF5 version
reduced load time from 21.29 s to 3.18 s and memory use from 317,555 KB
to 55,283 KB.
| Format | Load time | Memory use |
|---|---|---|
| JSON | 21.29 s |
317,555 KB |
| HDF5 | 3.18 s |
55,283 KB |
That benchmark works out to:
6.69xfaster loading262,272 KBless memory used- About
82.6%lower memory consumption
