« Return to Thread: Camera FoV
Ok. I’ll be waiting for
you response.
From:
Papervision3D-bounces@... [mailto:Papervision3D-bounces@...] On Behalf Of Peter Kapelyan
Sent: terça-feira, 12 de junho de
2007 15:30
To: Papervision3D@...
Subject: Re: [Papervision3D]
Camera FoV
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 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. |
|
Thanks, Marcelo Muniz |
|
|
|
|
_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
« Return to Thread: Camera FoV
| Free embeddable forum powered by Nabble | Forum Help |