« Return to Thread: Camera FoV

Re: Camera FoV

by Peter Kapelyan :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi someone posted a calculator or something (my suggestion). I will look tonight - literally out the door now.
-Pete

 
On 6/12/07, Marcelo Caetano Martins Muniz <marcelo@...> wrote:

Hi,

 

I still got no answer about how to calculate the camera Field of View using focus and zoom.

 

I did some research and I find out how to calculate focalDistance, is it the same as the camera focus?

Here is formula I found how to convert diagonalFOV to focalDistance.


var diagonalFOV:Number = 25;

var width:Number = 622;

var height:Number = 310;

var w:Number = width  ;

var h:Number = height  ;

var d:Number = Math.SQRT((w * w) + (h * h)) ;

var focalDistance:Number = d * Math.TAN(diagonalFOV / 2.0) ;

 

If focalDistance is the same as the camera focus, it still doesn't make sense how to calculate the correct camera zoom for one selected FoV.

Does anyone have some clue to this puzzle?

 

Thanks,

Marcelo Muniz

 

 

 


_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org



_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

 « Return to Thread: Camera FoV