This issue has been moved across from jamoma/JamomaMax#699, where it was added by @matcham .
in order to send rotate message to jit.gl objects, we would need a axyz unit.
(just changing the order of elements of xyza or axis doesn't seem to do the tick..)
rotate_order (1 symbol) Set the order rotations are applied for the rotatexyz attribute for all child gl objects (default = auto). E.G. if set to xyz, the object is first rotated around its X axis, then Y, and finally Z. The default of auto implements yzx ordering. To replicate Max 5, use zyx.
so maybe the new unit should be "OpenGL_rotate" to be compatible with render default rotation order.
...and we would probably need openGL_rotatexyz as well..
This issue has been moved across from jamoma/JamomaMax#699, where it was added by @matcham .
in order to send rotate message to jit.gl objects, we would need a axyz unit. (just changing the order of elements of xyza or axis doesn't seem to do the tick..)
Useful link for further reference: http://www.opengl-tutorial.org/intermediate-tutorials/tutorial-17-quaternions/
jit.gl.render has an attribute "rotate_order"
rotate_order (1 symbol) Set the order rotations are applied for the rotatexyz attribute for all child gl objects (default = auto). E.G. if set to xyz, the object is first rotated around its X axis, then Y, and finally Z. The default of auto implements yzx ordering. To replicate Max 5, use zyx.
so maybe the new unit should be "OpenGL_rotate" to be compatible with render default rotation order. ...and we would probably need openGL_rotatexyz as well..