I recently had the same problem matching a camera from blender to
away3d.

This is the function that i used. It should also work for any other 3D
package.

public function assignCameraSettings(camera:Camera3D):void
{
        var fovMaya:Number = 45.0;
        var fov2:Number = (fovMaya/2);
        var tan:Number = Math.tan(fov2);
        var viewWidth:Number = stage.stageWidth;
        camera.zoom = viewWidth/(2*tan*camera.focus);
}

viewWidth should be the width of your away3D window.

On Aug 26, 6:28 pm, rendfox <[email protected]> wrote:
> is there a method to convert a maya camera into away3D? How does
> camera3D.zoom relate to maya's Focal Length or Angle of View?
> Thanks for any help

Reply via email to