for the standard transformation order there is a function in the
nukemath python libary which calculates euler rotations from the matrix:
http://docs.thefoundry.co.uk/nuke/63/pythonreference/_nukemath.Matrix4-class.html#rotationsZXY
Am 07.12.2011 20:24, schrieb Joshua LaCross:
I have a camera that is connected to an Axis. When I export a Chan
from the Camera it doesn't seem to take the axis's transformations
into account. It only passes on the local translate and rotation
properties of the camera itself.
I tried to fix this by specifying the local matrix on a new camera
that equals the world matrix of the old camera. However once I specify
the local matrix, it no longer permits me to export a chan.
Does anyone have a work around for this?
I was thinking I'd convert the world matrix to translate and rotation
values but the rotation part is a little tricky. Any ideas?
Thanks as always...
_______________________________________________
Nuke-users mailing list
[email protected],http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users