differt.scene.sionna module#
Provide a compatibility layer with Sionna’s scenes.
Sionna uses the simple XML-based format from Mitsuba 3.
- download_sionna_scenes(branch_or_tag='main', *, folder='<path-to-differt>/scene/scenes', cached=True, chunk_size=1024, progress=True, leave=False)[source]#
Download the scenes from Sionna, and stores them in the given folder.
If cached is
False
and folder exists, then it will raise an error if not empty: please clear it first!- Parameters:
branch_or_tag (
str
) – The branch or tag version of the Sionna repository.folder (
Union
[str
,Path
]) – Where to extract the scene files, i.e., the content ofsionna/rt/scenes/
.cached (
bool
) – Whether to avoid downloading again if the target folder already exists.chunk_size (
int
) – The chunk size, in bytes, used when downloading the data.progress (
bool
) – Whether to output a progress bar when downloading.leave (
bool
) – Ifprogress
isTrue
, whether to leave the progress bar upon completion.
- Return type: