Camera Roll/bank

Camera Roll/bank

kfaulkner649US
Participant Participant
534 Views
2 Replies
Message 1 of 3

Camera Roll/bank

kfaulkner649US
Participant
Participant

I've written a small script to get the camera position (Freecamera.pos) and direction (Freecamera.dir) at each frame, but I'm not sure how to get the roll of the camera. Is there a property with that information that I'm missing? 

0 Likes
535 Views
2 Replies
Replies (2)
Message 2 of 3

denisT.MaxDoctor
Advisor
Advisor

roll of the FreeCamera is a local rotation of the camera about Z axis.

 

Technically, this should be the Z value ofthe camera rotation in the EulerAngles interpretation. But as you know in MAX, Rotation is not so simple. Therefore, to be sure that your Z euler has a Roll meaning, I would recommend applying a Rotation_List controller type to camera's rotation controller. Where one controller in the list is a real camera rotation, and the second is additive rotation where zero of Z value exactly means zero of Roll.

0 Likes
Message 3 of 3

kfaulkner649US
Participant
Participant

Oh ok that makes some sense. Still new to 3ds Max, but after a little googling I think I understand. Is this something that can be applied after the fact though? Like if my camera is already set, does applying these controllers provide a way to extract the roll information? Or do you have to apply the controllers before you do any of the transformations.

 

I'm also exploring parsing a .vue file rendered from 3ds max, which seems to have the information I need.

 

Thank you for your help!

0 Likes