eradiate.kernel.mi_traverse

Contents

eradiate.kernel.mi_traverse#

eradiate.kernel.mi_traverse(obj, umap_template=None)[source]#

Traverse a node of the Mitsuba scene graph and return a container holding the Mitsuba scene, its parameter map and an updated parameter update map.

Parameters:
  • obj (mitsuba.Object) – Mitsuba scene graph node to be traversed.

  • umap_template (UpdateMapTemplate, optional) – An additional update map template which is to be updated during traversal. This is used to perform parameter lookup during traversal.

Returns:

MitsubaObjectWrapper – A container holding the traversed object, the corresponding parameter map and the parameter update map (if any).

Notes

This is a reimplementation of the mitsuba.traverse() function.