I have a field declared like this:
let scalarField = ti.field(
ti.types.vector(ti.types.vector(ti.f32, 2), 3),
2
);
basically this should hold data like this:
[
[[0,3], [4,5], [6,7]],
[[6,7], [8,9], [10,11]]
]
Am not sure how to populate this field. fromArray works for 1D f32/i32 values, but am not sure how to put this data into the field.
I have a field declared like this: let scalarField = ti.field( ti.types.vector(ti.types.vector(ti.f32, 2), 3), 2 ); basically this should hold data like this: [ [[0,3], [4,5], [6,7]], [[6,7], [8,9], [10,11]] ] Am not sure how to populate this field. fromArray works for 1D f32/i32 values, but am not sure how to put this data into the field.