Jit.gl.multiple and anchor points


    May 08 2014 | 5:29 pm
    Hi,
    I am trying to figure out a way to use jit.gl.multiple to draw an array of planes (created with a jit.gl.gridshape object), whilst maintaining the anchor attribute of the original object. It seems that the original @anchor attribute does not carry through to the instances of the object created with the jit.gl.multiple. Does anybody know where I am going wrong, or is this something that is just not possible?
    Cheers
    Tom

    • May 08 2014 | 10:06 pm
      hi tom.
      gl.multiple does not currently support the @anchor attribute. sorry about that!
    • May 09 2014 | 8:31 am
      Thanks for the clarification. I won't spend any more time trying to get it to work!
      Would be great as a feature in a future update though: jit.gl.multiple is something I use all the time, and whenever I want to control the y scale of individual objects sitting on a ground plane, I have to do the extra maths to alter their location according to their scale.
      Cheers
      Tom
    • Jun 10 2014 | 10:06 pm
      Is there any workaround for that?
    • Jun 10 2014 | 10:20 pm
      Ok a possible solution is jit.gl.gridshape matrixoutput mode 2 to jit.gl.mesh and than multiply that one.
    • Jun 12 2014 | 2:18 pm
      nice solution!
    • Jun 12 2014 | 2:31 pm
      It works but I have some difficulties to set colors here an example where I'm trying to assign random colors on spheres