differt_core.scene.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 class is useless unless converted to another scene type, like
TriangleScene.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.