I need to extract data from a matrix with three dimentions into lists. It seems that this is not possible with the jit.spill object as it only provides offset atributes for x and y. How can I "fake" the z?
I had the idea to reposition the matrix (as in jitter tutorial 14), so that any z can be moved to 0. But for this it seems that i need another matrix of the same size and as the original matrix is quite large, this would cost to much memory.
The solution could be very simple, i just started working with jitter.
Thanks for help.
jit.spill @plane 0
gives the first plane of the matrix (X), so use @plane 2 to get the third (Z). jit.unpack will separate them first which might be more intuitive.
Thanks for your answers. But can’t use planes because i have to interpolate in the third dimention (whitch is not possible with planes, is it?) and I already use plane 0 and 1 for the mag and phase of a fft (I use the matrix to store and manipulate ffts). So i realy have to work with a 3d matrix, whitch gives me the problem of the jit.spill object.
Is there a misunderstanding?
@Sandrew: do you speak about the third plane (3 float32) or the third dimension (float32 256 256 256) ?
Third dimension (float32 256 256 256).
I want to interpolate between multiple 2d matrixes, therefore i have to use the third dimension as it is not possible to interpolate between planes.
Unfortunately jit.spill does only react on 2c matrixes, whitch is the problem i try to solve.
C74 RSS Feed | © Copyright Cycling '74