jit.pack planecount


    Feb 12 2006 | 9:21 pm
    Hi,
    what does the planecount message to jit.pack actually do ?
    I was hoping to use it to limit the number of planes of my matrix to the ones i really use.. for instance I want to pack some planes together, maximum eight, so I use a [jit.pack 8]. but once in a while I want only six, so I send [planecount 6] to my jit.pack, which I expected to result in jit.pack ignoring the last two inputs ? but the planecount message doesn't seem to make any difference.
    what am I missing ?
    ciao,
    Joost.
    -------------------------------------------
    Joost Rekveld ----------- http://www.lumen.nu/rekveld
    -------------------------------------------
    "Everything of importance has been said before by somebody who did not discover it" (Alfred North Whitehead)
    -------------------------------------------

    • Feb 13 2006 | 9:42 pm
      Unfortunately this is not dynamic in jit.pack. I might suggest using scripting, or jit.pack from js/java, or possibly jit.expr or exprfill method for jit.matrix (e.g. planecount 6, exprfill "mat0.p[0]" "mat1.p [0]" "mat2.p[0]" "mat3.p[0]" "mat4.p[0]" "mat5.p[0]")
      -Joshua