eradiate.kernel
Contents
eradiate.kernel
#
eradiate.kernel.gridvolume
#
Volume data file I/O helpers.
eradiate.kernel.logging
#
Logging facilities.
eradiate.kernel.transform
#
Geometric transforms.
- eradiate.kernel.transform.map_cube(xmin, xmax, ymin, ymax, zmin, zmax)[source]#
Map the cube \([-1, 1]^3\) to \([x_\mathrm{min}, x_\mathrm{max}] \times [y_\mathrm{min}, y_\mathrm{max}] \times [z_\mathrm{min}, z_\mathrm{max}]\).
- Parameters
- Returns
mitsuba.core.ScalarTransform4f
– Computed transform matrix.
Warning
You must select a Mitsuba variant before calling this function.
- eradiate.kernel.transform.map_unit_cube(xmin, xmax, ymin, ymax, zmin, zmax)[source]#
Map the unit cube \([0, 1]^3\) to \([x_\mathrm{min}, x_\mathrm{max}] \times [y_\mathrm{min}, y_\mathrm{max}] \times [z_\mathrm{min}, z_\mathrm{max}]\).
- Parameters
- Returns
mitsuba.core.ScalarTransform4f
– Computed transform matrix.
Warning
You must select a Mitsuba variant before calling this function.