eradiate.scenes.illumination.Illumination#

class eradiate.scenes.illumination.Illumination(id='illumination')[source]#

Bases: eradiate.scenes.core.SceneElement, abc.ABC

Abstract base class for all illumination scene elements.

Parameters

id (str, optional, default: "illumination") – User-defined object identifier.

Fields

id (str or None) – User-defined object identifier.

abstract kernel_dict(ctx)#

Return a dictionary suitable for kernel scene configuration.

Parameters

ctx (KernelDictContext) – A context data structure containing parameters relevant for kernel dictionary generation.

Returns

KernelDict – Kernel dictionary which can be loaded as a Mitsuba object.