eradiate.scenes.bsdfs.BlackBSDF
eradiate.scenes.bsdfs.BlackBSDF#
- class eradiate.scenes.bsdfs.BlackBSDF(id='bsdf')[source]#
Bases:
eradiate.scenes.bsdfs._core.BSDF
Black BSDF [
black
].This BSDF models a perfectly absorbing surface. It is equivalent to a
DiffuseBSDF
with zero reflectance.Notes
This is a thin wrapper around the
diffuse
kernel plugin.- 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.