eradiate.kernel.mi_load_dict

eradiate.kernel.mi_load_dict(dict, parallel=True, optimize=False)[source]

Load a Mitsuba scene or object from a Python dictionary.

This function is a thin wrapper around mitsuba.load_dict() with defaults that are more appropriate for Eradiate.

Parameters:
  • dict (dict) – Python dictionary containing the object description.

  • parallel (bool, default: True) – Whether the loading should be executed on multiple threads in parallel

  • optimize (bool, default: False) – Whether to enable optimizations like merging identical objects.

Returns:

object – Mitsuba object.