eradiate.scenes.phase.IsotropicPhaseFunction#

class eradiate.scenes.phase.IsotropicPhaseFunction(id='phase')[source]#

Bases: eradiate.scenes.phase._core.PhaseFunction

Isotropic phase function [isotropic].

The isotropic phase function models scattering with equal probability in all directions.

Parameters

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

Fields

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

kernel_dict(ctx)[source]#

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.