I find a algorithm to calculate zoom from fov,it works fine with
PerspectiveLens,But with OrthogonalLens it shows smaller than Max.
Anybody know what's happening?
Here is the getZoom code:
private function getZoom(fov:Number):Number
{
var fov2:Number = (fov/2) * (Math.PI/180);
var tan:Number = Math.tan(fov2);
return 550/(2*tan*_view3D.camera.focus);//550 is view width
}
- [away3d] render as 3dmax Von
- Re: [away3d] render as 3dmax Michael Iv
- Re: [away3d] render as 3dmax Von
- Re: [away3d] render as 3dmax Von
- Re: [away3d] render as 3dmax Michael Iv
