Forums > Jitter question

September 23, 2011 | 1:02 am

Hi, in the help file there’s a sub patch called "viewing transforms" if you open the sub patch you can see there are various camera controls.

One of these (pak rotate) doesn’t seem to work, I’ve been trying to find a way of controlling these exact same "rotate" values in for nearly a week, why wont they work is this a bug? why don’t the rotate parameters even work in cycling help file?

Anyone, it’s at this stage I’d appreciate even just moral support as I feel like throwing this software in the bin!

September 25, 2011 | 5:11 pm

I’m writing by memory, but if you are truly to figure out why rotate doesn’t do anything but make it jiggle, it probably because you are use to working with Euler angles (XYZ) rather than axis-angle (W, XYZ where W is the scalar value). If the camera doesn’t accept the rotatexyz attribute (see jit.GL.handle) then you can use the quay library by Graham Wakefield or the rotatexyz Jasch object. They are external libraries.

The default in Max is axis-angle to avoid gimble lock.

Hope this helps.

September 25, 2011 | 6:07 pm

Ahh, I read something similar in an older post of yours, thanks this is a good lead.

The point in my patch that I’m stuck, means I can rotate the around any one axis (this works as I expected) but not when using more than one axis at a time, so gl.render accepts the rotate message but only one, I’ll give rotatexyz jasch and the quay library a shot.

thanks for the tip!

April 25, 2012 | 4:13 am

Oops, just realize this was a typo, that is supposed to be "quat" object

April 25, 2012 | 5:16 pm

If you’d like to get into more advanced hierarchical transforms and rotations, your best bet will be to spend some time with the jit.anim objects.

Viewing 5 posts - 1 through 5 (of 5 total)