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