eradiate.kernel.MitsubaObjectWrapper

class eradiate.kernel.MitsubaObjectWrapper(obj, parameters=None, umap_template=None)[source]

Bases: object

This container aggregates a Mitsuba object, its associated parameters and a set of updaters that can be used to modify the scene parameters.

Parameters:
Fields:

See also

mi_traverse()

drop_parameters()[source]

Reduce the size of the scene parameter table parameters by only keeping elements whose keys are listed in the parameter update map template umap_template. For parameters associated with a lookup protocol, the looked up parameter ID is checked and used.