You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: