Thanks Michael, this is very helpful. Still don't quite have it yet
though. I think I need to convert Maya's Focal Length to camera.focus?
How did you calculate your camera.focus value?

also, a good link 
http://blog.tartiflop.com/2008/08/understanding-zoom-focus-and-field-of-view-in-papervision3d/
I think these two engines use the same formula.

On Aug 29, 9:43 pm, Michael Klostermann
<[email protected]> wrote:
> 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