differt_core.geometry.SionnaScene#
- class SionnaScene#
Bases:
objectA scene as loaded from a Sionna-compatible XML file.
Only a subset of the XML file is actually used.
This scene acts as a bridge between Sionna and DiffeRT, and is essentially used to quickly load scenes from Sionna and export them as a
Scene.Warning
We are still open to better ways to parse those XML files, please reach out us if you would like to help!
Attributes
A mapping between material IDs and actual materials.
A mapping between shape IDs and actual shapes.
Methods
load_xml(file)Load a Sionna scene from a XML file.
Detailed documentation
- classmethod load_xml(file)#
Load a Sionna scene from a XML file.
- Parameters:
file (str) – The path to the XML file.
- Returns:
The corresponding scene.
- Return type:
- materials#
A mapping between material IDs and actual materials.
Currently, only BSDF materials are used.