Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
according to Trigonometric function formula,Tangent value perspective should be equal to 0.5*(plan width) / camera distance, which performs wrong in program. at present, i know it's my camera distance's problem, but i don't know why?
Posted
Comments
Sergey Alexandrovich Kryukov 8-Feb-14 23:06pm    
Which program? :-)
—SA

1 solution

Tangent of what? Did you mean the tangent of the FOV angle?


Your formula (0.5*(plan width)/(camera distance)) is for the tangent of the half of the FOV angle.


You can see more details on FOV zooming in the zoom section of my D3dScenePresenter - How to present and manipulate a 3D scene using MDX article.

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900