jit.anim.node and gl.node

    Oct 03 2019 | 10:40 am
    hi, For a project i want to apply hierachical transformation to an upper level (containing multiple gl objects). So i guess the best would be to apply jit.anim.node and jit anim.drive to a jit.gl.node containing these gl objects. But i cant get it working. is jit.anim.node supposed to work with jit.gl.node?
    I just made a basic example :
    If anim.node goes straight to all separate gl object, it works as expected. If the same process goes through a nodal hierarchy, jit.anim.node doesnt seem to work as if not rooted to this context, and only apply the first anim.mode to the first node. what am i doing wrong here?

    • Oct 03 2019 | 2:17 pm
      the relationship between anim.node and gl.node is a bit complex, but basically if you want a transform hierarchy between gl.node sub-contexts then you use gl.node. if you want a transform hierarchy within a single context or sub-context use anim.node.
      for your patch example this means parenting sub2 and sub3 to sub1 (using gl.node, not anim.node, either via middle patchcord connection or context arg) and applying the transform values directly to those gl.nodes.
    • Oct 03 2019 | 4:38 pm
      thanks for the clear explanation! i didn't know the process here. .. the name of jit.anim.node itself is actually a bit ambiguous , since it's not really relevant to use that object for jit.gl.node hierarchical animation ;)
    • Oct 03 2019 | 5:05 pm
      anim.node is a node in a spatial transform hierarchy graph that can be animated, gl.node is a sub-graph node of a hierarchical rendering scenegraph, or something like that.
      the word node is used by Max in 3 other completely distinct contexts that i'm aware of, so shrug emoji i guess...