Multi-dimensional data storage & recall.

Stephen Powell's icon

Hello there.

I have a problem which I am having trouble finding the answer. I wish to have a 3 dimensional data matrix, i.e. multiple instances of and x y matrix within one object. I need to be able to set the value of each entry individually (a la coll, but with the added option of which 'layer' to place it on). I also need to be able to dump each 'layer' of the data matrix individually.

Multiple colls cause major problems. The Jitter matrix doesn't seem to be dumpable in terms of data at all. I've been looking at FTM but the only 3d matrices seem to be receivers of controller data and not data collections as such, although I may be wrong on this... I cannot seem how to work it out however.

Any help would be much appreciated! Thank you.

JATom's icon

hi tsuki,

had the same problem years ago.
i solved it by using javascript.
here you can use multidimesional arrays.

the disadvantage is: javascript is slow.
its good for managing data structures,
bad for realtime operations.

best,
tom

Stephen Powell's icon

Cheers Tom, I'm slightly clueless on the Javascript and it needs to be quick in realtime too!

I think the answer lies in FTM as the matrices are multi-dimensional and FTM is lightening quick. Sadly, apart form basic tutorials, all object descriptions are not very well described, for non code-programmers anyway, so it may be very tough to learn how to do a very specific thing.

JATom's icon

hello tsuki,

if you only need a 3 dimensional structure,
it is also possible to use a ~poly structure
with an empty 2 dimensional coll inside.

each of your layer would be a single ~poly instance.

~poly structures are fast and max native.

best,
tom

Stephen Powell's icon

Thank you Tom!

I really should have thought of that... the irony being that the 3d matrix will be in a poly~ already!

MIB's icon

why not use a jitter matrix?