View a matrix?


    Oct 11 2011 | 6:23 pm
    Hey,
    I'm using the libfreenect library and it basically outputs a video as well as raw depth data in the form of an array.
    My question is how do you view this array? I come from C/++ so I think in terms of a matrix of numbers that you can visualize, run a for loop to check them all, etc. Is there some sort of 2-d grid of values I can use to see what's going on with the depth data? I'm very new to MAX so any help is appreciated.

    • Oct 11 2011 | 9:33 pm
      You can view the numbers in a matrix with jit.spill as a list or I think you can view them in a matrix with jit.cellblock. You can also print them to the max window with jit.print
    • Oct 12 2011 | 12:20 am
      GREAT, thank you. Do you know how I select which plane I want to view the matrix data from?
      Edit: Never mind! For anyone curious, a message of "plane X" will show you that info ;p