jit.phys.multiple posoutname possible bug


    Dec 27 2014 | 2:25 am
    Hi All,
    I expected the posoutname attribute of jit.phys.multiple to be equivalent to out_name attribute of common jitter objects, but it's not. Have I misunderstood or is it a bug ?
    Pry ---------------------------------------------------------- Max 7.0 - Windows 7 - Intel core i5 - AMD Radeon HD 6800 ----------------------------------------------------------

    • Dec 29 2014 | 7:47 pm
      this behavior is not supported by jit.phys.multiple. if you need to use named matrices, simply do the following:
    • Dec 30 2014 | 9:25 pm
      Hi Rob,
      Thanks for your reply. What I'm actually trying to achieve (unsuccessfully) is port this patch in Javascript. As I'm not very fluent in Javascript I complicated things instead of using correctly posoutname property of jit.phys.multiple. If you have any suggestions or examples of using jit.phys.multiple with Javascript, I'd appreciate...
      Pry
    • Dec 31 2014 | 4:50 pm
      here's a basic example of using phys.multiple from javascript. you are somewhat limited with both phys.multiple and gl.multiple in that it's impossible to change the number of input matrices when instantiating from javascript, it's has to stay at the default of 2. this is something that will be remedied in a future update.
      hopefully this example explains enough to get you going.
    • Dec 31 2014 | 10:11 pm
      actually i just realized that my previous statement about limited functionality was incorrect. you can change the glparams or physparams list easily from javascript, simply by setting the attribute. updated example patch that now includes setting the scale of the objects is attached.
    • Jan 01 2015 | 10:53 pm
      Thank you very much Rob, it's very instructive to have an example based on jit.world.
    • Jan 07 2015 | 12:45 am
      Hi Rob, I'm not far ... But with the patch below, Max crashes if bang() is not delayed. I don't know why.
    • Jan 07 2015 | 5:12 pm
      cool. not sure why it's crashing, but i would create your position matrix in JS like this:JPM_1_position_matrix_OUT = new JitterMatrix(JPM_1.posoutname);
      and you can use the init notification of phys.world to bang your js, like this:
    • Jan 18 2015 | 12:38 am
      I haven't seen your reply. Many thanks Rob.