Creating a SMACK of Comb Jelly fish with Jit.gl.multiple.

    Jitterbeginner

    enki
    Jun 02 2023 | 5:57 pm
    Hello all, I’m attempting to emulate a "Smack" of Comb Jelly fish- because they are cool * QED. To that end i’m attempting to animate the shape of several spheres (using jit.gl.multiple) and have them be semi transparent with color animations along their edges. My thought is to warp the a sphere shape using jit.gl.mesh as is displayed in this video. https://www.youtube.com/watch?v=uzQOiwMkESU by the amazing Andrew. As you can see a mesh is being fed by a gridshape. That obviously works. The issue arrises when i try to create several of the forms using jit.gl.multiple. I’m not seeing any shapes when I add a jit.gl.multiple. Please see attached code. Any suggestions?
    Max Patcher
    In Max, select New From Clipboard.
    Show Text
    * https://www.montereybayaquarium.org/animals/animals-a-to-z/comb-jelly

    • Matteo Marson's icon
      Matteo Marson
      Jun 02 2023 | 6:36 pm
      Hey Enki,
      looks like jit.gl.multiple is drawing to the wrong context:
      Max Patcher
      In Max, select New From Clipboard.
      Does it work like this?
      Share
    • enki's icon
      enki's icon
      enki
      Jun 02 2023 | 6:54 pm
      YES!!! Thank you. That name, target, context is a bear.
    • enki's icon
      enki's icon
      enki
      Jun 02 2023 | 7:10 pm
      Thanks a bunch Matteo! I'm hoping to apply a transparent layer to the spheres you fixed, would you suggest jit.gl.material or jit.gl.pbr. or something else? I'm hoping to wrap these shapes in some blinking noise like this. https://cycling74.com/forums/blend-mode-alpha-jit-gl-texture See rob's solution. Does that seem like a reasonably elegant approach?
    • Federico Foderaro's icon
      Federico Foderaro's icon
      Federico Foderaro
      Jun 07 2023 | 4:32 pm
      Hey Enki, you should be able to just apply a texture to the spheres like this:
      Max Patcher
      In Max, select New From Clipboard.