eradiate.kernel.mi_render¶
- eradiate.kernel.mi_render(mi_scene, ctxs, spp=0, seed_state=None)[source]¶
Render a Mitsuba scene multiple times given specified contexts and sensor indices.
- Parameters:
mi_scene (
MitsubaObjectWrapper) – Mitsuba scene to render.ctxs (
listofKernelContext) – List of contexts used to generate the parameter update table at each iteration.spp (
int, optional, default:0) – Number of samples per pixel. If set to 0 (default), the value set in the original scene definition takes precedence.seed_state (
SeedState, optional) – Seed state used to generate seeds to initialize Mitsuba’s RNG at each run. If unset, Eradiate’s root seed state is used.
- Returns:
dict– A nested dictionary mapping context and sensor indices to rendered bitmaps.
Notes
This function wraps sequential calls to
mitsuba.render().