Would it be possible to transform rotatexyz transform into rotate(W, X, Y, Z)transform ?
I’d likde to use coordinates from artoolkit with jit.ogre, which doesn’t accept roatexyz…
If you could post a patch that would be beneficial. One thing I can suggest is the Quat library from Graham Wakefield (also included with the Cosm objects installer). You can transform [axis2quat] then [quat2euler] to give you xyz, then I think you can go [euler2quat] and [quat2axis]. If I’m not mistaken though, you can also transform jit.ogre using jit.gl.handle which will accept rotatexyz.
I’ve been hoping Rob will be able to provide a solution to allow the rr.gl.ogre object to integrate more efficiently with jit.artkmulti. Or perhaps someone else will come up with a good workaround.
Hope this helps!
what i found out two days ago is that the jit.gl.gridshape object converts the rotatxyz values into the values for rotate.
so you can put in rotatexyz, then send the ‘getrotate’ message and voila
not sure if this is efficient or whatever, but it works
You know, I think you might have just inadvertently solved an issue I’d been having… Will report back if it works.
C74 RSS Feed | © Copyright Cycling '74