eradiate.kernel.map_unit_cube#
- eradiate.kernel.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.