Max2008之前版本旋转视图的函数
Fn RotateViewPort inputAxis inputDegrees =
(
ViewPortMatrix = inverse(ViewPort.GetTM())
RotationMatrix = (quat inputDegrees inputAxis ) as Matrix3
ViewPortMatrix *= RotationMatrix
ViewPort.SetTM (inverse ViewPortMatrix)
)
RotateViewPort [0,0,1] -1
 
                    
                
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号